Commit 0f0a596a1af90b6566abe79af943c96c601c6867
1 parent
21457b39
拼单 秒杀页面
Showing
32 changed files
with
557 additions
and
99 deletions
app.wxss
| ... | ... | @@ -312,9 +312,12 @@ color: #b9b9b9; |
| 312 | 312 | position: fixed; |
| 313 | 313 | |
| 314 | 314 | } |
| 315 | -.yellow{ | |
| 315 | +.yellow-b{ | |
| 316 | 316 | background-color: #ffb03f; |
| 317 | 317 | } |
| 318 | +.yellow-co{ | |
| 319 | + color: #ffb03f; | |
| 320 | +} | |
| 318 | 321 | .green{ |
| 319 | 322 | background-color: #16ba63; |
| 320 | 323 | } |
| ... | ... | @@ -346,4 +349,4 @@ background: #ffe3e2; |
| 346 | 349 | } |
| 347 | 350 | .fs40 { |
| 348 | 351 | font-size: 40rpx; |
| 349 | -} | |
| 350 | 352 | \ No newline at end of file |
| 353 | +} | ... | ... |
images/00.png
0 → 100644
6.06 KB
images/111.png
0 → 100644
6.93 KB
images/classify.png
0 → 100644
3.37 KB
images/clock-black.png
0 → 100644
8.03 KB
images/clock-rad.png
0 → 100644
8.04 KB
images/cosmetics.png
0 → 100644
13.1 KB
images/fire-black.png
0 → 100644
7.94 KB
images/fire-red.png
0 → 100644
7.94 KB
images/fril.png
0 → 100644
8.56 KB
images/man_region.png
0 → 100644
8.85 KB
images/mask.png
0 → 100644
13 KB
images/nursing.png
0 → 100644
12.8 KB
images/scanning.png
0 → 100644
16.3 KB
images/seckill-ttitle.png
0 → 100644
7.08 KB
images/seckill_top_img.jpg
0 → 100644
40.8 KB
images/skincare.png
0 → 100644
11.6 KB
images/team.jpg
0 → 100644
86.2 KB
images/title.png
0 → 100644
159 KB
images/top-img.png
0 → 100644
5.69 KB
images/zms.png
0 → 100644
4.11 KB
pages/activity/pind_list/pind_list.js
| 1 | -var e = getApp(), i = e.request, a = e.globalData.setting,os=a,ut = require("../../../utils/util.js"); | |
| 1 | +var e = getApp(), | |
| 2 | +i = e.request, | |
| 3 | + a = e.globalData.setting, | |
| 4 | + os=a,ut = require("../../../utils/util.js"); | |
| 2 | 5 | var regeneratorRuntime = require('../../../utils/runtime.js'); |
| 3 | 6 | |
| 4 | 7 | Page({ |
| ... | ... | @@ -11,6 +14,7 @@ Page({ |
| 11 | 14 | timer:null, |
| 12 | 15 | ismore:1, |
| 13 | 16 | isshow:0, |
| 17 | + iurl: os.imghost, | |
| 14 | 18 | }, |
| 15 | 19 | |
| 16 | 20 | onShow: function(t) { | ... | ... |
pages/activity/pind_list/pind_list.wxml
| 1 | 1 | <block wx:if="{{isshow}}"> |
| 2 | -<view class="kill-time"> | |
| 3 | - <view class="theader" > | |
| 4 | - <view bindtap='tip' data-ty="1" class="timeac left {{type==1?'active':''}}">进行中</view> | |
| 5 | - <view bindtap='tip' data-ty="0" class="timeac right {{type==0?'active':''}}">即将开始</view> | |
| 6 | - </view> | |
| 7 | -</view> | |
| 2 | + | |
| 3 | +<view class=" body_frame"> | |
| 4 | + | |
| 5 | +<image class="xc-top-img" src="../../../images/team.jpg"> | |
| 6 | +</image> | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 8 | 11 | <view class="kill-list"> |
| 9 | 12 | <view class="kill-item" wx:for="{{goodlist}}" > |
| 10 | - <navigator class="kill-pic" url="/pages/goods/goodsInfo/goodsInfo?goods_id={{item.goods_id}}"> | |
| 13 | + <navigator class="kill-pic " url="/pages/goods/goodsInfo/goodsInfo?goods_id={{item.goods_id}}"> | |
| 11 | 14 | <image class="wh100" src="{{url+item.original_img}}" data-val="{{item.original_img}}" |
| 12 | 15 | data-errorimg="goodlist[{{index}}].original_img" binderror="bind_bnerr2" lazy-load="true"></image> |
| 13 | - <view wx:if="{{item.kttype==1}}" class="tbiao">商家团</view> | |
| 14 | - <view wx:if="{{item.kttype==2}}" class="tbiao">会员团</view> | |
| 15 | - <view wx:if="{{item.kttype==3}}" class="tbiao">阶梯团</view> | |
| 16 | + | |
| 16 | 17 | </navigator> |
| 17 | 18 | <view class="kill-cont"> |
| 18 | 19 | <navigator class="goods-name ellipsis-2" url="/pages/goods/goodsInfo/goodsInfo?goods_id={{item.goods_id}}">{{item.title}}</navigator> |
| 19 | - <view class="tneirong">已团{{item.buy_num}}件 {{item.ct_num}}人团</view> | |
| 20 | - <view class="goods-num"> | |
| 21 | - <view> | |
| 22 | - <view class="co-red">¥{{item.price}}<span class="underline">¥{{item.market_price}}</span></view> | |
| 23 | - <view> | |
| 20 | + <view class="flex"> | |
| 21 | + <view class="tneirong red-b flex-vertical rel" wx:if="{{type==1}}"> | |
| 22 | + <image class="xc-team-img abs" src="../../../images/fril.png"></image> | |
| 23 | + 已拼11{{item.buy_num}}份</view> | |
| 24 | + <view class="fs20 flex xc-people-val-frame" | |
| 25 | + style="border-color:{{type==1?'#d60021':'#059de5'}};margin-left:{{type==1?'15rpx':'0rpx'}}"> | |
| 26 | + <view class=" flex-center val-img {{type==1?'red-b':'blue_b'}}"> | |
| 27 | + <image class="people-img"src="{{iurl}}/miniapp/images/bai-ren.png"></image> | |
| 28 | + </view> | |
| 29 | + <text class="{{type==1?'red-co':'blue_c'}}" style="margin-left:8rpx; margin-right:8rpx">{{item.ct_num}}人团</text> | |
| 30 | + </view> | |
| 31 | +<view class="fs20 blue_c time-blue" wx:if="{{type==0}}"> | |
| 32 | + 距开始: | |
| 24 | 33 | <text class='tui-conutdown-box'>{{item.djs.day}}</text>天 |
| 25 | 34 | <text class='tui-conutdown-box'>{{item.djs.hou}}</text>时 |
| 26 | 35 | <text class='tui-conutdown-box'>{{item.djs.min}}</text>分 |
| 27 | 36 | <text class='tui-conutdown-box tui-countdown-bg'>{{item.djs.sec}}</text>秒 |
| 28 | 37 | </view> |
| 38 | + | |
| 39 | + | |
| 40 | + </view> | |
| 41 | + <view class="fs24 red-co" wx:if="{{type==1}}"> | |
| 42 | + <text class='tui-conutdown-box'>{{item.djs.day}}</text>天 | |
| 43 | + <text class='tui-conutdown-box'>{{item.djs.hou}}</text>时 | |
| 44 | + <text class='tui-conutdown-box'>{{item.djs.min}}</text>分 | |
| 45 | + <text class='tui-conutdown-box tui-countdown-bg'>{{item.djs.sec}}</text>秒 | |
| 46 | + </view> | |
| 47 | + <view class="goods-num"style="margin-top:{{type==0?'70rpx':'40rpx'}}"> | |
| 48 | + <view> | |
| 49 | + | |
| 50 | + <view class="fs40 flex xc-top15 {{type==1?'red-co ai-bas':'blue_c'}}"> | |
| 51 | + <text class="fs28 {{type==0?'martop13':''}}">¥</text> | |
| 52 | + <text style="margin-left:-5rpx">{{item.price}}</text> | |
| 53 | + <span class="underline {{type==0?'martop18':''}}">零售价¥{{item.market_price}}</span> | |
| 54 | + </view> | |
| 55 | + | |
| 29 | 56 | </view> |
| 30 | - <view class="kill-btn "> | |
| 31 | - <navigator class="huise" url="/pages/goods/goodsInfo/goodsInfo?goods_id={{item.goods_id}}" wx:if="{{type==0 && item.kttype==1 }}" >去参团</navigator> | |
| 32 | - <navigator class="huise" url="/pages/goods/goodsInfo/goodsInfo?goods_id={{item.goods_id}}" wx:if="{{type==0 && item.kttype==2 }}" >去开团</navigator> | |
| 33 | - <navigator class="huise" url="/pages/goods/goodsInfo/goodsInfo?goods_id={{item.goods_id}}" wx:if="{{type==0 && item.kttype==3 }}" >去开团</navigator> | |
| 57 | + <view class="kill-btn"> | |
| 58 | + <navigator class="huise"style="background-color: #059de5;" url="/pages/goods/goodsInfo/goodsInfo?goods_id={{item.goods_id}}" wx:if="{{type==0 && item.kttype==1 }}">即将开始</navigator> | |
| 59 | + <navigator class="huise"style="background-color: #059de5;" url="/pages/goods/goodsInfo/goodsInfo?goods_id={{item.goods_id}}" wx:if="{{type==0 && item.kttype==2 }}" >即将开始</navigator> | |
| 60 | + <navigator class="huise"style="background-color: #059de5;" url="/pages/goods/goodsInfo/goodsInfo?goods_id={{item.goods_id}}" wx:if="{{type==0 && item.kttype==3 }}" >即将开始</navigator> | |
| 34 | 61 | |
| 35 | - <navigator url="/pages/goods/goodsInfo/goodsInfo?goods_id={{item.goods_id}}" wx:if="{{item.status==1 && type==1 && item.kttype==1}}">去参团</navigator> | |
| 62 | + <navigator class="blue_b" url="/pages/goods/goodsInfo/goodsInfo?goods_id={{item.goods_id}}" wx:if="{{item.status==1 && type==1 && item.kttype==1}}">去参团</navigator> | |
| 36 | 63 | <navigator url="/pages/goods/goodsInfo/goodsInfo?goods_id={{item.goods_id}}" wx:if="{{item.status==1 && type==1 && item.kttype==2}}">去开团</navigator> |
| 37 | 64 | <navigator url="/pages/goods/goodsInfo/goodsInfo?goods_id={{item.goods_id}}" wx:if="{{item.status==1 && type==1 && item.kttype==3}}">去开团</navigator> |
| 38 | 65 | |
| ... | ... | @@ -42,6 +69,21 @@ |
| 42 | 69 | </view> |
| 43 | 70 | </view> |
| 44 | 71 | </view> |
| 72 | +<view class="kill-time xc-seckill-bottom"> | |
| 73 | + | |
| 74 | + <view class="theader" > | |
| 75 | + <view bindtap='tip' data-ty="1" class="xc-border-right flex-center timeac left {{type==1?'active':''}}"> | |
| 76 | + <image class="xc-bottom" | |
| 77 | + src="{{type==1?'../../../images/fire-red.png':'../../../images/fire-black.png'}}"></image> | |
| 78 | + 火热进行中</view> | |
| 79 | + <view bindtap='tip' data-ty="0" class=" flex-center timeac right {{type==0?'active':''}}"> | |
| 80 | + <image class="xc-bottom" | |
| 81 | + src="{{type==0?'../../../images/clock-rad.png':'../../../images/clock-black.png'}}"></image> | |
| 82 | + 即将开始</view> | |
| 83 | + </view> | |
| 84 | + | |
| 85 | +</view> | |
| 45 | 86 | |
| 46 | 87 | <view class="no-more" wx:if="{{goodlist.length==0}}">没有相关内容</view> |
| 88 | +</view> | |
| 47 | 89 | </block> |
| 48 | 90 | \ No newline at end of file | ... | ... |
pages/activity/pind_list/pind_list.wxss
| 1 | +page{ | |
| 2 | + background: #eee | |
| 3 | +} | |
| 4 | +.kill-list{ | |
| 5 | + width: 95%; | |
| 6 | + margin-top: -50rpx; | |
| 7 | + position:absolute; | |
| 8 | + left: 2.5%; | |
| 9 | + height: 807rpx; | |
| 10 | +overflow-y: scroll; | |
| 11 | + | |
| 12 | + | |
| 13 | +} | |
| 1 | 14 | .kill-time { |
| 2 | 15 | text-align: center; |
| 3 | 16 | justify-content: space-around; |
| 4 | 17 | align-items: center; |
| 5 | - height: 178rpx; | |
| 18 | + height: 101rpx; | |
| 6 | 19 | border-bottom: 1px solid #ddd; |
| 7 | 20 | border-top: 1px solid #ddd; |
| 8 | 21 | background-color: #f6f6f6; |
| 9 | 22 | } |
| 10 | 23 | .kill-time .theader{ |
| 11 | - width: 86%; display: flex; margin: 0 auto; | |
| 24 | + display: flex; margin: 0 auto; align-items: center; | |
| 25 | + height: 100rpx; | |
| 26 | + | |
| 12 | 27 | } |
| 13 | 28 | |
| 29 | + | |
| 14 | 30 | .kill-time .theader .timeac { |
| 15 | - font-size: 32rpx; height: 78rpx; line-height:78rpx; width: 50%; margin-top: 50rpx; | |
| 31 | + font-size: 32rpx; height:100%; width: 50%; | |
| 16 | 32 | color: #333; background-color: #fff; |
| 33 | + | |
| 17 | 34 | } |
| 18 | -.kill-time .theader .timeac.left{border-top-left-radius: 86rpx; border-bottom-left-radius: 86rpx;} | |
| 19 | -.kill-time .theader .timeac.right{border-top-right-radius: 86rpx; border-bottom-right-radius: 86rpx;} | |
| 20 | -.kill-time .theader .timeac.active{background-color: #c4182e;color: #fff} | |
| 35 | + | |
| 36 | +/* .kill-time .theader .timeac.left{border-top-left-radius: 86rpx; border-bottom-left-radius: 86rpx;} | |
| 37 | +.kill-time .theader .timeac.right{border-top-right-radius: 86rpx; border-bottom-right-radius: 86rpx;} */ | |
| 38 | +.kill-time .theader .timeac.active{color: #c4182e} | |
| 39 | + | |
| 21 | 40 | |
| 22 | 41 | .kill-item { |
| 23 | - display: flex; | |
| 42 | + display: flex; | |
| 24 | 43 | justify-content: space-between; |
| 25 | 44 | background-color: #fff; |
| 26 | 45 | padding: 10rpx 20rpx; |
| 27 | 46 | margin-bottom: 10rpx; |
| 47 | + border-radius: 10rpx; | |
| 48 | + height: 249rpx; | |
| 49 | + align-items: center; | |
| 50 | + padding-left: 20rpx; | |
| 51 | + | |
| 52 | + | |
| 28 | 53 | } |
| 29 | 54 | |
| 30 | 55 | .kill-pic { |
| 31 | - width: 200rpx; | |
| 32 | - height: 200rpx; | |
| 56 | + width: 215rpx; | |
| 57 | + height: 215rpx; | |
| 33 | 58 | position: relative; |
| 34 | 59 | } |
| 35 | 60 | |
| ... | ... | @@ -40,23 +65,28 @@ |
| 40 | 65 | } |
| 41 | 66 | |
| 42 | 67 | .kill-cont { |
| 43 | - width: 480rpx; | |
| 68 | + width: 440rpx; | |
| 69 | + height: 215rpx; | |
| 70 | + margin-left: 16rpx; | |
| 44 | 71 | } |
| 45 | 72 | |
| 46 | 73 | .goods-name { |
| 47 | - height: 48rpx; | |
| 48 | - line-height: 48rpx; | |
| 49 | - font-size: 24rpx; | |
| 50 | - color: #555; | |
| 74 | + max-height: 60rpx; | |
| 75 | + margin-bottom: 18rpx; | |
| 76 | + font-size: 27rpx; | |
| 77 | + color: #555; | |
| 78 | + line-height: 30rpx; | |
| 79 | + | |
| 51 | 80 | } |
| 52 | 81 | |
| 53 | 82 | .goods-num { |
| 54 | - padding-top: 10rpx; | |
| 83 | + height: 50rpx; | |
| 55 | 84 | display: flex; |
| 56 | 85 | justify-content: space-between; |
| 57 | - line-height: 42rpx; | |
| 86 | +margin-top: 10rpx; | |
| 58 | 87 | font-size: 24rpx; |
| 59 | 88 | color: #999; |
| 89 | + | |
| 60 | 90 | } |
| 61 | 91 | |
| 62 | 92 | .goods-num .co-red { |
| ... | ... | @@ -70,12 +100,18 @@ |
| 70 | 100 | |
| 71 | 101 | .kill-btn { |
| 72 | 102 | text-align: right; |
| 103 | + padding-top: 15rpx; | |
| 104 | + | |
| 73 | 105 | } |
| 74 | 106 | |
| 107 | + | |
| 75 | 108 | .kill-btn>navigator { |
| 76 | 109 | padding: 0 20rpx; |
| 77 | 110 | background: #e23245; |
| 78 | 111 | color: #fff; |
| 112 | + border-radius: 20rem; | |
| 113 | +line-height: 43rpx; | |
| 114 | +margin-top: 4rpx; | |
| 79 | 115 | } |
| 80 | 116 | |
| 81 | 117 | .kill-btn .gray { |
| ... | ... | @@ -89,5 +125,72 @@ |
| 89 | 125 | color: #333; |
| 90 | 126 | } |
| 91 | 127 | |
| 92 | -.kill-btn>navigator.huise{background-color: gainsboro;} | |
| 93 | -.tneirong{color:#555; font-size: 21rpx;} | |
| 94 | 128 | \ No newline at end of file |
| 129 | +.kill-btn>navigator.huise{background-color:#999999;} | |
| 130 | +.tneirong{ | |
| 131 | + color:#fff; | |
| 132 | + font-size: 20rpx; | |
| 133 | + border-radius:20rpx; | |
| 134 | + padding-left: 32rpx; | |
| 135 | + padding-right: 15rpx; | |
| 136 | + padding-bottom: 2rpx; | |
| 137 | + height: 28rpx; | |
| 138 | + line-height: 28rpx; | |
| 139 | + | |
| 140 | + | |
| 141 | + } | |
| 142 | +.body_frame { | |
| 143 | +width: 100%; | |
| 144 | +height: 100%; | |
| 145 | + | |
| 146 | +} | |
| 147 | +.xc-top-img{ | |
| 148 | + width: 100%; | |
| 149 | + height: 333rpx; | |
| 150 | + margin-top: 5rpx; | |
| 151 | + | |
| 152 | +} | |
| 153 | +.xc-seckill-bottom{ | |
| 154 | + position: fixed; | |
| 155 | +bottom: 0rpx; | |
| 156 | +width: 100%; | |
| 157 | +} | |
| 158 | +.xc-bottom{ | |
| 159 | + width: 45rpx; | |
| 160 | + height: 45rpx; | |
| 161 | + margin-right: 13rpx; | |
| 162 | +} | |
| 163 | +.xc-border-right{ | |
| 164 | + border-right: 4rpx solid #eee; | |
| 165 | +} | |
| 166 | +.xc-team-img{ | |
| 167 | +width:38rpx; | |
| 168 | +height: 45rpx; | |
| 169 | +left: -1rpx; | |
| 170 | +top: -16rpx; | |
| 171 | +} | |
| 172 | + | |
| 173 | +.xc-people-val-frame{ | |
| 174 | + border: 3rpx solid #d60021;border-radius: 8rpx;overflow: hidden; | |
| 175 | + | |
| 176 | +} | |
| 177 | +.xc-people-val-frame .val-img{ | |
| 178 | +width:33rpx;height:28rpx;border-radius: 8rpx;margin-left: -2rpx; | |
| 179 | +} | |
| 180 | +.xc-top15{ | |
| 181 | + padding-top: 15rpx; | |
| 182 | + margin-top: 4rpx; | |
| 183 | +} | |
| 184 | +.people-img{ | |
| 185 | + width:20rpx;height:20rpx | |
| 186 | +} | |
| 187 | +.time-blue{ | |
| 188 | +margin-left: 10rpx; | |
| 189 | +} | |
| 190 | +.martop13{ | |
| 191 | +margin-top: 13rpx; | |
| 192 | + | |
| 193 | +} | |
| 194 | +.martop18{ | |
| 195 | +margin-top: 18rpx; | |
| 196 | + | |
| 197 | +} | |
| 95 | 198 | \ No newline at end of file | ... | ... |
pages/activity/seckill_list/seckill_list.wxml
| 1 | 1 | <block wx:if="{{isshow}}"> |
| 2 | -<view class="kill-time"> | |
| 3 | - <view class="theader" > | |
| 4 | - <view bindtap='tip' data-ty="1" class="timeac left {{type==1?'active':''}}">秒杀中</view> | |
| 5 | - <view bindtap='tip' data-ty="0" class="timeac right {{type==0?'active':''}}">即将秒杀</view> | |
| 6 | - </view> | |
| 7 | -</view> | |
| 8 | -<view class="kill-list"> | |
| 2 | +<view class=" body_frame"> | |
| 3 | + | |
| 4 | +<image class="xc-top-img" src="../../../images/seckill_top_img.jpg"> | |
| 5 | +</image> | |
| 6 | + | |
| 7 | + | |
| 8 | +<view class="kill-list abs seckill_list"> | |
| 9 | 9 | <view class="kill-item" wx:for="{{goodlist}}" > |
| 10 | - <navigator class="kill-pic" url="/pages/goods/goodsInfo/goodsInfo?goods_id={{item.goods_id}}"> | |
| 10 | + <navigator class="kill-pic rel" url="/pages/goods/goodsInfo/goodsInfo?goods_id={{item.goods_id}}"> | |
| 11 | + <image class="abs xc-miaosha" src="../../../images/zms.png"></image> | |
| 11 | 12 | <image class="wh100" src="{{url+item.original_img}}" data-val="{{item.original_img}}" |
| 12 | 13 | data-errorimg="goodlist[{{index}}].original_img" binderror="bind_bnerr2" lazy-load="true"></image> |
| 13 | 14 | </navigator> |
| 14 | 15 | <view class="kill-cont"> |
| 15 | 16 | <navigator class="goods-name ellipsis-2" url="/pages/goods/goodsInfo/goodsInfo?goods_id={{item.goods_id}}">{{item.title}}</navigator> |
| 17 | + <view class="flex-vertical xc-strip-frame"> | |
| 18 | + <view class="xc-strip-blank rel"> | |
| 19 | + | |
| 20 | + <view class="flex-vertical rel total"> | |
| 21 | + <view class="t-c abs xc-fill"style="width:{{type==1?100-item.buy_num/item.goods_num*100:'100'}}%;background:{{type==1?'#e4374d':'#059de5'}};"> | |
| 22 | + </view> | |
| 23 | + <text class="fs20 white abs xc-fill-text" style="">剩余{{type==1?100-item.buy_num/item.goods_num*100:'100'}}%</text> | |
| 24 | + </view> | |
| 25 | + | |
| 26 | + </view> | |
| 27 | + <view class=" ml10 fs20 " > 已抢{{item.buy_num}}件</view> | |
| 28 | + </view> | |
| 29 | + | |
| 30 | + | |
| 16 | 31 | <view class="goods-num"> |
| 17 | 32 | <view> |
| 18 | - <view class="co-red">¥{{item.price}}<span class="underline">¥{{item.market_price}}</span></view> | |
| 19 | - <view> | |
| 20 | - <text class='tui-conutdown-box'>{{item.djs.day}}</text>天 | |
| 33 | + <view class="{{type==1?'xc-wc':'blue_c'}}"> | |
| 34 | + <text>剩余:</text> | |
| 35 | + <text class='tui-conutdown-box'> {{item.djs.day}}</text>天 | |
| 21 | 36 | <text class='tui-conutdown-box'>{{item.djs.hou}}</text>时 |
| 22 | 37 | <text class='tui-conutdown-box'>{{item.djs.min}}</text>分 |
| 23 | 38 | <text class='tui-conutdown-box tui-countdown-bg'>{{item.djs.sec}}</text>秒 |
| 24 | 39 | </view> |
| 40 | + <view class="fs40 flex xc-buttom-money {{type==1?'xc-wc':'blue_c'}}" > | |
| 41 | + <view class="fs28" style="line-height: 16px;">¥</view> | |
| 42 | + <text>{{item.price}}</text> | |
| 43 | + <span class="underline fs20">零售价¥{{item.market_price}}</span></view> | |
| 44 | + | |
| 25 | 45 | </view> |
| 26 | 46 | <view class="kill-btn "> |
| 27 | - <navigator class="huise" url="/pages/goods/goodsInfo/goodsInfo?goods_id={{item.goods_id}}" wx:if="{{type==0}}" >马上抢</navigator> | |
| 47 | + <navigator style="background-color: #059de5;" url="/pages/goods/goodsInfo/goodsInfo?goods_id={{item.goods_id}}" wx:if="{{type==0}}" >立即开始</navigator> | |
| 28 | 48 | <navigator url="/pages/goods/goodsInfo/goodsInfo?goods_id={{item.goods_id}}" wx:if="{{item.status==1 && type==1}}">马上抢</navigator> |
| 29 | - <navigator class="huise" url="/pages/goods/goodsInfo/goodsInfo?goods_id={{item.goods_id}}" wx:if="{{item.status==3 && type==1}}">已抢光</navigator> | |
| 49 | + <navigator class="huise"url="/pages/goods/goodsInfo/goodsInfo?goods_id={{item.goods_id}}" wx:if="{{item.status==3 && type==1}}">已抢光</navigator> | |
| 30 | 50 | </view> |
| 31 | 51 | </view> |
| 32 | 52 | </view> |
| 33 | 53 | </view> |
| 34 | 54 | </view> |
| 55 | + | |
| 56 | +<view class="kill-time xc-seckill-bottom"> | |
| 57 | + <view class="theader" > | |
| 58 | + <view bindtap='tip' data-ty="1" class="xc-border-right flex-center timeac left {{type==1?'active':''}}"> | |
| 59 | + <image class="xc-bottom" | |
| 60 | + src="{{type==1?'../../../images/fire-red.png':'../../../images/fire-black.png'}}"></image> | |
| 61 | + 火热进行中</view> | |
| 62 | + <view bindtap='tip' data-ty="0" class=" flex-center timeac right {{type==0?'active':''}}"> | |
| 63 | + <image class="xc-bottom" | |
| 64 | + src="{{type==0?'../../../images/clock-rad.png':'../../../images/clock-black.png'}}"></image> | |
| 65 | + 即将开始</view> | |
| 66 | + </view> | |
| 67 | +</view> | |
| 68 | + | |
| 69 | + | |
| 35 | 70 | <view class="no-more" wx:if="{{goodlist.length==0}}">没有相关内容</view> |
| 71 | +</view> | |
| 72 | + | |
| 36 | 73 | </block> | ... | ... |
pages/activity/seckill_list/seckill_list.wxss
| 1 | + page{ | |
| 2 | + background: #eee; | |
| 3 | + color: #333; | |
| 4 | + } | |
| 5 | + .body_frame{ | |
| 6 | + width: 100%; | |
| 7 | + height: 100%; | |
| 8 | + | |
| 9 | + } | |
| 10 | +.xc-top-img{ | |
| 11 | + width: 100%; | |
| 12 | + height: 333rpx; | |
| 13 | + margin-top: 5rpx; | |
| 14 | + | |
| 15 | +} | |
| 16 | +.kill-list{ | |
| 17 | + height: 807rpx; | |
| 18 | +overflow-y: scroll; | |
| 19 | +} | |
| 20 | +.seckill_list{ | |
| 21 | +position: absolute; | |
| 22 | +margin-top: -50rpx; | |
| 23 | +left: 2%; | |
| 24 | + | |
| 25 | +} | |
| 26 | +.seckill{ | |
| 27 | + width: 95%; | |
| 28 | +margin: auto; | |
| 29 | + | |
| 30 | +} | |
| 1 | 31 | .kill-time { |
| 2 | 32 | text-align: center; |
| 3 | 33 | justify-content: space-around; |
| 4 | 34 | align-items: center; |
| 5 | - height: 178rpx; | |
| 35 | + height: 101rpx; | |
| 6 | 36 | border-bottom: 1px solid #ddd; |
| 7 | 37 | border-top: 1px solid #ddd; |
| 8 | 38 | background-color: #f6f6f6; |
| 9 | 39 | } |
| 10 | 40 | .kill-time .theader{ |
| 11 | - width: 86%; display: flex; margin: 0 auto; | |
| 41 | + display: flex; margin: 0 auto; align-items: center; | |
| 42 | + height: 100rpx; | |
| 43 | + | |
| 12 | 44 | } |
| 13 | 45 | .kill-time .theader .timeac { |
| 14 | - font-size: 32rpx; height: 78rpx; line-height:78rpx; width: 50%; margin-top: 50rpx; | |
| 46 | + font-size: 32rpx; height:100%; width: 50%; | |
| 15 | 47 | color: #333; background-color: #fff; |
| 48 | + | |
| 16 | 49 | } |
| 17 | -.kill-time .theader .timeac.left{border-top-left-radius: 86rpx; border-bottom-left-radius: 86rpx;} | |
| 18 | -.kill-time .theader .timeac.right{border-top-right-radius: 86rpx; border-bottom-right-radius: 86rpx;} | |
| 19 | -.kill-time .theader .timeac.active{background-color: #c4182e;color: #fff} | |
| 50 | +/* .kill-time .theader .timeac.left{border-top-left-radius: 86rpx; border-bottom-left-radius: 86rpx;} | |
| 51 | +.kill-time .theader .timeac.right{border-top-right-radius: 86rpx; border-bottom-right-radius: 86rpx;} */ | |
| 52 | +.kill-time .theader .timeac.active{color: #c4182e} | |
| 20 | 53 | |
| 21 | 54 | .kill-item { |
| 22 | 55 | display: flex; |
| 23 | 56 | justify-content: space-between; |
| 24 | 57 | background-color: #fff; |
| 25 | - padding: 10rpx 20rpx; | |
| 58 | + padding: 10rpx 10rpx; | |
| 26 | 59 | margin-bottom: 10rpx; |
| 60 | + border-radius: 10rpx; | |
| 61 | + height: 249rpx; | |
| 62 | + align-items: center; | |
| 27 | 63 | } |
| 28 | 64 | |
| 29 | 65 | .kill-pic { |
| 30 | - width: 200rpx; | |
| 31 | - height: 200rpx; | |
| 66 | + width: 215rpx; | |
| 67 | + height: 215rpx; | |
| 32 | 68 | } |
| 33 | 69 | |
| 34 | 70 | .kill-cont { |
| 35 | - width: 480rpx; | |
| 71 | + width: 465rpx; | |
| 72 | + margin-left:20rpx; | |
| 73 | + margin-right: 5rpx; | |
| 36 | 74 | } |
| 37 | 75 | |
| 38 | 76 | .goods-name { |
| 39 | - height: 96rpx; | |
| 40 | - line-height: 48rpx; | |
| 41 | - font-size: 24rpx; | |
| 77 | + max-height: 60rpx; | |
| 78 | + font-size: 27rpx; | |
| 42 | 79 | color: #555; |
| 80 | + line-height: 30rpx; | |
| 81 | + | |
| 43 | 82 | } |
| 44 | 83 | |
| 45 | 84 | .goods-num { |
| ... | ... | @@ -57,17 +96,28 @@ |
| 57 | 96 | } |
| 58 | 97 | |
| 59 | 98 | .underline { |
| 60 | - text-decoration: line-through; color:#999999; font-size: 20rpx; margin-left: 5rpx; | |
| 99 | + text-decoration: line-through; | |
| 100 | + color:#999999; font-size: 20rpx; | |
| 101 | + margin-left: 10rpx; | |
| 102 | + line-height: 30rpx; | |
| 61 | 103 | } |
| 62 | 104 | |
| 63 | 105 | .kill-btn { |
| 64 | 106 | text-align: right; |
| 107 | + display: flex; | |
| 108 | +height: 100%; | |
| 109 | +align-items: flex-end; | |
| 110 | +padding-top: 4rpx; | |
| 111 | + | |
| 65 | 112 | } |
| 66 | 113 | |
| 67 | 114 | .kill-btn>navigator { |
| 68 | 115 | padding: 0 20rpx; |
| 69 | 116 | background: #e23245; |
| 70 | 117 | color: #fff; |
| 118 | + border-radius: 20rpx; | |
| 119 | + margin-top: 37px; | |
| 120 | + | |
| 71 | 121 | } |
| 72 | 122 | |
| 73 | 123 | .kill-btn .gray { |
| ... | ... | @@ -81,4 +131,51 @@ |
| 81 | 131 | color: #333; |
| 82 | 132 | } |
| 83 | 133 | |
| 84 | -.kill-btn>navigator.huise{background-color: gainsboro;} | |
| 85 | 134 | \ No newline at end of file |
| 135 | +.kill-btn>navigator.huise{background-color: #999;} | |
| 136 | +.xc-seckill-bottom{ | |
| 137 | + position: fixed; | |
| 138 | +bottom: 0rpx; | |
| 139 | +width: 100%; | |
| 140 | + | |
| 141 | +} | |
| 142 | +.xc-bottom{ | |
| 143 | + width: 45rpx; | |
| 144 | + height: 45rpx; | |
| 145 | + margin-right: 13rpx; | |
| 146 | +} | |
| 147 | +.xc-border-right{ | |
| 148 | + border-right: 4rpx solid #eee; | |
| 149 | + | |
| 150 | +} | |
| 151 | +.ml10{ | |
| 152 | +margin-left: 45rpx; | |
| 153 | +} | |
| 154 | +.total{ | |
| 155 | + width:215rpx;height:26rpx;border-radius:20rpx; | |
| 156 | + background: #ffe3e2; | |
| 157 | +} | |
| 158 | +.xc-buttom-money{ | |
| 159 | + align-items: baseline; | |
| 160 | +padding-top: 43rpx; | |
| 161 | +} | |
| 162 | + | |
| 163 | +.xc-miaosha{ | |
| 164 | +width: 50rpx; | |
| 165 | +height: 40rpx; | |
| 166 | + | |
| 167 | +} | |
| 168 | +.xc-strip-frame{ | |
| 169 | + width:440rpx;margin-top: 10rpx; | |
| 170 | +} | |
| 171 | +.xc-strip-blank{ | |
| 172 | + width:180rpx; | |
| 173 | +height: 26rpx; | |
| 174 | +} | |
| 175 | +.xc-fill{ | |
| 176 | +border-radius:20rpx;height:26rpx; | |
| 177 | +} | |
| 178 | +.xc-fill-text{ | |
| 179 | + left:34%; | |
| 180 | + line-height: 26rpx; | |
| 181 | + | |
| 182 | +} | |
| 86 | 183 | \ No newline at end of file | ... | ... |
pages/goods/goodsInfo/goodsInfo.wxss
pages/index/index/index.js
| ... | ... | @@ -42,14 +42,24 @@ Page({ |
| 42 | 42 | isTemplate:0, |
| 43 | 43 | template_arr:null, |
| 44 | 44 | bgcolor_t:'', |
| 45 | - | |
| 46 | - | |
| 47 | 45 | }, |
| 46 | + | |
| 48 | 47 | onLoad: function () { |
| 48 | + | |
| 49 | + wx.setNavigationBarColor({ | |
| 50 | + frontColor: '#ff7295', | |
| 51 | + backgroundColor: '#000', | |
| 52 | + | |
| 53 | + }); | |
| 54 | + | |
| 55 | + | |
| 49 | 56 | var th = this; |
| 50 | 57 | n.init(th, "", "recommend"); |
| 58 | + | |
| 59 | + | |
| 51 | 60 | }, |
| 52 | 61 | async onShow() { |
| 62 | + | |
| 53 | 63 | await this.init_load(); |
| 54 | 64 | //显示的时候要开启计时器 |
| 55 | 65 | this.data.is_timer=1; |
| ... | ... | @@ -450,6 +460,7 @@ Page({ |
| 450 | 460 | } |
| 451 | 461 | setTimeout(th.countDown2, 1000); |
| 452 | 462 | }, |
| 463 | + | |
| 453 | 464 | |
| 454 | 465 | |
| 455 | 466 | }); |
| 456 | 467 | \ No newline at end of file | ... | ... |
pages/index/index/index.json
pages/index/index/index.wxml
| 1 | 1 | <!--普通界面--> |
| 2 | -<view class="container" wx:if="{{ishow}}"> | |
| 2 | +<view class="container rel" wx:if="{{ishow}}"> | |
| 3 | +<image class="xc-top-img abs" src="../../../images/top-img.png"></image> | |
| 3 | 4 | <!--搜索框--> |
| 4 | - <view class="search-box {{scrollTop>10?'search-fixed':''}}"> | |
| 5 | + <view class="search-box {{scrollTop>10?'search-fixed':''}} flex-center white "> | |
| 6 | + <view class="classify-frame t-c"> | |
| 7 | + <image class="classify-img" src="../../../images/classify.png"></image> | |
| 8 | + <view class="fs20">分<text class="white fs22">类</text></view> | |
| 9 | + </view> | |
| 5 | 10 | <view class="search-inner"> |
| 6 | 11 | <view class="search-img"> |
| 7 | 12 | <image class="wh100" src="{{url}}/miniapp/images/search.png"></image> |
| 8 | 13 | </view> |
| 9 | 14 | <input bindfocus="jumpSearch" class="search-cont" placeholder="请输入您所搜索的商品" type="text"></input> |
| 10 | 15 | </view> |
| 16 | + <view class="classify-frame t-c"> | |
| 17 | + <image class="classify-img" src="../../../images/scanning.png"></image> | |
| 18 | + <view class="fs20">扫一扫</view> | |
| 19 | + </view> | |
| 11 | 20 | </view> |
| 12 | 21 | <!--滚动广告--> |
| 13 | - <view wx:if="{{banner}}"> | |
| 22 | + <view wx:if="{{banner}}" style="margin-top: 150rpx;"> | |
| 14 | 23 | <swiper autoplay="true" class="swiper_box" duration="1000" indicatorDots="true" interval="3000" vertical=""> |
| 15 | 24 | <swiper-item wx:for="{{banner}}" wx:key="banner"> |
| 16 | - <navigator url="{{item.media_link}}"> | |
| 25 | + <view url="{{item.media_link}}" class="slide-image-frame"> | |
| 17 | 26 | <image class="slide-image" src="{{item.ad_code}}" lazy-load="true" binderror="bind_bnerr" data-errorimg="banner[{{index}}].ad_code"></image> |
| 18 | - </navigator> | |
| 27 | + </view> | |
| 19 | 28 | </swiper-item> |
| 20 | 29 | </swiper> |
| 21 | 30 | </view> |
| ... | ... | @@ -56,19 +65,93 @@ |
| 56 | 65 | </view> |
| 57 | 66 | </view> |
| 58 | 67 | </view> |
| 68 | + | |
| 69 | + | |
| 70 | + <view class="flex-center-around"> | |
| 71 | + <view class="flex"> | |
| 72 | + <view class="circle white xc-hook fs20 yellow-b">Г | |
| 73 | + </view> | |
| 74 | + <text class="yellow-co fs24 margin-left">人工优先</text> | |
| 75 | + </view> | |
| 76 | + | |
| 77 | + | |
| 78 | + <view class="flex"> | |
| 79 | + | |
| 80 | + <view class="circle white xc-hook fs20 yellow-b">Г | |
| 81 | + </view> | |
| 82 | + <text class="yellow-co fs24 margin-left">正品保证</text> | |
| 83 | + </view> | |
| 84 | + | |
| 85 | + <view class="flex"> | |
| 86 | + <view class="circle white xc-hook fs20 yellow-b">Г | |
| 87 | + </view> | |
| 88 | + <text class="yellow-co fs24 margin-left">售后无忧</text> | |
| 89 | + </view> | |
| 90 | + </view> | |
| 91 | + | |
| 92 | + | |
| 93 | + <view class="flex-center-around"> | |
| 94 | + <view> | |
| 95 | + <view class="circle xc-class-frame t-c"> | |
| 96 | + <image class="xc-class-img" src="../../../images/skincare.png"></image> | |
| 97 | + <view class="fs28">护肤</view> | |
| 98 | + </view> | |
| 99 | + </view> | |
| 100 | + | |
| 101 | + <view> | |
| 102 | + <view class="circle xc-class-frame t-c"> | |
| 103 | + <image class="xc-class-img" src="../../../images/cosmetics.png"></image> | |
| 104 | + <view class="fs28">彩妆</view> | |
| 105 | + </view> | |
| 106 | + </view> | |
| 107 | + | |
| 108 | + <view> | |
| 109 | + <view class="circle xc-class-frame t-c"> | |
| 110 | + <image class="xc-class-img" src="../../../images/mask.png"></image> | |
| 111 | + <view class="fs28">面膜</view> | |
| 112 | + </view> | |
| 113 | + </view> | |
| 114 | + | |
| 115 | + | |
| 116 | + <view> | |
| 117 | + <view class="circle xc-class-frame t-c"> | |
| 118 | + <image class="xc-class-img" src="../../../images/nursing.png"></image> | |
| 119 | + <view class="fs28">个人护理</view> | |
| 120 | + </view> | |
| 121 | + </view> | |
| 122 | + | |
| 123 | + | |
| 124 | + <view> | |
| 125 | + <view class="circle xc-class-frame t-c"> | |
| 126 | + <image class="xc-class-img" src="../../../images/man_region.png"></image> | |
| 127 | + <view class="fs28">男士专区</view> | |
| 128 | + </view> | |
| 129 | + </view> | |
| 130 | + </view> | |
| 131 | + | |
| 132 | + <view class="title-img-frame"> | |
| 133 | + <image class="xc-title-img"src="../../../images/title.png"></image> | |
| 134 | + </view> | |
| 135 | + <view class="split-line"> | |
| 136 | + </view> | |
| 137 | + | |
| 59 | 138 | <!--秒杀--> |
| 60 | 139 | <view class="seckill" wx:if="{{saleGoods!=null && pindGoods.length!=0 }}"> |
| 61 | 140 | <navigator url="/pages/activity/seckill_list/seckill_list"> |
| 62 | 141 | <view class="seckill-time"> |
| 63 | - <view class="classname"> | |
| 64 | - <text class="sk-tips">秒杀特区</text> | |
| 142 | + <view class="classname flex"> | |
| 143 | + <image class="clock-img" src="../../../images/clock-rad.png"></image> | |
| 144 | + <image class="seckill-ttitle-img"src="../../../images/seckill-ttitle.png"></image> | |
| 65 | 145 | </view> |
| 146 | + <view class="flex seckill-list"> | |
| 147 | + <text class="fs28 xc-marfin-right">查看全部</text> | |
| 66 | 148 | <image class="arrow-right" src="{{url}}/miniapp/images/icon-arrowdown.png"></image> |
| 149 | + </view> | |
| 67 | 150 | </view> |
| 68 | 151 | </navigator> |
| 69 | 152 | <view class="seckill-list"> |
| 70 | 153 | <swiper class="s_prom" indicator-active-color='red' indicator-dots="true"> |
| 71 | - <swiper-item wx:for="{{saleGoods}}" wx:key="{{index}}" class="p_swiper" wx:key="saleGoods"> | |
| 154 | + <swiper-item wx:for="{{saleGoods}}" wx:key="{{index}}" class="p_swiper flex-center-around" wx:key="saleGoods"> | |
| 72 | 155 | <navigator url="/pages/goods/goodsInfo/goodsInfo?goods_id={{aitem.goods_id}}" |
| 73 | 156 | wx:for="{{item}}" wx:key="item" wx:for-item="aitem" wx:for-index="aind" |
| 74 | 157 | > | ... | ... |
pages/index/index/index.wxss
| 1 | 1 | .search-box { |
| 2 | + | |
| 2 | 3 | position: fixed; |
| 3 | 4 | top: 0; |
| 4 | 5 | left: 0; |
| 5 | 6 | width: 100%; |
| 6 | 7 | height: 88rpx; |
| 7 | 8 | z-index: 10; |
| 8 | - background: linear-gradient(rgba(0,0,0,.2),rgba(255,255,255,0)); | |
| 9 | + /* background: linear-gradient(rgba(0,0,0,.2),rgba(255,255,255,0)); */ | |
| 10 | +} | |
| 11 | +.classify-img{ | |
| 12 | + width: 50rpx; | |
| 13 | + height: 45rpx | |
| 9 | 14 | } |
| 10 | - | |
| 11 | 15 | .logo { |
| 12 | 16 | width: 48rpx; |
| 13 | 17 | height: 48rpx; |
| ... | ... | @@ -19,19 +23,23 @@ |
| 19 | 23 | .search-inner { |
| 20 | 24 | display: flex; |
| 21 | 25 | align-items: center; |
| 22 | - margin: 15rpx 30rpx; | |
| 23 | - width: 675rpx; | |
| 26 | + margin: 20rpx 25rpx; | |
| 27 | + width: 566rpx; | |
| 24 | 28 | height: 58rpx; |
| 25 | 29 | border-radius: 29rpx; |
| 26 | 30 | background-color: #fff; |
| 31 | + justify-content: center; | |
| 27 | 32 | } |
| 28 | 33 | |
| 29 | 34 | .search-img { |
| 30 | - margin-right: 12rpx; | |
| 35 | + | |
| 31 | 36 | width: 30rpx; |
| 32 | 37 | height: 30rpx; |
| 33 | - margin-top: -6rpx; | |
| 34 | - margin-left: 20rpx; | |
| 38 | + margin-left: 36rpx; | |
| 39 | +display: flex; | |
| 40 | +align-items: center; | |
| 41 | +position: absolute | |
| 42 | + | |
| 35 | 43 | } |
| 36 | 44 | |
| 37 | 45 | .search-cont { |
| ... | ... | @@ -44,7 +52,7 @@ |
| 44 | 52 | } |
| 45 | 53 | |
| 46 | 54 | .search-fixed { |
| 47 | - background: rgba(242,48,48,0.8); | |
| 55 | + background: #ff7295; | |
| 48 | 56 | } |
| 49 | 57 | |
| 50 | 58 | .swiper_box { |
| ... | ... | @@ -58,9 +66,11 @@ |
| 58 | 66 | |
| 59 | 67 | swiper-item image { |
| 60 | 68 | width: 100%; |
| 61 | - height: 380rpx; | |
| 69 | + height: 203rpx; | |
| 62 | 70 | display: inline-block; |
| 63 | 71 | overflow: hidden; |
| 72 | + border-radius: 10rpx; | |
| 73 | + | |
| 64 | 74 | } |
| 65 | 75 | |
| 66 | 76 | .venues_box { |
| ... | ... | @@ -221,18 +231,15 @@ swiper-item image { |
| 221 | 231 | } |
| 222 | 232 | |
| 223 | 233 | .seckill-list { |
| 224 | - height: 360rpx; | |
| 234 | + | |
| 225 | 235 | overflow: hidden; |
| 226 | 236 | } |
| 227 | 237 | |
| 228 | 238 | .seckill-list navigator { |
| 229 | - width: 236rpx; margin-right: 10rpx; position: relative; | |
| 239 | + width: 212rpx; position: relative; | |
| 230 | 240 | } |
| 231 | 241 | |
| 232 | -.seckill-list image { | |
| 233 | - width: 236rpx; | |
| 234 | - height: 236rpx; | |
| 235 | -} | |
| 242 | + | |
| 236 | 243 | |
| 237 | 244 | .seckill-list view { |
| 238 | 245 | height: 45rpx; |
| ... | ... | @@ -243,8 +250,8 @@ swiper-item image { |
| 243 | 250 | } |
| 244 | 251 | |
| 245 | 252 | .seckill-list view.imgview{ |
| 246 | - width: 236rpx; | |
| 247 | - height: 236rpx; | |
| 253 | + width: 203rpx; | |
| 254 | + height: 226rpx; | |
| 248 | 255 | position: relative; |
| 249 | 256 | overflow: hidden |
| 250 | 257 | } |
| ... | ... | @@ -294,3 +301,73 @@ swiper-item image { |
| 294 | 301 | |
| 295 | 302 | .arrow-right{width: 30rpx; height: 30rpx;} |
| 296 | 303 | .pd-view{height: 80rpx;} |
| 304 | +.xc-top-img{ | |
| 305 | +width: 100%; | |
| 306 | +top: -1rpx; | |
| 307 | + | |
| 308 | +height: 315rpx; | |
| 309 | + | |
| 310 | +} | |
| 311 | + | |
| 312 | +.classify-frame{ | |
| 313 | +line-height: 25rpx; | |
| 314 | +} | |
| 315 | +.slide-image-frame{ | |
| 316 | + width: 95%; | |
| 317 | +margin: auto; | |
| 318 | + | |
| 319 | +} | |
| 320 | +.xc-hook{ | |
| 321 | + width: 30rpx; | |
| 322 | + height: 30rpx; | |
| 323 | + transform: rotate(-145deg); | |
| 324 | +line-height: 35rpx; | |
| 325 | +text-align: center; | |
| 326 | + | |
| 327 | +} | |
| 328 | +.margin-left{ | |
| 329 | +margin-left: 10rpx; | |
| 330 | +} | |
| 331 | +.xc-class-img{ | |
| 332 | + width: 83rpx; | |
| 333 | + height: 83rpx; | |
| 334 | +} | |
| 335 | +.xc-class-frame{ | |
| 336 | + line-height: 40rpx; | |
| 337 | + margin-top: 40rpx; | |
| 338 | + | |
| 339 | +} | |
| 340 | +.xc-title-img{ | |
| 341 | + height: 220rpx; | |
| 342 | + width: 100%; | |
| 343 | +} | |
| 344 | + | |
| 345 | +.title-img-frame{ | |
| 346 | + width: 95%; | |
| 347 | +margin: auto; | |
| 348 | +margin-top: 30rpx; | |
| 349 | + | |
| 350 | +} | |
| 351 | +.seckill-list{ | |
| 352 | + line-height: 30rpx; | |
| 353 | + | |
| 354 | +} | |
| 355 | + | |
| 356 | +.xc-marfin-right{ | |
| 357 | +margin-right: 15rpx; | |
| 358 | +} | |
| 359 | +.clock-img{ | |
| 360 | + width:36rpx; | |
| 361 | + height: 36rpx; | |
| 362 | + margin-right: 10rpx; | |
| 363 | +} | |
| 364 | +.seckill-ttitle-img{ | |
| 365 | + width:150rpx; | |
| 366 | + height: 40rpx; | |
| 367 | + margin-left: -10rpx; | |
| 368 | + | |
| 369 | + | |
| 370 | +} | |
| 371 | +.split-line{ | |
| 372 | + width:100%;height:10rpx;background:#eee; | |
| 373 | +} | |
| 297 | 374 | \ No newline at end of file | ... | ... |
pages/team/team_success/team_success.js