Vuex是一个专门为Vue.js应用程序开的状态管理模式
它采用集中式存储管理应用的所有组件的状态
并以相应的规则保证以一种可预测的方式发生变化
Vuex 是实现组件全局状态(数据)管理的一种机制,可以方便的实现组件放数据的共享
...
4年前 (2021-09-01)
喜欢
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible&quo...
4年前 (2021-08-28)
喜欢
html
<transition name="component" appear>
<cim v-if="type==0" ></cim>
</transition&g...
4年前 (2021-08-28)
喜欢
html
<qrCode @getlist="gethead" :list="headlist" class="ml16"/>
<el-table
ref="multip...
4年前 (2021-08-26)
喜欢
index自动累加,超过list长度index则归零
getactive() {
if (this.active < this.list.length - 1) {
this.active = this.active + 1
} else {
...
4年前 (2021-08-23)
喜欢
<img v-if="weather.text_day=='晴'" src="dist/img/tianqi/icon_qing.jpg" alt="">
...
4年前 (2021-08-22)
喜欢
invert($color):反回一个反相色,红、绿、蓝色值倒过来,而透明度不变。
sass -i
>> invert(#f36)
#00cc99
...
4年前 (2021-08-19)
喜欢
complement($color):返回一个补充色,相当于adjust-hue($color,180deg);
sass -i
>> complement(#f36)
#33ffcc
...
4年前 (2021-08-19)
喜欢
grayscale($color):将一个颜色变成灰色,相当于desaturate($color,100%);
sass -i
>> grayscale(#f36) //把#f36颜色变成灰色
#999999
//SCSS
$baseColor: #ad141e;
...
4年前 (2021-08-19)
喜欢
desaturate($color,$amount):通过改变颜色的饱和度值,让颜色更少的饱和,从而创建出一个新的颜色;
sass -i
desaturate(#f36,50%) //把#f36颜色饱和度降低50%
#cc667f
...
4年前 (2021-08-19)
喜欢