diff --git a/pages.json b/pages.json
index 0b09ba3..2ae5b59 100644
--- a/pages.json
+++ b/pages.json
@@ -771,6 +771,13 @@
"navigationStyle": "custom"
// "navigationBarTitleText": "商品详情页"
}
+ },
+ {
+ "path": "seckillDetail",
+ "style": {
+ "navigationStyle": "custom"
+ // "navigationBarTitleText": "商品详情页"
+ }
}
]
},
diff --git a/pages/activity/seckill.vue b/pages/activity/seckill.vue
index 95e4eda..4f25a34 100644
--- a/pages/activity/seckill.vue
+++ b/pages/activity/seckill.vue
@@ -4,17 +4,17 @@
-
+
-
+
{{item.active_time}}
-
+
{{item.status_text}}
@@ -32,7 +32,7 @@
+ @click="handleTargetGoods(item.sharp_goods_id)">
@@ -125,7 +125,7 @@
background: 'url(https://www.royaum.com.cn/static/rank/rank1.png) center top no-repeat',
backgroundSize: '100% auto',
},
- backgroundImg:'',
+ backgroundImg: '',
}
},
/**
@@ -159,8 +159,8 @@
.then(result => {
app.tabbar = result.data.tabbar;
app.goodsList = result.data.goodsList.data
- if(app.goodsList && app.goodsList.length > 0){
- app.goodsList.map(a=>{
+ if (app.goodsList && app.goodsList.length > 0) {
+ app.goodsList.map(a => {
a.original_price = Number(a.original_price)
a.seckill_price_max = Number(a.seckill_price_max)
a.seckill_price_min = Number(a.seckill_price_min)
@@ -248,13 +248,17 @@
// 跳转到秒杀商品详情
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 ? '结束' : '开始')
})
},
-
-
+
+
// 设置微信公众号链接分享卡片内容
setWxofficialShareData() {
this.updateShareCardData({
@@ -298,9 +302,11 @@
width: 100%;
height: 100%;
}
- .active{
+
+ .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;
+
+ .numselected {
+ color: #ffffff;
}
+
.desc {
width: 150rpx;
height: 40rpx;
@@ -367,8 +377,9 @@
margin-top: 10rpx;
text-align: center;
}
- .descselected{
- color:#FB3D27;
+
+ .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,7 +552,8 @@
font-weight: 500;
color: #FF423D;
margin-left: 26rpx;
- text{
+
+ text {
font-size: 34rpx;
}
}
diff --git a/pages/goods/city.vue b/pages/goods/city.vue
new file mode 100644
index 0000000..d818400
--- /dev/null
+++ b/pages/goods/city.vue
@@ -0,0 +1,6341 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{item}}
+
+
+
+
+
+
+ 定位城市
+
+
+ {{localCity}}
+
+ 重新定位
+
+
+
+ 热门城市
+
+
+ {{item}}
+
+
+
+
+
+
+
+ {{list.letter}}
+
+
+
+ {{item.cityName}}
+
+
+
+
+
+
+
+
+
+ {{items.letter}}
+
+
+
+ {{lists[touchmoveIndex].letter}}
+
+
+
+
+
+
+
diff --git a/pages/goods/seckillDetail.vue b/pages/goods/seckillDetail.vue
new file mode 100644
index 0000000..1c9f570
--- /dev/null
+++ b/pages/goods/seckillDetail.vue
@@ -0,0 +1,2250 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{(currenIndex+1)+"/"+goods.goods_images.length}}
+
+
+
+
+
+
+
+
+ ¥{{goods.seckill_price?Number(goods.seckill_price):0}}
+
+
+ ¥{{goods.line_price_min?Number(goods.line_price_min):0}}
+
+
+
+
+
+
+
+
+
+
+ ¥{{goods.cost_price_min?Number(goods.cost_price_min):0}}
+ ¥{{(goods.line_price_min>0&&goods.goods_price_min>0)?Number((Number(goods.line_price_min)-Number(goods.goods_price_min)).toFixed(2)):0}}
+
+
+ 限时抢购
+
+
+ 距活动{{seckillText}}
+
+
+ {{timeData.hours>=10?timeData.hours:"0"+Number(timeData.hours)}}
+ :
+ {{timeData.minutes>=10?timeData.minutes:"0"+Number(timeData.minutes)}}
+ :
+ {{timeData.seconds>=10?timeData.seconds:"0"+Number(timeData.seconds)}}
+
+
+
+
+
+
+
+ Plus
+ 会员
+
+
+ 开通Plus
+ 会员预计再省30元
+
+
+ 立即开通
+
+
+
+
+
+ {{goods.goods_name}}
+
+
+
+
+ 分享
+
+
+
+
+ 排行榜
+ {{goods.category.name}}热搜榜第{{goods.paihang}}名
+
+
+
+
+
+
+
+
+ {{addressResult.city}}:{{stockValue}}
+
+
+
+
+
+
+
+
+
+
+
+ 已选
+
+ {{goods.cmmdty_model}} {{selectSku.title.name}}-{{selectSku.value.name}}{{selectNum}}件
+
+
+
+
+ 已选
+ {{goods.cmmdty_model}} {{selectNum}}件
+
+
+
+ 送至
+
+
+ {{stockValue}}
+
+
+
+
+ {{addressResult?addressResult.province +'-'+addressResult.city+'-'+addressResult.district:'全国'}}
+
+
+
+
+
+
+ 发货
+
+
+
+
+ 运费
+ 包邮(以提交订单时为准)
+
+
+
+ 保障
+
+
+
+ {{item.name}}
+
+
+
+
+
+ 保障
+
+
+ 正品保障
+ 全程跟踪
+
+
+
+
+
+
+
+
+
+
+
+
+ 预约成功
+
+
+ 查看预约记录
+
+
+
+
+ 设置商品价格
+
+
+
+
+
+ 成本价格:
+
+
+
+ 商品价格:
+
+
+
+
+ 取消
+
+
+ 确定
+
+
+
+
+
+
+
+
+
+ {{goods.goods_name}}
+
+
+ ¥{{goods.goods_price_min?Number(goods.goods_price_min):goods.goods_price_min}}
+
+
+
+
+
+
+
+
+ 复制文案
+
+
+
+
+
+
+ 微信好友
+
+
+
+
+
+
+
+
+ 生成海报
+
+
+
+
+ 取消
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/news/consult/about.vue b/pages/news/consult/about.vue
index 8760a2d..71af81a 100644
--- a/pages/news/consult/about.vue
+++ b/pages/news/consult/about.vue
@@ -15,7 +15,7 @@
-
+
长按识别二维码
添加我的微信
diff --git a/pages/news1/jinqun.vue b/pages/news1/jinqun.vue
index 73cba61..917486c 100644
--- a/pages/news1/jinqun.vue
+++ b/pages/news1/jinqun.vue
@@ -3,7 +3,7 @@
style="background-size: 100% 100%;text-align: center;">
-
+