Browse Source

修改 逻辑

feature/feature-compatible
fengchengzhi 7 years ago
parent
commit
53dc68f07a
1 changed files with 14 additions and 5 deletions
  1. 19
      src/view/poster.vue

19
src/view/poster.vue

@ -4,9 +4,9 @@
<img class="weixin" src="../assets/images/poster/weixin.png" v-show="ImgFix" @click="ImgFix = false" />
<!--<input type="hidden" id="merchantNo" th:value="${merchantNo}"/>-->
<div class="page-top">
<a @click="goBack()"><img src="../assets/images/my-money/left.png" /></a>
<a @click="goBack()" class="goBack"><img src="../assets/images/my-money/left.png" /></a>
<i class="name">分销海报</i>
<i class="text" @click="show = true">{{defaultCity}}</i>
<i class="text" @click="show = true" v-if=" defaultCity != '' ">{{defaultCity}}</i>
</div>
<div class="page-content">
<img class="poster-img" v-if="imgSrc != ''" :src="imgSrc">
@ -209,7 +209,7 @@
if (r != null) return unescape(r[2]);
return null;
},
//no
//
getNo (){
this.getCityName()
this.getAddress()
@ -217,6 +217,7 @@
this.sourceType = this.getParam("sourceType")
if ( this.sourceType == 2 ){
this.defaultCity = ''
this.getPoster2()
} else {
this.getPoster()
@ -244,9 +245,18 @@
.poster .page-top {
display: flex;
align-items: center;
justify-content: space-between;
justify-content: center;
padding: 0 0.2rem;
box-sizing: border-box;
position: relative;
}
.poster .page-top .goBack {
left: 0.2rem;
position: absolute;
}
.poster .page-top .text {
right: 0.2rem;
position: absolute;
}
.poster .page-top i {
font-style: normal;
@ -261,7 +271,6 @@
left: 0;
}
.poster .page-top .name {
margin-left: 1rem;
}
.poster .page-top .text {

Loading…
Cancel
Save