huangzhe 3 tahun lalu
induk
melakukan
29e6364b1f

+ 7 - 7
src/components/page-component/app-attr/app-attr.vue

xqd
@@ -783,13 +783,13 @@
                 if(this.goods.sign === 'wholesale') {
                     return true;
                 }
-                if (!select_attr) {
-                    uni.showToast({
-                        title: '请先选规格',
-                        icon: 'none'
-                    });
-                    return false;
-                }
+                // if (!select_attr) {
+                //     uni.showToast({
+                //         title: '请先选规格',
+                //         icon: 'none'
+                //     });
+                //     return false;
+                // }
                 if (select_attr.stock <= 0) {
                     uni.showToast({
                         title: '库存不足',

+ 10 - 10
src/core/request.js

xqd
@@ -46,16 +46,16 @@ const request = async function (args) {
     // #endif 
 	
 	/* 添加estate_id的接口 */
-	let goodsByEstate=['api/default/goods-list']
-	if(goodsByEstate.includes(args.url.split('r=')[1])){
-		
-		if(Vue.prototype.$store.state.user.selectedProperties){
-			args.data.estate_id=Vue.prototype.$store.state.user.selectedProperties.id
-		}else{
-			args.data.estate_id=0	
-		}
-	}
-
+			// let goodsByEstate=['api/default/goods-list']
+			// if(goodsByEstate.includes(args.url.split('r=')[1])){
+				
+			// 	if(Vue.prototype.$store.state.user.selectedProperties){
+			// 		args.data.estate_id=Vue.prototype.$store.state.user.selectedProperties.id
+			// 	}else{
+			// 		args.data.estate_id=0	
+			// 	}
+			// }
+	
     const [error, response] = await uni.request({
         url: args.url,
         method: args.method || 'get',

+ 3 - 1
src/pages/case/appointment/appointment-form.vue

xqd
@@ -195,7 +195,9 @@
 						uni.showToast({
 							title: '预约成功',
 							complete:()=>{
-								uni.navigateBack()
+								uni.navigateTo({
+									url:'/pages/case/appointment/appointment-list'
+								})
 							}
 						})
 					} else {

+ 4 - 1
src/pages/case/hot_sale_project.vue

xqd
@@ -95,11 +95,14 @@
 				})
 			},
 			getCompositionList(cat_id=''){
+				let dk_estate_id = uni.getStorageSync('dk_estate_id') ? uni.getStorageSync('dk_estate_id') : 0;
 				this.$request({
 					url:this.$api.composition.list,
 					method:'post',
 					data:{
-						cat_id:cat_id
+						cat_id:cat_id,
+						cat_id:cat_id,
+						estate_id: dk_estate_id
 					}
 				}).then(res=>{
 					if(res.code===0){

+ 33 - 9
src/pages/cats/cats.vue

xqd xqd xqd xqd xqd xqd xqd xqd xqd xqd xqd xqd xqd
@@ -243,7 +243,8 @@
                 item: {},
                 is_over_goods: true,
                 options: {},
-                goodsLoading: false
+                goodsLoading: false,
+				estate_id:''
             }
         },
         computed: {
@@ -280,6 +281,7 @@
                     data: {
                         page: this.page,
                         cat_id: this.cat_id,
+						estate_id:this.estate_id,
                     }
                 }).then(res => {
                     if (res.code === 0) {
@@ -299,6 +301,10 @@
                 });
             }
         },
+		mounted(){
+			
+			
+		},
         methods: {
             onAttr(data) {
                 this.selectAttr = data;
@@ -333,7 +339,7 @@
                 }
                 this.is_over_goods = false;
                 this.$request({
-                    url: `${this.$api.default.goods_list}&page=${this.page}&cat_id=${item.id}`
+                    url: `${this.$api.default.goods_list}&page=${this.page}&cat_id=${item.id}&estate_id=${this.estate_id}`
                 }).then(res => {
                     if (res.code === 0) {
                         this.goods_list.push(...res.data.list);
@@ -346,7 +352,7 @@
             // 下拉分页请求
             req() {
                 this.$request({
-                    url: `${this.$api.default.goods_list}&page=${this.page}&cat_id=${this.classId}`
+                    url: `${this.$api.default.goods_list}&page=${this.page}&cat_id=${this.classId}&estate_id=${this.estate_id}`
                 }).then(response => {
                     if (response.data.list.length > 0) {
                         this.goods.push(...response.data.list);
@@ -376,7 +382,7 @@
 
                 if (this.list[this.activeIndex].child.length === 0) {
                     this.$request({
-                        url: `${this.$api.default.goods_list}&page=${this.page}&cat_id=${item.id}`
+                        url: `${this.$api.default.goods_list}&page=${this.page}&cat_id=${item.id}&estate_id=${this.estate_id}`
                     }).then(res => {
                         let { list, pagination } = res.data;
                         this.goods_list = list;
@@ -389,7 +395,7 @@
 
                 } else {
                     this.$request({
-                        url: `${this.$api.default.goods_list}&page=${this.page}&cat_id=${this.list[this.activeIndex].child[0].id}`
+                        url: `${this.$api.default.goods_list}&page=${this.page}&cat_id=${this.list[this.activeIndex].child[0].id}&estate_id=${this.estate_id}`
                     }).then(res => {
                         let { list, pagination } = res.data;
                         this.goods_list = list;
@@ -413,7 +419,8 @@
                     method: 'get',
                     data: {
                         page: 1,
-                        cat_id: item.id
+                        cat_id: item.id,
+						estate_id:this.estate_id
                     }
                 });
                 if (res.code === 0) {
@@ -517,7 +524,8 @@
                     method: 'get',
                     data: {
                         page: this.page,
-                        cat_id: this.cat_id
+                        cat_id: this.cat_id,
+						estate_id:this.estate_id
                     }
                 });
                 if (res.code === 0) {
@@ -537,7 +545,8 @@
                         method: 'get',
                         data: {
                             page: this.page,
-                            cat_id: data.id
+                            cat_id: data.id,
+							estate_id:this.estate_id
                         }
                     });
                     if (res.code === 0) {
@@ -647,6 +656,7 @@
                             data: {
                                 page: 1,
                                 cat_id: this.cat_id,
+								estate_id:this.estate_id
                             }
                         });
                         if (res.code === 0) {
@@ -690,6 +700,7 @@
                                 data: {
                                     page: 1,
                                     cat_id: this.cat_id,
+									estate_id:this.estate_id
                                 }
                             });
                             if (res.code === 0) {
@@ -704,9 +715,22 @@
             }
         },
 		onShow(){
+			let s=this.$store.state.user.isEnterSales;
+			console.log(s,999999999999);
+			if(s){
+				this.estate_id = uni.getStorageSync('dk_estate_id');
+				console.log(this.estate_id)
+			};
 			uni.hideHomeButton()
 		},
-        onLoad(options) { this.$commonLoad.onload(options);
+        onLoad(options) { 
+			let s=this.$store.state.user.isEnterSales;
+			console.log(s,999999999999);
+			if(s){
+				this.estate_id = uni.getStorageSync('dk_estate_id');
+				console.log(this.estate_id)
+			};
+			this.$commonLoad.onload(options);
             this.$commonLoad.onload();
 
             this.options = options;

+ 4 - 1
src/pages/cats/style-seven.vue

xqd
@@ -57,7 +57,10 @@
                 uni.navigateTo({url: data});
             },
             getChild(key, i) {
-                uni.navigateTo({url: this.list[this.activeIndex].child[key].child[i].page_url});
+                 // uni.navigateTo({url: this.list[this.activeIndex].child[key].child[i].page_url});
+                             uni.navigateTo({
+            					url: this.list[this.activeIndex].child[key].child[i].page_url,
+            				});
             },
             route_advert(data) {
                 this.$emit('route_advert', data);

+ 3 - 3
src/pages/goods/goods.vue

xqd xqd xqd
@@ -80,7 +80,7 @@
             ></bd-kb>
             <!--套餐组合-->
             <view  class="goods-composition" v-if="composition && composition.list.length > 0">
-                <view class="goods-composition-title">套装组合</view>
+                <view class="goods-composition-title">套装</view>
                 <uni-swiper-dot :current="current" :theme="getTheme" :info="composition.list" mode="customize">
                     <swiper @change="change" class="goods-composition-swiper" :current="current" :autoplay="true">
                         <swiper-item v-for="item in composition.list" :key="item.id">
@@ -90,7 +90,7 @@
                 </uni-swiper-dot>
 				<navigator url="/pages/case/hot_sale_project" hover-class="none">
                 <view class="goods-composition-more main-between cross-center">
-                    <view>更多套装组合</view>
+                    <view>更多套装</view>
                     <image src="https://shop.9026.com/web/statics/image/mall/static/icon/arrow-right.png"></image>
                 </view>
 				</navigator>
@@ -759,7 +759,7 @@
         }
         .goods-composition-more {
             margin: 20rpx  auto 4rpx auto;
-            width: 226rpx;
+            width: 190rpx;
             padding: 0 24rpx;
             height: 56rpx;
             line-height: 54rpx;

+ 8 - 1
src/pages/goods/list.vue

xqd xqd xqd
@@ -50,6 +50,7 @@
                 loading: false,
                 sign: '',
 				mch_id:'',
+				dk_estate_id: 0,
             }
         },
 	    onLoad(options) { this.$commonLoad.onload(options);
@@ -60,6 +61,11 @@
             if(options.coupon_id > 0) {
                 this.coupon_id = options.coupon_id
             }
+			if(uni.getStorageSync('dk_estate_id')){
+							this.dk_estate_id = uni.getStorageSync('dk_estate_id');
+						}else{
+							this.dk_estate_id = 0;
+						}
             this.sign = options.sign ? options.sign : '';
             this.request().then(() => {
             	this.first_req = false;
@@ -124,7 +130,8 @@
                         keyword: '',
                         coupon_id: this.coupon_id,
                         sign: this.sign,
-						mch_id:this.mch_id
+						mch_id:this.mch_id,
+						estate_id: this.dk_estate_id,
 	                }
                 });
                 if (res.code === 0) {

+ 1 - 1
src/pages/index/binding/binding.vue

xqd
@@ -200,7 +200,7 @@
 			},
 			selectBuild() {
 				uni.navigateTo({
-					url: `/pages/sale/properties/addProperties?regionId=${JSON.stringify(this.regionId)}`
+					url: `/pages/sale/properties/addProperties?regionId=${JSON.stringify(this.regionId)}?qid=0`
 				})
 			},
 			selectSale() {

+ 4 - 3
src/pages/index/hxj_index_component.vue

xqd
@@ -151,12 +151,13 @@
 						<view class="b_card main-between" >
 							<view class="main-left cross-center left">
 								<view class="i">{{item.pintuanGoods.time_str.day}}</view>
-								<view class="q">:</view>
+								<view class="q"></view>
 								<view class="i">{{item.pintuanGoods.time_str.hou}}</view>
-								<view class="q">:</view>
+								<view class="q"></view>
 								<view class="i">{{item.pintuanGoods.time_str.min}}</view>
-								<view class="q">:</view>
+								<view class="q"></view>
 								<view class="i">{{item.pintuanGoods.time_str.sec}}</view>
+								<view class="q">秒</view>
 							</view>
 							<view class="right">
 								<view class="price"><text class="rmb">¥</text><text>{{item.pintuan_price}}</text><text

+ 2 - 0
src/pages/index/index.vue

xqd
@@ -138,6 +138,8 @@
 			wx.showShareMenu({
 				menus: ['shareAppMessage', 'shareTimeline']
 			});
+			uni.removeStorageSync('dk_estate_id');
+			uni.removeStorageSync('dk_sale_id');
 			const updateManager = wx.getUpdateManager();
 			if (updateManager) {
 				updateManager.onCheckForUpdate(function(res) {

+ 3 - 3
src/pages/order-submit/app-coupon-pick.vue

xqd xqd xqd
@@ -218,7 +218,7 @@
             this.is_gift = typeof(this.theme) == 'string' && this.theme.indexOf('gift') >= 0 ? true : false;
             this.loadData();
             this.loadData(true);
-			console.log(this.plugin)
+			// console.log(this.plugin)
         },
         methods: {
             loadData(loadCantUse = false) {
@@ -256,7 +256,7 @@
 								maxcoupomale=maxcouponList[0]	
 								this.$store.commit('orderSubmit/mutmaxValueOfY', maxcoupomale);
 								const formData = this.$store.state.orderSubmit.formData;
-								console.log(maxcoupomale.id,"456464564646")
+								// console.log(maxcoupomale.id,"456464564646")
 								formData.list[this.mchIndex].user_coupon_id = maxcoupomale.id;
 								this.$store.commit('orderSubmit/mutSetFormData', formData);
 								let usemaxcoup=this.$store.getters['orderSubmit/getusemaxCoup'];
@@ -288,7 +288,7 @@
                     }
                 }
 				
-				console.log('this.list',this.list)
+				// console.log('this.list',this.list)
                 const formData = this.$store.state.orderSubmit.formData;
                 formData.list[this.mchIndex].user_coupon_id = data;
                 this.$store.commit('orderSubmit/mutSetFormData', formData);

+ 28 - 9
src/pages/order-submit/order-submit.vue

xqd xqd xqd xqd xqd xqd xqd xqd xqd xqd
@@ -636,6 +636,10 @@
 			},
 		},
 		onLoad(options) {
+			let s=this.$store.state.user.isEnterSales
+			if(s){
+				this.$store.commit('user/isOrderBehalfBustomers', true);
+			}
 			console.log(options,"6556")
 			this.$commonLoad.onload(options);
 			let mchList = JSON.parse(options.mch_list);
@@ -722,6 +726,7 @@
 				},
 			},
 			customerInfo(nVal, oVal) { //获取客户token代客下单用
+				
 				this.$request({
 					url: this.$api.sale.get_token,
 					data: {
@@ -732,7 +737,7 @@
 					if (res.code === 0) {
 						this.$store.commit('user/customerAccessToken', res.data.access_token);
 						this.$store.commit('user/isOrderBehalfBustomers', true);
-
+						
 						delete this.previewData.address
 						const formData = this.$store.state.orderSubmit.formData;
 						const mutusemaxCoup= this.$store.getters['orderSubmit/getusemaxCoup'];
@@ -904,6 +909,14 @@
 			loadPreviewData() {
 				// let obj = this.$store.state.orderSubmit.formData
 				// let formDateNew = JSON.stringify(obj)
+				// let s=this.$store.state.user.isEnterSales
+				// if(s){
+				// 	this.$store.commit('user/isOrderBehalfBustomers', true);
+				// }
+				uni.showLoading({
+					mask: true,
+					title: '加载中',
+				});
 				setTimeout(() => {
 					let obj1 = this.$store.state.orderSubmit.formData
 					let formDateNew1 = JSON.stringify(obj1)
@@ -950,10 +963,7 @@
 					});
 				}, 1600);
 				this.loadingPreviewData = true;
-				uni.showLoading({
-					mask: true,
-					title: '加载中',
-				});
+				
 				
 				this.$request({
 					url: this.previewUrl,
@@ -963,7 +973,7 @@
 					},
 				}).then(response => {
 					this.loadingPreviewData = false;
-					uni.hideLoading();
+					// uni.hideLoading();
 					if (response.code === 0) {
 						if (response.data.allZiti && !response.data.address) {
 							response.data.address = {
@@ -993,7 +1003,7 @@
 					}
 				}).catch(() => {
 					this.loadingPreviewData = false;
-					uni.hideLoading();
+					// uni.hideLoading();
 				});
 			},
 			navigateStore(mchIndex) {
@@ -1211,6 +1221,7 @@
 				}).then(response => {
 					if (response.code === 0) {
 						this.getPayOrderId(response.data.queue_id, response.data.token);
+							
 					} else {
 						this.submitLock = false;
 						uni.hideLoading();
@@ -1252,8 +1263,10 @@
 									content: '代客下单成功',
 									showCancel: false,
 									success: function(res) {
-										if (res.confirm) {
-											uni.navigateBack()
+										if (res.confirm) {	
+											uni.navigateTo({
+												url:"/pages/sale/cusmter/dklist"
+											})
 										}
 									}
 								});
@@ -1365,6 +1378,12 @@
 				}
 			},
 			subscribe() {
+				// let s=this.$store.state.user.isEnterSales
+				// console.log(s,878787878)
+				// if(s){
+				// 	console.log(s,878787878)
+				// 	this.$store.commit('user/isOrderBehalfBustomers', true);
+				// }			
 				if (this.p_pay_id) {
 					this.pay({
 						id: this.p_pay_id

+ 5 - 1
src/pages/sale/cusmter/addCustomer.vue

xqd
@@ -209,8 +209,12 @@
 			},
 			selectEstate(index) {
 				this.formIndex=index
+				let ap={
+					"qid":2,
+					"estates":this.formadatd
+				}
 				uni.navigateTo({
-					url: '/pages/sale/properties/addProperties?qid=2'
+					url: '/pages/sale/properties/addProperties?ap='+JSON.stringify(ap)
 				})
 			},
 			submit(){

+ 42 - 4
src/pages/sale/cusmter/dklist.vue

xqd xqd xqd xqd
@@ -41,7 +41,7 @@
 				<view class="lp-list" v-if="item.show">
 					<view class="lp-list-item" v-for="(lpitem,lpindex) in item.user_estates" v-if="item.user_estates">
 						<view class="lp-item-title">{{lpitem.estate.name}}</view>
-						<view class="lp-item-do" @click="gotoOrder(lpitem.estate_id,item.sale_id)" style="color: #A18353;">去下单
+						<view class="lp-item-do" @click="gotoOrder(lpitem.estate_id,item.sale_id,item.user_id)" style="color: #A18353;">去下单
 							<image class="off-open-sider-img" style="width: 13rpx;height: 21rpx;"
 							src="/static/image/icon/order-submit/dkorder.png" mode=""></image>
 						</view>						
@@ -90,6 +90,11 @@
 			this.why=option.why
 			this.dk = option.dk
 			console.log(this.dk)
+			let s=this.$store.state.user.isEnterSales
+			if(s){
+				this.$store.commit('user/customerAccessToken', '');
+				this.$store.commit('user/isOrderBehalfBustomers', false);
+			}
 		},
 		onShow() {
 			this.getData()
@@ -170,7 +175,7 @@
 			},	
 			
 			//去分类下单
-			gotoOrder(estate_id,sale_id){
+			gotoOrder(estate_id,sale_id,user_id){
 				console.log(estate_id)
 				try{
 					uni.setStorageSync('dk_estate_id', estate_id);
@@ -182,12 +187,45 @@
 				// 同步方式获取数据, 阻塞形式,如果做完了的话代码才会向下进行
 				try{
 					const dk_estate_id = uni.getStorageSync('dk_estate_id');					
-					const dk_user_id = uni.getStorageSync('dk_sale_id');
+					const dk_sale_id = uni.getStorageSync('dk_sale_id');
 					console.log("const value = uni.getStorageSync('dk_estate_id,dk_sale_id') 同步获取 = " + dk_estate_id,dk_sale_id)
 				}catch(e){
 					console.log(e)
 					//TODO handle the exception
-				};				
+				};	
+							this.$request({
+								url: this.$api.sale.get_token,
+								data: {
+									user_id: user_id
+								},
+								method: 'post'
+							}).then(res => {
+								if (res.code === 0) {
+									uni.setStorage({
+										key: 'storage_key',
+										data: 'hello',
+										success: function () {
+											console.log('success');
+										}
+									});
+									uni.setStorage({
+										key: 'customerAccessToken',
+										data: res.data.access_token,
+										success: function () {
+											console.log('success');
+										}
+									});
+									this.$store.commit('user/customerAccessToken', res.data.access_token);
+									// this.$store.commit('user/isOrderBehalfBustomers', true);
+									this.$store.commit('user/isEnterSales', true);
+									
+								} else {
+									uni.showToast({
+										title: res.msg,
+										icon: 'none'
+									})
+								}
+							})
 				uni.navigateTo({
 					url: `/pages/cats/cats`
 				})

+ 74 - 9
src/pages/sale/properties/addProperties.vue

xqd xqd xqd xqd
@@ -65,20 +65,38 @@
 				noMore:false,
 				selectIndex:-1,
 				regionId:{},
-				is_unbound:0
+				is_sale_unbound:0,
+				is_sale_myself:'',
+				audit_state:'',
+				ap:{},
+				is_unbound:''
 			};
 		},
 		onLoad(option) {
+			
 			_this=this
-			console.log(option)
+			
 			'qid' in option?this.qid=JSON.parse(option.qid):''
 			'regionId' in option?this.regionId=JSON.parse(option.regionId):''
 			'type' in option?this.type=option.type:''
-			this.getData(1)
 			
+			'ap' in option?this.ap=JSON.parse(option.ap):''
+			'ap' in option?this.qid=JSON.parse(option.ap).qid:''
+			
+			this.getData(1)
 		},
 		methods:{
 			selectEstate(index,name,id,item){
+				if(item.undiabled==true){
+					uni.showModal({
+						title: '提示',
+							content: '客户已绑定过该楼盘',
+						success: function (res) {
+								
+							}
+					})
+					return
+				}
 					let pages = getCurrentPages();
 					let currPage = pages[pages.length - 1]; //当前页面
 					let prevPage = pages[pages.length - 2]; //上一个页面
@@ -115,7 +133,15 @@
 				},800)
 			},
 			getData(page){
+				
 				if(this.qid==2){
+					this.is_sale_myself=1
+					this.audit_state=2
+				}
+				if(this.qid==3){
+					this.is_sale_unbound=1
+				}
+				if(this.qid==0){
 					this.is_unbound=1
 				}
 				this.$showLoading()
@@ -123,19 +149,58 @@
 					url: this.$api.sale.estate_list,
 					data: {
 						page: page,
-						is_myself: 0,
-						name: this.name,
-						audit_state:this.qid,
 						is_unbound:this.is_unbound,
+						is_sale_myself:this.is_sale_myself,
+						name:this.name,
+						audit_state:this.audit_state,
+						is_sale_unbound:this.is_sale_unbound,
 						...this.regionId
 					},
 					method: 'post'
 				}).then(res=>{
 					if(res.code===0){
+						
 						if(this.page===1){
-							this.dataList=res.data.list
+							if(this.ap){
+								let apea=[]
+								apea=this.ap.estates
+								let apdata=res.data.list
+								let as=apdata.map((item)=>{
+									for(let i in apea){
+										console.log(apea[i].estate.id,item.id)
+										if(apea[i].estate.id==item.id){
+											item.undiabled=true
+										}
+										
+									}
+									return item
+								})
+								console.log(as)
+								this.dataList=as
+								console.log(this.dataList)
+							}else{
+								this.dataList=res.data.list
+							}							
 						}else{
-							this.dataList=this.dataList.concat(res.data.list)
+							if(this.ap){
+								let apea=[]
+								apea=this.ap.estates
+								
+								let apdata=res.data.list
+								let as=apdata.map((item)=>{
+									for(let i in apea){
+										console.log(apea[i].estate.id,item.id)
+										if(apea[i].estate.id==item.id){
+											item.undiabled=true
+										}
+										
+									}
+								})
+								this.dataList=this.dataList.concat(as)
+								
+							}else{
+								this.dataList=this.dataList.concat(res.data.list)
+							}								
 						}
 						if(res.data.list.length<20){
 							this.noMore=true
@@ -146,7 +211,7 @@
 			}
 		},
 		onReachBottom() {
-			if(!noMore){
+			if(!this.noMore){
 				this.page++
 				this.getData(this.page)
 			}

+ 1 - 1
src/pages/sale/properties/properties.vue

xqd
@@ -27,7 +27,7 @@
 			<view class="no-more" v-if="isNoMore && dataList.length>0">没有更多了...</view>
 			<app-no-goods v-if="dataList.length===0" :title="`暂无数据`" background="#f7f7f7"></app-no-goods>
 			<view style="100rpx"></view>
-			<navigator url="/pages/sale/properties/addProperties?qid=0" hover-class="navigator-hover">
+			<navigator url="/pages/sale/properties/addProperties?qid=3" hover-class="navigator-hover">
 				<button class="addPro" :class="[`coupon-footer`,iphone_x? `iphone_x`:``]" type="default">添加楼盘</button>
 				<!-- <view :class="[`footer-space`,iphone_x? `iphone_x`:``]"></view>
 			<view :class="[`coupon-footer`,iphone_x? `iphone_x`:``]" @click="toList">去领券</view> -->

+ 12 - 3
src/plugins/pt/components/app-buttom-button.vue

xqd xqd xqd
@@ -12,9 +12,9 @@
                 </text>
                 <text class="app-text">单独购买</text>
 			</view>
-			<view class="bd-btn but dir-top-nowrap box-grow-1" :style="{'background': item.buy_goods_auth ? theme.background_gradient_btn : '#999999','color': theme.main_text}" :class="[is_alone_buy === 1 ? 'bd-btn-right' : '']"  @click="turnOn(true)">
+			<view class="bd-btn but  flex1" :style="{'background': item.buy_goods_auth ? theme.background_gradient_btn : '#999999','color': theme.main_text}" :class="[is_alone_buy === 1 ? 'bd-btn-right' : '']"  @click="turnOn(true)">
                 <text class="price">{{group_price}}</text>
-                <text class="app-text">{{groups[set_group_num].groups.people_num}}人拼团</text>
+                <text class="app-text" style="padding-left: 20rpx;">{{groups[set_group_num].groups.people_num}}人拼团</text>
 			</view>
 		</view>
         <view v-else class="bd-btn bd-oversell-btn box-grow-1">
@@ -234,6 +234,14 @@ import bdService from '@/components/page-component/goods/bd-service.vue';
 </script>
 
 <style scoped lang="scss">
+	.flex1{
+		display: flex;
+		width: 540rpx;
+		height: 70rpx;
+		line-height: 70rpx;
+		justify-content: center;
+		align-items: center;
+	}
     .app-single-button {
         background-color: #feeeee;
         text {
@@ -253,8 +261,9 @@ import bdService from '@/components/page-component/goods/bd-service.vue';
     }
 
     .price {
+		
         font-size: #{24rpx};
-        margin-top: #{5rpx};
+        // margin-top: #{5rpx};
     }
     .app-text {
         font-size: #{20rpx};

+ 1 - 1
src/plugins/pt/components/app-group-avatar-short.vue

xqd
@@ -308,7 +308,7 @@
 			.app-content {
 				
 				width: #{702rpx};
-				background-color: #ffe7e7;
+				// background-color: #ffe7e7;
 				.app-item {
 					width: #{70rpx};
 					height: #{82rpx};