|
@@ -1,301 +1,376 @@
|
|
|
<template>
|
|
<template>
|
|
|
- <view class="groupBuy">
|
|
|
|
|
- <global-loading />
|
|
|
|
|
-
|
|
|
|
|
- <view class="groupBuyBg">
|
|
|
|
|
- <image src="https://ceres.zkthink.com/static/images/groupBuyLogo.png"></image>
|
|
|
|
|
- </view>
|
|
|
|
|
- <view class="countdown" v-if="shopShowType == false">
|
|
|
|
|
- <label v-if="groupDataList.state === 1">距结束剩余</label>
|
|
|
|
|
- <label v-else>即将开始</label>
|
|
|
|
|
- <view class="endDate"><span>{{hou}}</span><i>:</i><span>{{min}}</span><i>:</i><span>{{sec}}</span></view>
|
|
|
|
|
- </view>
|
|
|
|
|
-<!-- <view class="filterBox" v-else>-->
|
|
|
|
|
-<!-- <view class="item" :class="selectIndex == 0 ? 'selected' : ''" @click="synthesize"><span>综合</span></view>-->
|
|
|
|
|
-<!-- <view class="item" :class="selectIndex == 1 ? 'selected' : ''" @click="sales"><span>销量</span></view>-->
|
|
|
|
|
-<!-- <view class="item" :class="selectIndex == 2 ? 'selected' : ''" @click="priceClick"><span>价格</span></view>-->
|
|
|
|
|
-<!-- </view>-->
|
|
|
|
|
- <view class="shop-list-nav">
|
|
|
|
|
- <view class="nav-item-sort" @click="sortTap(1)">
|
|
|
|
|
- <text class="nav-title" :class="{'active' : sortIndex == 1}">综合</text>
|
|
|
|
|
- </view>
|
|
|
|
|
- <view class="nav-item-sort" @click="sortTap(2)">
|
|
|
|
|
- <text class="nav-title" :class="{'active' : sortIndex == 2}">价格</text>
|
|
|
|
|
- <view class="r">
|
|
|
|
|
- <view class="arrowUp" :class="{activeUp: type == 1}"></view>
|
|
|
|
|
- <view class="arrowDown" :class="{activeDown: type == 2}"></view>
|
|
|
|
|
- </view>
|
|
|
|
|
- </view>
|
|
|
|
|
- <view class="nav-item-sort" @click="sortTap(3)">
|
|
|
|
|
- <text class="nav-title" :class="{'active' : sortIndex == 3}">销量</text>
|
|
|
|
|
- <view class="r">
|
|
|
|
|
- <view class="arrowUp" :class="{activeUp: volume == 1}"></view>
|
|
|
|
|
- <view class="arrowDown" :class="{activeDown: volume == 2}"></view>
|
|
|
|
|
- </view>
|
|
|
|
|
- </view>
|
|
|
|
|
- </view>
|
|
|
|
|
- <view class="spikeList mar-top-20">
|
|
|
|
|
- <view class="listItem" v-for="(item,index) in groupBuy" :key="index">
|
|
|
|
|
- <view class="itemBox">
|
|
|
|
|
- <img :src="item.image">
|
|
|
|
|
- </view>
|
|
|
|
|
- <view class="itemInfo">
|
|
|
|
|
- <view class="title">
|
|
|
|
|
- <p>{{item.productName}}</p>
|
|
|
|
|
- <view class="number" v-if="item.limitNumber">限量{{item.limitNumber}}件 / 剩余{{item.limitStockNumber}}件</view>
|
|
|
|
|
- </view>
|
|
|
|
|
- <view class="originalPrice">原价: ¥{{item.originalPrice}}</view>
|
|
|
|
|
- <view class="price">
|
|
|
|
|
- <view class="currentPrice flex-row-plus flex-items-plus font-color-FF7800">
|
|
|
|
|
- <view class="iconBox">
|
|
|
|
|
- <image src="https://ceres.zkthink.com/static/images/groupBuyIcon.png"></image>
|
|
|
|
|
- </view>
|
|
|
|
|
- <view class="flex-row-plus flex-items priceInfo">
|
|
|
|
|
- <label class="fs24">¥</label>
|
|
|
|
|
- <label class="fs36">{{item.price}}</label>
|
|
|
|
|
- </view>
|
|
|
|
|
- </view>
|
|
|
|
|
- <view v-if="groupDataList.state === 1" class="snapUpBtn" @click="gogoodsDetails(item.shopId,item.productId,item.skuId)">
|
|
|
|
|
- <view class="btnText">去拼团</view>
|
|
|
|
|
- <view style="width: 82%;margin: 0 auto">
|
|
|
|
|
- <progress activeColor="#FFFFFF" :percent="getPercent(5, 10)" active stroke-width="5" />
|
|
|
|
|
- </view>
|
|
|
|
|
- </view>
|
|
|
|
|
- <view v-else class="snapUpBtn btnStyle1">
|
|
|
|
|
- <view class="btnText">即将开始</view>
|
|
|
|
|
- <view style="width: 82%;margin: 0 auto">
|
|
|
|
|
- <progress activeColor="#FFFFFF" :percent="getPercent(5, 10)" active stroke-width="5" />
|
|
|
|
|
- </view>
|
|
|
|
|
- </view>
|
|
|
|
|
- </view>
|
|
|
|
|
- </view>
|
|
|
|
|
- </view>
|
|
|
|
|
- <view v-if="ifEmpty" class="emptyOrder-box flex-items-plus flex-column">
|
|
|
|
|
- <image class="emptyOrder-img" src="https://ceres.zkthink.com/static/img/bgnull.png"></image>
|
|
|
|
|
- <label class="font-color-999 fs26 mar-top-30">暂无活动商品~</label>
|
|
|
|
|
- </view>
|
|
|
|
|
- </view>
|
|
|
|
|
- </view>
|
|
|
|
|
|
|
+ <view class="groupBuy">
|
|
|
|
|
+ <global-loading />
|
|
|
|
|
+
|
|
|
|
|
+ <view class="groupBuyBg">
|
|
|
|
|
+ <image src="https://ceres.zkthink.com/static/images/groupBuyLogo.png"></image>
|
|
|
|
|
+ </view>
|
|
|
|
|
+ <view
|
|
|
|
|
+ class="countdown"
|
|
|
|
|
+ v-if="shopShowType == false"
|
|
|
|
|
+ >
|
|
|
|
|
+ <label v-if="groupDataList.state === 1">距结束剩余</label>
|
|
|
|
|
+ <label v-else>即将开始</label>
|
|
|
|
|
+ <view class="endDate"><span>{{ hou }}</span><i>:</i><span>{{ min }}</span><i>:</i><span>{{ sec }}</span></view>
|
|
|
|
|
+ </view>
|
|
|
|
|
+ <!-- <view class="filterBox" v-else>-->
|
|
|
|
|
+ <!-- <view class="item" :class="selectIndex == 0 ? 'selected' : ''" @click="synthesize"><span>综合</span></view>-->
|
|
|
|
|
+ <!-- <view class="item" :class="selectIndex == 1 ? 'selected' : ''" @click="sales"><span>销量</span></view>-->
|
|
|
|
|
+ <!-- <view class="item" :class="selectIndex == 2 ? 'selected' : ''" @click="priceClick"><span>价格</span></view>-->
|
|
|
|
|
+ <!-- </view>-->
|
|
|
|
|
+ <view class="shop-list-nav">
|
|
|
|
|
+ <view
|
|
|
|
|
+ class="nav-item-sort"
|
|
|
|
|
+ @click="sortTap(1)"
|
|
|
|
|
+ >
|
|
|
|
|
+ <text
|
|
|
|
|
+ class="nav-title"
|
|
|
|
|
+ :class="{'active' : sortIndex == 1}"
|
|
|
|
|
+ >综合
|
|
|
|
|
+ </text>
|
|
|
|
|
+ </view>
|
|
|
|
|
+ <view
|
|
|
|
|
+ class="nav-item-sort"
|
|
|
|
|
+ @click="sortTap(2)"
|
|
|
|
|
+ >
|
|
|
|
|
+ <text
|
|
|
|
|
+ class="nav-title"
|
|
|
|
|
+ :class="{'active' : sortIndex == 2}"
|
|
|
|
|
+ >价格
|
|
|
|
|
+ </text>
|
|
|
|
|
+ <view class="r">
|
|
|
|
|
+ <view
|
|
|
|
|
+ class="arrowUp"
|
|
|
|
|
+ :class="{activeUp: type == 1}"
|
|
|
|
|
+ ></view>
|
|
|
|
|
+ <view
|
|
|
|
|
+ class="arrowDown"
|
|
|
|
|
+ :class="{activeDown: type == 2}"
|
|
|
|
|
+ ></view>
|
|
|
|
|
+ </view>
|
|
|
|
|
+ </view>
|
|
|
|
|
+ <view
|
|
|
|
|
+ class="nav-item-sort"
|
|
|
|
|
+ @click="sortTap(3)"
|
|
|
|
|
+ >
|
|
|
|
|
+ <text
|
|
|
|
|
+ class="nav-title"
|
|
|
|
|
+ :class="{'active' : sortIndex == 3}"
|
|
|
|
|
+ >销量
|
|
|
|
|
+ </text>
|
|
|
|
|
+ <view class="r">
|
|
|
|
|
+ <view
|
|
|
|
|
+ class="arrowUp"
|
|
|
|
|
+ :class="{activeUp: volume == 1}"
|
|
|
|
|
+ ></view>
|
|
|
|
|
+ <view
|
|
|
|
|
+ class="arrowDown"
|
|
|
|
|
+ :class="{activeDown: volume == 2}"
|
|
|
|
|
+ ></view>
|
|
|
|
|
+ </view>
|
|
|
|
|
+ </view>
|
|
|
|
|
+ </view>
|
|
|
|
|
+ <view class="spikeList mar-top-20">
|
|
|
|
|
+ <view
|
|
|
|
|
+ class="listItem"
|
|
|
|
|
+ v-for="(item,index) in groupBuy"
|
|
|
|
|
+ :key="index"
|
|
|
|
|
+ >
|
|
|
|
|
+ <view class="itemBox">
|
|
|
|
|
+ <img :src="item.image">
|
|
|
|
|
+ </view>
|
|
|
|
|
+ <view class="itemInfo">
|
|
|
|
|
+ <view class="title">
|
|
|
|
|
+ <p>{{ item.productName }}</p>
|
|
|
|
|
+ <view class="tag-box">
|
|
|
|
|
+ <view
|
|
|
|
|
+ class="number group-buy-number"
|
|
|
|
|
+ v-if="item.person>0"
|
|
|
|
|
+ >{{ item.person }}人团
|
|
|
|
|
+ </view>
|
|
|
|
|
+
|
|
|
|
|
+ <view
|
|
|
|
|
+ class="number"
|
|
|
|
|
+ v-if="item.limitNumber"
|
|
|
|
|
+ >限量{{ item.limitNumber }}件 / 剩余{{ item.limitStockNumber }}件
|
|
|
|
|
+ </view>
|
|
|
|
|
+ </view>
|
|
|
|
|
+ </view>
|
|
|
|
|
+ <view class="originalPrice">原价: ¥{{ item.originalPrice }}</view>
|
|
|
|
|
+ <view class="price">
|
|
|
|
|
+ <view class="currentPrice flex-row-plus flex-items-plus font-color-FF7800">
|
|
|
|
|
+ <view class="iconBox">
|
|
|
|
|
+ <image src="https://ceres.zkthink.com/static/images/groupBuyIcon.png"></image>
|
|
|
|
|
+ </view>
|
|
|
|
|
+ <view class="flex-row-plus flex-items priceInfo">
|
|
|
|
|
+ <label class="fs24">¥</label>
|
|
|
|
|
+ <label class="fs36">{{ item.price }}</label>
|
|
|
|
|
+ </view>
|
|
|
|
|
+ </view>
|
|
|
|
|
+ <view
|
|
|
|
|
+ v-if="groupDataList.state === 1"
|
|
|
|
|
+ class="snapUpBtn"
|
|
|
|
|
+ @click="gogoodsDetails(item.shopId,item.productId,item.skuId)"
|
|
|
|
|
+ >
|
|
|
|
|
+ <view class="btnText">去拼团</view>
|
|
|
|
|
+ <view style="width: 82%;margin: 0 auto">
|
|
|
|
|
+ <progress
|
|
|
|
|
+ activeColor="#FFFFFF"
|
|
|
|
|
+ :percent="getPercent(5, 10)"
|
|
|
|
|
+ active
|
|
|
|
|
+ stroke-width="5"
|
|
|
|
|
+ />
|
|
|
|
|
+ </view>
|
|
|
|
|
+ </view>
|
|
|
|
|
+ <view
|
|
|
|
|
+ v-else
|
|
|
|
|
+ class="snapUpBtn btnStyle1"
|
|
|
|
|
+ >
|
|
|
|
|
+ <view class="btnText">即将开始</view>
|
|
|
|
|
+ <view style="width: 82%;margin: 0 auto">
|
|
|
|
|
+ <progress
|
|
|
|
|
+ activeColor="#FFFFFF"
|
|
|
|
|
+ :percent="getPercent(5, 10)"
|
|
|
|
|
+ active
|
|
|
|
|
+ stroke-width="5"
|
|
|
|
|
+ />
|
|
|
|
|
+ </view>
|
|
|
|
|
+ </view>
|
|
|
|
|
+ </view>
|
|
|
|
|
+ </view>
|
|
|
|
|
+ </view>
|
|
|
|
|
+ <view
|
|
|
|
|
+ v-if="ifEmpty"
|
|
|
|
|
+ class="emptyOrder-box flex-items-plus flex-column"
|
|
|
|
|
+ >
|
|
|
|
|
+ <image
|
|
|
|
|
+ class="emptyOrder-img"
|
|
|
|
|
+ src="https://ceres.zkthink.com/static/img/bgnull.png"
|
|
|
|
|
+ ></image>
|
|
|
|
|
+ <label class="font-color-999 fs26 mar-top-30">暂无活动商品~</label>
|
|
|
|
|
+ </view>
|
|
|
|
|
+ </view>
|
|
|
|
|
+ </view>
|
|
|
</template>
|
|
</template>
|
|
|
|
|
|
|
|
<script>
|
|
<script>
|
|
|
const NET = require('../../utils/request')
|
|
const NET = require('../../utils/request')
|
|
|
const API = require('../../config/api')
|
|
const API = require('../../config/api')
|
|
|
export default {
|
|
export default {
|
|
|
- data(){
|
|
|
|
|
- return{
|
|
|
|
|
- pageType:true,
|
|
|
|
|
- groupBuy:[],
|
|
|
|
|
- page:1,
|
|
|
|
|
- pageSize:10,
|
|
|
|
|
- loadingType:0,
|
|
|
|
|
- hou: "00",
|
|
|
|
|
- min: "00",
|
|
|
|
|
- sec: "00",
|
|
|
|
|
- shopId:0,
|
|
|
|
|
- shopGroupWorkId:0,
|
|
|
|
|
- type:0,//价格
|
|
|
|
|
- volume:0,//销量
|
|
|
|
|
- shopShowType:false,
|
|
|
|
|
- selectIndex:0,
|
|
|
|
|
|
|
+ data() {
|
|
|
|
|
+ return {
|
|
|
|
|
+ pageType: true,
|
|
|
|
|
+ groupBuy: [],
|
|
|
|
|
+ page: 1,
|
|
|
|
|
+ pageSize: 10,
|
|
|
|
|
+ loadingType: 0,
|
|
|
|
|
+ hou: "00",
|
|
|
|
|
+ min: "00",
|
|
|
|
|
+ sec: "00",
|
|
|
|
|
+ shopId: 0,
|
|
|
|
|
+ shopGroupWorkId: 0,
|
|
|
|
|
+ type: 0,//价格
|
|
|
|
|
+ volume: 0,//销量
|
|
|
|
|
+ shopShowType: false,
|
|
|
|
|
+ selectIndex: 0,
|
|
|
sortIndex: 1,
|
|
sortIndex: 1,
|
|
|
ifEmpty: false,
|
|
ifEmpty: false,
|
|
|
- groupDataList:{},
|
|
|
|
|
- }
|
|
|
|
|
- },
|
|
|
|
|
- onLoad(options) {
|
|
|
|
|
- if(options.shopId && options.shopGroupWorkId){
|
|
|
|
|
- this.shopShowType = false
|
|
|
|
|
- this.shopId = options.shopId
|
|
|
|
|
- this.shopGroupWorkId = options.shopGroupWorkId
|
|
|
|
|
- }else{
|
|
|
|
|
- this.shopShowType = true
|
|
|
|
|
- this.shopId = 0
|
|
|
|
|
- this.shopGroupWorkId = 0
|
|
|
|
|
- }
|
|
|
|
|
-
|
|
|
|
|
- },
|
|
|
|
|
- onShow() {
|
|
|
|
|
- this.groupBuy=[]
|
|
|
|
|
- this.getGroupBuylist()
|
|
|
|
|
- },
|
|
|
|
|
- onReachBottom(){
|
|
|
|
|
- if(this.loadingType == 1){
|
|
|
|
|
- uni.stopPullDownRefresh()
|
|
|
|
|
- }else{
|
|
|
|
|
- this.page = this.page+1
|
|
|
|
|
- this.getGroupBuylist()
|
|
|
|
|
- }
|
|
|
|
|
- },
|
|
|
|
|
- methods:{
|
|
|
|
|
- // synthesize(){
|
|
|
|
|
- // this.volume =1//销量
|
|
|
|
|
- // this.type = 1//价格
|
|
|
|
|
- // this.page = 1
|
|
|
|
|
- // this.selectIndex = 0
|
|
|
|
|
- // this.groupBuy = []
|
|
|
|
|
- // this.getGroupBuylist()
|
|
|
|
|
- // },
|
|
|
|
|
- // sales(){
|
|
|
|
|
- // //销量
|
|
|
|
|
- // if(this.volume == 1){
|
|
|
|
|
- // this.volume = 2
|
|
|
|
|
- // }else{
|
|
|
|
|
- // this.volume = 1
|
|
|
|
|
- // }
|
|
|
|
|
- // this.type = 1//价格
|
|
|
|
|
- // this.page = 1
|
|
|
|
|
- // this.selectIndex = 1
|
|
|
|
|
- // this.groupBuy = []
|
|
|
|
|
- // this.getGroupBuylist()
|
|
|
|
|
- // },
|
|
|
|
|
- // priceClick(){
|
|
|
|
|
- // this.volume =1//销量
|
|
|
|
|
- // //价格
|
|
|
|
|
- // if(this.type == 1){
|
|
|
|
|
- // this.type = 2
|
|
|
|
|
- // }else{
|
|
|
|
|
- // this.type = 1
|
|
|
|
|
- // }
|
|
|
|
|
- // this.page = 1
|
|
|
|
|
- // this.selectIndex = 2
|
|
|
|
|
- // this.groupBuy = []
|
|
|
|
|
- // this.getGroupBuylist()
|
|
|
|
|
- // },
|
|
|
|
|
- getPercent(num, total){
|
|
|
|
|
|
|
+ groupDataList: {},
|
|
|
|
|
+ }
|
|
|
|
|
+ },
|
|
|
|
|
+ onLoad(options) {
|
|
|
|
|
+ if (options.shopId && options.shopGroupWorkId) {
|
|
|
|
|
+ this.shopShowType = false
|
|
|
|
|
+ this.shopId = options.shopId
|
|
|
|
|
+ this.shopGroupWorkId = options.shopGroupWorkId
|
|
|
|
|
+ } else {
|
|
|
|
|
+ this.shopShowType = true
|
|
|
|
|
+ this.shopId = 0
|
|
|
|
|
+ this.shopGroupWorkId = 0
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ },
|
|
|
|
|
+ onShow() {
|
|
|
|
|
+ this.groupBuy = []
|
|
|
|
|
+ this.getGroupBuylist()
|
|
|
|
|
+ },
|
|
|
|
|
+ onReachBottom() {
|
|
|
|
|
+ if (this.loadingType == 1) {
|
|
|
|
|
+ uni.stopPullDownRefresh()
|
|
|
|
|
+ } else {
|
|
|
|
|
+ this.page = this.page + 1
|
|
|
|
|
+ this.getGroupBuylist()
|
|
|
|
|
+ }
|
|
|
|
|
+ },
|
|
|
|
|
+ methods: {
|
|
|
|
|
+ // synthesize(){
|
|
|
|
|
+ // this.volume =1//销量
|
|
|
|
|
+ // this.type = 1//价格
|
|
|
|
|
+ // this.page = 1
|
|
|
|
|
+ // this.selectIndex = 0
|
|
|
|
|
+ // this.groupBuy = []
|
|
|
|
|
+ // this.getGroupBuylist()
|
|
|
|
|
+ // },
|
|
|
|
|
+ // sales(){
|
|
|
|
|
+ // //销量
|
|
|
|
|
+ // if(this.volume == 1){
|
|
|
|
|
+ // this.volume = 2
|
|
|
|
|
+ // }else{
|
|
|
|
|
+ // this.volume = 1
|
|
|
|
|
+ // }
|
|
|
|
|
+ // this.type = 1//价格
|
|
|
|
|
+ // this.page = 1
|
|
|
|
|
+ // this.selectIndex = 1
|
|
|
|
|
+ // this.groupBuy = []
|
|
|
|
|
+ // this.getGroupBuylist()
|
|
|
|
|
+ // },
|
|
|
|
|
+ // priceClick(){
|
|
|
|
|
+ // this.volume =1//销量
|
|
|
|
|
+ // //价格
|
|
|
|
|
+ // if(this.type == 1){
|
|
|
|
|
+ // this.type = 2
|
|
|
|
|
+ // }else{
|
|
|
|
|
+ // this.type = 1
|
|
|
|
|
+ // }
|
|
|
|
|
+ // this.page = 1
|
|
|
|
|
+ // this.selectIndex = 2
|
|
|
|
|
+ // this.groupBuy = []
|
|
|
|
|
+ // this.getGroupBuylist()
|
|
|
|
|
+ // },
|
|
|
|
|
+ getPercent(num, total) {
|
|
|
num = parseFloat(num);
|
|
num = parseFloat(num);
|
|
|
total = parseFloat(total);
|
|
total = parseFloat(total);
|
|
|
if (isNaN(num) || isNaN(total)) {
|
|
if (isNaN(num) || isNaN(total)) {
|
|
|
return "-";
|
|
return "-";
|
|
|
}
|
|
}
|
|
|
- return total <= 0? "0%" : Math.round((num / total) * 10000) / 100.0;
|
|
|
|
|
|
|
+ return total <= 0 ? "0%" : Math.round((num / total) * 10000) / 100.0;
|
|
|
},
|
|
},
|
|
|
- sortTap(index){
|
|
|
|
|
|
|
+ sortTap(index) {
|
|
|
this.page = 1
|
|
this.page = 1
|
|
|
this.groupBuy = []
|
|
this.groupBuy = []
|
|
|
- this.sortIndex = index
|
|
|
|
|
- if(index == 1){
|
|
|
|
|
|
|
+ this.sortIndex = index
|
|
|
|
|
+ if (index == 1) {
|
|
|
this.type = 0
|
|
this.type = 0
|
|
|
this.volume = 0
|
|
this.volume = 0
|
|
|
- }else if(index == 2){
|
|
|
|
|
- this.volume = 0
|
|
|
|
|
- if(this.type === 0){
|
|
|
|
|
- this.type = 1
|
|
|
|
|
- }else{
|
|
|
|
|
- this.type = this.type != 1 ? 1:2
|
|
|
|
|
- }
|
|
|
|
|
- }else if(index == 3){
|
|
|
|
|
|
|
+ } else if (index == 2) {
|
|
|
|
|
+ this.volume = 0
|
|
|
|
|
+ if (this.type === 0) {
|
|
|
|
|
+ this.type = 1
|
|
|
|
|
+ } else {
|
|
|
|
|
+ this.type = this.type != 1 ? 1 : 2
|
|
|
|
|
+ }
|
|
|
|
|
+ } else if (index == 3) {
|
|
|
this.type = 0
|
|
this.type = 0
|
|
|
- if(this.volume === 0){
|
|
|
|
|
- this.volume = 1
|
|
|
|
|
- }else{
|
|
|
|
|
- this.volume = this.volume != 1 ? 1:2
|
|
|
|
|
|
|
+ if (this.volume === 0) {
|
|
|
|
|
+ this.volume = 1
|
|
|
|
|
+ } else {
|
|
|
|
|
+ this.volume = this.volume != 1 ? 1 : 2
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
this.getGroupBuylist()
|
|
this.getGroupBuylist()
|
|
|
},
|
|
},
|
|
|
- gogoodsDetails(shopId,productId,skuId){
|
|
|
|
|
- uni.navigateTo({
|
|
|
|
|
- url:'../goodsModule/goodsDetails?shopId='+shopId + '&productId='+productId +'&skuId='+skuId
|
|
|
|
|
- })
|
|
|
|
|
- },
|
|
|
|
|
- getGroupBuylist(){
|
|
|
|
|
|
|
+ gogoodsDetails(shopId, productId, skuId) {
|
|
|
|
|
+ uni.navigateTo({
|
|
|
|
|
+ url: '../goodsModule/goodsDetails?shopId=' + shopId + '&productId=' + productId + '&skuId=' + skuId
|
|
|
|
|
+ })
|
|
|
|
|
+ },
|
|
|
|
|
+ getGroupBuylist() {
|
|
|
// uni.showLoading({
|
|
// uni.showLoading({
|
|
|
// mask: true,
|
|
// mask: true,
|
|
|
// title: '加载中...',
|
|
// title: '加载中...',
|
|
|
// })
|
|
// })
|
|
|
let param = {
|
|
let param = {
|
|
|
- page:this.page,
|
|
|
|
|
- pageSize:this.pageSize,
|
|
|
|
|
- shopId:this.shopId,
|
|
|
|
|
- shopGroupWorkId:this.shopGroupWorkId,
|
|
|
|
|
- type:this.type,
|
|
|
|
|
- volume:this.volume
|
|
|
|
|
|
|
+ page: this.page,
|
|
|
|
|
+ pageSize: this.pageSize,
|
|
|
|
|
+ shopId: this.shopId,
|
|
|
|
|
+ shopGroupWorkId: this.shopGroupWorkId,
|
|
|
|
|
+ type: this.type,
|
|
|
|
|
+ volume: this.volume
|
|
|
}
|
|
}
|
|
|
- NET.request(API.getGroupBuyList,param,'GET').then(res => {
|
|
|
|
|
|
|
+ NET.request(API.getGroupBuyList, param, 'GET').then(res => {
|
|
|
uni.hideLoading()
|
|
uni.hideLoading()
|
|
|
- if(res.data.page.list.length == 0){
|
|
|
|
|
- this.loadingType = 1
|
|
|
|
|
- this.page = this.page
|
|
|
|
|
- }else{
|
|
|
|
|
- this.groupDataList = res.data
|
|
|
|
|
- this.groupBuy = this.groupBuy.concat(res.data.page.list)
|
|
|
|
|
|
|
+ if (res.data.page.list.length == 0) {
|
|
|
|
|
+ this.loadingType = 1
|
|
|
|
|
+ this.page = this.page
|
|
|
|
|
+ } else {
|
|
|
|
|
+ this.groupDataList = res.data
|
|
|
|
|
+ this.groupBuy = this.groupBuy.concat(res.data.page.list)
|
|
|
if (this.groupBuy.length === 0) {
|
|
if (this.groupBuy.length === 0) {
|
|
|
this.ifEmpty = true
|
|
this.ifEmpty = true
|
|
|
}
|
|
}
|
|
|
- }
|
|
|
|
|
- if(this.shopShowType == false){
|
|
|
|
|
- this.dateformat(res.data.time)
|
|
|
|
|
- this.countDown()
|
|
|
|
|
- }
|
|
|
|
|
- }).catch(res => {
|
|
|
|
|
- uni.showToast({
|
|
|
|
|
- title:'失败',
|
|
|
|
|
- icon:"none"
|
|
|
|
|
- })
|
|
|
|
|
- })
|
|
|
|
|
- },
|
|
|
|
|
- //时分秒换算
|
|
|
|
|
- dateformat(micro_second) {
|
|
|
|
|
- // 总秒数
|
|
|
|
|
- let second = Math.floor(micro_second / 1000);
|
|
|
|
|
- // 天数
|
|
|
|
|
- let day = Math.floor(second / 3600 / 24);
|
|
|
|
|
- // 小时
|
|
|
|
|
- let hr = Math.floor(second / 3600 % 24);
|
|
|
|
|
- // 分钟
|
|
|
|
|
- let min = Math.floor(second / 60 % 60);
|
|
|
|
|
- // 秒
|
|
|
|
|
- let sec = Math.floor(second % 60);
|
|
|
|
|
- this.hou = hr+day*24
|
|
|
|
|
- this.min = min
|
|
|
|
|
- this.sec = sec
|
|
|
|
|
- },
|
|
|
|
|
- countDown(){
|
|
|
|
|
- let timeOut = setTimeout(() => {
|
|
|
|
|
- let hou = parseInt(this.hou);
|
|
|
|
|
- let min = parseInt(this.min);
|
|
|
|
|
- let sec = parseInt(this.sec);
|
|
|
|
|
-
|
|
|
|
|
- let netxSec = sec - 1;
|
|
|
|
|
- let netxMin = min
|
|
|
|
|
- let netxHou = hou;
|
|
|
|
|
-
|
|
|
|
|
- if (netxHou == 0 && netxMin == 0 && netxSec == -1) {
|
|
|
|
|
- clearTimeout(timeOut)
|
|
|
|
|
- uni.switchTab({
|
|
|
|
|
- url:'../../pages/tabbar/index/index'
|
|
|
|
|
- })
|
|
|
|
|
- uni.showToast({
|
|
|
|
|
- title:"活动结束",
|
|
|
|
|
- duration:2000,
|
|
|
|
|
- icon:'none'
|
|
|
|
|
- })
|
|
|
|
|
- } else {
|
|
|
|
|
- if (netxSec == -1) {
|
|
|
|
|
- netxSec = 59
|
|
|
|
|
- netxMin = netxMin - 1;
|
|
|
|
|
- }
|
|
|
|
|
- if (netxMin == -1) {
|
|
|
|
|
- netxMin = 59
|
|
|
|
|
- netxHou = netxHou - 1
|
|
|
|
|
- }
|
|
|
|
|
- // if (netxHou == -1) {
|
|
|
|
|
- // netxHou = 23
|
|
|
|
|
- // }
|
|
|
|
|
-
|
|
|
|
|
- this.hou = this.timeFormat(netxHou),
|
|
|
|
|
- this.min = this.timeFormat(netxMin),
|
|
|
|
|
- this.sec = this.timeFormat(netxSec),
|
|
|
|
|
- this.timeOut = timeOut
|
|
|
|
|
- this.countDown();
|
|
|
|
|
- }
|
|
|
|
|
- }, 1000)
|
|
|
|
|
- },
|
|
|
|
|
- timeFormat(param) { //小于10的格式化函数
|
|
|
|
|
- return param < 10 ? '0' + param : param;
|
|
|
|
|
- },
|
|
|
|
|
- }
|
|
|
|
|
|
|
+ }
|
|
|
|
|
+ if (this.shopShowType == false) {
|
|
|
|
|
+ this.dateformat(res.data.time)
|
|
|
|
|
+ this.countDown()
|
|
|
|
|
+ }
|
|
|
|
|
+ }).catch(res => {
|
|
|
|
|
+ uni.showToast({
|
|
|
|
|
+ title: '失败',
|
|
|
|
|
+ icon: "none"
|
|
|
|
|
+ })
|
|
|
|
|
+ })
|
|
|
|
|
+ },
|
|
|
|
|
+ //时分秒换算
|
|
|
|
|
+ dateformat(micro_second) {
|
|
|
|
|
+ // 总秒数
|
|
|
|
|
+ let second = Math.floor(micro_second / 1000);
|
|
|
|
|
+ // 天数
|
|
|
|
|
+ let day = Math.floor(second / 3600 / 24);
|
|
|
|
|
+ // 小时
|
|
|
|
|
+ let hr = Math.floor(second / 3600 % 24);
|
|
|
|
|
+ // 分钟
|
|
|
|
|
+ let min = Math.floor(second / 60 % 60);
|
|
|
|
|
+ // 秒
|
|
|
|
|
+ let sec = Math.floor(second % 60);
|
|
|
|
|
+ this.hou = hr + day * 24
|
|
|
|
|
+ this.min = min
|
|
|
|
|
+ this.sec = sec
|
|
|
|
|
+ },
|
|
|
|
|
+ countDown() {
|
|
|
|
|
+ let timeOut = setTimeout(() => {
|
|
|
|
|
+ let hou = parseInt(this.hou);
|
|
|
|
|
+ let min = parseInt(this.min);
|
|
|
|
|
+ let sec = parseInt(this.sec);
|
|
|
|
|
+
|
|
|
|
|
+ let netxSec = sec - 1;
|
|
|
|
|
+ let netxMin = min
|
|
|
|
|
+ let netxHou = hou;
|
|
|
|
|
+
|
|
|
|
|
+ if (netxHou == 0 && netxMin == 0 && netxSec == -1) {
|
|
|
|
|
+ clearTimeout(timeOut)
|
|
|
|
|
+ uni.switchTab({
|
|
|
|
|
+ url: '../../pages/tabbar/index/index'
|
|
|
|
|
+ })
|
|
|
|
|
+ uni.showToast({
|
|
|
|
|
+ title: "活动结束",
|
|
|
|
|
+ duration: 2000,
|
|
|
|
|
+ icon: 'none'
|
|
|
|
|
+ })
|
|
|
|
|
+ } else {
|
|
|
|
|
+ if (netxSec == -1) {
|
|
|
|
|
+ netxSec = 59
|
|
|
|
|
+ netxMin = netxMin - 1;
|
|
|
|
|
+ }
|
|
|
|
|
+ if (netxMin == -1) {
|
|
|
|
|
+ netxMin = 59
|
|
|
|
|
+ netxHou = netxHou - 1
|
|
|
|
|
+ }
|
|
|
|
|
+ // if (netxHou == -1) {
|
|
|
|
|
+ // netxHou = 23
|
|
|
|
|
+ // }
|
|
|
|
|
+
|
|
|
|
|
+ this.hou = this.timeFormat(netxHou),
|
|
|
|
|
+ this.min = this.timeFormat(netxMin),
|
|
|
|
|
+ this.sec = this.timeFormat(netxSec),
|
|
|
|
|
+ this.timeOut = timeOut
|
|
|
|
|
+ this.countDown();
|
|
|
|
|
+ }
|
|
|
|
|
+ }, 1000)
|
|
|
|
|
+ },
|
|
|
|
|
+ timeFormat(param) { //小于10的格式化函数
|
|
|
|
|
+ return param < 10 ? '0' + param : param;
|
|
|
|
|
+ },
|
|
|
|
|
+ }
|
|
|
}
|
|
}
|
|
|
</script>
|
|
</script>
|
|
|
<style>
|
|
<style>
|
|
@@ -303,22 +378,29 @@ page {
|
|
|
background: #333333;
|
|
background: #333333;
|
|
|
}
|
|
}
|
|
|
</style>
|
|
</style>
|
|
|
-<style lang="scss" scoped>
|
|
|
|
|
|
|
+<style
|
|
|
|
|
+ lang="scss"
|
|
|
|
|
+ scoped
|
|
|
|
|
+>
|
|
|
page {
|
|
page {
|
|
|
background: #333333;
|
|
background: #333333;
|
|
|
}
|
|
}
|
|
|
|
|
+
|
|
|
.groupBuy {
|
|
.groupBuy {
|
|
|
- .selected{
|
|
|
|
|
- color: #FE6F52;
|
|
|
|
|
- }
|
|
|
|
|
|
|
+ .selected {
|
|
|
|
|
+ color: #FE6F52;
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
.groupBuyBg {
|
|
.groupBuyBg {
|
|
|
text-align: center;
|
|
text-align: center;
|
|
|
margin: 50rpx auto;
|
|
margin: 50rpx auto;
|
|
|
|
|
+
|
|
|
image {
|
|
image {
|
|
|
width: 262rpx;
|
|
width: 262rpx;
|
|
|
height: 52rpx;
|
|
height: 52rpx;
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
|
|
+
|
|
|
.countdown {
|
|
.countdown {
|
|
|
display: flex;
|
|
display: flex;
|
|
|
justify-content: center;
|
|
justify-content: center;
|
|
@@ -326,10 +408,12 @@ page {
|
|
|
align-items: center;
|
|
align-items: center;
|
|
|
width: 100%;
|
|
width: 100%;
|
|
|
color: #CCCCCC;
|
|
color: #CCCCCC;
|
|
|
|
|
+
|
|
|
.endDate {
|
|
.endDate {
|
|
|
display: flex;
|
|
display: flex;
|
|
|
align-items: center;
|
|
align-items: center;
|
|
|
margin-left: 20upx;
|
|
margin-left: 20upx;
|
|
|
|
|
+
|
|
|
span {
|
|
span {
|
|
|
min-width: 44rpx;
|
|
min-width: 44rpx;
|
|
|
padding: 0 8rpx;
|
|
padding: 0 8rpx;
|
|
@@ -341,6 +425,7 @@ page {
|
|
|
color: #FFEBC4;
|
|
color: #FFEBC4;
|
|
|
text-align: center;
|
|
text-align: center;
|
|
|
}
|
|
}
|
|
|
|
|
+
|
|
|
i {
|
|
i {
|
|
|
font-size: 26upx;
|
|
font-size: 26upx;
|
|
|
color: #999999;
|
|
color: #999999;
|
|
@@ -349,36 +434,44 @@ page {
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
|
|
+
|
|
|
.spikeList {
|
|
.spikeList {
|
|
|
padding: 0upx 30upx 20upx 30upx;
|
|
padding: 0upx 30upx 20upx 30upx;
|
|
|
|
|
+
|
|
|
.listItem {
|
|
.listItem {
|
|
|
display: flex;
|
|
display: flex;
|
|
|
padding: 30upx;
|
|
padding: 30upx;
|
|
|
margin-bottom: 30upx;
|
|
margin-bottom: 30upx;
|
|
|
background: #FFFFFF;
|
|
background: #FFFFFF;
|
|
|
|
|
+
|
|
|
&:last-child {
|
|
&:last-child {
|
|
|
border-bottom: none;
|
|
border-bottom: none;
|
|
|
}
|
|
}
|
|
|
|
|
+
|
|
|
.itemBox {
|
|
.itemBox {
|
|
|
width: 260upx;
|
|
width: 260upx;
|
|
|
height: 260upx;
|
|
height: 260upx;
|
|
|
margin-right: 30upx;
|
|
margin-right: 30upx;
|
|
|
|
|
+
|
|
|
img {
|
|
img {
|
|
|
width: 100%;
|
|
width: 100%;
|
|
|
height: 100%;
|
|
height: 100%;
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
|
|
+
|
|
|
.itemInfo {
|
|
.itemInfo {
|
|
|
flex: 1;
|
|
flex: 1;
|
|
|
display: flex;
|
|
display: flex;
|
|
|
flex-direction: column;
|
|
flex-direction: column;
|
|
|
justify-content: space-between;
|
|
justify-content: space-between;
|
|
|
|
|
+
|
|
|
.iconBox {
|
|
.iconBox {
|
|
|
image {
|
|
image {
|
|
|
width: 58rpx;
|
|
width: 58rpx;
|
|
|
height: 36rpx;
|
|
height: 36rpx;
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
|
|
+
|
|
|
p {
|
|
p {
|
|
|
font-size: 26upx;
|
|
font-size: 26upx;
|
|
|
color: #333333;
|
|
color: #333333;
|
|
@@ -392,7 +485,8 @@ page {
|
|
|
line-clamp: 2;
|
|
line-clamp: 2;
|
|
|
-webkit-box-orient: vertical;
|
|
-webkit-box-orient: vertical;
|
|
|
}
|
|
}
|
|
|
- .tilte{
|
|
|
|
|
|
|
+
|
|
|
|
|
+ .tilte {
|
|
|
.number {
|
|
.number {
|
|
|
color: #C5AA7B;
|
|
color: #C5AA7B;
|
|
|
font-size: 26rpx;
|
|
font-size: 26rpx;
|
|
@@ -404,20 +498,24 @@ page {
|
|
|
padding: 0 5rpx;
|
|
padding: 0 5rpx;
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
|
|
+
|
|
|
.originalPrice {
|
|
.originalPrice {
|
|
|
font-size: 24upx;
|
|
font-size: 24upx;
|
|
|
margin-top: 20upx;
|
|
margin-top: 20upx;
|
|
|
text-decoration: line-through;
|
|
text-decoration: line-through;
|
|
|
color: #CCCCCC;
|
|
color: #CCCCCC;
|
|
|
}
|
|
}
|
|
|
|
|
+
|
|
|
.price {
|
|
.price {
|
|
|
display: flex;
|
|
display: flex;
|
|
|
justify-content: space-between;
|
|
justify-content: space-between;
|
|
|
align-items: center;
|
|
align-items: center;
|
|
|
|
|
+
|
|
|
.priceInfo {
|
|
.priceInfo {
|
|
|
font-size: 40rpx;
|
|
font-size: 40rpx;
|
|
|
color: #C83732;
|
|
color: #C83732;
|
|
|
}
|
|
}
|
|
|
|
|
+
|
|
|
.snapUpBtn {
|
|
.snapUpBtn {
|
|
|
width: 160upx;
|
|
width: 160upx;
|
|
|
height: 84upx;
|
|
height: 84upx;
|
|
@@ -426,24 +524,28 @@ page {
|
|
|
box-shadow: 0rpx 6rpx 12rpx rgba(233, 0, 0, 0.3);
|
|
box-shadow: 0rpx 6rpx 12rpx rgba(233, 0, 0, 0.3);
|
|
|
opacity: 1;
|
|
opacity: 1;
|
|
|
border-radius: 10rpx;
|
|
border-radius: 10rpx;
|
|
|
|
|
+
|
|
|
.btnText {
|
|
.btnText {
|
|
|
color: #FFFFFF;
|
|
color: #FFFFFF;
|
|
|
font-weight: 400;
|
|
font-weight: 400;
|
|
|
opacity: 0.5;
|
|
opacity: 0.5;
|
|
|
margin: 10rpx 0;
|
|
margin: 10rpx 0;
|
|
|
}
|
|
}
|
|
|
|
|
+
|
|
|
.uni-progress {
|
|
.uni-progress {
|
|
|
border-radius: 10rpx;
|
|
border-radius: 10rpx;
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
- .btnStyle1{
|
|
|
|
|
- background: linear-gradient(90deg, #29C790 0%, #75D98C 100%);
|
|
|
|
|
- box-shadow: 0 6rpx 12rpx rgba(52, 203, 144, 0.3);
|
|
|
|
|
- }
|
|
|
|
|
|
|
+
|
|
|
|
|
+ .btnStyle1 {
|
|
|
|
|
+ background: linear-gradient(90deg, #29C790 0%, #75D98C 100%);
|
|
|
|
|
+ box-shadow: 0 6rpx 12rpx rgba(52, 203, 144, 0.3);
|
|
|
|
|
+ }
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
|
|
+
|
|
|
.filterBox {
|
|
.filterBox {
|
|
|
display: flex;
|
|
display: flex;
|
|
|
height: 80upx;
|
|
height: 80upx;
|
|
@@ -451,12 +553,14 @@ page {
|
|
|
width: 100%;
|
|
width: 100%;
|
|
|
background: #FFFFFF;
|
|
background: #FFFFFF;
|
|
|
left: 0;
|
|
left: 0;
|
|
|
|
|
+
|
|
|
.item {
|
|
.item {
|
|
|
flex: 0 0 33.33%;
|
|
flex: 0 0 33.33%;
|
|
|
text-align: center;
|
|
text-align: center;
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
|
|
+
|
|
|
.shop-list-nav {
|
|
.shop-list-nav {
|
|
|
display: flex;
|
|
display: flex;
|
|
|
flex-direction: row;
|
|
flex-direction: row;
|
|
@@ -464,6 +568,7 @@ page {
|
|
|
height: 80rpx;
|
|
height: 80rpx;
|
|
|
line-height: 76rpx;
|
|
line-height: 76rpx;
|
|
|
}
|
|
}
|
|
|
|
|
+
|
|
|
.nav-item {
|
|
.nav-item {
|
|
|
flex: 1;
|
|
flex: 1;
|
|
|
font-size: 30rpx;
|
|
font-size: 30rpx;
|
|
@@ -474,9 +579,11 @@ page {
|
|
|
height: 80rpx;
|
|
height: 80rpx;
|
|
|
line-height: 76rpx;
|
|
line-height: 76rpx;
|
|
|
}
|
|
}
|
|
|
|
|
+
|
|
|
.nav-item.active {
|
|
.nav-item.active {
|
|
|
color: #C5AA7B;
|
|
color: #C5AA7B;
|
|
|
}
|
|
}
|
|
|
|
|
+
|
|
|
.nav-item .line {
|
|
.nav-item .line {
|
|
|
display: inline-block;
|
|
display: inline-block;
|
|
|
width: 80rpx;
|
|
width: 80rpx;
|
|
@@ -484,16 +591,20 @@ page {
|
|
|
background: #fff;
|
|
background: #fff;
|
|
|
border-radius: 2rpx;
|
|
border-radius: 2rpx;
|
|
|
}
|
|
}
|
|
|
|
|
+
|
|
|
.nav-item.active .line {
|
|
.nav-item.active .line {
|
|
|
background: #C5AA7B;
|
|
background: #C5AA7B;
|
|
|
}
|
|
}
|
|
|
|
|
+
|
|
|
.nav-item.padd-l {
|
|
.nav-item.padd-l {
|
|
|
padding-left: 20%;
|
|
padding-left: 20%;
|
|
|
box-sizing: border-box;
|
|
box-sizing: border-box;
|
|
|
}
|
|
}
|
|
|
-.active{
|
|
|
|
|
|
|
+
|
|
|
|
|
+.active {
|
|
|
color: #C5AA7B;
|
|
color: #C5AA7B;
|
|
|
}
|
|
}
|
|
|
|
|
+
|
|
|
.nav-item.padd-r {
|
|
.nav-item.padd-r {
|
|
|
padding-right: 20%;
|
|
padding-right: 20%;
|
|
|
box-sizing: border-box;
|
|
box-sizing: border-box;
|
|
@@ -517,6 +628,7 @@ page {
|
|
|
align-items: center;
|
|
align-items: center;
|
|
|
justify-content: center;
|
|
justify-content: center;
|
|
|
margin-left: 5rpx;
|
|
margin-left: 5rpx;
|
|
|
|
|
+
|
|
|
.arrowDown {
|
|
.arrowDown {
|
|
|
width: 0;
|
|
width: 0;
|
|
|
height: 0;
|
|
height: 0;
|
|
@@ -525,6 +637,7 @@ page {
|
|
|
border-color: #CCCCCC transparent transparent transparent;
|
|
border-color: #CCCCCC transparent transparent transparent;
|
|
|
margin-top: 2rpx;
|
|
margin-top: 2rpx;
|
|
|
}
|
|
}
|
|
|
|
|
+
|
|
|
.arrowUp {
|
|
.arrowUp {
|
|
|
margin-bottom: 2rpx;
|
|
margin-bottom: 2rpx;
|
|
|
width: 0;
|
|
width: 0;
|
|
@@ -533,21 +646,45 @@ page {
|
|
|
border-style: solid;
|
|
border-style: solid;
|
|
|
border-color: transparent transparent #CCCCCC transparent;
|
|
border-color: transparent transparent #CCCCCC transparent;
|
|
|
}
|
|
}
|
|
|
|
|
+
|
|
|
.activeDown {
|
|
.activeDown {
|
|
|
border-color: #C5AA7B transparent transparent transparent;
|
|
border-color: #C5AA7B transparent transparent transparent;
|
|
|
}
|
|
}
|
|
|
|
|
+
|
|
|
.activeUp {
|
|
.activeUp {
|
|
|
border-color: transparent transparent #C5AA7B transparent;
|
|
border-color: transparent transparent #C5AA7B transparent;
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
|
|
+
|
|
|
.emptyOrder-box {
|
|
.emptyOrder-box {
|
|
|
margin-top: 70upx;
|
|
margin-top: 70upx;
|
|
|
|
|
+
|
|
|
.emptyOrder-img {
|
|
.emptyOrder-img {
|
|
|
margin-top: 45%;
|
|
margin-top: 45%;
|
|
|
width: 113upx;
|
|
width: 113upx;
|
|
|
height: 98upx;
|
|
height: 98upx;
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
|
|
+.tag-box{
|
|
|
|
|
+ display: flex;
|
|
|
|
|
+ align-items: center;
|
|
|
|
|
+ justify-content: flex-start;
|
|
|
|
|
+ flex-wrap: wrap;
|
|
|
|
|
+ .number{
|
|
|
|
|
+ display: inline-block;
|
|
|
|
|
+ padding: 6rpx 16rpx;
|
|
|
|
|
+ border-radius: 4rpx;
|
|
|
|
|
+ border: 1rpx solid #E3928F;
|
|
|
|
|
+ color: #E3928F;
|
|
|
|
|
+ font-size: 14rpx;
|
|
|
|
|
+ }
|
|
|
|
|
+ .group-buy-number{
|
|
|
|
|
+ background-color: #E3928F;
|
|
|
|
|
+ border: none;
|
|
|
|
|
+ color: #fff;
|
|
|
|
|
+ }
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
</style>
|
|
</style>
|
|
|
<style scoped>
|
|
<style scoped>
|
|
|
.snapUpBtn /deep/ .uni-progress-bar {
|
|
.snapUpBtn /deep/ .uni-progress-bar {
|
|
@@ -555,9 +692,11 @@ page {
|
|
|
height: 8rpx;
|
|
height: 8rpx;
|
|
|
background-color: #deabab !important;
|
|
background-color: #deabab !important;
|
|
|
}
|
|
}
|
|
|
|
|
+
|
|
|
.snapUpBtn /deep/ .uni-progress-inner-bar {
|
|
.snapUpBtn /deep/ .uni-progress-inner-bar {
|
|
|
border-radius: 10rpx;
|
|
border-radius: 10rpx;
|
|
|
}
|
|
}
|
|
|
|
|
+
|
|
|
.spikeNav /deep/ .tabs-nav {
|
|
.spikeNav /deep/ .tabs-nav {
|
|
|
}
|
|
}
|
|
|
</style>
|
|
</style>
|