Commit 6b096d6b authored by 黄媛媛's avatar 黄媛媛

修改赏枫页面样式

parent eb65cf34
...@@ -99,7 +99,7 @@ height: 100%; ...@@ -99,7 +99,7 @@ height: 100%;
</el-col> </el-col>
<el-col :span="10" style="text-align:right;font-size:12px;">出团日期:8月</el-col> <el-col :span="10" style="text-align:right;font-size:12px;">出团日期:8月</el-col>
</el-row> </el-row>
<div style="text-align:center;width:100%;margin:30px 0"> <div style="text-align:center;width:100%;margin=-top:30px">
<img style="width:150px;height:150px;position:relative;" src="../../assets/img/juan/twoCode.png" alt=""/> <img style="width:150px;height:150px;position:relative;" src="../../assets/img/juan/twoCode.png" alt=""/>
</div> </div>
</div> </div>
...@@ -181,15 +181,27 @@ export default { ...@@ -181,15 +181,27 @@ export default {
// this.getFirstImg(); // this.getFirstImg();
this.AutoExchange(); this.AutoExchange();
}) })
  var ua = navigator.userAgent.toLowerCase();//获取判断用的对象 //   var ua = navigator.userAgent.toLowerCase();//获取判断用的对象
  if (ua.match(/MicroMessenger/i) == "micromessenger") { //   if (ua.match(/MicroMessenger/i) == "micromessenger") {
    //在微信中打开 //     //在微信中打开
this.isPhone=true; // this.isPhone=true;
this.AutoExchange3(); // this.AutoExchange3();
  } else { //   } else {
  //否则就是PC浏览器打开 //   //否则就是PC浏览器打开
this.isPhone=false; // this.isPhone=false;
} // }
let userAgentInfo = navigator.userAgent;
let Agents = ["Android", "iPhone",
"SymbianOS", "Windows Phone",
"iPad", "iPod"];
for (let v = 0; v < Agents.length; v++) {
if (userAgentInfo.indexOf(Agents[v]) > 0) {
this.isPhone = true;
// this.AutoExchange3();
break;
}
}
}, },
created() { created() {
......
...@@ -64,7 +64,7 @@ height: 100%; ...@@ -64,7 +64,7 @@ height: 100%;
<template> <template>
<div> <div>
<div v-show="isPhone" class="isPhone"> <div v-show="isPhone" class="isPhone">
<!-- <img @click="goUrl('Home')" class="Homeimg" src="../../assets/img/juan/home.png" alt /> --> <!-- <img @click="goUrl('Home')" class="Homeimg" src="../../assets/img/juan/home.png" alt /> -->
<div class="div3 div1" ref="div3"> <div class="div3 div1" ref="div3">
<img style="height:initial !important" class="img" src="../../assets/img/juan/fengye11.jpg" alt=""/> <img style="height:initial !important" class="img" src="../../assets/img/juan/fengye11.jpg" alt=""/>
...@@ -72,7 +72,7 @@ height: 100%; ...@@ -72,7 +72,7 @@ height: 100%;
<div class="bottom"> <div class="bottom">
<img src="../../assets/img/juan/fengyedibu11.jpg" alt=""/> <img src="../../assets/img/juan/fengyedibu11.jpg" alt=""/>
<div style="width:95%;margin:0 auto;padding:10px 0 0 10px;position:relative;z-index:200"> <div style="width:95%;margin:0 auto;padding:10px 0 0 10px;position:relative;z-index:200">
<el-row style="padding:50px 0 5px 0;cursor:pointer;" :gutter="20"> <el-row style="padding:50px 0 5px 0;cursor:pointer;" :gutter="20">
<el-col :span="12" style="white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-align: center;"> <el-col :span="12" style="white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-align: center;">
<a target="_blank" style="font-size:12px;">本州 147升级版 </a> <a target="_blank" style="font-size:12px;">本州 147升级版 </a>
</el-col> </el-col>
...@@ -160,15 +160,27 @@ export default { ...@@ -160,15 +160,27 @@ export default {
// this.getFirstImg(); // this.getFirstImg();
this.AutoExchange(); this.AutoExchange();
}) })
  var ua = navigator.userAgent.toLowerCase();//获取判断用的对象 //   var ua = navigator.userAgent.toLowerCase();//获取判断用的对象
  if (ua.match(/MicroMessenger/i) == "micromessenger") { //   if (ua.match(/MicroMessenger/i) == "micromessenger") {
    //在微信中打开 //     //在微信中打开
this.isPhone=true; // this.isPhone=true;
this.AutoExchange3(); // this.AutoExchange3();
  } else { //   } else {
  //否则就是PC浏览器打开 //   //否则就是PC浏览器打开
this.isPhone=false; // this.isPhone=false;
} // }
let userAgentInfo = navigator.userAgent;
let Agents = ["Android", "iPhone",
"SymbianOS", "Windows Phone",
"iPad", "iPod"];
for (let v = 0; v < Agents.length; v++) {
if (userAgentInfo.indexOf(Agents[v]) > 0) {
this.isPhone = true;
// this.AutoExchange3();
break;
}
}
}, },
created() { created() {
......
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