调整团购
This commit is contained in:
parent
36c69036b9
commit
249c1656e0
|
@ -3,7 +3,7 @@
|
||||||
<view class="header">
|
<view class="header">
|
||||||
<view class="header-top" :style="backgroundStyle" @click="goNav('/my/vip/index')">
|
<view class="header-top" :style="backgroundStyle" @click="goNav('/my/vip/index')">
|
||||||
<image src="../../static/servicePackage/member_ba.png" mode="widthFix" v-if="!isVIP"></image>
|
<image src="../../static/servicePackage/member_ba.png" mode="widthFix" v-if="!isVIP"></image>
|
||||||
<image src="../../static/activate2.png" mode="widthFix" v-if="isVIP"></image>
|
<!--<image src="../../static/activate2.png" mode="widthFix" v-if="isVIP"></image>-->
|
||||||
</view>
|
</view>
|
||||||
<view class="group-buy">
|
<view class="group-buy">
|
||||||
<view class="group-buy-left">
|
<view class="group-buy-left">
|
||||||
|
@ -18,8 +18,7 @@
|
||||||
</view>
|
</view>
|
||||||
<view class="group-buy-right">
|
<view class="group-buy-right">
|
||||||
<view class="group-text">距结束仅剩</view>
|
<view class="group-text">距结束仅剩</view>
|
||||||
<u-count-down :timestamp="endOfServiceTimer" separator-color="#20C675" color="#20C675"
|
<u-count-down :timestamp="endOfServiceTimer" @change="onCountdownChange"></u-count-down>
|
||||||
font-size="13" separator-size="13" @change="onCountdownChange"></u-count-down>
|
|
||||||
<!-- <uni-countdown :show-day="false" :font-size="13" :day="day" :hour="hours" :minute="minutes" :second="seconds" /> -->
|
<!-- <uni-countdown :show-day="false" :font-size="13" :day="day" :hour="hours" :minute="minutes" :second="seconds" /> -->
|
||||||
<!-- <view><span>08</span>:<span>08</span>:<span>08</span></view> -->
|
<!-- <view><span>08</span>:<span>08</span>:<span>08</span></view> -->
|
||||||
</view>
|
</view>
|
||||||
|
@ -50,9 +49,9 @@
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<view class="teamwork-plate" v-if="ordersData!=''&&newTime>0">
|
<view class="teamwork-plate" v-if="ordersData!=''&&newTime>0">
|
||||||
|
<view class="teamwork-list">{{mainData.buyGroupNum}}人在拼团,可直接参与</view>
|
||||||
<view class=" flex teamwork-line" v-for="(itema,index) in ordersData" :key="index">
|
<view class=" flex teamwork-line" v-for="(itema,index) in ordersData" :key="index">
|
||||||
<view>
|
<view>
|
||||||
<view>{{mainData.buyGroupNum}}人在拼团,可直接参与</view>
|
|
||||||
<view v-for="(itemL,indexL) in itema.orderList" :key="indexL" class="avatar">
|
<view v-for="(itemL,indexL) in itema.orderList" :key="indexL" class="avatar">
|
||||||
<image style="width: 30px; height: 30px; border-radius:50%;" :src="itemL.avatar"></image>
|
<image style="width: 30px; height: 30px; border-radius:50%;" :src="itemL.avatar"></image>
|
||||||
<span>{{itemL.phone}}</span>
|
<span>{{itemL.phone}}</span>
|
||||||
|
@ -61,8 +60,7 @@
|
||||||
<view class="flex" style="align-items: center;">
|
<view class="flex" style="align-items: center;">
|
||||||
<view class="teamwork-se">
|
<view class="teamwork-se">
|
||||||
<view>还差<span class="team-text">{{itema.lessNum}}人</span>拼成</view>
|
<view>还差<span class="team-text">{{itema.lessNum}}人</span>拼成</view>
|
||||||
<view>剩余<u-count-down :timestamp="endOfServiceTimer" separator-color="#20C675" color="#20C675"
|
<view>剩余<u-count-down :timestamp="endOfServiceTimer" @change="onCountdownChange"></u-count-down></view>
|
||||||
font-size="13" separator-size="13" @change="onCountdownChange"></u-count-down></view>
|
|
||||||
</view>
|
</view>
|
||||||
<view class="teamwork-button" :class="[newTime<=0?'hBtn':'aBtn']" @click="goumai(mainData,itema.groupNo)" v-if="mainData.isNewer!='1'&&newTime>0">去拼团</view>
|
<view class="teamwork-button" :class="[newTime<=0?'hBtn':'aBtn']" @click="goumai(mainData,itema.groupNo)" v-if="mainData.isNewer!='1'&&newTime>0">去拼团</view>
|
||||||
</view>
|
</view>
|
||||||
|
@ -258,6 +256,10 @@
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
<style scoped>
|
<style scoped>
|
||||||
|
.teamwork-list{
|
||||||
|
font-size: 30rpx;
|
||||||
|
padding: 10rpx 0;
|
||||||
|
}
|
||||||
.avatar{
|
.avatar{
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: row;
|
flex-direction: row;
|
||||||
|
@ -837,7 +839,7 @@
|
||||||
}
|
}
|
||||||
.header-bottom-title-num span:nth-child(2){
|
.header-bottom-title-num span:nth-child(2){
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
color: #08A28A;
|
color: #f52b1b;
|
||||||
}
|
}
|
||||||
.header-bottom-title-num span:nth-child(3){
|
.header-bottom-title-num span:nth-child(3){
|
||||||
color: #848485;
|
color: #848485;
|
||||||
|
@ -913,32 +915,35 @@
|
||||||
padding: 30rpx 30rpx;
|
padding: 30rpx 30rpx;
|
||||||
background: linear-gradient(to right, rgb(255, 117, 98), rgb(233, 71, 52));
|
background: linear-gradient(to right, rgb(255, 117, 98), rgb(233, 71, 52));
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: space-between;
|
|
||||||
}
|
}
|
||||||
.group_amount{
|
.group_amount{
|
||||||
color: #fff;
|
color: #fff;
|
||||||
|
display: flex;
|
||||||
|
align-items: flex-end;
|
||||||
}
|
}
|
||||||
.group_amount span:nth-child(2){
|
.group_amount span:nth-child(2){
|
||||||
font-size: 50rpx;
|
font-size: 80rpx;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
|
line-height:68rpx;
|
||||||
}
|
}
|
||||||
.group-rule{
|
.group-rule{
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction:column;
|
flex-direction:column;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
|
margin-left: 10rpx;
|
||||||
}
|
}
|
||||||
.group-rule span:nth-child(1){
|
.group-rule span:nth-child(1){
|
||||||
color: #fff;
|
color: #fff;
|
||||||
font-size:22rpx;
|
font-size:24rpx;
|
||||||
text-decoration: line-through;
|
text-decoration: line-through;
|
||||||
}
|
}
|
||||||
.group-rule span:nth-child(2){
|
.group-rule span:nth-child(2){
|
||||||
text-align: center;
|
text-align: center;
|
||||||
padding: 2rpx 15rpx;
|
padding: 1rpx 8rpx;
|
||||||
background:#fff;
|
background:#fff;
|
||||||
color: #ed4b3e;
|
color: #ed4b3e;
|
||||||
font-size: 24rpx;
|
font-size: 22rpx;
|
||||||
border-radius: 3rpx;
|
border-radius: 6rpx;
|
||||||
}
|
}
|
||||||
.group-buy-right{
|
.group-buy-right{
|
||||||
width: 34%;
|
width: 34%;
|
||||||
|
@ -977,16 +982,16 @@
|
||||||
}
|
}
|
||||||
.teamwork-line{
|
.teamwork-line{
|
||||||
display: flex;
|
display: flex;
|
||||||
padding: 15rpx 0;
|
padding:14rpx 12rpx;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
}
|
}
|
||||||
.teamwork-button{
|
.teamwork-button{
|
||||||
padding: 2rpx 15rpx;
|
padding: 2rpx 15rpx;
|
||||||
/* background:#ed4b3e ; */
|
/* background:#ed4b3e ; */
|
||||||
color:#fff;
|
color:#fff;
|
||||||
height: 50rpx;
|
height: 60rpx;
|
||||||
line-height: 50rpx;
|
line-height: 58rpx;
|
||||||
margin-top: 15rpx;
|
margin-top: 10rpx;
|
||||||
border-radius: 6rpx;
|
border-radius: 6rpx;
|
||||||
margin-left: 15rpx;
|
margin-left: 15rpx;
|
||||||
}
|
}
|
||||||
|
@ -994,12 +999,13 @@
|
||||||
color: #ed4b3e;
|
color: #ed4b3e;
|
||||||
}
|
}
|
||||||
.teamwork-se{
|
.teamwork-se{
|
||||||
|
width: 300rpx;
|
||||||
font-size: 24rpx;
|
font-size: 24rpx;
|
||||||
text-align: center;
|
text-align: left;
|
||||||
margin-top: 6rpx;
|
padding: 2rpx 0;
|
||||||
}
|
}
|
||||||
.tewmwork-prompt{
|
.tewmwork-prompt{
|
||||||
font-size: 24rpx;
|
font-size: 22rpx;
|
||||||
color: #ed4b3e;
|
color: #ed4b3e;
|
||||||
margin-top: 12rpx;
|
margin-top: 12rpx;
|
||||||
}
|
}
|
||||||
|
@ -1010,10 +1016,10 @@
|
||||||
.tewmork-key span{
|
.tewmork-key span{
|
||||||
height: 30rpx;
|
height: 30rpx;
|
||||||
line-height: 30rpx;
|
line-height: 30rpx;
|
||||||
padding: 0 8rpx;
|
padding: 4rpx 14rpx;
|
||||||
font-size: 20rpx;
|
font-size: 22rpx;
|
||||||
border: 1px #ed4b3e solid ;
|
background: linear-gradient(90deg, #feeaf4, #fef0f0, #fdf2ec);
|
||||||
color: #ed4b3e;
|
color: #f52b1b;
|
||||||
border-radius: 6rpx;
|
border-radius: 6rpx;
|
||||||
margin-right: 6rpx;
|
margin-right: 6rpx;
|
||||||
margin-top: 6rpx;
|
margin-top: 6rpx;
|
||||||
|
|
|
@ -107,17 +107,17 @@ export default {
|
||||||
// 字体颜色
|
// 字体颜色
|
||||||
color: {
|
color: {
|
||||||
type: String,
|
type: String,
|
||||||
default: '#303133'
|
default: '#fff'
|
||||||
},
|
},
|
||||||
// 字体大小,单位rpx
|
// 字体大小,单位rpx
|
||||||
fontSize: {
|
fontSize: {
|
||||||
type: [Number, String],
|
type: [Number, String],
|
||||||
default: 30
|
default:26
|
||||||
},
|
},
|
||||||
// 背景颜色
|
// 背景颜色
|
||||||
bgColor: {
|
bgColor: {
|
||||||
type: String,
|
type: String,
|
||||||
default: '#fff'
|
default: '#222222'
|
||||||
},
|
},
|
||||||
// 数字框高度,单位rpx
|
// 数字框高度,单位rpx
|
||||||
height: {
|
height: {
|
||||||
|
@ -132,7 +132,7 @@ export default {
|
||||||
// 边框颜色
|
// 边框颜色
|
||||||
borderColor: {
|
borderColor: {
|
||||||
type: String,
|
type: String,
|
||||||
default: '#303133'
|
default: '#e83530'
|
||||||
},
|
},
|
||||||
// 是否显示秒
|
// 是否显示秒
|
||||||
showSeconds: {
|
showSeconds: {
|
||||||
|
|
Loading…
Reference in New Issue