|
@@ -24,7 +24,7 @@
|
|
|
</view>
|
|
|
<view class="to_bottom" v-if="!videoList.length"> -----您还没有可学习课程-----</view>
|
|
|
<view class="contact_follow">
|
|
|
- <button class="contact_btn" open-type="contact">
|
|
|
+ <button class="contact_btn" @click.stop="openCustomer()">
|
|
|
<uni-icons type="headphones" size="30" color="#FFFFFF"></uni-icons>
|
|
|
</button>
|
|
|
</view>
|
|
@@ -120,6 +120,16 @@ export default {
|
|
|
url: "/pages/video/detail?id=" + id,
|
|
|
});
|
|
|
},
|
|
|
+ openCustomer(){
|
|
|
+ // #ifdef MP-WEIXIN
|
|
|
+ console.log(1);
|
|
|
+ wx.openCustomerServiceChat({
|
|
|
+ extInfo: {url: 'https://work.weixin.qq.com/kfid/kfc5de89f024f0b8678'},
|
|
|
+ corpId: 'wwcdbc686326b51a89',
|
|
|
+ success(res) {}
|
|
|
+ })
|
|
|
+ // #endif
|
|
|
+ },
|
|
|
goExam(id, report_id, status) {
|
|
|
if (status < 0) {
|
|
|
uni.showToast({
|