给当前页面的最外层div class 加样式 /deep/ html, .home { position: fixed; height: 100%; width: 100 ...
给当前页面的最外层div class 加样式 /deep/ html, .home { position: fixed; height: 100%; width: 100 ...
<style lang="scss" scoped> page{ background: #FFFFFF; } <style> ...
1.html <div class="brand_zone" :style="{backgroundColor:colorList[type-1]}"></div> ...
代码思路: 遍历出data里面的数据 v-for 给li加点击事件 绑定class样式 怎么控制样式的显示 通过 class的控制 :class={class:index==变量} 下标和class变量是否相等控制true false 代码: <template> ...
编辑窗口右键单击——》Preferences——》General加号——》Editors加号——》点Text Editors字样——》右下窗口选Backgroud color,右边点掉System Default按钮,点Color右边的颜色框,选择颜色OK 背景颜色向你推荐:RGB 199 ...
首先打开终端 2:选择 edit->preferences->profile 3: "model1"是我自己改的名字,最开始是"unname"。双击“model1”, 选择 colours 4;勾选“use transparent background” 使用透明背景 ...
实现这个功能很简单,可是之前自己不怎么熟悉jquery,感觉各种乱写。现在终于整理好了思路。 html: css: jquery: 很简单吧,点击增加 ...
使用van-checkbox-group包含van-cell去循环数据列表,而选中的van-cell需要改变背景图,下面是个人的实现方式(简单的一批,两行代码搞定) html:因为vant的van-checkbox-group选中的数据会保存在一个数组中,所以用indexOf来判断当前cell ...