秒杀详情

main
fanfan 6 months ago
parent b6eac91c53
commit 81222ae5c2
  1. 7
      pages.json
  2. 23
      pages/activity/seckill.vue
  3. 6341
      pages/goods/city.vue
  4. 2250
      pages/goods/seckillDetail.vue
  5. 2
      pages/news/consult/about.vue
  6. 2
      pages/news1/jinqun.vue

@ -771,6 +771,13 @@
"navigationStyle": "custom"
// "navigationBarTitleText": "商品详情页"
}
},
{
"path": "seckillDetail",
"style": {
"navigationStyle": "custom"
// "navigationBarTitleText": "商品详情页"
}
}
]
},

@ -32,7 +32,7 @@
</view>
<view class="goodsList">
<view class="goodItem" v-for="(item,index) in goodsList" :key="index"
@click="handleTargetGoods(item.goods_id)">
@click="handleTargetGoods(item.sharp_goods_id)">
<view class="itemImg">
<image :src="item.goods_image" mode="widthFix" class="goodsImg"></image>
</view>
@ -248,9 +248,13 @@
//
handleTargetGoods(sharpGoodsId) {
let count_down_time = new Date(this.tabbar[this.curTabIndex].count_down_time.replace(/-/g, '/')).getTime()-new Date().getTime()
let count_down_time = new Date(this.tabbar[this.curTabIndex].count_down_time.replace(/-/g, '/'))
.getTime() - new Date().getTime()
uni.navigateTo({
url: '/pages/goods/detail?goodsId=' + sharpGoodsId+"&isSeckill="+true+'&isBuy='+count_down_time+'&seckillText='+(this.tabbar[this.curTabIndex].status == this.ActiveStatusEnum.STATE_BEGIN.value ? '结束' : '开始' )
url: '/pages/goods/seckillDetail?activeTimeId=' + this.getCurTabbarId() + '&sharpGoodsId=' + sharpGoodsId +
"&isSeckill=" + true + '&isBuy=' + count_down_time + '&seckillText=' + (this.tabbar[this
.curTabIndex].status == this.ActiveStatusEnum.STATE_BEGIN.value ? '结束' : '开始')
})
},
@ -298,9 +302,11 @@
width: 100%;
height: 100%;
}
.active {
background-color: #A9A9A9;
}
.title {
width: 100%;
height: 500rpx;
@ -337,9 +343,11 @@
overflow: auto;
bottom: 0;
position: absolute;
.timeItem {
margin-bottom: 25rpx;
padding: 0 0 0 20rpx;
.num {
width: 150rpx;
font-size: 40rpx;
@ -350,9 +358,11 @@
text-align: center;
margin-top: 10rpx;
}
.numselected {
color: #ffffff;
}
.desc {
width: 150rpx;
height: 40rpx;
@ -367,6 +377,7 @@
margin-top: 10rpx;
text-align: center;
}
.descselected {
color: #FB3D27;
background: #FFFFFF;
@ -428,6 +439,7 @@
.goodsList {
overflow: hidden;
.goodItem {
width: 686rpx;
height: 342rpx;
@ -438,10 +450,12 @@
padding: 48rpx 32rpx 36rpx 0;
margin: 0 auto;
margin-top: 22rpx;
.itemImg {
width: 258rpx;
height: 258rpx;
margin-right: 10rpx;
.goodsImg {
width: 100%;
height: 100%;
@ -472,6 +486,7 @@
.info {
display: flex;
.price {
height: 40rpx;
font-size: 28rpx;
@ -490,6 +505,7 @@
background-image: url('https://www.royaum.com.cn/static/seckill/bottom.png');
background-size: 100% 100%;
margin: 0 12rpx 0 14rpx;
.delText {
width: 132rpx;
text-align: center;
@ -536,6 +552,7 @@
font-weight: 500;
color: #FF423D;
margin-left: 26rpx;
text {
font-size: 34rpx;
}

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

@ -15,7 +15,7 @@
<view class="park-fd">
<!-- <image :src="cityInfo.wechat" show-menu-by-longpress='1'></image> -->
<!-- -->
<image mode="widthFix" :src="cityInfo.wechat"></image>
<image mode="widthFix" :src="cityInfo.wechat" show-menu-by-longpress='true'></image>
<view class="txt">长按识别二维码</view>
<view class="txt">添加我的微信</view>
</view>

@ -3,7 +3,7 @@
style="background-size: 100% 100%;text-align: center;">
<view class="image-box">
<!-- mode="heightFix" -->
<image :src="cityInfo.group_share_img" class="image" bindtap="clickImg"></image>
<image :src="cityInfo.group_share_img" show-menu-by-longpress='true' class="image" bindtap="clickImg"></image>
</view>
</view>
</template>

Loading…
Cancel
Save