反馈修改完成
parent
1b5ae6d16d
commit
d1a366c42e
File diff suppressed because it is too large
Load Diff
|
@ -11,6 +11,7 @@
|
|||
"axios": "^0.26.0",
|
||||
"core-js": "^3.6.5",
|
||||
"echarts": "^5.3.0",
|
||||
"video.js": "^7.18.1",
|
||||
"vue": "^2.6.11",
|
||||
"vue-axios": "^3.4.1",
|
||||
"vue-router": "^3.2.0"
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width,initial-scale=1.0">
|
||||
<meta content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0" name="viewport" />
|
||||
<link rel="icon" href="<%= BASE_URL %>favicon.ico">
|
||||
<title>有谱志愿</title>
|
||||
<style>
|
||||
|
|
Binary file not shown.
Before Width: | Height: | Size: 154 KiB After Width: | Height: | Size: 150 KiB |
|
@ -33,6 +33,11 @@
|
|||
<img :src="host + expertDetail.im_group_qr">
|
||||
</div>
|
||||
</div>
|
||||
<!-- 提示框 -->
|
||||
<div class="addr-select-bg" v-show="isToast"></div>
|
||||
<div class="toast" v-show="isToast">
|
||||
<p>{{toastText}}</p>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
|
@ -45,7 +50,9 @@
|
|||
isActive: true,
|
||||
id:'',
|
||||
expertDetail:[],
|
||||
ddEntrance:''
|
||||
ddEntrance:'',
|
||||
isToast: false,
|
||||
toastText: ''
|
||||
}
|
||||
},
|
||||
created() {
|
||||
|
@ -95,24 +102,18 @@
|
|||
input.select(); // 选择实例内容
|
||||
document.execCommand("Copy"); // 执行复制
|
||||
document.body.removeChild(input); // 删除临时实例
|
||||
alert("链接复制成功")
|
||||
this.toastText = '链接复制成功',
|
||||
this.isToast = true,
|
||||
setTimeout(()=> {
|
||||
this.isToast = false
|
||||
}, 1000)
|
||||
}
|
||||
},
|
||||
|
||||
// 下载二维码事件
|
||||
downImg() {
|
||||
var url = oQrcode[0].src
|
||||
var link = document.createElement('a')
|
||||
var event = new MouseEvent('click')
|
||||
// 自定义下载后图片的名称
|
||||
if(url!=''){
|
||||
link.download = '钉钉专属群二维码'
|
||||
link.href = url
|
||||
link.target = _blank
|
||||
link.dispatchEvent(event)
|
||||
}else{
|
||||
return false;
|
||||
}
|
||||
// 网页向小程序 postMessage 消息
|
||||
dd.postMessage({name:'https://ypzy.emingren.com' + this.expertDetail.im_group_qr});
|
||||
},
|
||||
|
||||
|
||||
|
|
|
@ -1,15 +1,15 @@
|
|||
<template>
|
||||
<div class="content headlines">
|
||||
<!-- 头部 -->
|
||||
<div :class="{ header: true, 'scroll white': isScrollTop, white: true }">
|
||||
<div :class="{ header: true, white: true }">
|
||||
<div class="back" @click="$router.go(-1)">
|
||||
<img src="../../../assets/images/home/expert/back.png" alt="" />
|
||||
</div>
|
||||
<div class="header-title">有谱快看</div>
|
||||
</div>
|
||||
<div class="video">
|
||||
<video src="../../../assets/video/A006_720.mp4" autoplay controls="controls">
|
||||
您的浏览器不支持video标签。
|
||||
<video preload="preload" controls="controls" autoplay="autoplay">
|
||||
<source src="../../../assets/video/A006_720.mp4" type="video/mp4">
|
||||
</video>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -37,5 +37,6 @@
|
|||
<style scoped>
|
||||
video{
|
||||
width: 100%;
|
||||
margin-top: 1rem;
|
||||
}
|
||||
</style>
|
||||
|
|
|
@ -84,6 +84,9 @@
|
|||
<span @click="goPage('/live')">查看更多</span>
|
||||
</div>
|
||||
<ul class="index-live-list">
|
||||
<!-- <li @click="goPage('/video03')">
|
||||
<img src="../../assets/images/home/index/live-02.jpg"/>
|
||||
</li> -->
|
||||
<li>
|
||||
<a href="https://mp.weixin.qq.com/s?__biz=Mzg2MTQ4NDQ3NA==&mid=2247484888&idx=1&sn=e5d043b83e2eaaf41ebdebac82024402&chksm=ce17210df960a81b640c49e6bc8fb76ef1145add4e47e916d03194c1a29d57cf57836f970939#rd"><img src="../../assets/images/home/index/live-02.jpg"/></a>
|
||||
</li>
|
||||
|
@ -146,6 +149,7 @@
|
|||
let token = this.$route.query.token;
|
||||
localStorage.token = JSON.stringify(token);
|
||||
localStorage.ddEntrance = JSON.stringify('yes');
|
||||
this.getUserData();
|
||||
}
|
||||
|
||||
// 获取用户类型
|
||||
|
@ -158,6 +162,13 @@
|
|||
},
|
||||
computed: {},
|
||||
methods: {
|
||||
//查询用户信息
|
||||
getUserData() {
|
||||
this.axios.post(this.HOME + "/api/user/center-info").then(function(res) {
|
||||
console.log(res.data.data)
|
||||
localStorage.centerUserData = JSON.stringify(res.data.data);
|
||||
});
|
||||
},
|
||||
// 跳转到详情页
|
||||
toDetail(id) {
|
||||
this.$router.push({
|
||||
|
|
|
@ -490,7 +490,7 @@
|
|||
}else{
|
||||
that.$router.push('/ucenter');
|
||||
}
|
||||
|
||||
that.consult_amount = (JSON.parse(localStorage.getItem("centerUserData"))).consult_amount;
|
||||
console.log(res, 123)
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue