Commit 1c81e8dc authored by jyx's avatar jyx

代码优化

parent deb2cfed
......@@ -42,10 +42,11 @@
</view>
</view>
<text class="trialStyle" v-show="hintText!=null&&hintText!=''">
{{hintText}}
</text>
<view class="trialStyle">
<text v-if="hintText">
{{hintText}}
</text>
</view>
<view class="agreementWrp">
<checkbox-group @change="checkboxChange" style="width: 50rpx;">
......@@ -103,6 +104,7 @@
data
}) => {
this.vipList = data.list
this.hintText = this.vipList[0].trailRemark;
}
});
......@@ -414,14 +416,10 @@
}
}
.trialStyle {
display: flex;
align-items: center;
font-size: 30rpx;
color: gainsboro;
margin: 20rpx;
word-wrap: break-word;
word-break: break-all;
white-space: pre-line;
.trialStyle {
height: 80rpx;
padding: 20rpx;
font-size: 28rpx;
color: #676666;
}
</style>
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment