ソースを参照

修改添加客户问题

huangzhe 3 年 前
コミット
baeb84f8f2

+ 1 - 0
src/components/page-component/app-area-picker/app-area-picker.vue

xqd
@@ -110,6 +110,7 @@ export default {
 		},
 		place(newData,old){
 			console.log('地址变化',newData)
+			this.$emit('place', newData);
 		}
 	},
 

+ 0 - 1
src/components/page-component/goods/u-attr.vue

xqd
@@ -403,7 +403,6 @@
 				let copyAttr = this.copyAttr;
 				let groupLength = copyGroup.length;
 				let select = [];
-                console.log(copyAttr,copyGroup,3333);
 				copyAttr.forEach(i => {
 					let attr_list = i.attr_list;
 					attr_list.forEach(j => {

+ 22 - 12
src/pages/index/binding/bindingSale.vue

xqd xqd
@@ -3,7 +3,7 @@
 		<image class="a" src="https://t17.9026.com/web/statics/image/index/addcustomerbg.png" style="margin-bottom: 41rpx;" mode=""></image>
 		<view class="main-left cross-center search">
 			<image src="https://t17.9026.com/web/statics/image/index/search.png" mode=""></image>
-			<input style="width: 560rpx;" type="text" value="" placeholder="输入销售人员姓名" placeholder-style="font-size:28rpx;color:#999;" />
+			<input style="width: 560rpx;" type="text" v-model="name" placeholder="输入销售人员姓名" @confirm="search" placeholder-style="font-size:28rpx;color:#999;" />
 		</view>
 		
 		<view class="main">
@@ -42,23 +42,33 @@
 				
 				dataList:[],
 				estateName:'',
+				estate_id:'',
+				name:'',
 			};
 		},
 		onLoad(option) {
 			this.estateName=option.name
-			this.$request({
-				url:this.$api.index.sale_list,
-				data:{
-					estate_id:option.estate_id
-				},
-				method:'post'
-			}).then(res=>{
-				if(res.code===0){
-					this.dataList=res.data
-				}
-			})
+			this.estate_id=option.estate_id
+			this.getData()
 		},
 		methods:{
+			search(){
+				this.getData()
+			},
+			getData(){
+				this.$request({
+					url:this.$api.index.sale_list,
+					data:{
+						estate_id:this.estate_id,
+						name:this.name
+					},
+					method:'post'
+				}).then(res=>{
+					if(res.code===0){
+						this.dataList=res.data
+					}
+				})
+			},
 			selectSale(index,id,name){
 				this.selectSaleIndex=index
 				var pages = getCurrentPages();

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

xqd
@@ -270,7 +270,7 @@
 		},
 		data() {
 			return {
-				ptCurrent:1,//拼图轮播第几个
+				ptCurrent:0,//拼图轮播第几个
 				pageData: '',
 				swiperKey: 0, //轮播位置
 				bottom_goods_index:0, //底部商品分类索引

+ 4 - 2
src/pages/index/index.scss

xqd xqd
@@ -444,7 +444,7 @@
 			width: 379rpx;
 			height: 204rpx;
 			background: #fefffe;
-			padding: 31rpx 37rpx;
+			padding: 59rpx 37rpx;
 			position: absolute;
 			bottom: 0;
 			left: 0;
@@ -465,12 +465,14 @@
 	.bottom {
 		margin-top: 40rpx;
 		.item {
-			width: 320rpx;
+			width: 323rpx;
 			margin-bottom: 35rpx;
 			border-radius: 20rpx;
 			.cover {
 				width: 320rpx;
 				height: 250rpx;
+				border-radius: 14rpx;
+				overflow: hidden;
 			}
 		}
 		& > .item:nth-child(2n-1) {

+ 3 - 6
src/pages/order-submit/order-submit.vue

xqd xqd
@@ -1,12 +1,10 @@
 <template>
 	<app-layout>
 		<view class="safe-area-inset-bottom">
-			<!-- <image style="height: 396rpx;width: 100%;position: absolute;top: 0;left: 0;" src="../../static/image/index/appointment_top.png" mode=""></image> -->
 			<!-- 地址、商户、配送、商品、优惠、费用信息 -->
 			<view class="page" v-if="previewData">
-				<view style="background-image: url(../../static/image/index/appointment_top.png);background-size: 100%;padding-bottom: 24rpx;">
-					<app-nav-bar :fixed="true" :background-color="''" :title="'确认订单'" :xStyle="1" :hasMallSetting="2"
-						:hasHeight="true"></app-nav-bar>
+				<view style="background-image: url(../../static/image/index/appointment_top.png);background-size: 100% 100%;padding-bottom: 24rpx;">
+					<app-nav-bar :fixed="true" :background-color="''" :title="'确认订单'" :xStyle="1" :hasMallSetting="2" :hasHeight="true"></app-nav-bar>
 					<template v-if="getIsEnterSales">
 						<view v-if="!customerInfo" @click="navCustomer" class="select-customer" >
 							请选择客户
@@ -15,8 +13,7 @@
 							客户:{{customerInfo.name}} 手机号:{{customerInfo.mobile}}
 						</view>
 					</template>
-					<view v-if="!previewData.hasCity && previewData.show_address !== false && previewData.hasRecipient"
-						class="group">
+					<view v-if="!previewData.hasCity && previewData.show_address !== false && previewData.hasRecipient" class="group">
 						<app-address-bar :address="previewData.address" :has-ziti="previewData.has_ziti"
 							:all-ziti="previewData.allZiti" @address-input="handleAddressInput"></app-address-bar>
 					</view>

+ 2 - 2
src/pages/sale/components/app-my-income.vue

xqd xqd
@@ -3,7 +3,7 @@
 		<view class="item" @click="goPage('/pages/sale/mySaleOrder')">
 			<view class="title">订单总额(万)</view>
 			<view class="main-between cross-center">
-				<view class="num">{{userInfo.salesperson_info.order_total_amount}}</view>
+				<view class="num">{{(userInfo.salesperson_info.order_total_amount/10000).toFixed(2)}}</view>
 				<image style="width: 12rpx;height: 21rpx;" src="https://t17.9026.com/web/statics/image/index/arrow-right-gray.png"
 					mode=""></image>
 			</view>
@@ -12,7 +12,7 @@
 		<view class="item">
 			<view class="title">我的提成(万)</view>
 			<view class="main-between cross-center">
-				<view class="num">{{userInfo.salesperson_info.order_total_commission}}</view>
+				<view class="num">{{(userInfo.salesperson_info.order_total_commission/10000).toFixed(2)}}</view>
 				<image style="width: 12rpx;height: 21rpx;" src="https://t17.9026.com/web/statics/image/index/arrow-right-gray.png"
 					mode=""></image>
 			</view>

+ 6 - 3
src/pages/sale/cusmter/addCustomer.vue

xqd xqd xqd xqd xqd
@@ -25,7 +25,7 @@
 		</view>
 		<view class="oinfo" v-for="(item,index) in form.estates" :key="index">
 			<view class="main-between cross-center linp border_bottom" >
-				<view class="field" style="font-weight: bold;" >{{index===0?'楼盘信息':''}}</view>
+				<view class="field" style="font-weight: bold;" >楼盘信息</view>
 				<view class="main-right" style="width: 210rpx;height: 100%;">
 					<view class="cross-center curd-btn" @click="addOrDel()" v-if="index==form.estates.length-1">
 						<image src="https://t17.9026.com/web/statics/image/sale/tianjia.png" mode=""></image>添加
@@ -75,7 +75,7 @@
 				formIndex:'',
 				form: {
 					sale_customer_id: '',
-					avatar: '',
+					avatar: 'https://swdzshopv4.oss-cn-chengdu.aliyuncs.com/uploads/20220111/aeec87ce2c9483ae057754ada306bb22.jpg',
 					mobile: '',
 					name: '',
 					estates: []
@@ -146,11 +146,12 @@
 			'estateInfo' in currPage.$vm ? this.form.estates[this.formIndex].estate_name = currPage.$vm.estateInfo.name : ''
 			'estateInfo' in currPage.$vm ? this.form.estates[this.formIndex].estate_id = currPage.$vm.estateInfo.id : ''
 			'estateInfo' in currPage.$vm ? this.form.estates[this.formIndex].multiIndex = currPage.$vm.estateInfo.multiIndex : ''
+			
 		},
 		methods: {
 			addOrDel(i){
 				if(i===undefined){
-					this.form.estates.push({estate_id: '',estate_no: '',room_no: ''})
+					this.form.estates.push({estate_id: '',estate_no: '',room_no: '',regionId:{province_id:'',city_id:'',district_id:''},region:''})
 				}else{
 					if(this.form.estates.length===1)return;
 					uni.showModal({
@@ -165,6 +166,7 @@
 				}
 			},
 			areaEvent(data,index=this.formIndex) {
+				console.log('data',data)
 				if (data) {
 					this.form.estates[index].regionId.province_id = data.province.id;
 					this.form.estates[index].regionId.city_id = data.city.id;
@@ -273,6 +275,7 @@
 						uni.showToast({
 							title:this.form.sale_customer_id?'编辑成功':'添加成功',
 						})
+						uni.navigateBack()
 					}else{
 						uni.showToast({
 							title:res.msg,

+ 1 - 1
src/pages/sale/cusmter/info.vue

xqd
@@ -42,7 +42,7 @@
 				<view class="tei">是否确认并认证该用户楼盘信息?</view>
 				<view class="main-between">
 					<navigator :url="`/pages/sale/cusmter/addCustomer?id=${info.id}`" @click="show = false" hover-class="none">
-					<view class=" btn left">认证成功</view>
+					<view class=" btn left">认证</view>
 					</navigator>
 					<view class=" btn right" @click="show = false">信息有误</view>
 				</view>

+ 2 - 0
src/pages/sale/cusmter/list.vue

xqd
@@ -55,6 +55,8 @@
 		},
 		onLoad(option) {
 			this.why=option.why
+		},
+		onShow() {
 			this.getData()
 		},
 		onReachBottom() {

+ 2 - 2
src/pages/sale/mySaleOrder.vue

xqd
@@ -49,8 +49,8 @@
 					</view> -->
 					<view class="main-between cross-center">
 						<view class="date">{{item.status_text}}</view>
-						<image class="del" src="https://t17.9026.com/web/statics/image/user-center/del.png" mode="">
-						</image>
+						<!-- <image class="del" src="https://t17.9026.com/web/statics/image/user-center/del.png" mode="">
+						</image> -->
 					</view>
 				</view>
 				<view class="center">

+ 108 - 64
src/pages/sale/properties/properties.vue

xqd xqd xqd
@@ -1,70 +1,103 @@
 <template>
-	<view class="properties_list">
-		<view class="main-around tabs">
-			<view class="tab" :class="{'select':audit_state===2}" @click="audit_state=2">已通过<view class="under_line"></view></view>
-			<view class="tab" :class="{'select':audit_state===1}" @click="audit_state=1">待通过<view class="under_line"></view></view>
-		</view>
-		<view class="item main-left" v-for="(item,index) in dataList">
-			<view class="left">
-				<image :src="item.cover_img" mode=""></image>
+	<app-layout>
+		<view class="properties_list">
+			<view class="main-around tabs">
+				<view class="tab" :class="{'select':audit_state===2}" @click="audit_state=2">已通过<view
+						class="under_line"></view>
+				</view>
+				<view class="tab" :class="{'select':audit_state===1}" @click="audit_state=1">待通过<view
+						class="under_line"></view>
+				</view>
 			</view>
-			<view class="main-between-y right ">
-				<view class="title">{{item.name}}</view>
-				<view class="addr"><image style="width: 18rpx;height: 20rpx;margin-right: 12rpx;" src="https://t17.9026.com/web/statics/image/index/location.png"></image>{{item.address}}</view>
-				<view class="content t-omit-two" v-html="item.details"></view>
+			<view class="item main-left" v-for="(item,index) in dataList">
+				<view class="left">
+					<image :src="item.cover_img" mode=""></image>
+				</view>
+				<view class="main-between-y right ">
+					<view class="title">{{item.name}}</view>
+					<view class="addr">
+						<image style="width: 18rpx;height: 20rpx;margin-right: 12rpx;"
+							src="https://t17.9026.com/web/statics/image/index/location.png"></image>{{item.address}}
+					</view>
+					<view class="content t-omit-two" v-html="item.details"></view>
+				</view>
+				<image class="bg" src="https://t17.9026.com/web/statics/image/sale/properties_gradual.png" mode="">
+				</image>
 			</view>
-			<image class="bg" src="https://t17.9026.com/web/statics/image/sale/properties_gradual.png" mode=""></image>
-		</view>
-		<view style="100rpx"></view>
-		<navigator url="/pages/sale/properties/addProperties" 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="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" 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> -->
-		</navigator>
-	</view>
+			</navigator>
+		</view>
+	</app-layout>
 </template>
 
 <script>
+	import appNoGoods from '@/components/page-component/app-no-goods/app-no-goods.vue';
 	export default {
+		components: {
+			appNoGoods
+		},
 		data() {
 			return {
-				audit_state:2,
-				dataList:[],
-				iphone_x:false,
+				audit_state: 2,
+				dataList: [],
+				iphone_x: false,
+				isNoMore: false,
+				page: 1,
 			};
 		},
-		watch:{
-			audit_state(val){
-				this.getDate(1,'')
+		watch: {
+			audit_state(val) {
+				this.getDate()
 			},
 		},
 		onShow() {
-			this.getDate(1,'')
+			this.getDate()
 		},
 		onLoad() {
-			 uni.getSystemInfo({
-			     success: (res)=> {
-			         if(res.model.indexOf('iPhone X') > -1 || res.model.indexOf('iPhone 11') > -1 || res.model.indexOf('iPhone11') > -1 || res.model.indexOf('iPhone12') > -1 || res.model.indexOf('Unknown Device') > -1) {
-			             this.iphone_x = true;
-			         }
-			     }
-			 })
+			uni.getSystemInfo({
+				success: (res) => {
+					if (res.model.indexOf('iPhone X') > -1 || res.model.indexOf('iPhone 11') > -1 || res.model
+						.indexOf('iPhone11') > -1 || res.model.indexOf('iPhone12') > -1 || res.model.indexOf(
+							'Unknown Device') > -1) {
+						this.iphone_x = true;
+					}
+				}
+			})
+		},
+		onReachBottom() {
+			if (!this.isNoMore) {
+				this.getDate()
+			}
 		},
-		methods:{
-			getDate(page,name){
+		methods: {
+			getDate() {
+				this.$showLoading()
 				this.$request({
 					url: this.$api.sale.estate_list,
 					data: {
-						page: page,
+						page: this.page,
 						is_sale_myself: 1,
-						name: name,
-						audit_state:this.audit_state
+						audit_state: this.audit_state
 					},
 					method: 'post'
-				}).then(res=>{
-					if(res.code===0){
-						this.dataList=res.data.list
+				}).then(res => {
+					if (res.code === 0) {
+						if (this.page === 1) {
+							this.dataList = res.data.list
+						} else {
+							this.dataList = this.dataList.concat(res.data.list)
+						}
+						if (res.data.list.length < 20) {
+							this.isNoMore = true
+						}
 					}
+					this.$hideLoading()
 				})
 			}
 		}
@@ -73,47 +106,51 @@
 
 <style lang="scss" scoped>
 	.footer-space {
-	    height: #{100rpx};
+		height: #{100rpx};
 	}
-	
+
 	.footer-space.iphone_x {
-	    height: #{150rpx};
+		height: #{150rpx};
 	}
+
 	.coupon-footer {
-	    position: fixed;
-	    bottom: 0;
-	    left: 0;
-	    right: 0;
-	    width: 100%;
-	    height: #{100rpx};
-	    line-height: #{100rpx};
-	    text-align: center;
-	    background-color: #fff;
-	    z-index: 2;
+		position: fixed;
+		bottom: 0;
+		left: 0;
+		right: 0;
+		width: 100%;
+		height: #{100rpx};
+		line-height: #{100rpx};
+		text-align: center;
+		background-color: #fff;
+		z-index: 2;
 	}
-	
+
 	.coupon-footer.iphone_x {
-	    height: #{150rpx};
-	    padding-bottom: #{50rpx};
+		height: #{150rpx};
+		padding-bottom: #{50rpx};
 	}
-	
+
 	.properties_list {
 		background-color: #F8F8F8;
-		
-		.tabs{
+
+		.tabs {
 			height: 90rpx;
 			font-size: 28rpx;
 			font-weight: 500;
 			color: #838584;
-			.tab{
+
+			.tab {
 				width: 50%;
 				line-height: 90rpx;
 				text-align: center;
 			}
-			.select{
+
+			.select {
 				color: #A18353;
 				position: relative;
-				.under_line{
+
+				.under_line {
 					position: absolute;
 					left: 50%;
 					bottom: 10rpx;
@@ -193,4 +230,11 @@
 		}
 	}
 
+	.no-more {
+		font-size: 24rpx;
+		font-weight: 500;
+		color: #666666;
+		text-align: center;
+		line-height: 80rpx;
+	}
 </style>

+ 2 - 2
src/pages/sale/sale-user-center.vue

xqd xqd
@@ -365,7 +365,7 @@
 			this.$jwx.config();
 			// #endif
 			if(!this.info.salesperson_info){
-				uni.navigateTo({
+				uni.redirectTo({
 					url:'/pages/sale/sale_login/sale_login'
 				})
 			}
@@ -377,7 +377,7 @@
 				});
 			});
 			// if (this.$user.isLogin()) {
-			//     this.$store.dispatch('user/refresh');
+			    this.$store.dispatch('user/refresh');
 			// }
 			this.$nextTick().then(() => {
 				this.$store.dispatch('userCenter/data');

+ 60 - 60
vue.config.js

xqd xqd
@@ -18,10 +18,10 @@ let copyPlugin = [
         from: path.join(__dirname, 'src/sitemap.json'),
         to: path.join(__dirname, 'dist', process.env.NODE_ENV === 'production' ? 'build' : 'dev', process.env.UNI_PLATFORM, '')
     },
-    {
-        from: path.join(__dirname, 'src/siteinfo.js'),
-        to: path.join(__dirname, 'dist', process.env.NODE_ENV === 'production' ? 'build' : 'dev', process.env.UNI_PLATFORM, 'pages/app_admin/siteinfo.js')
-    },
+    // {
+    //     from: path.join(__dirname, 'src/siteinfo.js'),
+    //     to: path.join(__dirname, 'dist', process.env.NODE_ENV === 'production' ? 'build' : 'dev', process.env.UNI_PLATFORM, 'pages/app_admin/siteinfo.js')
+    // },
     {
         from: path.join(__dirname, 'src/siteinfo.js'),
         to: path.join(__dirname, 'dist', process.env.NODE_ENV === 'production' ? 'build' : 'dev', process.env.UNI_PLATFORM, 'pages/card/siteinfo.js')
@@ -30,70 +30,70 @@ let copyPlugin = [
         from: path.join(__dirname, 'src/siteinfo.js'),
         to: path.join(__dirname, 'dist', process.env.NODE_ENV === 'production' ? 'build' : 'dev', process.env.UNI_PLATFORM, 'pages/coupon/siteinfo.js')
     },
-    {
-        from: path.join(__dirname, 'src/siteinfo.js'),
-        to: path.join(__dirname, 'dist', process.env.NODE_ENV === 'production' ? 'build' : 'dev', process.env.UNI_PLATFORM, 'plugins/advance/siteinfo.js')
-    },
-    {
-        from: path.join(__dirname, 'src/siteinfo.js'),
-        to: path.join(__dirname, 'dist', process.env.NODE_ENV === 'production' ? 'build' : 'dev', process.env.UNI_PLATFORM, 'plugins/community/siteinfo.js')
-    },
+    // {
+    //     from: path.join(__dirname, 'src/siteinfo.js'),
+    //     to: path.join(__dirname, 'dist', process.env.NODE_ENV === 'production' ? 'build' : 'dev', process.env.UNI_PLATFORM, 'plugins/advance/siteinfo.js')
+    // },
+    // {
+    //     from: path.join(__dirname, 'src/siteinfo.js'),
+    //     to: path.join(__dirname, 'dist', process.env.NODE_ENV === 'production' ? 'build' : 'dev', process.env.UNI_PLATFORM, 'plugins/community/siteinfo.js')
+    // },
     {
         from: path.join(__dirname, 'src/siteinfo.js'),
         to: path.join(__dirname, 'dist', process.env.NODE_ENV === 'production' ? 'build' : 'dev', process.env.UNI_PLATFORM, 'plugins/book/siteinfo.js')
     },
-    {
-        from: path.join(__dirname, 'src/siteinfo.js'),
-        to: path.join(__dirname, 'dist', process.env.NODE_ENV === 'production' ? 'build' : 'dev', process.env.UNI_PLATFORM, 'plugins/step/siteinfo.js')
-    },
-    {
-        from: path.join(__dirname, 'src/siteinfo.js'),
-        to: path.join(__dirname, 'dist', process.env.NODE_ENV === 'production' ? 'build' : 'dev', process.env.UNI_PLATFORM, 'plugins/bargain/siteinfo.js')
-    },
-    {
-        from: path.join(__dirname, 'src/siteinfo.js'),
-        to: path.join(__dirname, 'dist', process.env.NODE_ENV === 'production' ? 'build' : 'dev', process.env.UNI_PLATFORM, 'plugins/flash_sale/siteinfo.js')
-    },
-    {
-        from: path.join(__dirname, 'src/siteinfo.js'),
-        to: path.join(__dirname, 'dist', process.env.NODE_ENV === 'production' ? 'build' : 'dev', process.env.UNI_PLATFORM, 'plugins/exchange/siteinfo.js')
-    },
-    {
-        from: path.join(__dirname, 'src/siteinfo.js'),
-        to: path.join(__dirname, 'dist', process.env.NODE_ENV === 'production' ? 'build' : 'dev', process.env.UNI_PLATFORM, 'plugins/gift/siteinfo.js')
-    },
-    {
-        from: path.join(__dirname, 'src/siteinfo.js'),
-        to: path.join(__dirname, 'dist', process.env.NODE_ENV === 'production' ? 'build' : 'dev', process.env.UNI_PLATFORM, 'plugins/integral_mall/siteinfo.js')
-    },
-    {
-        from: path.join(__dirname, 'src/siteinfo.js'),
-        to: path.join(__dirname, 'dist', process.env.NODE_ENV === 'production' ? 'build' : 'dev', process.env.UNI_PLATFORM, 'plugins/miaosha/siteinfo.js')
-    },
-    {
-        from: path.join(__dirname, 'src/siteinfo.js'),
-        to: path.join(__dirname, 'dist', process.env.NODE_ENV === 'production' ? 'build' : 'dev', process.env.UNI_PLATFORM, 'plugins/pick/siteinfo.js')
-    },
+    // {
+    //     from: path.join(__dirname, 'src/siteinfo.js'),
+    //     to: path.join(__dirname, 'dist', process.env.NODE_ENV === 'production' ? 'build' : 'dev', process.env.UNI_PLATFORM, 'plugins/step/siteinfo.js')
+    // },
+    // {
+    //     from: path.join(__dirname, 'src/siteinfo.js'),
+    //     to: path.join(__dirname, 'dist', process.env.NODE_ENV === 'production' ? 'build' : 'dev', process.env.UNI_PLATFORM, 'plugins/bargain/siteinfo.js')
+    // },
+    // {
+    //     from: path.join(__dirname, 'src/siteinfo.js'),
+    //     to: path.join(__dirname, 'dist', process.env.NODE_ENV === 'production' ? 'build' : 'dev', process.env.UNI_PLATFORM, 'plugins/flash_sale/siteinfo.js')
+    // },
+    // {
+    //     from: path.join(__dirname, 'src/siteinfo.js'),
+    //     to: path.join(__dirname, 'dist', process.env.NODE_ENV === 'production' ? 'build' : 'dev', process.env.UNI_PLATFORM, 'plugins/exchange/siteinfo.js')
+    // },
+    // {
+    //     from: path.join(__dirname, 'src/siteinfo.js'),
+    //     to: path.join(__dirname, 'dist', process.env.NODE_ENV === 'production' ? 'build' : 'dev', process.env.UNI_PLATFORM, 'plugins/gift/siteinfo.js')
+    // },
+    // {
+    //     from: path.join(__dirname, 'src/siteinfo.js'),
+    //     to: path.join(__dirname, 'dist', process.env.NODE_ENV === 'production' ? 'build' : 'dev', process.env.UNI_PLATFORM, 'plugins/integral_mall/siteinfo.js')
+    // },
+    // {
+    //     from: path.join(__dirname, 'src/siteinfo.js'),
+    //     to: path.join(__dirname, 'dist', process.env.NODE_ENV === 'production' ? 'build' : 'dev', process.env.UNI_PLATFORM, 'plugins/miaosha/siteinfo.js')
+    // },
+    // {
+    //     from: path.join(__dirname, 'src/siteinfo.js'),
+    //     to: path.join(__dirname, 'dist', process.env.NODE_ENV === 'production' ? 'build' : 'dev', process.env.UNI_PLATFORM, 'plugins/pick/siteinfo.js')
+    // },
     {
         from: path.join(__dirname, 'src/siteinfo.js'),
         to: path.join(__dirname, 'dist', process.env.NODE_ENV === 'production' ? 'build' : 'dev', process.env.UNI_PLATFORM, 'plugins/pt/siteinfo.js')
     },
-    {
-        from: path.join(__dirname, 'src/siteinfo.js'),
-        to: path.join(__dirname, 'dist', process.env.NODE_ENV === 'production' ? 'build' : 'dev', process.env.UNI_PLATFORM, 'plugins/mch/mch/siteinfo.js')
-    },
-    {
-        from: path.join(__dirname, 'src/siteinfo.js'),
-        to: path.join(__dirname, 'dist', process.env.NODE_ENV === 'production' ? 'build' : 'dev', process.env.UNI_PLATFORM, 'plugins/wholesale/siteinfo.js')
-    },
-    {
-        from: path.join(__dirname, 'src/siteinfo.js'),
-        to: path.join(__dirname, 'dist', process.env.NODE_ENV === 'production' ? 'build' : 'dev', process.env.UNI_PLATFORM, 'plugins/mch/siteinfo.js')
-    },
-    {
-        from: path.join(__dirname, 'src/siteinfo.js'),
-        to: path.join(__dirname, 'dist', process.env.NODE_ENV === 'production' ? 'build' : 'dev', process.env.UNI_PLATFORM, 'plugins/vip_card/siteinfo.js')
-    },
+    // {
+    //     from: path.join(__dirname, 'src/siteinfo.js'),
+    //     to: path.join(__dirname, 'dist', process.env.NODE_ENV === 'production' ? 'build' : 'dev', process.env.UNI_PLATFORM, 'plugins/mch/mch/siteinfo.js')
+    // },
+    // {
+    //     from: path.join(__dirname, 'src/siteinfo.js'),
+    //     to: path.join(__dirname, 'dist', process.env.NODE_ENV === 'production' ? 'build' : 'dev', process.env.UNI_PLATFORM, 'plugins/wholesale/siteinfo.js')
+    // },
+    // {
+    //     from: path.join(__dirname, 'src/siteinfo.js'),
+    //     to: path.join(__dirname, 'dist', process.env.NODE_ENV === 'production' ? 'build' : 'dev', process.env.UNI_PLATFORM, 'plugins/mch/siteinfo.js')
+    // },
+    // {
+    //     from: path.join(__dirname, 'src/siteinfo.js'),
+    //     to: path.join(__dirname, 'dist', process.env.NODE_ENV === 'production' ? 'build' : 'dev', process.env.UNI_PLATFORM, 'plugins/vip_card/siteinfo.js')
+    // },
     {
         from: path.join(__dirname, 'src/siteinfo.js'),
         to: path.join(__dirname, 'dist', process.env.NODE_ENV === 'production' ? 'build' : 'dev', process.env.UNI_PLATFORM, 'pages/siteinfo.js')