Compare commits

...

2 Commits

Author SHA1 Message Date
Wjl
93809e9c17 Merge branch 'master' of http://118.178.224.202:3000/ewide/zsxt_nbzs_h5 2021-12-16 14:49:00 +08:00
Wjl
a21290bc14 老年人部分样式修改 2021-12-16 14:46:45 +08:00

View File

@@ -48,11 +48,11 @@
<span class="projectTitle">{{ item.name }}</span> <span class="projectTitle">{{ item.name }}</span>
<span> <span>
<van-icon color="white" :name="item.show ? 'arrow-down' : 'arrow'" /> <van-icon color="white" :name="item.show ? 'arrow-down' : 'arrow'" />
</span> </span>
<div class="absolute0" v-on:click="absolute_click0($event, index)"></div> <div class="absolute0" ></div>
</div> </div>
<!-- 补偿协议图标 --> <!-- 补偿协议图标 -->
<div class="projectRight"> <div class="projectRight" v-on:click="absolute0_click($event, index,item)">
<div> <div>
<img src="@/assets/img/yhxy.png" /> <img src="@/assets/img/yhxy.png" />
</div> </div>
@@ -626,8 +626,14 @@ export default {
*/ */
/* this.activeIndex = this.activeIndex === index ? !index : index; /* this.activeIndex = this.activeIndex === index ? !index : index;
*/ }, */ },
absolute0_click(e) { absolute0_click(e,index,item) {
console.log("e", e); if(!item.show){
this.$set(item,'show',false)
item.show = !item.show
}else{
item.show = !item.show
}
}, },
absolute1_click(e,index,i) { absolute1_click(e,index,i) {
let son = index + i let son = index + i
@@ -1076,8 +1082,8 @@ export default {
background-position: 0 -2px; background-position: 0 -2px;
background-size: 100% 120%; background-size: 100% 120%;
} }
.projectRight { .projectRight {/* */
margin-top: 10px; /* margin-top: 10px;
height: 27px; height: 27px;
> :nth-child(1) { > :nth-child(1) {
border-radius: unset !important; border-radius: unset !important;
@@ -1086,7 +1092,38 @@ export default {
> span { > span {
font-size: 20px; font-size: 20px;
border-radius: 0px 13px 13px 0px; border-radius: 0px 13px 13px 0px;
} */
display: flex;
align-items: center;
justify-content: right;
margin-top: -33px;
position: relative;
height: 27px;
margin-bottom: 15px;
> div {
background: #24bca3;
height: 100%;
display: flex;
align-items: center;
border-radius: 13px 0 0 13px;
img {
width: 17px;
margin-right: 3px;
margin-left: 10px;
} }
}
span {
font-size: 18px;
font-weight: 600;
padding-right: 10px;
color: #fff;
background: #24bca3;
height: 27px;
line-height: 27px;
}
} }
} }
.projectCenterBox { .projectCenterBox {