bug
This commit is contained in:
@@ -173,8 +173,8 @@
|
|||||||
title: '温馨提示',
|
title: '温馨提示',
|
||||||
content: '提交申请成功,请等待后台审核!'
|
content: '提交申请成功,请等待后台审核!'
|
||||||
}).then(() => {
|
}).then(() => {
|
||||||
wx.navigateBack()
|
uni.navigateBack()
|
||||||
})
|
}).catch(() => {})
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -27,7 +27,7 @@
|
|||||||
<span>文明榜单</span>
|
<span>文明榜单</span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<swiper class="banner" indicatorDots circular :autoplay="true" :interval="5000">
|
<swiper class="banner" indicatorDots circular :autoplay="true" :interval="5000" v-if="bannerList.length">
|
||||||
<swiper-item v-for="(item, index) in bannerList" :key="index">
|
<swiper-item v-for="(item, index) in bannerList" :key="index">
|
||||||
<image :src="item.imgUrl" mode="aspectFill" />
|
<image :src="item.imgUrl" mode="aspectFill" />
|
||||||
</swiper-item>
|
</swiper-item>
|
||||||
@@ -99,6 +99,11 @@
|
|||||||
...mapState(['user', 'token'])
|
...mapState(['user', 'token'])
|
||||||
},
|
},
|
||||||
|
|
||||||
|
onShow () {
|
||||||
|
this.isMore = false
|
||||||
|
this.getList()
|
||||||
|
},
|
||||||
|
|
||||||
onLoad () {
|
onLoad () {
|
||||||
if (!this.token) {
|
if (!this.token) {
|
||||||
this.autoLogin()
|
this.autoLogin()
|
||||||
@@ -106,7 +111,6 @@
|
|||||||
this.getUserInfo()
|
this.getUserInfo()
|
||||||
}
|
}
|
||||||
|
|
||||||
this.getList()
|
|
||||||
this.getBannerList()
|
this.getBannerList()
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|||||||
@@ -10,7 +10,7 @@
|
|||||||
<div class="back-wrapper" @click="back" v-show="!isFixed" :style="{marginTop : statusBarHeight + 'px'}">
|
<div class="back-wrapper" @click="back" v-show="!isFixed" :style="{marginTop : statusBarHeight + 'px'}">
|
||||||
<image src="/static/img/left.png"/>
|
<image src="/static/img/left.png"/>
|
||||||
</div>
|
</div>
|
||||||
<image class="banner" :src="info.merchantPhoto || 'https://jisheng-xiaochengxu.oss-cn-hangzhou.aliyuncs.com/admin/5bad9165-fa6e-4c81-894d-2beae426260b.png'" />
|
<image class="banner" :src="info.merchantInfo.merchantPhoto" />
|
||||||
<div class="wrapper">
|
<div class="wrapper">
|
||||||
<div class="top">
|
<div class="top">
|
||||||
<image :src="info.merchantInfo.photoUrl" />
|
<image :src="info.merchantInfo.photoUrl" />
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
<div class="AddDiscounts">
|
<div class="AddDiscounts">
|
||||||
<div class="form">
|
<div class="form">
|
||||||
<input placeholder="输入优惠内容标题" v-model="title" placeholder-style="color: #999; font-size: 15px;" />
|
<input placeholder="输入优惠内容标题" v-model="title" placeholder-style="color: #999; font-size: 15px;" />
|
||||||
<textarea placeholder="输入优惠内容详情" v-model="content" placeholder-class="input-placeholder" placeholder-style="color: #999; font-size: 15px;" />
|
<textarea placeholder="输入优惠内容详情" :maxlength="1000" v-model="content" placeholder-class="input-placeholder" placeholder-style="color: #999; font-size: 15px;" />
|
||||||
</div>
|
</div>
|
||||||
<div class="btn-wrapper">
|
<div class="btn-wrapper">
|
||||||
<div class="btn" hover-class="text-hover" @click="save">发布</div>
|
<div class="btn" hover-class="text-hover" @click="save">发布</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user