Commit cac058ef authored by mengcuiguang's avatar mengcuiguang

代码优化

parent 10fa1a8c
...@@ -12,7 +12,7 @@ ...@@ -12,7 +12,7 @@
<view class="content"> <view class="content">
<text class="title">恭喜你,获得免费看剧名额</text> <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 class="button-vip" @click="handleVip">免广告解锁</text>
<text v-show="showTime" class="downtext">{{countDown}}s后自动进入广告,观看完成解锁第{{vedioIndex+1}}集剧情</text> <text v-show="showTime" class="downtext">{{countDown}}s后自动进入广告,观看完成解锁第{{vedioIndex+1}}集剧情</text>
</view> </view>
......
...@@ -88,7 +88,7 @@ ...@@ -88,7 +88,7 @@
<view style="display: flex;flex-direction: column;align-items: center;"> <view style="display: flex;flex-direction: column;align-items: center;">
<view style="font-size: 24rpx;color: gray;margin-top: 16rpx;margin-bottom: 18rpx;"> <view style="font-size: 24rpx;color: gray;margin-top: 16rpx;margin-bottom: 18rpx;">
订单中如有疑问,请在个人中心联系客服</view> 订单中如有疑问,请在我的订单页面联系客服</view>
</view> </view>
</scroll-view> </scroll-view>
</view> </view>
......
...@@ -5,6 +5,7 @@ ...@@ -5,6 +5,7 @@
<image @click="onClose" style="width: 50rpx; height: 50rpx;margin-left:auto;margin-right: 30rpx; <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> 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> <text class="button1" @click="handleBtn1">客服电话</text>
<button class="button2" open-type="im" data-im-id="kaixinhaha7785">客服在线</button> <button class="button2" open-type="im" data-im-id="kaixinhaha7785">客服在线</button>
</view> </view>
......
...@@ -18,6 +18,13 @@ ...@@ -18,6 +18,13 @@
</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> </view>
</template> </template>
<script> <script>
...@@ -32,7 +39,8 @@ ...@@ -32,7 +39,8 @@
mixins: [common], mixins: [common],
data() { data() {
return { return {
dataList: [] dataList: [],
showKefuPop:false
}; };
}, },
methods: { methods: {
...@@ -58,6 +66,9 @@ ...@@ -58,6 +66,9 @@
this.$refs.paging.complete(data.list); this.$refs.paging.complete(data.list);
} }
}); });
},
handleKefu() {
this.showKefuPop = true
} }
} }
}; };
...@@ -67,4 +78,22 @@ ...@@ -67,4 +78,22 @@
.body { .body {
background-color: whitesmoke; 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> </style>
\ No newline at end of file
...@@ -18,6 +18,13 @@ ...@@ -18,6 +18,13 @@
</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> </view>
</template> </template>
<script> <script>
...@@ -28,7 +35,8 @@ ...@@ -28,7 +35,8 @@
mixins: [common], mixins: [common],
data() { data() {
return { return {
dataList: [] dataList: [],
showKefuPop:false
}; };
}, },
methods: { methods: {
...@@ -51,6 +59,9 @@ ...@@ -51,6 +59,9 @@
this.$refs.paging.complete(data.list); this.$refs.paging.complete(data.list);
} }
}); });
},
handleKefu() {
this.showKefuPop = true
} }
} }
}; };
...@@ -60,4 +71,23 @@ ...@@ -60,4 +71,23 @@
.body { .body {
background-color: whitesmoke; 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> </style>
\ No newline at end of file
...@@ -19,6 +19,12 @@ ...@@ -19,6 +19,12 @@
</view> </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> </view>
</template> </template>
<script> <script>
...@@ -33,7 +39,8 @@ ...@@ -33,7 +39,8 @@
mixins: [common], mixins: [common],
data() { data() {
return { return {
dataList: [] dataList: [],
showKefuPop:false
}; };
}, },
methods: { methods: {
...@@ -59,6 +66,9 @@ ...@@ -59,6 +66,9 @@
this.$refs.paging.complete(data.list); this.$refs.paging.complete(data.list);
} }
}); });
},
handleKefu() {
this.showKefuPop = true
} }
} }
}; };
...@@ -68,4 +78,22 @@ ...@@ -68,4 +78,22 @@
.body { .body {
background-color: whitesmoke; 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> </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