Ver a proveniência

[活动详情的样式][增加]:活动详情的样式

tags/2.2.4
meo há 6 anos
ascendente
cometimento
5d797b3de1
5 ficheiros alterados com 25 adições e 5 eliminações
  1. +3
    -2
      pages/actdetail/actdetail.wxml
  2. +15
    -0
      pages/actdetail/actdetail.wxss
  3. +2
    -0
      pages/bannerdetail/index.wxss
  4. +4
    -2
      pages/index/rushToBuy/index.js
  5. +1
    -1
      pages/index/rushToBuy/index.wxml

+ 3
- 2
pages/actdetail/actdetail.wxml Ver ficheiro

@@ -1,3 +1,4 @@
<view>
{{detail}}
</view>
<text>活动详情</text>
<text>{{detail}}</text>
</view>

+ 15
- 0
pages/actdetail/actdetail.wxss Ver ficheiro

@@ -0,0 +1,15 @@
view text{
display: block;
}
view text:nth-of-type(1){
font-size: 30rpx;
color: #000;
padding: 30rpx 0;
text-align: center;
}
view text:nth-of-type(2){
padding: 0 30rpx;
font-size: 28rpx;
line-height: 50rpx;
color: #999;
}

+ 2
- 0
pages/bannerdetail/index.wxss Ver ficheiro

@@ -62,6 +62,7 @@ border-bottom-left-radius: 50rpx;

.coupons_info view:nth-child(1) text {
font-size: 30rpx;
line-height: 32rpx;
margin-top: 10%;
}

@@ -408,6 +409,7 @@ navigator {
display: block;
text-align: center;
width: 120rpx !important;
margin-top: 6rpx;
}

.usermotto {


+ 4
- 2
pages/index/rushToBuy/index.js Ver ficheiro

@@ -12,7 +12,8 @@ Component({
* 组件的初始数据
*/
data: {
list: []
list: [],
total:''
},

/**
@@ -50,7 +51,8 @@ Component({
}).then(res => {
console.log(res);
this.setData({
list: res.data.list
list: res.data.list,
total:res.data.total
});
});
};


+ 1
- 1
pages/index/rushToBuy/index.wxml Ver ficheiro

@@ -1,5 +1,5 @@
<view class="index-rushToBuy">
<view wx:if="{{list.length!=0}}" class="index-rushToBuy-title">限时抢购<text bindtap="gotomore" wx:if="{{list.length>=5}}">查看更多</text><image wx:if="{{list.length>=5}}" src='./../../../assets/img/jian.png' mode="widthFix"></image></view>
<view wx:if="{{list.length!=0}}" class="index-rushToBuy-title">限时抢购<text bindtap="gotomore" wx:if="{{total>5}}">查看更多</text><image wx:if="{{total>5}}" src='./../../../assets/img/jian.png' mode="widthFix"></image></view>
<scroll-view scroll-x class="index-scroll-view">
<view class="commodity" wx:for="{{list}}" wx:key="unique">
<view bindtap="gotodetail" data-couponChannelId="{{item.id}}" data-couponId="{{item.couponId}}" data-targetAd="{{item.targetAd}}">


Carregando…
Cancelar
Guardar