Commit 44819ec4 by 高淑倩

plus

parent 98a4beaf
......@@ -11,7 +11,7 @@
<swiper-item class="swiper-item">
<image
wx:if="{{baseImgUrl}}"
src="{{baseImgUrl}}{{item.imageUrl}}"
src="{{item.imageUrl}}"
data-appid="{{item.link.appid}}"
data-path="{{item.link.url}}"
data-link="{{item.link}}"
......
......@@ -45,13 +45,13 @@
class='btn btn-primary'
hover-class="btn-hover"
>
<text>{{currentHasUserInfo}}立即支付</text>
<text>立即支付</text>
<text>¥158</text>
</button>
</block>
<block wx:else>
<button class="btn btn-primary" bindtap="payPlus">
<text>{{currentHasUserInfo}}立即支付</text>
<text>立即支付</text>
<text>¥158</text>
</button>
</block>
......
......@@ -38,6 +38,7 @@ wxService.page({
* 生命周期函数--监听页面显示
*/
onShow: function () {
console.log('cart', this.data.currentHasUserInfo)
if (typeof this.getTabBar === 'function' &&
this.getTabBar()) {
this.getTabBar().setData({
......
......@@ -65,6 +65,7 @@ wxService.page({
* 生命周期函数--监听页面显示
*/
onShow () {
console.log('subbbbbbbbb', this.data.currentHasUserInfo)
const { pageId } = this.options
this.setData({
token: wx.getStorageSync('token'),
......
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