Commit 1c81e8dc authored by jyx's avatar jyx

代码优化

parent deb2cfed
...@@ -42,10 +42,11 @@ ...@@ -42,10 +42,11 @@
</view> </view>
</view> </view>
<text class="trialStyle" v-show="hintText!=null&&hintText!=''"> <view class="trialStyle">
{{hintText}} <text v-if="hintText">
</text> {{hintText}}
</text>
</view>
<view class="agreementWrp"> <view class="agreementWrp">
<checkbox-group @change="checkboxChange" style="width: 50rpx;"> <checkbox-group @change="checkboxChange" style="width: 50rpx;">
...@@ -103,6 +104,7 @@ ...@@ -103,6 +104,7 @@
data data
}) => { }) => {
this.vipList = data.list this.vipList = data.list
this.hintText = this.vipList[0].trailRemark;
} }
}); });
...@@ -414,14 +416,10 @@ ...@@ -414,14 +416,10 @@
} }
} }
.trialStyle { .trialStyle {
display: flex; height: 80rpx;
align-items: center; padding: 20rpx;
font-size: 30rpx; font-size: 28rpx;
color: gainsboro; color: #676666;
margin: 20rpx;
word-wrap: break-word;
word-break: break-all;
white-space: pre-line;
} }
</style> </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