Browse Source

[首页][修改]:[首页积分样式的修改]

tags/湖南版5.1.4
meo 6 years ago
parent
commit
1a0ff19b75
14 changed files with 74 additions and 28 deletions
  1. +3
    -3
      pages/coupon/detail/index.wxss
  2. +4
    -4
      pages/czdetail/czdetail.wxss
  3. +6
    -0
      pages/integralmall/index.js
  4. +0
    -2
      pages/integralmall/index.json
  5. +11
    -8
      pages/integralmall/index.wxml
  6. +37
    -4
      pages/integralmall/index.wxss
  7. +1
    -1
      pages/integralmall/integraHistory/index.wxml
  8. +3
    -2
      pages/integralmall/integraHistory/index.wxss
  9. +1
    -0
      pages/main/index.wxss
  10. +1
    -1
      pages/specialcourtesy/specialcourtesy.json
  11. +1
    -1
      pages/specialcourtesy/specialcourtesy.wxss
  12. +1
    -0
      pages/spellGroup/mySpellGroup/index.wxss
  13. +1
    -1
      pages/user/index.wxss
  14. +4
    -1
      utils/imgurl.js

+ 3
- 3
pages/coupon/detail/index.wxss View File

@@ -293,7 +293,7 @@ button::after{ border: none; }

.buy {
position: relative;
background: #00c0ff;
background: #AF6E34 ;
height: 94rpx;
width: 560rpx;
margin: 0 auto 30rpx;
@@ -490,8 +490,8 @@ button::after{ border: none; }
.elecard {
display: inline-block;
margin-left: 6rpx;
color: #00c0ff;
border: 1px solid #00c0ff;
color: #AF6E34 ;
border: 1px solid #AF6E34 ;
border-radius: 8rpx;
font-style: normal;
font-size: 30rpx;


+ 4
- 4
pages/czdetail/czdetail.wxss View File

@@ -1,8 +1,8 @@
/* pages/czdetail/czdetail.wxss */

@import "../../app.wxss";
.head {
height: 252rpx;
background: #02c0ff;
height: 232rpx;
padding-top: 20rpx;
background: #fc5b24;
position: relative;
}



+ 6
- 0
pages/integralmall/index.js View File

@@ -10,6 +10,7 @@ Page({
bannerUrl: imgurl.banner.url,
loadingUrl: imgurl.loading.url,
nodata: imgurl.nodata.url,
wangmeimeicredit: imgurl.wangmeimeicredit.url,
list: [],
lists: [],
myLists: [],
@@ -53,6 +54,11 @@ Page({
})
}
},
gotojifen(){
wx.navigateTo({
url: '/pages/integralmall/integraHistory/index',
})
},
/**
* banner
*/


+ 0
- 2
pages/integralmall/index.json View File

@@ -1,8 +1,6 @@
{
"navigationBarTitleText": "积分商城",
"enablePullDownRefresh": true,
"navigationBarBackgroundColor": "#F13C42",
"navigationBarTextStyle": "white",
"usingComponents": {
"c-banner": "../../components/spellbanner/index",
"i-tab": "../../../dist/tab/index",


+ 11
- 8
pages/integralmall/index.wxml View File

@@ -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 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>
<view class='no-data-text'>暂无数据</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='spell-left'>
<image src='{{item.coverImg}}' mode="aspectFill"></image>
@@ -22,7 +25,7 @@
<view class='price-unit'>积分</view>
</view>
</view>
<view class='price02'>{{'原价:'+item.priceStr+'元'}}</view>
<view class='price02'>{{'原价 '+item.priceStr+'元'}}</view>
</view>
<view class='spell-right'>
<view class='right-button'>立即换购</view>


+ 37
- 4
pages/integralmall/index.wxss View File

@@ -1,9 +1,32 @@
/* 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 {
height: 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-repeat: no-repeat;
}
@@ -68,7 +91,7 @@ image{
height: 230rpx;
background: #fff;
border-radius: 30rpx;
margin: 30rpx auto 0;
margin: 0 auto 30rpx;
}
.content .spell-left{
width: 230rpx;
@@ -154,7 +177,7 @@ image{
height:48rpx;
font-size:26rpx;
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-weight:500;
text-align: center;
@@ -288,4 +311,14 @@ image{
font-family:PingFang-SC-Medium;
font-weight:500;
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;
}

+ 1
- 1
pages/integralmall/integraHistory/index.wxml View File

@@ -12,7 +12,7 @@
<text>{{item.createDate}}</text>
</view>
<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>
</view>
</view>

+ 3
- 2
pages/integralmall/integraHistory/index.wxss View File

@@ -1,8 +1,9 @@
/* pages/czdetail/czdetail.wxss */

.head {
height: 252rpx;
background: #02c0ff;
height: 232rpx;
padding-top: 20rpx;
background: #fc5b24;
position: relative;
}



+ 1
- 0
pages/main/index.wxss View File

@@ -1,3 +1,4 @@
@import "../../app.wxss";
.index-position {
background: rgba(0, 0, 0, 0.5);
height: 88rpx;


+ 1
- 1
pages/specialcourtesy/specialcourtesy.json View File

@@ -1,5 +1,5 @@
{
"navigationBarTitleText": "我的特权",
"navigationBarBackgroundColor": "#CD223C",
"navigationBarBackgroundColor": "#fc5b24",
"navigationBarTextStyle": "white"
}

+ 1
- 1
pages/specialcourtesy/specialcourtesy.wxss View File

@@ -1,5 +1,5 @@
Page{
background: #C8223C;
background: #fc5b24;
}
.none{
font-size: 28rpx;


+ 1
- 0
pages/spellGroup/mySpellGroup/index.wxss View File

@@ -19,6 +19,7 @@
border-radius:48rpx;
margin-right:25rpx;
}
button::after{ border: none; }
.goback image{
position:absolute;
width:60rpx;


+ 1
- 1
pages/user/index.wxss View File

@@ -106,7 +106,7 @@ page{

.view {
font-size: 24rpx;
color: #01bffe;
color: #AF6E34;
}

.view image {


+ 4
- 1
utils/imgurl.js View File

@@ -560,6 +560,9 @@ module.exports = {
'wangmeimeiarrow01': {
'url': baseUrl + 'wangmeimeiarrow01.png',
'name': '专场的更多图标'
},
'wangmeimeicredit':{
'url': baseUrl + "wangmeimeicredit.png",
'name': '积分背景'
}
}

Loading…
Cancel
Save