@@ -12,7 +12,7 @@ Page({ | |||
wm02Url: imgurl.wm02.url, | |||
wm03Url: imgurl.wm03.url, | |||
teljpgUrl: imgurl.teljpg.url, | |||
newUrl: imgurl.new.url, | |||
newUrl: imgurl.new1.url, | |||
data: { | |||
salePrice: null, | |||
price: null, | |||
@@ -13,7 +13,7 @@ Page({ | |||
wm03Url: imgurl.wm03.url, | |||
wm04Url: imgurl.wm04.url, | |||
teljpgUrl: imgurl.teljpg.url, | |||
newUrl: imgurl.new.url, | |||
newUrl: imgurl.new1.url, | |||
data: { | |||
salePrice: null, | |||
price: null, | |||
@@ -5,12 +5,15 @@ const QR = require("../../utils/memberqrcode.js"); | |||
let app = getApp(); | |||
Page({ | |||
data: { | |||
newUrl: imgurl.new.url, | |||
icon001: imgurl.icon001.url, | |||
icon002: imgurl.icon002.url, | |||
icon003: imgurl.icon003.url, | |||
icon004: imgurl.icon004.url, | |||
sapellgroup: imgurl.sapellgroup.url, | |||
newUrl: imgurl.new1.url, | |||
icon0001: imgurl.icon0001.url, | |||
icon0002: imgurl.icon0002.url, | |||
icon0003: imgurl.icon0003.url, | |||
icon0004: imgurl.icon0004.url, | |||
icon0005: imgurl.icon0005.url, | |||
icon0006: imgurl.icon0006.url, | |||
icon0007: imgurl.icon0007.url, | |||
icon0008: imgurl.icon0008.url, | |||
market: app.globalData.market, | |||
list: [], | |||
loading: true, | |||
@@ -28,6 +31,18 @@ Page({ | |||
showPages: false, | |||
page: 1 // 刷新进入页面时已经加载了第一页数据,onReachBottom时 page++,从第2页开始加载 | |||
}, | |||
// 我的卡包 | |||
mycard:function(){ | |||
wx.navigateTo({ | |||
url: '/pages/cardorder/index/index', | |||
}) | |||
}, | |||
//我的券包 | |||
mycoupon:function(){ | |||
wx.navigateTo({ | |||
url: '/pages/couponorder/index/index', | |||
}) | |||
}, | |||
gotodiscountCardList: function() { | |||
wx.navigateTo({ | |||
url: '/pages/discountCardList/discountCardList' | |||
@@ -1,32 +1,37 @@ | |||
<view class="container"> | |||
<!-- 门店列表展示 --> | |||
<view class='search'> | |||
<view class='searchbar' bindtap='searchbar'> | |||
<text>门店></text> | |||
<image src='./../../assets/images/search.png' mode='widthFix'></image> | |||
</view> | |||
</view> | |||
<c-banner wx:key="unique" list="{{list}}" /> | |||
<!-- 折扣卡 --> | |||
<view class='section'> | |||
<view bindtap='gotoRushBuy'> | |||
<image src='{{icon001}}'></image> | |||
<image src='{{icon0001}}'></image> | |||
<text>限时抢购</text> | |||
</view> | |||
<view bindtap='gotodiscountCardList'> | |||
<image src='{{icon002}}'></image> | |||
<image src='{{icon0002}}'></image> | |||
<text>消费卡</text> | |||
</view> | |||
<view bindtap='gotoSpellGroup'> | |||
<image src='{{sapellgroup}}'></image> | |||
<image src='{{icon0003}}'></image> | |||
<text>拼团专场</text> | |||
</view> | |||
<view bindtap='gotoBargain'> | |||
<image src='{{icon004}}'></image> | |||
<image src='{{icon0004}}'></image> | |||
<text>砍价专场</text> | |||
</view> | |||
<view bindtap='qrcode'> | |||
<image src='{{icon003}}'></image> | |||
<view bindtap='searchbar'> | |||
<image src='{{icon0005}}'></image> | |||
<text>品牌门店</text> | |||
</view> | |||
<view bindtap='mycard'> | |||
<image src='{{icon0006}}'></image> | |||
<text>我的卡包</text> | |||
</view> | |||
<view bindtap='mycoupon'> | |||
<image src='{{icon0007}}'></image> | |||
<text>我的券包</text> | |||
</view> | |||
<view bindtap='qrcode'> | |||
<image src='{{icon0008}}'></image> | |||
<text>会员权益</text> | |||
</view> | |||
</view> | |||
@@ -25,8 +25,7 @@ page { | |||
.game-entry { | |||
width: 690rpx; | |||
height: 140rpx; | |||
margin: 57rpx auto 0; | |||
margin: 37rpx auto 0; | |||
} | |||
.gameimg { | |||
@@ -37,23 +36,25 @@ page { | |||
.section { | |||
padding: 0 20rpx; | |||
display: flex; | |||
justify-content: space-around; | |||
text-align: center; | |||
margin-top: 40rpx; | |||
margin-top: 25rpx; | |||
} | |||
.section >view{ | |||
width: 25%; | |||
display: inline-block; | |||
} | |||
.section >view image { | |||
display: block; | |||
margin: 0 auto; | |||
} | |||
.section >view image { | |||
width: 80rpx; | |||
height: 80rpx; | |||
width: 55rpx; | |||
height: 55rpx; | |||
margin-top: 20rpx; | |||
margin-bottom: 14rpx; | |||
} | |||
.section text { | |||
height: 23rpx; | |||
font-size: 24rpx; | |||
color: rgba(51, 51, 51, 1); | |||
display: block; | |||
@@ -11,7 +11,7 @@ Page({ | |||
succUrl: imgurl.succ.url, | |||
spcodeUrl: imgurl.spcode.url, | |||
teljpgUrl: imgurl.teljpg.url, | |||
newUrl: imgurl.new.url, | |||
newUrl: imgurl.new1.url, | |||
weixinTitle: imgurl.weixinTitle.url, | |||
showModalStatus: false, | |||
flag: 0, | |||
@@ -180,9 +180,9 @@ module.exports = { | |||
'url': baseUrl + 'myspeacial.jpg', | |||
'name': '' | |||
}, | |||
'new': { | |||
'url': baseUrl + 'new.png', | |||
'name': '' | |||
'new1': { | |||
'url': baseUrl + 'new1.png', | |||
'name': '游戏' | |||
}, | |||
'orbg': { | |||
'url': baseUrl + 'orbg.png', | |||
@@ -328,20 +328,36 @@ module.exports = { | |||
'url': baseUrl + 'wm04.jpg', | |||
'name': '' | |||
}, | |||
'icon001': { | |||
'url': baseUrl + 'icon001.png', | |||
'icon0001': { | |||
'url': baseUrl + 'icon0001.png', | |||
'name': '' | |||
}, | |||
'icon0002': { | |||
'url': baseUrl + 'icon0002.png', | |||
'name': '' | |||
}, | |||
'icon0003': { | |||
'url': baseUrl + 'icon0003.png', | |||
'name': '' | |||
}, | |||
'icon0004': { | |||
'url': baseUrl + 'icon0004.png', | |||
'name': '' | |||
}, | |||
'icon0005': { | |||
'url': baseUrl + 'icon0005.png', | |||
'name': '' | |||
}, | |||
'icon002': { | |||
'url': baseUrl + 'icon002.png', | |||
'icon0006': { | |||
'url': baseUrl + 'icon0006.png', | |||
'name': '' | |||
}, | |||
'icon003': { | |||
'url': baseUrl + 'icon003.png', | |||
'icon0007': { | |||
'url': baseUrl + 'icon0007.png', | |||
'name': '' | |||
}, | |||
'icon004': { | |||
'url': baseUrl + 'icon004.gif', | |||
'icon0008': { | |||
'url': baseUrl + 'icon0008.png', | |||
'name': '' | |||
}, | |||
'canTransferred': { | |||