Commit cac058ef authored by mengcuiguang's avatar mengcuiguang

代码优化

parent 10fa1a8c
......@@ -12,7 +12,7 @@
<view class="content">
<text class="title">恭喜你,获得免费看剧名额</text>
<text class="button-ad" @click="handleAd">视频免费解锁1集</text>
<text class="button-ad" @click="handleAd">广告免费解锁1集</text>
<text class="button-vip" @click="handleVip">免广告解锁</text>
<text v-show="showTime" class="downtext">{{countDown}}s后自动进入广告,观看完成解锁第{{vedioIndex+1}}集剧情</text>
</view>
......
......@@ -88,7 +88,7 @@
<view style="display: flex;flex-direction: column;align-items: center;">
<view style="font-size: 24rpx;color: gray;margin-top: 16rpx;margin-bottom: 18rpx;">
订单中如有疑问,请在个人中心联系客服</view>
订单中如有疑问,请在我的订单页面联系客服</view>
</view>
</scroll-view>
</view>
......
......@@ -4,7 +4,8 @@
<view class="container">
<image @click="onClose" style="width: 50rpx; height: 50rpx;margin-left:auto;margin-right: 30rpx;
margin-bottom: 30rpx;" src="https://mints-web.oss-cn-beijing.aliyuncs.com/images/ic_close_white.png"></image>
<view class="content">
<view class="content">
<text style="font-size: 40rpx;margin-bottom: 15rpx;">客服时间: 工作日9:00-18:00</text>
<text class="button1" @click="handleBtn1">客服电话</text>
<button class="button2" open-type="im" data-im-id="kaixinhaha7785">客服在线</button>
</view>
......
......@@ -17,7 +17,14 @@
</view>
</view>
</z-paging>
</z-paging>
<view class="box-wrap" @click="handleKefu">
<image src="../../static/ic_service.png"></image>
<text>客服时间:</text>
<text>每天9:00-18:00</text>
</view>
<kefu-popup :show="showKefuPop" @close="showKefuPop = false" />
</view>
</template>
<script>
......@@ -32,7 +39,8 @@
mixins: [common],
data() {
return {
dataList: []
dataList: [],
showKefuPop:false
};
},
methods: {
......@@ -58,6 +66,9 @@
this.$refs.paging.complete(data.list);
}
});
},
handleKefu() {
this.showKefuPop = true
}
}
};
......@@ -66,5 +77,23 @@
<style lang="scss">
.body {
background-color: whitesmoke;
}
.box-wrap {
position: absolute;
bottom: 20%;
right: 6%;
z-index: 999;
display: flex;
flex-direction: column;
align-items: center;
image {
width: 100rpx;
height: 100rpx;
}
text {
color: #2c2c2c;
}
}
</style>
\ No newline at end of file
......@@ -18,6 +18,13 @@
</view>
</z-paging>
<view class="box-wrap" @click="handleKefu">
<image src="../../static/ic_service.png"></image>
<text>客服时间:</text>
<text>每天9:00-18:00</text>
</view>
<kefu-popup :show="showKefuPop" @close="showKefuPop = false" />
</view>
</template>
<script>
......@@ -28,7 +35,8 @@
mixins: [common],
data() {
return {
dataList: []
dataList: [],
showKefuPop:false
};
},
methods: {
......@@ -39,10 +47,10 @@
},
queryList(page, size) {
this.post({
url: '/vip/getOrderList',
data: {
page,
size
url: '/vip/getOrderList',
data: {
page,
size
},
showLoading: false,
success: ({
......@@ -51,6 +59,9 @@
this.$refs.paging.complete(data.list);
}
});
},
handleKefu() {
this.showKefuPop = true
}
}
};
......@@ -60,4 +71,23 @@
.body {
background-color: whitesmoke;
}
.box-wrap {
position: absolute;
bottom: 20%;
right: 6%;
z-index: 999;
display: flex;
flex-direction: column;
align-items: center;
image {
width: 100rpx;
height: 100rpx;
}
text {
color: #2c2c2c;
}
}
</style>
\ No newline at end of file
......@@ -18,7 +18,13 @@
</view>
</view>
</view>
</z-paging>
</z-paging>
<view class="box-wrap" @click="handleKefu">
<image src="../../static/ic_service.png"></image>
<text>客服时间:</text>
<text>每天9:00-18:00</text>
</view>
<kefu-popup :show="showKefuPop" @close="showKefuPop = false" />
</view>
</template>
<script>
......@@ -33,7 +39,8 @@
mixins: [common],
data() {
return {
dataList: []
dataList: [],
showKefuPop:false
};
},
methods: {
......@@ -59,6 +66,9 @@
this.$refs.paging.complete(data.list);
}
});
},
handleKefu() {
this.showKefuPop = true
}
}
};
......@@ -67,5 +77,23 @@
<style lang="scss">
.body {
background-color: whitesmoke;
}
.box-wrap {
position: absolute;
bottom: 20%;
right: 6%;
z-index: 999;
display: flex;
flex-direction: column;
align-items: center;
image {
width: 100rpx;
height: 100rpx;
}
text {
color: #2c2c2c;
}
}
</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