@@ -293,7 +293,7 @@ button::after{ border: none; } | |||||
.buy { | .buy { | ||||
position: relative; | position: relative; | ||||
background: #00c0ff; | |||||
background: #AF6E34 ; | |||||
height: 94rpx; | height: 94rpx; | ||||
width: 560rpx; | width: 560rpx; | ||||
margin: 0 auto 30rpx; | margin: 0 auto 30rpx; | ||||
@@ -490,8 +490,8 @@ button::after{ border: none; } | |||||
.elecard { | .elecard { | ||||
display: inline-block; | display: inline-block; | ||||
margin-left: 6rpx; | margin-left: 6rpx; | ||||
color: #00c0ff; | |||||
border: 1px solid #00c0ff; | |||||
color: #AF6E34 ; | |||||
border: 1px solid #AF6E34 ; | |||||
border-radius: 8rpx; | border-radius: 8rpx; | ||||
font-style: normal; | font-style: normal; | ||||
font-size: 30rpx; | font-size: 30rpx; | ||||
@@ -1,8 +1,8 @@ | |||||
/* pages/czdetail/czdetail.wxss */ | |||||
@import "../../app.wxss"; | |||||
.head { | .head { | ||||
height: 252rpx; | |||||
background: #02c0ff; | |||||
height: 232rpx; | |||||
padding-top: 20rpx; | |||||
background: #fc5b24; | |||||
position: relative; | position: relative; | ||||
} | } | ||||
@@ -10,6 +10,7 @@ Page({ | |||||
bannerUrl: imgurl.banner.url, | bannerUrl: imgurl.banner.url, | ||||
loadingUrl: imgurl.loading.url, | loadingUrl: imgurl.loading.url, | ||||
nodata: imgurl.nodata.url, | nodata: imgurl.nodata.url, | ||||
wangmeimeicredit: imgurl.wangmeimeicredit.url, | |||||
list: [], | list: [], | ||||
lists: [], | lists: [], | ||||
myLists: [], | myLists: [], | ||||
@@ -53,6 +54,11 @@ Page({ | |||||
}) | }) | ||||
} | } | ||||
}, | }, | ||||
gotojifen(){ | |||||
wx.navigateTo({ | |||||
url: '/pages/integralmall/integraHistory/index', | |||||
}) | |||||
}, | |||||
/** | /** | ||||
* banner | * banner | ||||
*/ | */ | ||||
@@ -1,8 +1,6 @@ | |||||
{ | { | ||||
"navigationBarTitleText": "积分商城", | "navigationBarTitleText": "积分商城", | ||||
"enablePullDownRefresh": true, | "enablePullDownRefresh": true, | ||||
"navigationBarBackgroundColor": "#F13C42", | |||||
"navigationBarTextStyle": "white", | |||||
"usingComponents": { | "usingComponents": { | ||||
"c-banner": "../../components/spellbanner/index", | "c-banner": "../../components/spellbanner/index", | ||||
"i-tab": "../../../dist/tab/index", | "i-tab": "../../../dist/tab/index", | ||||
@@ -1,14 +1,17 @@ | |||||
<view class='content-box' style='{{"padding-bottom:"+(lists.length>0?"200rpx":"0")}}'> | |||||
<view class='top' wx:if='{{list.length>0}}'> | |||||
<view class="banner" wx:if="{{list.length>0}}" hover-class="none" hover-stop-propagation="false"> | |||||
<c-banner wx:key="unique" list="{{list}}" /> | |||||
</view> | |||||
<view class='content-box'> | |||||
<view class='topbg'> | |||||
<image bindtap='gotojifen' src='{{wangmeimeicredit}}' mode='widthFix'></image> | |||||
<text class='my'>我的积分</text> | |||||
<text class='score'>200</text> | |||||
</view> | </view> | ||||
<view class='no-data01' style='{{"margin-top:"+(list.length>0?"320rpx":"20rpx")+";"+"height:"+(list.length>0?"calc(100vh - 460rpx)":"calc(100vh - 160rpx)")}}' wx:if='{{lists.length==0}}'> | |||||
<view class='no-data01' wx:if='{{lists.length==0}}'> | |||||
<image src='{{nodata}}'></image> | <image src='{{nodata}}'></image> | ||||
<view class='no-data-text'>暂无数据</view> | <view class='no-data-text'>暂无数据</view> | ||||
</view> | </view> | ||||
<view class='content' style='{{"margin-top:"+(list.length>0?"320rpx":"20rpx")}}'> | |||||
<view class='content'> | |||||
<view class='hottitle'> | |||||
<text>热门好礼</text> | |||||
</view> | |||||
<view class='sepll-list' wx:for="{{lists}}" wx:key="{{index}}" data-couponId='{{item.couponId}}' data-id='{{item.id}}' bindtap='invite'> | <view class='sepll-list' wx:for="{{lists}}" wx:key="{{index}}" data-couponId='{{item.couponId}}' data-id='{{item.id}}' bindtap='invite'> | ||||
<view class='spell-left'> | <view class='spell-left'> | ||||
<image src='{{item.coverImg}}' mode="aspectFill"></image> | <image src='{{item.coverImg}}' mode="aspectFill"></image> | ||||
@@ -22,7 +25,7 @@ | |||||
<view class='price-unit'>积分</view> | <view class='price-unit'>积分</view> | ||||
</view> | </view> | ||||
</view> | </view> | ||||
<view class='price02'>{{'原价:'+item.priceStr+'元'}}</view> | |||||
<view class='price02'>{{'原价 '+item.priceStr+'元'}}</view> | |||||
</view> | </view> | ||||
<view class='spell-right'> | <view class='spell-right'> | ||||
<view class='right-button'>立即换购</view> | <view class='right-button'>立即换购</view> | ||||
@@ -1,9 +1,32 @@ | |||||
/* pages/spellGroup/spellGroup.wxss */ | /* pages/spellGroup/spellGroup.wxss */ | ||||
.topbg image{ | |||||
display: block; | |||||
width: 100%; | |||||
} | |||||
.topbg { | |||||
position: relative; | |||||
} | |||||
.topbg text{ | |||||
position: absolute; | |||||
left: 0; | |||||
right: 0; | |||||
text-align: center; | |||||
font-size: 32rpx; | |||||
color: #fff; | |||||
} | |||||
.topbg .my{ | |||||
top:25rpx; | |||||
} | |||||
.topbg .score{ | |||||
top:60rpx; | |||||
font-size: 56rpx; | |||||
font-weight: bold; | |||||
} | |||||
page { | page { | ||||
height: auto; | height: auto; | ||||
overflow: auto; | overflow: auto; | ||||
background: #f89132; | |||||
background-image: url('https://s3.cn-northwest-1.amazonaws.com.cn/iformall-net/cimg/spell-bg.png'); | |||||
background: #f7f7f7; | |||||
/* background-image: url('https://s3.cn-northwest-1.amazonaws.com.cn/iformall-net/cimg/spell-bg.png'); */ | |||||
background-size: cover; | background-size: cover; | ||||
background-repeat: no-repeat; | background-repeat: no-repeat; | ||||
} | } | ||||
@@ -68,7 +91,7 @@ image{ | |||||
height: 230rpx; | height: 230rpx; | ||||
background: #fff; | background: #fff; | ||||
border-radius: 30rpx; | border-radius: 30rpx; | ||||
margin: 30rpx auto 0; | |||||
margin: 0 auto 30rpx; | |||||
} | } | ||||
.content .spell-left{ | .content .spell-left{ | ||||
width: 230rpx; | width: 230rpx; | ||||
@@ -154,7 +177,7 @@ image{ | |||||
height:48rpx; | height:48rpx; | ||||
font-size:26rpx; | font-size:26rpx; | ||||
background:linear-gradient(90deg,rgba(236,59,45,1) 0%,rgba(248,98,52,1) 100%); | background:linear-gradient(90deg,rgba(236,59,45,1) 0%,rgba(248,98,52,1) 100%); | ||||
border-radius:24rpx; | |||||
border-radius:8rpx; | |||||
font-family:PingFang-SC-Medium; | font-family:PingFang-SC-Medium; | ||||
font-weight:500; | font-weight:500; | ||||
text-align: center; | text-align: center; | ||||
@@ -288,4 +311,14 @@ image{ | |||||
font-family:PingFang-SC-Medium; | font-family:PingFang-SC-Medium; | ||||
font-weight:500; | font-weight:500; | ||||
color:rgba(0,0,0,1); | color:rgba(0,0,0,1); | ||||
} | |||||
.hottitle{ | |||||
height: 100rpx; | |||||
line-height: 100rpx; | |||||
} | |||||
.hottitle text{ | |||||
color: #333; | |||||
font-weight: bold; | |||||
font-size: 36rpx; | |||||
padding-left: 30rpx; | |||||
} | } |
@@ -12,7 +12,7 @@ | |||||
<text>{{item.createDate}}</text> | <text>{{item.createDate}}</text> | ||||
</view> | </view> | ||||
<view class='fr'> | <view class='fr'> | ||||
<text wx:if="{{item.creditNum>0}}" style="color:#00B4FF;">+{{item.creditNum}}分</text> | |||||
<text wx:if="{{item.creditNum>0}}" style="color:#fc5b24;">+{{item.creditNum}}分</text> | |||||
<text wx:if="{{item.creditNum<0}}">{{item.creditNum}}分</text> | <text wx:if="{{item.creditNum<0}}">{{item.creditNum}}分</text> | ||||
</view> | </view> | ||||
</view> | </view> |
@@ -1,8 +1,9 @@ | |||||
/* pages/czdetail/czdetail.wxss */ | /* pages/czdetail/czdetail.wxss */ | ||||
.head { | .head { | ||||
height: 252rpx; | |||||
background: #02c0ff; | |||||
height: 232rpx; | |||||
padding-top: 20rpx; | |||||
background: #fc5b24; | |||||
position: relative; | position: relative; | ||||
} | } | ||||
@@ -1,3 +1,4 @@ | |||||
@import "../../app.wxss"; | |||||
.index-position { | .index-position { | ||||
background: rgba(0, 0, 0, 0.5); | background: rgba(0, 0, 0, 0.5); | ||||
height: 88rpx; | height: 88rpx; | ||||
@@ -1,5 +1,5 @@ | |||||
{ | { | ||||
"navigationBarTitleText": "我的特权", | "navigationBarTitleText": "我的特权", | ||||
"navigationBarBackgroundColor": "#CD223C", | |||||
"navigationBarBackgroundColor": "#fc5b24", | |||||
"navigationBarTextStyle": "white" | "navigationBarTextStyle": "white" | ||||
} | } |
@@ -1,5 +1,5 @@ | |||||
Page{ | Page{ | ||||
background: #C8223C; | |||||
background: #fc5b24; | |||||
} | } | ||||
.none{ | .none{ | ||||
font-size: 28rpx; | font-size: 28rpx; | ||||
@@ -19,6 +19,7 @@ | |||||
border-radius:48rpx; | border-radius:48rpx; | ||||
margin-right:25rpx; | margin-right:25rpx; | ||||
} | } | ||||
button::after{ border: none; } | |||||
.goback image{ | .goback image{ | ||||
position:absolute; | position:absolute; | ||||
width:60rpx; | width:60rpx; | ||||
@@ -106,7 +106,7 @@ page{ | |||||
.view { | .view { | ||||
font-size: 24rpx; | font-size: 24rpx; | ||||
color: #01bffe; | |||||
color: #AF6E34; | |||||
} | } | ||||
.view image { | .view image { | ||||
@@ -560,6 +560,9 @@ module.exports = { | |||||
'wangmeimeiarrow01': { | 'wangmeimeiarrow01': { | ||||
'url': baseUrl + 'wangmeimeiarrow01.png', | 'url': baseUrl + 'wangmeimeiarrow01.png', | ||||
'name': '专场的更多图标' | 'name': '专场的更多图标' | ||||
}, | |||||
'wangmeimeicredit':{ | |||||
'url': baseUrl + "wangmeimeicredit.png", | |||||
'name': '积分背景' | |||||
} | } | ||||
} | } |