Commit bbcc2f19 authored by mengcuiguang's avatar mengcuiguang

付费弹窗优化匹配用户提示

parent 819117c1
...@@ -141,7 +141,8 @@ ...@@ -141,7 +141,8 @@
data data
}) => { }) => {
this.vipList = data.list; this.vipList = data.list;
if (data.list != null) { if (data.list != null) {
this.hintText = this.vipList[0].trailRemark;
for (let i = 0; i < data.list.length; i++) { for (let i = 0; i < data.list.length; i++) {
if (data.list[i].activityType == 1) { if (data.list[i].activityType == 1) {
this.selectedIndex = i; this.selectedIndex = i;
...@@ -188,8 +189,13 @@ ...@@ -188,8 +189,13 @@
this.$emit('close'); this.$emit('close');
}, },
choosePack(item, index) { choosePack(item, index) {
this.selectedIndex = index; this.selectedIndex = index;
this.hintText = this.vipList[this.selectedIndex].trailRemark; if(this.vipList[this.selectedIndex].trailRemark!=null){
this.hintText = this.vipList[this.selectedIndex].trailRemark;
}else{
this.hintText ='';
}
this.handlePay(); this.handlePay();
}, },
handlePay() { handlePay() {
...@@ -396,8 +402,9 @@ ...@@ -396,8 +402,9 @@
display: flex; display: flex;
align-items: center; align-items: center;
font-size: 30rpx; font-size: 30rpx;
color: gainsboro; color: darkgray;
margin: 20rpx; margin-left: 20rpx;
margin-right: 20rpx;
word-wrap: break-word; word-wrap: break-word;
word-break: break-all; word-break: break-all;
white-space: pre-line; white-space: pre-line;
......
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