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)
喜欢
darken($color,$amount):通过改变颜色的亮度值,让颜色变暗,创建一个新的颜色;
sass -i
>> darken(#f36,50%) //把#f36颜色亮度降低50%
#33000d
...
4年前 (2021-08-19)
喜欢
lightness($color):从一个颜色中获取亮度(lightness)值;
sass -i
>> lightness(#7ab)//得到#7ab颜色的亮度值
60%
...
4年前 (2021-08-19)
喜欢