|
@@ -4,9 +4,9 @@
|
|
|
<head>
|
|
|
<meta charset="UTF-8">
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
|
|
|
- <meta name="description" content="分享内容 ">
|
|
|
+ <meta name="description" content="分享攻略 ">
|
|
|
<link rel="icon" href="../static/img/favicon2.ico" type="img/x-ico">
|
|
|
- <link rel="stylesheet" href="../static/css/index.css?v=1.0.0.2">
|
|
|
+ <link rel="stylesheet" href="../static/css/index.css?v=1.0.0.3">
|
|
|
<link rel="stylesheet" href="../static/css/vant.css" />
|
|
|
<script src="../static/js/vender/vue/vue.min.js"></script>
|
|
|
<script src="../static/js/vender/vue/vant.min.js"></script>
|
|
@@ -15,8 +15,9 @@
|
|
|
<script src="../static/js/vender/vue/axios.min.js"></script>
|
|
|
<script src="../static/js/vender/vue/config.js"></script>
|
|
|
<script src="../static/js/vender/vue/api.js"></script>
|
|
|
- <title>分享内容 </title>
|
|
|
+ <title>攻略分享 </title>
|
|
|
<style>
|
|
|
+ [v-cloak] {display: none !important;}
|
|
|
.container {
|
|
|
display: flex;
|
|
|
height: 100vh;
|
|
@@ -24,6 +25,7 @@
|
|
|
/* align-items: center;
|
|
|
justify-content: center; */
|
|
|
}
|
|
|
+
|
|
|
.top-banner {
|
|
|
width: 6.82rem;
|
|
|
height: 0.82rem;
|
|
@@ -208,29 +210,30 @@
|
|
|
.top-banner {
|
|
|
margin: 0 auto;
|
|
|
}
|
|
|
-
|
|
|
+
|
|
|
h1,
|
|
|
- h2,
|
|
|
- h3,
|
|
|
- h4,
|
|
|
- h5 {
|
|
|
- font-size: 0.32rem;
|
|
|
- font-family: PingFangSC-Semibold, PingFang SC;
|
|
|
- font-weight: 600;
|
|
|
- color: #333333;
|
|
|
- /* margin-bottom: 0.12rem;
|
|
|
+ h2,
|
|
|
+ h3,
|
|
|
+ h4,
|
|
|
+ h5 {
|
|
|
+ font-size: 0.32rem;
|
|
|
+ font-family: PingFangSC-Semibold, PingFang SC;
|
|
|
+ font-weight: 600;
|
|
|
+ color: #333333;
|
|
|
+ /* margin-bottom: 0.12rem;
|
|
|
margin-top: 0.12rem; */
|
|
|
- }
|
|
|
- .hide{
|
|
|
+ }
|
|
|
+
|
|
|
+ .hide {
|
|
|
display: none;
|
|
|
}
|
|
|
</style>
|
|
|
</head>
|
|
|
|
|
|
<body>
|
|
|
- <div class="hide">分享攻略122222222222222</div>
|
|
|
+
|
|
|
<div id="app" v-cloak class="container ">
|
|
|
- <div v-if='isshow&&topic!=null' style="margin: 0 auto;">
|
|
|
+ <div v-show='isshow&&topic!=null' style="margin: 0 auto;">
|
|
|
|
|
|
<div class="top-banner">
|
|
|
<van-notice-bar :scrollable="false">
|
|
@@ -258,7 +261,7 @@
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
- <div v-if='!isshow' class="hideContainer">
|
|
|
+ <div v-show='!isshow' class="hideContainer">
|
|
|
<div>
|
|
|
<img src="../static/offImg/no-data.png" alt="" />
|
|
|
<p>{{msg}},敬请期待</p>
|
|
@@ -269,15 +272,15 @@
|
|
|
|
|
|
|
|
|
<script type="text/javascript">
|
|
|
- var meta_description = document.getElementsByTagName('meta')['description']
|
|
|
- document.title = '更新标题'
|
|
|
- meta_description.content = '更新描述'; // Android iOS
|
|
|
-
|
|
|
+ // var meta_description = document.getElementsByTagName('meta')['description']
|
|
|
+ // document.title = '更新标题'
|
|
|
+ // meta_description.content = '更新描述'; // Android iOS
|
|
|
+
|
|
|
var u = navigator.userAgent,
|
|
|
app = navigator.appVersion;
|
|
|
var isAndroid = u.indexOf('Android') > -1 || u.indexOf('Linux') > -1; //g
|
|
|
var isIOS = !!u.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/); //ios终端
|
|
|
-
|
|
|
+
|
|
|
new Vue({
|
|
|
el: '#app',
|
|
|
data: {
|
|
@@ -297,10 +300,9 @@
|
|
|
// window.location.href = 'investigate.html'
|
|
|
},
|
|
|
mounted() {
|
|
|
- // document.querySelector('#app').classList.remove('hide');
|
|
|
+ // document.querySelector('#app').classList.remove('hide');
|
|
|
this.getActDetail();
|
|
|
this.getMarquee(); //跑马灯
|
|
|
-
|
|
|
if (localStorage.getItem("uuid")) {
|
|
|
this.uuid = localStorage.getItem("uuid");
|
|
|
} else {
|
|
@@ -308,10 +310,9 @@
|
|
|
localStorage.setItem("uuid", this.uuid);
|
|
|
}
|
|
|
console.log(this.uuid);
|
|
|
-
|
|
|
},
|
|
|
methods: {
|
|
|
-
|
|
|
+
|
|
|
//查看活动是否下架
|
|
|
getActDetail() { //获取活动状态
|
|
|
getActDetail().then(res => {
|