反馈修改完成

master
Lee-1203 2022-03-15 11:19:51 +08:00
parent 1b5ae6d16d
commit d1a366c42e
8 changed files with 15798 additions and 40 deletions

15786
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -11,6 +11,7 @@
"axios": "^0.26.0", "axios": "^0.26.0",
"core-js": "^3.6.5", "core-js": "^3.6.5",
"echarts": "^5.3.0", "echarts": "^5.3.0",
"video.js": "^7.18.1",
"vue": "^2.6.11", "vue": "^2.6.11",
"vue-axios": "^3.4.1", "vue-axios": "^3.4.1",
"vue-router": "^3.2.0" "vue-router": "^3.2.0"

View File

@ -3,7 +3,7 @@
<head> <head>
<meta charset="utf-8"> <meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge"> <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"> <link rel="icon" href="<%= BASE_URL %>favicon.ico">
<title>有谱志愿</title> <title>有谱志愿</title>
<style> <style>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 154 KiB

After

Width:  |  Height:  |  Size: 150 KiB

View File

@ -33,6 +33,11 @@
<img :src="host + expertDetail.im_group_qr"> <img :src="host + expertDetail.im_group_qr">
</div> </div>
</div> </div>
<!-- 提示框 -->
<div class="addr-select-bg" v-show="isToast"></div>
<div class="toast" v-show="isToast">
<p>{{toastText}}</p>
</div>
</div> </div>
</template> </template>
@ -45,7 +50,9 @@
isActive: true, isActive: true,
id:'', id:'',
expertDetail:[], expertDetail:[],
ddEntrance:'' ddEntrance:'',
isToast: false,
toastText: ''
} }
}, },
created() { created() {
@ -95,24 +102,18 @@
input.select(); // input.select(); //
document.execCommand("Copy"); // document.execCommand("Copy"); //
document.body.removeChild(input); // document.body.removeChild(input); //
alert("链接复制成功") this.toastText = '链接复制成功',
this.isToast = true,
setTimeout(()=> {
this.isToast = false
}, 1000)
} }
}, },
// //
downImg() { downImg() {
var url = oQrcode[0].src // postMessage
var link = document.createElement('a') dd.postMessage({name:'https://ypzy.emingren.com' + this.expertDetail.im_group_qr});
var event = new MouseEvent('click')
//
if(url!=''){
link.download = '钉钉专属群二维码'
link.href = url
link.target = _blank
link.dispatchEvent(event)
}else{
return false;
}
}, },

View File

@ -1,15 +1,15 @@
<template> <template>
<div class="content headlines"> <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)"> <div class="back" @click="$router.go(-1)">
<img src="../../../assets/images/home/expert/back.png" alt="" /> <img src="../../../assets/images/home/expert/back.png" alt="" />
</div> </div>
<div class="header-title">有谱快看</div> <div class="header-title">有谱快看</div>
</div> </div>
<div class="video"> <div class="video">
<video src="../../../assets/video/A006_720.mp4" autoplay controls="controls"> <video preload="preload" controls="controls" autoplay="autoplay">
您的浏览器不支持video标签 <source src="../../../assets/video/A006_720.mp4" type="video/mp4">
</video> </video>
</div> </div>
</div> </div>
@ -37,5 +37,6 @@
<style scoped> <style scoped>
video{ video{
width: 100%; width: 100%;
margin-top: 1rem;
} }
</style> </style>

View File

@ -84,6 +84,9 @@
<span @click="goPage('/live')"></span> <span @click="goPage('/live')"></span>
</div> </div>
<ul class="index-live-list"> <ul class="index-live-list">
<!-- <li @click="goPage('/video03')">
<img src="../../assets/images/home/index/live-02.jpg"/>
</li> -->
<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> <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> </li>
@ -146,6 +149,7 @@
let token = this.$route.query.token; let token = this.$route.query.token;
localStorage.token = JSON.stringify(token); localStorage.token = JSON.stringify(token);
localStorage.ddEntrance = JSON.stringify('yes'); localStorage.ddEntrance = JSON.stringify('yes');
this.getUserData();
} }
// //
@ -158,6 +162,13 @@
}, },
computed: {}, computed: {},
methods: { 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) { toDetail(id) {
this.$router.push({ this.$router.push({

View File

@ -490,7 +490,7 @@
}else{ }else{
that.$router.push('/ucenter'); that.$router.push('/ucenter');
} }
that.consult_amount = (JSON.parse(localStorage.getItem("centerUserData"))).consult_amount;
console.log(res, 123) console.log(res, 123)
}); });
} }