|
@@ -18,12 +18,41 @@
|
|
|
<text class="product_market">¥{{productInfo.market_price}} </text>
|
|
|
</view>
|
|
|
</view>
|
|
|
- <view class="product_name">{{productInfo.name}}</view>
|
|
|
+ <view class="product_name"><text class="regiment_title">{{productInfo.regiment_title}}</text>{{productInfo.name}}</view>
|
|
|
<view class="product_spec">
|
|
|
- <view class="spec_name">{{productInfo.spec}}</view>
|
|
|
+ <view class="spec_name">{{productInfo.spec}}</view>
|
|
|
<view class="product_stock">剩{{productInfo.stock}}个</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
+ <view class="regiment_list" v-if="productInfo.regiment_list.length">
|
|
|
+ <view class="regiment_list_title">
|
|
|
+ <text class="title1">{{productInfo.regiment_list.length}}人正在拼单</text>
|
|
|
+ <text class="title2" @click="openRegiment()">查看更多</text>
|
|
|
+ </view>
|
|
|
+ <view class="regiment">
|
|
|
+ <swiper class="swiper" :indicator-dots="false" :autoplay="true" :interval="2000"
|
|
|
+ :duration="2000" :circular="true" :vertical="true" :display-multiple-items="2" easing-function="linear">
|
|
|
+ <swiper-item v-for="item in productInfo.regiment_list" :key="index">
|
|
|
+ <view class="swiper-item">
|
|
|
+ <view class="username">
|
|
|
+ <image class="user_image" :src="item.userpic" ></image>
|
|
|
+ <text class="username_text">{{item.username}}</text>
|
|
|
+ </view>
|
|
|
+ <view class="regiment_right">
|
|
|
+ <button class="regiment_but" data-eventsync="true" @click="showSpecPopup(4,item.id)">去拼单</button>
|
|
|
+ </view>
|
|
|
+ <view class="regiment_center">
|
|
|
+ <view class="regiment_center_text">还差{{item.surplus_number}}人成团</view>
|
|
|
+ <view class="regiment_center_time">
|
|
|
+ <view class="center_title">还剩</view>
|
|
|
+ <uni-countdown color="#E03519" :show-day="false" :hour="remainder(item.end_time,1)" :minute="remainder(item.end_time,2)" :second="remainder(item.end_time,3)"></uni-countdown>
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+ </swiper-item>
|
|
|
+ </swiper>
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
<view class="product_business" v-if="productInfo.business_info.name">
|
|
|
<image class="logopic" :src="productInfo.business_info.logopic" ></image>
|
|
|
<view class="business_info">
|
|
@@ -41,17 +70,35 @@
|
|
|
<view class="product_poster" v-if="productInfo.poster" >
|
|
|
<image class="product_image" :src="productInfo.poster" mode="widthFix"></image>
|
|
|
</view>
|
|
|
- <view class="order_car">
|
|
|
+ <view class="order_car" v-if="productInfo.regiment_type === 2">
|
|
|
<navigator url="/pages/car/index" open-type="switchTab" class="to_car" >
|
|
|
<image src="../../static/icon/car.png" class="car_icon" ></image>
|
|
|
</navigator>
|
|
|
- <button class="show_order" data-eventsync="true" @click="showSpecPopup(1)" >立即预约</button>
|
|
|
- <button class="show_car" data-eventsync="true" @click="showSpecPopup(2)" >加入购物车</button>
|
|
|
+ <button class="show_order" data-eventsync="true" @click="showSpecPopup(3)" >{{this.productInfo.regiment_title}}专享/{{this.productInfo.regiment_price}}</button>
|
|
|
+ <button class="show_car" data-eventsync="true" @click="showSpecPopup(1)" >单独预约/{{this.productInfo.price}}</button>
|
|
|
</view>
|
|
|
+ <view class="order_car" v-else-if="productInfo.regiment_type === 1">
|
|
|
+ <navigator url="/pages/car/index" open-type="switchTab" class="to_car" >
|
|
|
+ <image src="../../static/icon/car.png" class="car_icon" ></image>
|
|
|
+ </navigator>
|
|
|
+ <view class="show_order_regiment" @click="showSpecPopup(4)" >
|
|
|
+ <view>立即参与多人团拼单</view>
|
|
|
+ <view class="regiment_countdown">
|
|
|
+ <uni-countdown color="#FFFFFF" :show-day="false" :hour="remainder(productInfo.automatic_info.end_time,1)" :minute="remainder(productInfo.automatic_info.end_time,2)" :second="remainder(productInfo.automatic_info.end_time,3)"></uni-countdown>
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+ <view class="order_car" v-else>
|
|
|
+ <navigator url="/pages/car/index" open-type="switchTab" class="to_car" >
|
|
|
+ <image src="../../static/icon/car.png" class="car_icon" ></image>
|
|
|
+ </navigator>
|
|
|
+ <button class="show_order" data-eventsync="true" @click="showSpecPopup(1)" >立即预约</button>
|
|
|
+ <button class="show_car" data-eventsync="true" @click="showSpecPopup(2)" >加入购物车</button>
|
|
|
+ </view>
|
|
|
<view class="to_bottom"> --- 到底了 --- </view>
|
|
|
<uni-popup ref="specPopup" :show="true" type="bottom" class="popup" background-color="#FFFFFF" @change="popupChange" >
|
|
|
<view class="order_info">
|
|
|
- <view class="custom_addr" v-if="specBtnType==1" @click="showAddrPopup()">
|
|
|
+ <view class="custom_addr" v-if="specBtnType==1 || specBtnType==3 || specBtnType==4" @click="showAddrPopup()">
|
|
|
<view class="contact_user">
|
|
|
<text class="contact_none" v-if="!checkedAddr.id">请选择收货地址</text>
|
|
|
<text class="contact_name" >{{checkedAddr.contact_name}}</text>
|
|
@@ -71,7 +118,8 @@
|
|
|
<view class="car_name">{{productInfo.name}}</view>
|
|
|
<view class="stock_price">
|
|
|
<view class="product_price" v-if="isShowPrice">
|
|
|
- <text>¥{{productInfo.price}} </text>
|
|
|
+ <text v-if="specBtnType==1">¥{{productInfo.price}} </text>
|
|
|
+ <text v-if="specBtnType==3 || specBtnType==4">¥{{productInfo.regiment_price}} </text>
|
|
|
<text class="car_market">¥{{productInfo.market_price}}</text>
|
|
|
</view>
|
|
|
<view class="product_quantity_box">
|
|
@@ -82,7 +130,7 @@
|
|
|
<button class="product_quantity_add" @click="changeQuantity(+1)" data-eventsync="true">
|
|
|
<image class="add_icon" src="../../static/icon/add_icon.png" mode=""></image>
|
|
|
</button>
|
|
|
- </view>
|
|
|
+ </view>
|
|
|
</view>
|
|
|
<view class="product_stock">剩{{productInfo.stock}}个</view>
|
|
|
</view>
|
|
@@ -106,10 +154,12 @@
|
|
|
<text>优惠券</text>
|
|
|
<view class="coupon_deduction">{{couponUsed}}</view>
|
|
|
</view>
|
|
|
- <view class="order_price" v-if="specBtnType==1" >合计: ¥{{priceTotal}}</view>
|
|
|
+ <view class="order_price" v-if="specBtnType==1 || specBtnType==3" >合计: ¥{{priceTotal}}</view>
|
|
|
<view class="order_btn">
|
|
|
<button class="to_order" @click="createOrder()" v-if="specBtnType==1" data-eventsync="true" >预约</button>
|
|
|
<button class="to_car" @click="createCart()" v-if="specBtnType==2" data-eventsync="true" >加入购物车</button>
|
|
|
+ <button class="to_order" @click="createOrder()" v-if="specBtnType==3" data-eventsync="true" >拼团预约</button>
|
|
|
+ <button class="to_order" @click="createOrder()" v-if="specBtnType==4" data-eventsync="true" >{{ productInfo.regiment_title }}预约</button>
|
|
|
</view>
|
|
|
</view>
|
|
|
</uni-popup>
|
|
@@ -129,13 +179,13 @@
|
|
|
<view class="coupon_title">
|
|
|
<view class="coupon_name" v-if="item.rebate_type == 1">满减券</view>
|
|
|
<view class="coupon_name" v-if="item.rebate_type == 2">折扣券</view>
|
|
|
- <view class="coupon_name" v-if="item.rebate_type == 3">赠品券</view>
|
|
|
+ <view class="coupon_name" v-if="item.rebate_type == 3">赠品券</view>
|
|
|
</view>
|
|
|
<view class="product_scope">
|
|
|
<text class="" v-if="item.type_id == 1">{{item.is_scope?"当前商品可用":"当前商品不可用"}}</text>
|
|
|
<text class="" v-if="item.type_id == 2">全场可用</text>
|
|
|
<view class="check_label" >
|
|
|
- <view class="isstd" v-if="!item.is_std">未达标</view>
|
|
|
+ <view class="isstd" v-if="!item.is_std">未达标</view>
|
|
|
<image class="checkbox" v-if="item.is_std" :src="item.checked?'../../static/icon/checked.png':'../../static/icon/checkbox.png'"></image>
|
|
|
</view>
|
|
|
</view>
|
|
@@ -151,7 +201,7 @@
|
|
|
<view class="addr_list">
|
|
|
<view class="addr_item" v-for="(item,index) in addrList" :key="index" @click="checkedAddrItem(item)">
|
|
|
<view class="radio_label">
|
|
|
- <image class="radio_icon" :src="item.id == checkedAddr.id? '../../static/icon/radioed.png' : '../../static/icon/radio.png'" ></image>
|
|
|
+ <image class="radio_icon" :src="item.id == checkedAddr.id? '../../static/icon/radioed.png' : '../../static/icon/radio.png'" ></image>
|
|
|
</view>
|
|
|
<view class="contact_user">
|
|
|
<text class="contact_name">{{item.contact_name}}</text>
|
|
@@ -186,6 +236,28 @@
|
|
|
</view>
|
|
|
</view>
|
|
|
</uni-popup>
|
|
|
+ <uni-popup ref="regiment" type="bottom" class="popup" background-color="#FFFFFF" >
|
|
|
+ <view class="popup_title">可参与的拼单</view>
|
|
|
+ <view class="regiment_popup_list">
|
|
|
+ <view class="regiment_popup_item" v-for="(item,index) in productInfo.regiment_list" @click="checkedCoupon(index,false)" :key="index">
|
|
|
+ <view class="username">
|
|
|
+ <image class="user_image" :src="item.userpic" ></image>
|
|
|
+ <text class="username_text">{{item.username}}</text>
|
|
|
+ </view>
|
|
|
+ <view class="regiment_right">
|
|
|
+ <button class="regiment_but" data-eventsync="true" @click="showSpecPopup(4,item.id)">去拼单</button>
|
|
|
+ </view>
|
|
|
+ <view class="regiment_center">
|
|
|
+ <view class="regiment_center_text">还差{{item.surplus_number}}人成团</view>
|
|
|
+ <view class="regiment_center_time">
|
|
|
+ <view class="center_title">还剩</view>
|
|
|
+ <uni-countdown color="#E03519" :show-day="false" :hour="remainder(item.end_time,1)" :minute="remainder(item.end_time,2)" :second="remainder(item.end_time,3)"></uni-countdown>
|
|
|
+ </view>
|
|
|
+
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+ </uni-popup>
|
|
|
</view>
|
|
|
</template>
|
|
|
<script>
|
|
@@ -203,14 +275,24 @@
|
|
|
thumb:"",
|
|
|
poster:"",
|
|
|
description:"",
|
|
|
+ regiment_title:'',
|
|
|
+ automatic_info: {
|
|
|
+ end_time:'',
|
|
|
+ },
|
|
|
+ regiment_active:[],
|
|
|
business_info:{
|
|
|
name:"",
|
|
|
logopic:"",
|
|
|
desc:"",
|
|
|
},
|
|
|
+ regiment_price:"0.00",
|
|
|
+ regiment_quota:0,
|
|
|
+ regiment_list:[],
|
|
|
product_attr:[],
|
|
|
photo_list:[],
|
|
|
product_sku:[],
|
|
|
+ regiment_type:0,
|
|
|
+ regiment_number:0,
|
|
|
},
|
|
|
requestParam:{
|
|
|
id:0,
|
|
@@ -230,7 +312,7 @@
|
|
|
// 已经选择的优惠券ID
|
|
|
customCoupon: 0,
|
|
|
// 规格选择按钮类型
|
|
|
- specBtnType: 1, // 1预约。2购物车
|
|
|
+ specBtnType: 1, // 1预约。2购物车。3拼团
|
|
|
// 地址列表
|
|
|
addrList:[],
|
|
|
// 已选地址
|
|
@@ -254,6 +336,7 @@
|
|
|
// 选择的skuid
|
|
|
sku_id:0,
|
|
|
sku_thumb:"",
|
|
|
+ regiment_id:0,
|
|
|
}
|
|
|
},
|
|
|
onLoad(param) {
|
|
@@ -301,6 +384,9 @@
|
|
|
if( re.code == 'success' ) {
|
|
|
// 刷新数据
|
|
|
this.productInfo = re.data;
|
|
|
+ if (this.productInfo.automatic_info.id){
|
|
|
+ this.regiment_id = this.productInfo.automatic_info.id
|
|
|
+ }
|
|
|
//设置默认sku
|
|
|
this.sku_id = 0;
|
|
|
// 显示图片
|
|
@@ -313,22 +399,46 @@
|
|
|
})
|
|
|
}
|
|
|
}
|
|
|
- });
|
|
|
- };
|
|
|
+ });
|
|
|
+ }
|
|
|
},
|
|
|
methods: {
|
|
|
+ //计算剩余时间
|
|
|
+ remainder(end_time,type){
|
|
|
+ const now = Math.floor(Date.now() / 1000);
|
|
|
+ const distance = end_time - now;
|
|
|
+
|
|
|
+ if (distance < 0) {
|
|
|
+ return 0
|
|
|
+ }
|
|
|
+ const hours = Math.floor(distance / (60 * 60));
|
|
|
+ const minutes = Math.floor((distance % (60 * 60)) / (60));
|
|
|
+ const seconds = Math.floor((distance % (60)));
|
|
|
+ if (type === 1){
|
|
|
+ return hours
|
|
|
+ }
|
|
|
+ if (type === 2){
|
|
|
+ return minutes
|
|
|
+ }
|
|
|
+ if (type === 3){
|
|
|
+ return seconds
|
|
|
+ }
|
|
|
+ },
|
|
|
// 地址弹出层
|
|
|
showAddrPopup(){
|
|
|
// 显示下单弹出层
|
|
|
this.$refs.addrPopup.open('bottom');
|
|
|
},
|
|
|
// 规格弹出层
|
|
|
- showSpecPopup(type){
|
|
|
+ showSpecPopup(type,regiment_id=0){
|
|
|
// 登录提示
|
|
|
if( !this.$checkAccess.alterLogin()) return ;
|
|
|
// 判断是否弹出
|
|
|
if( this.$checkAccess.getFollowQrcode() ) return this.openAddFollow();
|
|
|
- // 显示类型,1预约,2购物车
|
|
|
+ if (regiment_id){
|
|
|
+ this.regiment_id = regiment_id
|
|
|
+ }
|
|
|
+ // 显示类型,1预约,2购物车,3拼团
|
|
|
this.specBtnType = type;
|
|
|
// 恢复优惠券使用按钮
|
|
|
this.couponUsed = "去使用 >";
|
|
@@ -356,10 +466,14 @@
|
|
|
this.defaultSkuStatus();
|
|
|
}
|
|
|
},
|
|
|
- // 优惠券弹出层
|
|
|
- openCoupon(){
|
|
|
- this.$refs.couponPopup.open('bottom')
|
|
|
+ // 拼团列表弹出层
|
|
|
+ openRegiment(){
|
|
|
+ this.$refs.regiment.open('bottom')
|
|
|
},
|
|
|
+ // 优惠券弹出层
|
|
|
+ openCoupon(){
|
|
|
+ this.$refs.couponPopup.open('bottom')
|
|
|
+ },
|
|
|
// 数量调整
|
|
|
changeQuantity(number){
|
|
|
// 如果不是0.表示两侧按钮点击,0表示输入的修改
|
|
@@ -375,6 +489,13 @@
|
|
|
icon:"none"
|
|
|
})
|
|
|
}
|
|
|
+ if ((this.specBtnType === 3 || specBtnType==4) && this.quantity >this.productInfo.regiment_quota){
|
|
|
+ this.quantity = this.productInfo.regiment_quota;
|
|
|
+ uni.showToast({
|
|
|
+ title:"拼团限购"+this.productInfo.regiment_quota+"份",
|
|
|
+ icon:"none"
|
|
|
+ })
|
|
|
+ }
|
|
|
// 如果小于1.设置为1
|
|
|
if( this.quantity < 1 ) {
|
|
|
this.quantity = 1;
|
|
@@ -422,6 +543,31 @@
|
|
|
})
|
|
|
return;
|
|
|
}
|
|
|
+ if (this.specBtnType === 3 || this.specBtnType === 4){
|
|
|
+ if (this.quantity >this.productInfo.regiment_quota){
|
|
|
+ this.quantity = this.productInfo.regiment_quota;
|
|
|
+ uni.showToast({
|
|
|
+ title:"拼团限购"+this.productInfo.regiment_quota+"份",
|
|
|
+ icon:"none"
|
|
|
+ })
|
|
|
+ return;
|
|
|
+ }
|
|
|
+ const timestamp = Math.round(new Date().getTime()/1000).toString();
|
|
|
+ if (timestamp > this.productInfo.regiment_active.end_time){
|
|
|
+ uni.showToast({
|
|
|
+ title:"拼团活动已结束",
|
|
|
+ icon:"none"
|
|
|
+ })
|
|
|
+ return;
|
|
|
+ }
|
|
|
+ if (this.specBtnType === 4 && timestamp > this.productInfo.automatic_info.end_time){
|
|
|
+ uni.showToast({
|
|
|
+ title:"该团已过期",
|
|
|
+ icon:"none"
|
|
|
+ })
|
|
|
+ return;
|
|
|
+ }
|
|
|
+ }
|
|
|
// 地址未填
|
|
|
if( !this.checkedAddr.id ) {
|
|
|
this.showAddrPopup();
|
|
@@ -437,20 +583,37 @@
|
|
|
let productList = [{product_id:this.productInfo.id,buy_num:this.quantity,product_skuid:this.sku_id}];
|
|
|
// 转成json字符串传输
|
|
|
productList = JSON.stringify(productList);
|
|
|
- // 请求接口
|
|
|
- this.$http.request('api/orders/create',{"product_list":productList,"custom_coupon_id":this.customCoupon,'addr_id':this.checkedAddr.id},'post').then((re)=>{
|
|
|
- // 判断结果
|
|
|
- if( re.code == 'success' ) {
|
|
|
- // 处理结果
|
|
|
- this.productInfo.stock = this.productInfo.stock - this.quantity;
|
|
|
- // 关闭弹窗
|
|
|
- this.$refs.specPopup.close();
|
|
|
- // 跳转到报单完成页面
|
|
|
- uni.navigateTo({url:`/pages/orders/completion?params=${encodedArray}`});
|
|
|
- }else{
|
|
|
- uni.showModal({title:re.msg,showCancel:false});
|
|
|
- }
|
|
|
- });
|
|
|
+ if (this.specBtnType === 3 || this.specBtnType===4){//拼团
|
|
|
+ // 请求接口
|
|
|
+ this.$http.request('api/orders/create_regiment',{"product_list":productList,"custom_coupon_id":this.customCoupon,'addr_id':this.checkedAddr.id,'btn_type':this.specBtnType,'regiment_id':this.regiment_id,'regiment_active_id':this.productInfo.regiment_active_id},'post').then((re)=>{
|
|
|
+ // 判断结果
|
|
|
+ if( re.code == 'success' ) {
|
|
|
+ // 处理结果
|
|
|
+ this.productInfo.stock = this.productInfo.stock - this.quantity;
|
|
|
+ // 关闭弹窗
|
|
|
+ this.$refs.specPopup.close();
|
|
|
+ // 跳转到报单完成页面
|
|
|
+ uni.navigateTo({url:`/pages/orders/completion?params=${encodedArray}`});
|
|
|
+ }else{
|
|
|
+ uni.showModal({title:re.msg,showCancel:false});
|
|
|
+ }
|
|
|
+ });
|
|
|
+ }else {
|
|
|
+ // 请求接口
|
|
|
+ this.$http.request('api/orders/create',{"product_list":productList,"custom_coupon_id":this.customCoupon,'addr_id':this.checkedAddr.id},'post').then((re)=>{
|
|
|
+ // 判断结果
|
|
|
+ if( re.code == 'success' ) {
|
|
|
+ // 处理结果
|
|
|
+ this.productInfo.stock = this.productInfo.stock - this.quantity;
|
|
|
+ // 关闭弹窗
|
|
|
+ this.$refs.specPopup.close();
|
|
|
+ // 跳转到报单完成页面
|
|
|
+ uni.navigateTo({url:`/pages/orders/completion?params=${encodedArray}`});
|
|
|
+ }else{
|
|
|
+ uni.showModal({title:re.msg,showCancel:false});
|
|
|
+ }
|
|
|
+ });
|
|
|
+ }
|
|
|
},
|
|
|
// 加入购物车
|
|
|
createCart(){
|
|
@@ -601,7 +764,12 @@
|
|
|
// 计算价格
|
|
|
priceHandler(){
|
|
|
// 总价格
|
|
|
- let priceTotal = this.$decimal.mul(this.productInfo.price,this.quantity);
|
|
|
+ let priceTotal = 0
|
|
|
+ if (this.specBtnType == 3){
|
|
|
+ priceTotal = this.$decimal.mul(this.productInfo.regiment_price,this.quantity);
|
|
|
+ }else {
|
|
|
+ priceTotal = this.$decimal.mul(this.productInfo.price,this.quantity);
|
|
|
+ }
|
|
|
// 扣减数据
|
|
|
priceTotal = priceTotal.sub(this.rebatePrice);
|
|
|
// 小数点保留
|
|
@@ -886,6 +1054,10 @@
|
|
|
line-height: 40rpx;
|
|
|
overflow: hidden;
|
|
|
padding: 10rpx 0rpx;
|
|
|
+ .regiment_title{
|
|
|
+ background-color: red;
|
|
|
+ color: #F9F9F9;
|
|
|
+ }
|
|
|
}
|
|
|
.product_spec{
|
|
|
color: #999999;
|
|
@@ -1001,6 +1173,23 @@
|
|
|
border-top-right-radius: 20rpx;
|
|
|
border-bottom-right-radius: 20rpx;
|
|
|
}
|
|
|
+ .show_order_regiment{
|
|
|
+ float: right;
|
|
|
+ width: 280rpx;
|
|
|
+ height: 80rpx;
|
|
|
+ display: block;
|
|
|
+ color: #FFFFFF;
|
|
|
+ font-size: 25rpx;
|
|
|
+ overflow: hidden;
|
|
|
+ padding: 0rpx 0rpx;
|
|
|
+ text-align: center;
|
|
|
+ margin-right: 35rpx;
|
|
|
+ background-color: #E03519;
|
|
|
+ border-radius: 20rpx;
|
|
|
+ .regiment_countdown{
|
|
|
+ padding-left: 50rpx;
|
|
|
+ }
|
|
|
+ }
|
|
|
.show_car{
|
|
|
float: right;
|
|
|
width: 280rpx;
|
|
@@ -1496,6 +1685,62 @@
|
|
|
background-color: #E03519;
|
|
|
}
|
|
|
}
|
|
|
+ .regiment_popup_list{
|
|
|
+ display: block;
|
|
|
+ overflow: hidden;
|
|
|
+ min-height: 600rpx;
|
|
|
+ margin: 10rpx auto;
|
|
|
+ background: #FFFFFF;
|
|
|
+ padding-bottom: 50rpx;
|
|
|
+ .regiment_popup_item{
|
|
|
+ height: 100rpx;
|
|
|
+ display: block;
|
|
|
+ margin: 10rpx auto;
|
|
|
+ border-bottom: 2rpx solid #DDDDDD;
|
|
|
+ .username{
|
|
|
+ float: left;
|
|
|
+ padding-left: 20rpx;
|
|
|
+ padding-top: 20rpx;
|
|
|
+ .user_image{
|
|
|
+ float: left;
|
|
|
+ display: block;
|
|
|
+ width: 80rpx;
|
|
|
+ height: 80rpx;
|
|
|
+ border-radius: 40%;
|
|
|
+ }
|
|
|
+ .username_text{
|
|
|
+ height: 80rpx;
|
|
|
+ line-height: 80rpx;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ .regiment_center{
|
|
|
+ float: right;
|
|
|
+ padding-right: 18rpx;
|
|
|
+ padding-top: 25rpx;
|
|
|
+ .regiment_center_text{
|
|
|
+ font-size: 25rpx;
|
|
|
+ }
|
|
|
+ .regiment_center_time{
|
|
|
+ font-size: 25rpx;
|
|
|
+ .center_title{
|
|
|
+ float: left;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ .regiment_right{
|
|
|
+ float: right;
|
|
|
+ padding-top: 25rpx;
|
|
|
+ .regiment_but{
|
|
|
+ font-size: 25rpx;
|
|
|
+ background-color: #E03519;
|
|
|
+ color: #F9F9F9;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ .coupon_item:last-child{
|
|
|
+ border-bottom: none;
|
|
|
+ }
|
|
|
+ }
|
|
|
}
|
|
|
// 添加客服
|
|
|
.center_popup{
|
|
@@ -1571,4 +1816,74 @@
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
+ .regiment_list{
|
|
|
+ width: 700rpx;
|
|
|
+ margin-left: 20rpx;
|
|
|
+ background-color: red;
|
|
|
+ border-radius: 10px;
|
|
|
+ .regiment_list_title{
|
|
|
+ padding-top: 20rpx;
|
|
|
+ height: 60rpx;
|
|
|
+ .title1{
|
|
|
+ margin-top: 20rpx;
|
|
|
+ padding-left: 20rpx;
|
|
|
+ color: #F9F9F9;
|
|
|
+ }
|
|
|
+ .title2{
|
|
|
+ padding-left: 350rpx;
|
|
|
+ color: #F9F9F9;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ .regiment{
|
|
|
+ width: 685rpx;
|
|
|
+ height: 250rpx;
|
|
|
+ background-color: #F9F9F9;
|
|
|
+ margin-left: 10rpx;
|
|
|
+ border-radius: 10px;
|
|
|
+ .swiper{
|
|
|
+ height: 250rpx;
|
|
|
+ .swiper-item{
|
|
|
+ .username{
|
|
|
+ float: left;
|
|
|
+ padding-left: 20rpx;
|
|
|
+ padding-top: 20rpx;
|
|
|
+ .user_image{
|
|
|
+ float: left;
|
|
|
+ display: block;
|
|
|
+ width: 80rpx;
|
|
|
+ height: 80rpx;
|
|
|
+ border-radius: 40%;
|
|
|
+ }
|
|
|
+ .username_text{
|
|
|
+ height: 80rpx;
|
|
|
+ line-height: 80rpx;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ .regiment_center{
|
|
|
+ float: right;
|
|
|
+ padding-right: 18rpx;
|
|
|
+ padding-top: 25rpx;
|
|
|
+ .regiment_center_text{
|
|
|
+ font-size: 25rpx;
|
|
|
+ }
|
|
|
+ .regiment_center_time{
|
|
|
+ font-size: 25rpx;
|
|
|
+ .center_title{
|
|
|
+ float: left;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ .regiment_right{
|
|
|
+ float: right;
|
|
|
+ padding-top: 25rpx;
|
|
|
+ .regiment_but{
|
|
|
+ font-size: 25rpx;
|
|
|
+ background-color: #E03519;
|
|
|
+ color: #F9F9F9;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
</style>
|