Commit 44819ec4 by 高淑倩

plus

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