瀏覽代碼

Merge remote-tracking branch 'remotes/origin/developer' into developerA

yuwenjun1997 2 年之前
父節點
當前提交
11d73ffbc0

+ 15 - 0
components/cm-module/cart-components/index.vue

@@ -2028,6 +2028,21 @@ page {
 					height: 100%;
 					border-radius: 10rpx;
 				}
+				.pros-type {
+					width: 64rpx;
+					height: 64rpx;
+					text-align: justify;
+					box-sizing: border-box;
+					padding: 10rpx;
+					border-radius: 0 0 8rpx 8rpx;
+					background-color: #33ccbf;
+					font-size: $font-size-22;
+					color: #ffffff;
+					line-height: 25rpx;
+					position: absolute;
+					top: 0;
+					right: 10rpx;
+				}
 			}
 			.pros-marks {
 				width: 730rpx;

+ 52 - 35
pages/goods/components/cm-unit-popup.vue

@@ -6,7 +6,9 @@
 				<view class="tui-shopping-main" :style="{ paddingBottom: isIphoneX ? '68rpx' : '34rpx' }">
 					<view class="tui-sku-title">
 						<view class="tui-sku-image"> <image :src="skuProduct.mainImage" mode=""></image> </view>
-						<view class="tui-sku-price"> <cmUnitPrice :skuProduct="skuProduct"></cmUnitPrice> </view>
+						<view class="tui-sku-price">
+							<cmUnitPrice :skuProduct="skuProduct" :productCoupon="productCoupon"></cmUnitPrice>
+						</view>
 					</view>
 					<view class="tui-sku-unit">
 						<view class="sku-unit-h1">规格:</view>
@@ -51,7 +53,9 @@
 							</view>
 						</view>
 					</view>
-					<view class="sku-unit-ladel" v-if="isShowLadder" @click.stop="showLaddePopup"> 此规格商品存在阶梯价格,点击查看 >>> </view>
+					<view class="sku-unit-ladel" v-if="isShowLadder" @click.stop="showLaddePopup">
+						此规格商品存在阶梯价格,点击查看 >>>
+					</view>
 				</view>
 				<view
 					class="tui-right-flex tui-popup-btn"
@@ -59,13 +63,18 @@
 					:style="{ paddingBottom: isIphoneX ? '68rpx' : '34rpx' }"
 				>
 					<view class="tui-flex-1" v-if="type === 1">
-						<view class="tui-button" :class="[goodsData.disabled ? 'disabled' : '',isBtnDisable ? 'disabled' :'']" @click="handleBtnConfirm">确定</view>
+						<view
+							class="tui-button"
+							:class="[goodsData.disabled ? 'disabled' : '', isBtnDisable ? 'disabled' : '']"
+							@click="handleBtnConfirm"
+							>确定</view
+						>
 					</view>
 					<view class="tui-modal-flex" v-else>
 						<button
 							class="tui-modal-button cancel"
 							:disabled="goodsData.disabled"
-							:class="[goodsData.disabled ? 'disabled' : '',isBtnDisable ? 'disabled' :'']"
+							:class="[goodsData.disabled ? 'disabled' : '', isBtnDisable ? 'disabled' : '']"
 							@click="handleConfirm('add')"
 						>
 							加入购物车
@@ -73,7 +82,7 @@
 						<button
 							class="tui-modal-button confirm"
 							:disabled="goodsData.disabled"
-							:class="[goodsData.disabled ? 'disabled' : '',isBtnDisable ? 'disabled' :'']"
+							:class="[goodsData.disabled ? 'disabled' : '', isBtnDisable ? 'disabled' : '']"
 							@click="handleConfirm('buy')"
 						>
 							立即购买
@@ -103,11 +112,14 @@ export default {
 		skuProduct: {
 			type: Object
 		},
+		productCoupon: {
+			type: Array
+		},
 		goodsData: {
 			type: Object
 		},
 		popupShow: {
-			type: Boolean, 
+			type: Boolean,
 			default: false
 		},
 		type: {
@@ -123,15 +135,15 @@ export default {
 			skuIndex: 0,
 			productCount: 0,
 			ladderPriceList: [],
-			isStock:false,// 
+			isStock: false, //
 			isQuantity: false,
 			isShowButton: false,
 			skuList: [],
-			handleStock:0,// 规格库存
-			handleMinNumber:1, // 规格起订量
-			isShowLadder:false,
-			laddePopupShow:false,
-			isBtnDisable:false
+			handleStock: 0, // 规格库存
+			handleMinNumber: 1, // 规格起订量
+			isShowLadder: false,
+			laddePopupShow: false,
+			isBtnDisable: false
 		}
 	},
 	created() {
@@ -146,22 +158,22 @@ export default {
 			if (userInfo.userIdentity == 1 || userInfo.userIdentity == 3) {
 				this.isShowButton = false
 			} else {
-				this.isShowButton = true 
+				this.isShowButton = true
 			}
 			this.skuList = this.skuProduct.skus
 			this.productCount = this.skuList[0].minBuyNumber
 			this.handleMinNumber = this.skuList[0].minBuyNumber
 			this.handleStock = this.skuList[0].stock
-			if(this.skuList[0].ladderPriceList){ 
-				this.isShowLadder = true 
+			if (this.skuList[0].ladderPriceList) {
+				this.isShowLadder = true
 				this.ladderPriceList = this.skuList[0].ladderPriceList
 			}
 		},
 		//popup弹窗数量增加按钮
 		changeCountAdd() {
-			if(this.productCount === this.handleStock){ 
-				this.isStock = true 
-				return 
+			if (this.productCount === this.handleStock) {
+				this.isStock = true
+				return
 			}
 			if (this.skuProduct.step == 2) {
 				this.productCount += this.handleMinNumber
@@ -197,16 +209,16 @@ export default {
 			} else if (_value % this.handleMinNumber != 0) {
 				this.$util.msg('购买量必须为起订量的整数倍', 2000)
 				this.productCount = this.handleMinNumber
-			} else if(_value > this.handleStock) {
+			} else if (_value > this.handleStock) {
 				this.productCount = this.handleStock
-			}else{
+			} else {
 				this.productCount = e.detail.value
 			}
 			this.totalLadderPrice()
 		},
 		totalLadderPrice() {
 			//单独处理活动价格和阶梯价格
-			if(this.ladderPriceList.length>0){
+			if (this.ladderPriceList.length > 0) {
 				this.ladderPriceList.forEach((ladder, index) => {
 					if (this.productCount >= ladder.buyNum) {
 						this.$parent.skuProduct.price = ladder.buyPrice
@@ -216,7 +228,9 @@ export default {
 		},
 		handleConfirm(type) {
 			if (this.hasLogin) {
-				if(this.isBtnDisable || this.goodsData.disabled){ return }
+				if (this.isBtnDisable || this.goodsData.disabled) {
+					return
+				}
 				if (process.env.NODE_ENV != 'development') {
 					this.$uma.trackEvent(UmTrackEvent, {
 						Um_Key_PageName: UmKeyPageName,
@@ -224,9 +238,9 @@ export default {
 						Um_Key_ProductID: `${this.skuProduct.productId}`
 					})
 				}
-				const UmKeyPageName = type === 'add' ? '加入购物车' : '立即购买' 
-				const UmTrackEvent = type === 'add' ? 'Um_Event_ProductAddCart' : 'Um_Event_ProductBuyConfirm' 
-				this.$emit('buyConfirm', { type: type ,productCount : this.productCount } )
+				const UmKeyPageName = type === 'add' ? '加入购物车' : '立即购买'
+				const UmTrackEvent = type === 'add' ? 'Um_Event_ProductAddCart' : 'Um_Event_ProductBuyConfirm'
+				this.$emit('buyConfirm', { type: type, productCount: this.productCount })
 				this.$parent.popupShow3 = false
 			} else {
 				this.$api.navigateTo('/pages/login/login')
@@ -234,15 +248,18 @@ export default {
 		},
 		handleBtnConfirm() {
 			//确定加入购物车或立即购买
-			if(this.isBtnDisable || this.goodsData.disabled){ return }
-			if (process.env.NODE_ENV != 'development') {// 友盟埋点商品详情确认购买商品点击事件
+			if (this.isBtnDisable || this.goodsData.disabled) {
+				return
+			}
+			if (process.env.NODE_ENV != 'development') {
+				// 友盟埋点商品详情确认购买商品点击事件
 				this.$uma.trackEvent('Um_Event_ProductShoppingConfirm', {
 					Um_Key_PageName: '商品购买确认',
 					Um_Key_SourcePage: '商品详情',
 					Um_Key_ProductID: `${this.skuProduct.productId}`
 				})
 			}
-			this.$emit('buyConfirm', { type: this.btnType ,productCount : this.productCount})
+			this.$emit('buyConfirm', { type: this.btnType, productCount: this.productCount })
 			this.$parent.popupShow3 = false
 		},
 		handleChoisSku(sku, index) {
@@ -250,12 +267,12 @@ export default {
 			this.skuIndex = index
 			this.productCount = this.handleMinNumber = sku.minBuyNumber
 			this.handleStock = sku.stock
-			this.isBtnDisable = sku.stock === 0;
+			this.isBtnDisable = sku.stock === 0
 			this.ladderPriceList = sku.ladderPriceList
 			this.isShowLadder = sku.ladderPriceList ? true : false
 			this.$emit('skuClick', sku)
 		},
-		showLaddePopup(){
+		showLaddePopup() {
 			// 点击显示阶梯价
 			this.laddePopupShow = true
 		},
@@ -392,8 +409,8 @@ export default {
 						}
 						&.icon-jiahao {
 							border-radius: 0 30rpx 30rpx 0;
-							&.disabled{
-								background: #F5F5F5;
+							&.disabled {
+								background: #f5f5f5;
 							}
 						}
 					}
@@ -422,8 +439,8 @@ export default {
 		color: #e15616;
 	}
 }
-.tui-flex-1{
-	.tui-button{
+.tui-flex-1 {
+	.tui-button {
 		&.disabled {
 			background: linear-gradient(135deg, rgba(242, 143, 49, 0.5) 0%, rgba(225, 86, 22, 0.5) 100%);
 		}
@@ -446,7 +463,7 @@ export default {
 		&.cancel {
 			background: #ffe6dc;
 			color: #e15616;
-			&.disabled{
+			&.disabled {
 				background-color: #e1e1e1;
 				color: #ffffff;
 			}

+ 11 - 6
pages/goods/components/cm-unit-price.vue

@@ -87,7 +87,7 @@
 			<template v-if="!hasLogin">
 				<!-- 游客 -->
 				<view class="floor-item-act">
-					<view class="coupon-tags" v-if="this.$parent.productCoupon.length > 0">优惠券</view>
+					<view class="coupon-tags" v-if="productCoupon.length > 0">优惠券</view>
 					<template v-if="skuProduct.actStatus == 1">
 						<view v-if="skuProduct.promotions.type == 1 && skuProduct.promotions.mode == 1" class="floor-tags">
 							{{ skuProduct.promotions.name }}<text v-if="hasLogin">:¥{{ skuProduct.price | NumFormat }}</text>
@@ -102,7 +102,7 @@
 			<template v-else-if="userIdentity == 1">
 				<!-- 协销 -->
 				<view class="floor-item-act">
-					<view class="coupon-tags" v-if="this.$parent.productCoupon.length > 0">优惠券</view>
+					<view class="coupon-tags" v-if="productCoupon.length > 0">优惠券</view>
 					<template v-if="skuProduct.actStatus == 1">
 						<view v-if="skuProduct.promotions.type == 1 && skuProduct.promotions.mode == 1" class="floor-tags">
 							{{ skuProduct.promotions.name
@@ -124,7 +124,7 @@
 			<template v-else-if="userIdentity == 2 || (userIdentity == 4 && vipFlag == 1)">
 				<!-- 资质机构 -->
 				<view class="floor-item-act">
-					<view class="coupon-tags" v-if="this.$parent.productCoupon.length > 0">优惠券</view>
+					<view class="coupon-tags" v-if="productCoupon.length > 0">优惠券</view>
 					<template v-if="skuProduct.actStatus == 1">
 						<view v-if="skuProduct.promotions.type == 1 && skuProduct.promotions.mode == 1" class="floor-tags">
 							{{ skuProduct.promotions.name
@@ -147,7 +147,7 @@
 			<template v-else-if="userIdentity == 3">
 				<!-- 供应商 -->
 				<view class="floor-item-act">
-					<view class="coupon-tags" v-if="this.$parent.productCoupon.length > 0">优惠券</view>
+					<view class="coupon-tags" v-if="productCoupon.length > 0">优惠券</view>
 					<template v-if="skuProduct.actStatus == 1">
 						<view v-if="skuProduct.promotions.type == 1 && skuProduct.promotions.mode == 1" class="floor-tags">
 							{{ skuProduct.promotions.name
@@ -172,7 +172,7 @@
 			<template v-else-if="userIdentity == 4 && vipFlag != 1">
 				<!-- 普通机构 -->
 				<view class="floor-item-act">
-					<view class="coupon-tags" v-if="this.$parent.productCoupon.length > 0">优惠券</view>
+					<view class="coupon-tags" v-if="productCoupon.length > 0">优惠券</view>
 					<template v-if="skuProduct.actStatus == 1">
 						<view v-if="PromotionsFormat(skuProduct.promotions)" class="floor-tags">
 							{{ skuProduct.promotions.name
@@ -206,7 +206,12 @@ export default {
 	},
 	props: {
 		skuProduct: {
-			type: Object
+			type: Object,
+			default: {}
+		},
+		productCoupon: {
+			type: Array,
+			default: []
 		}
 	},
 	data() {

+ 1 - 0
pages/goods/product.vue

@@ -562,6 +562,7 @@
 			v-if="popupShow3"
 			:popupShow="popupShow3"
 			:skuProduct="skuProduct"
+			:productCoupon="productCoupon"
 			:type="unitPopupType"
 			:btnType="btnType"
 			:goodsData="goodsData"

+ 76 - 52
pages/login/apply.vue

@@ -18,6 +18,24 @@
 			</view>
 		</view>
 		<view class="register-main detailed clearfix">
+			<view class="register-row clearfix">
+				<view class="register-from">
+					<view class="label">联系人身份</view>
+					<view class="row-input">
+						<picker @change="bindPickerUserName($event)" :value="index" :range="stateActions" range-key="name">
+							<input
+								class="row-input"
+								type="text"
+								disabled="false"
+								v-model="linkManIdentityText"
+								value=""
+								placeholder="请选择"
+							/>
+						</picker>
+					</view>
+					<text class="iconfont icon-xiayibu"></text>
+				</view>
+			</view>
 			<view class="register-row none clearfix">
 				<view class="register-from">
 					<view class="label">邮箱</view>
@@ -141,7 +159,7 @@
 					<text class="iconfont icon-xiayibu"></text>
 				</view>
 			</view>
-			<view class="register-row none clearfix" v-if="isOrganizationType == 1">
+			<view class="register-row none clearfix" v-if="firstClubType == 1">
 				<view class="register-from noneborder second">
 					<view
 						class="secondTyperadio"
@@ -154,7 +172,7 @@
 					</view>
 				</view>
 			</view>
-			<view class="register-row none clearfix" v-if="isOrganizationType == 2">
+			<view class="register-row none clearfix" v-if="firstClubType == 2">
 				<view class="register-from noneborder second">
 					<view
 						class="secondTyperadio"
@@ -167,7 +185,7 @@
 					</view>
 				</view>
 			</view>
-			<view class="register-row none clearfix" v-if="isOrganizationType == 1">
+			<view class="register-row none clearfix" v-if="firstClubType == 1">
 				<view class="register-picture zz">
 					<view class="label zz">医疗执业许可证</view>
 					<view class="upload-picture">
@@ -183,7 +201,7 @@
 					</view>
 				</view>
 			</view>
-			<view class="register-row clearfix" v-if="isOrganizationType == 1 && isDepartment">
+			<view class="register-row clearfix" v-if="firstClubType == 1 && isDepartment">
 				<view class="register-from" style="height: auto;border: 0;">
 					<view class="kes-title">科室</view>
 					<input
@@ -195,12 +213,12 @@
 					></input>
 				</view>
 			</view>
-			<view class="register-row clearfix" v-if="isOrganizationType == 1">
+			<view class="register-row clearfix" v-if="firstClubType == 1">
 				<view class="register-from group" style="height: auto;border: 0;">
 					<view class="label">主营内容</view>
 				</view>	
 			</view>		
-			<view class="register-row clearfix" v-if="isOrganizationType == 1">
+			<view class="register-row clearfix" v-if="firstClubType == 1">
 				<view class="register-from group" style="height: auto;border: 0;">
 					<view class="content-class">
 						<checkbox-group @change="chooseMaleLike">
@@ -230,12 +248,12 @@
 					</view>
 				</view>
 			</view>
-			<view class="register-row clearfix" v-if="isOrganizationType == 2">
+			<view class="register-row clearfix" v-if="firstClubType == 2">
 				<view class="register-from group" style="height: auto;border: 0;">
 					<view class="label">主营内容</view>
 				</view>	
 			</view>		
-			<view class="register-row clearfix" v-if="isOrganizationType == 2">
+			<view class="register-row clearfix" v-if="firstClubType == 2">
 				<view class="register-from group" style="height: auto;border: 0;">
 					<view class="content-class">
 						<checkbox-group @change="chooseMaleLikes">
@@ -334,7 +352,8 @@ export default {
 			secondClubType: '', 					//机构类型二级分类
 			mainProduct: '', 						//主营内容
 			firstClubType: 1, 						//机构类型
-			isOrganizationType: 1,
+			linkManIdentity:0,						//联系人身份
+			linkManIdentityText:'请选择联系人身份',					//联系人身份
 			firstClubTypeCurrent:0,
 			organizationTypeText: '请选择机构类型',
 			beautyList: beautyList, 				//医美分类
@@ -357,12 +376,11 @@ export default {
 				provinceId: '', //省ID
 				addressDetail: '' //地址详情
 			},
-			typename: [
-				{ name: '医美', value: 1 }, 
-				{ name: '生美', value: 2 },
-				{ name: '项目公司', value: 3 },
-				{ name: '个人', value: 4 },
-				{ name: '其他', value: 5 },
+			stateActions: [
+				{ name: '老板', value: 1 },
+				{ name: '采购', value: 2 },
+				{ name: '运营', value: 3 },
+				{ name: '其他', value: 4 },
 			]
 		}
 	},
@@ -389,6 +407,8 @@ export default {
 							this.errorList = organizationUser.auditNoteList
 						}
 						this.contractEmail = organizationClub.contractEmail
+						this.linkManIdentity = organizationClub.linkManIdentity ? organizationClub.linkManIdentity : 0
+						this.linkManIdentityText = this.linkManIdentity ? this.linkManFilters(this.linkManIdentity) : '请选择联系人身份'
 						this.clubId = organizationUser.clubId
 						if (this.contractEmail) {
 							this.isFirstAdds = false
@@ -419,38 +439,12 @@ export default {
 						this.addressData.addressDetail = this.$reg.checkData(organizationClub.address)
 						this.socialCreditCode = this.$reg.checkData(organizationClub.socialCreditCode)
 						this.firstClubType = organizationClub.firstClubType
+						this.organizationTypeText = organizationClub.firstClubType ? this.firstClubTypeText(this.firstClubType) : '请选择机构类型'
 						this.secondClubType = this.$reg.checkData(organizationClub.secondClubType)
 						this.businessLicense = this.$reg.checkData(organizationClub.businessLicense)
 						this.shopPhoto = this.$reg.checkData(organizationClub.shopPhoto)
 						this.medicalPracticeLicense = this.$reg.checkData(organizationClub.medicalPracticeLicense)
 						this.department = this.$reg.checkData(organizationClub.department)
-						//机构类型&&主营项目
-						switch(this.firstClubType){
-							case 1:
-								this.organizationTypeText = '医美'
-								this.isOrganizationType = 1
-								break
-							case 2:
-								this.organizationTypeText = '生美'
-								this.isOrganizationType = 2
-								break
-							case 3:
-								this.organizationTypeText = '项目公司'
-								this.isOrganizationType = 0
-								break
-							case 4:
-								this.organizationTypeText = '个人'
-								this.isOrganizationType = 0
-								break
-							case 5:
-								this.organizationTypeText = '其他'
-								this.isOrganizationType = 0
-								break
-							case null:
-								this.organizationTypeText = '请选择机构类型'
-								this.isOrganizationType = 0
-								break
-						}	
 						if (organizationClub.mainProduct == '' || organizationClub.mainProduct == null) {
 							this.mentuzCampList = this.mentuzCampNullList
 							this.medicaCampList = this.medicaCampNullList
@@ -486,7 +480,7 @@ export default {
 			//提交审核
 			if (this.isFirstAdds) {
 				let mainproList = []
-				if (this.isOrganizationType == 1) {
+				if (this.firstClubType == 1) {
 					this.mentuzCampList.forEach(item => {
 						mainproList.push(item.name)
 					})
@@ -497,6 +491,10 @@ export default {
 				}
 				this.mainProduct = mainproList.join('/')
 			}
+			if (!this.linkManIdentity) {
+				this.$util.msg('请选择联系人身份', 2000)
+				return
+			}
 			if (this.contractEmail == '') {
 				this.$util.msg('请输入邮箱地址', 2000)
 				return
@@ -521,19 +519,19 @@ export default {
 				this.$util.msg('请上传您的营业执照', 2000)
 				return
 			}
-			if (this.isOrganizationType == 1){
+			if (this.firstClubType == 1){
 				if (this.medicalPracticeLicense == '') {
 					this.$util.msg('请上传您的资质许可证', 2000)
 					return
 				}
 			}
-			if (this.isOrganizationType == 1 || this.isOrganizationType == 2) {
+			if (this.firstClubType == 1 || this.firstClubType == 2) {
 				if(this.secondClubType == ''){
 					this.$util.msg('选择机构类型', 2000)
 					return
 				}
 			}
-			if (this.isOrganizationType == 1 || this.isOrganizationType == 2) {
+			if (this.firstClubType == 1 || this.firstClubType == 2) {
 				if (this.mainProduct == '') {
 					this.$util.msg('请选择机构主营内容', 2000)
 					return
@@ -544,6 +542,7 @@ export default {
 				clubId: this.clubId, //会所ID
 				contractEmail: this.contractEmail,
 				name: this.clubName,
+				linkManIdentity:this.linkManIdentity,
 				shortName: this.shortName,
 				provinceId: this.addressData.provinceId,
 				cityId: this.addressData.cityId,
@@ -552,7 +551,7 @@ export default {
 				socialCreditCode: this.socialCreditCode,
 				businessLicense: this.businessLicense,
 				shopPhoto: this.shopPhoto,
-				firstClubType: this.isOrganizationType, //机构类型分类 医美:1和生美:2
+				firstClubType: this.firstClubType, //机构类型分类 医美:1和生美:2
 				secondClubType: this.secondClubType, //机构类型二级分类 诊所:1,门诊:2,医院:3
 				department: this.department, //科室
 				medicalPracticeLicense: this.medicalPracticeLicense, //资质图片
@@ -662,7 +661,7 @@ export default {
 				title:'标题',
 				itemList: ['医美', '生美','项目公司','个人','其他'],
 				success: (e) => {
-					self.isOrganizationType = e.tapIndex+1
+					self.firstClubType = e.tapIndex+1
 					switch(e.tapIndex){
 						case 0:
 							this.organizationTypeText = '医美'
@@ -684,8 +683,12 @@ export default {
 			})
 		},
 		bindPickerChange2(e) {
-			this.typtIndex = e.target.value
-			this.isOrganizationType = e.target.value
+			this.typtIndex = e.target.values
+			this.firstClubType = e.target.value
+		},
+		bindPickerUserName(e){//选择联系人身份
+			this.linkManIdentityText = this.stateActions[e.target.value].name
+			this.linkManIdentity= this.stateActions[e.target.value].value
 		},
 		radioChange(item) {
 			this.secondClubType = item.value
@@ -737,7 +740,7 @@ export default {
 			if (this.customItemValue == '') {
 				this.$util.msg('请输入自定义主营内容', 2000)
 			} else {
-				if (this.isOrganizationType == 1) {
+				if (this.firstClubType == 1) {
 					let item = { value: `${this.mentuzCampList.length + 1}`, name: this.customItemValue, checked: true }
 					if (this.checkedArray(this.customItemValue, this.mentuzCampList)) {
 						this.$util.msg('主营内容已存在!', 2000)
@@ -763,7 +766,28 @@ export default {
 				}
 			}
 			return false
-		}
+		},
+		firstClubTypeText(value){
+			// 机构类型文案
+			const map = {
+				1: '医美',
+				2: '生美',
+				3: '项目公司',
+				4: '个人',
+				5: '其他'
+			}
+			return map[value]
+		},
+		linkManFilters(value) {
+			// 联系人身份
+			const map = {
+				1: '老板',
+				2: '采购',
+				3: '运营',
+				4: '其他'
+			}
+			return map[value]
+		},
 	},
 	onShow() {
 		if (this.isPreviewImage) {

+ 61 - 29
pages/login/information.vue

@@ -25,6 +25,24 @@
 		</view>
 		<view class="register-main clearfix" v-if="userIdentity === 2">
 			<view class="register-row"> <view class="register-title">升级信息</view> </view>
+			<view class="register-row clearfix">
+				<view class="register-from">
+					<view class="label">联系人身份</view>
+					<view class="row-input">
+						<picker @change="bindPickerUserName($event)" :value="index" :range="stateActions" range-key="name">
+							<input
+								class="row-input"
+								type="text"
+								disabled="false"
+								v-model="linkManIdentityText"
+								value=""
+								placeholder="请选择"
+							/>
+						</picker>
+					</view>
+					<text class="iconfont icon-xiayibu"></text>
+				</view>
+			</view>
 			<view class="register-row clearfix">
 				<view class="register-from">
 					<view class="label">邮箱</view>
@@ -387,6 +405,8 @@ export default {
 			clubFax: '', // 传真
 			profile: '', // 公司简介
 			firstClubType: 0, // 机构类型
+			linkManIdentity:0,						//联系人身份
+			linkManIdentityText:'请选择联系人身份',					//联系人身份
 			organizationTypeText: '请选择机构类型',
 			beautyList: beautyList,
 			beautyLists: beautyLists,
@@ -407,12 +427,11 @@ export default {
 				provinceId: '', // 省ID
 				addressDetail: '' // 地址详情
 			},
-			typename: [
-				{ name: '医美', value: 1 }, 
-				{ name: '生美', value: 2 },
-				{ name: '项目公司', value: 3 },
-				{ name: '个人', value: 4 },
-				{ name: '其他', value: 5 },
+			stateActions: [
+				{ name: '老板', value: 1 },
+				{ name: '采购', value: 2 },
+				{ name: '运营', value: 3 },
+				{ name: '其他', value: 4 },
 			]
 		}
 	},
@@ -434,7 +453,7 @@ export default {
 					.then(response => {
 						let organizationClub = response.data.club
 						let organizationUser = response.data.user
-						if(organizationClub.contractEmail){
+						if(!organizationClub.contractEmail){
 							this.isFirstAdds = false
 						}else{
 							this.isFirstAdds = true
@@ -446,6 +465,8 @@ export default {
 						this.userIdentity = organizationUser.userIdentity
 						this.name = organizationClub.name ? organizationClub.name : ''
 						this.linkMan = organizationClub.linkMan
+						this.linkManIdentity = organizationClub.linkManIdentity ? organizationClub.linkManIdentity : 0
+						this.linkManIdentityText = this.linkManIdentity ? this.linkManFilters(this.linkManIdentity) : '请选择联系人身份'
 						this.mobile = organizationUser.bindMobile ? organizationUser.bindMobile : ''
 						this.shortName = this.$reg.checkData(organizationClub.shortName)
 						if (organizationClub.provinceId == null) {
@@ -466,6 +487,7 @@ export default {
 						this.addressData.addressDetail = organizationClub.address ? organizationClub.address : ''
 						this.socialCreditCode = this.$reg.checkData(organizationClub.socialCreditCode)
 						this.firstClubType = organizationClub.firstClubType
+						this.organizationTypeText = organizationClub.firstClubType ? this.firstClubTypeText(this.firstClubType) : '请选择机构类型'
 						this.secondClubType = this.$reg.checkData(organizationClub.secondClubType)
 						this.addressData.address = organizationClub.provincialAddress
 							? organizationClub.provincialAddress
@@ -477,27 +499,6 @@ export default {
 						this.clubTelePhone = this.$reg.checkData(organizationClub.contractPhone)
 						this.clubFax = this.$reg.checkData(organizationClub.fax)
 						this.profile = this.$reg.checkData(organizationClub.profile)
-						//机构类型&&主营项目
-						switch(this.firstClubType){
-							case 1:
-								this.organizationTypeText = '医美'
-								break
-							case 2:
-								this.organizationTypeText = '生美'
-								break
-							case 3:
-								this.organizationTypeText = '项目公司'
-								break
-							case 4:
-								this.organizationTypeText = '个人'
-								break
-							case 5:
-								this.organizationTypeText = '其他'
-								break
-							case null:
-								this.organizationTypeText = '请选择机构类型'
-								break
-						}	
 						if (organizationClub.mainProduct == '' || organizationClub.mainProduct == null) {
 							this.mentuzCampList = this.mentuzCampNullList
 							this.medicaCampList = this.medicaCampNullList
@@ -555,6 +556,11 @@ export default {
 						})
 					}
 					this.mainProduct = mainproList.join('/')
+					console.log('mainProduct',this.mainProduct)
+				}
+				if (!this.linkManIdentity) {
+					this.$util.msg('请选择联系人身份', 2000)
+					return
 				}
 				if (this.contractEmail == '') {
 					this.$util.msg('请输入邮箱地址', 2000)
@@ -597,6 +603,7 @@ export default {
 					clubId: this.clubId, //会所ID
 					name: this.name,
 					linkMan: this.linkMan,
+					linkManIdentity: this.linkManIdentity,
 					shortName: this.shortName,
 					contractEmail: this.contractEmail,
 					provinceId: this.addressData.provinceId,
@@ -737,6 +744,10 @@ export default {
 			this.typtIndex = e.target.value
 			this.firstClubType = e.target.value
 		},
+		bindPickerUserName(e){//选择联系人身份
+			this.linkManIdentityText = this.stateActions[e.target.value].name
+			this.linkManIdentity= this.stateActions[e.target.value].value
+		},
 		radioChange(item) {
 			this.secondClubType = item.value
 			if (this.secondClubType == 2 || this.secondClubType == 3) {
@@ -821,7 +832,28 @@ export default {
 				}
 			}
 			return false
-		}
+		},
+		firstClubTypeText(value){
+			// 机构类型文案
+			const map = {
+				1: '医美',
+				2: '生美',
+				3: '项目公司',
+				4: '个人',
+				5: '其他'
+			}
+			return map[value]
+		},
+		linkManFilters(value) {
+			// 联系人身份
+			const map = {
+				1: '老板',
+				2: '采购',
+				3: '运营',
+				4: '其他'
+			}
+			return map[value]
+		},
 	},
 	onShow() {
 		this.$api.getStorage().then(resolve => {

+ 2 - 0
pages/seller/cart/components/cm-unit-popup.vue

@@ -171,6 +171,8 @@ export default {
 			this.skuList = this.skuProduct.skus
 			this.isBtnDisabled = this.skuList[0].stock === 0
 			this.productCount = this.skuList[0].minBuyNumber
+			this.handleMinNumber = this.skuList[0].minBuyNumber
+			this.handleStock = this.skuList[0].stock
 			this.skuProduct.price = this.skuList[0].price
 			this.addParams.skuId = this.skuList[0].skuId
 			this.addParams.clubId = clubInfo.clubId ? clubInfo.clubId : 0

+ 70 - 38
pages/seller/login/information.vue

@@ -64,6 +64,25 @@
 			<view class="register-row">
 				<view class="register-title">升级信息</view>
 			</view>
+			<view class="register-row clearfix">
+				<view class="register-from picker">
+					<view class="label">联系人身份:</view>
+					<view class="row-input picker">
+						<picker @change="bindPickerUserName($event)" :value="index" :range="stateActions" range-key="name">
+							<input
+								class="row-input picker"
+								:class="linkManIdentityText === '请选择联系人身份' ? 'none' : ''"
+								type="text"
+								disabled="false"
+								v-model="linkManIdentityText"
+								value=""
+								placeholder="请选择"
+							/>
+						</picker>
+					</view>
+					<text class="iconfont icon-xiayibu"></text>
+				</view>
+			</view>
 			<view class="register-row clearfix">
 				<view class="register-from">
 					<view class="label">邮箱:</view>
@@ -145,7 +164,7 @@
 					<text class="iconfont icon-xiayibu"></text>
 				</view>
 			</view>
-			<view class="register-row clearfix" v-if="isOrganizationType == 1">
+			<view class="register-row clearfix" v-if="firstClubType == 1">
 				<view class="register-from radio">
 					<radio-group @change="radioChange">
 						<label class="row-label-input" v-for="(item, index) in beautyList" :key="item.value">
@@ -155,7 +174,7 @@
 					</radio-group>
 				</view>
 			</view>
-			<view class="register-row clearfix" v-if="isOrganizationType == 2">
+			<view class="register-row clearfix" v-if="firstClubType == 2">
 				<view class="register-from radio">
 					<radio-group @change="radioChange">
 						<label class="row-label-input" v-for="(item, index) in beautyLists" :key="item.value">
@@ -171,7 +190,7 @@
 					<input class="row-input keshi" type="text" v-model="department" placeholder="请填写经营的科室,至少三个,用逗号隔开" maxlength="16"/>
 				</view>
 			</view>
-			<view class="register-row clearfix" v-if="isOrganizationType == 1">
+			<view class="register-row clearfix" v-if="firstClubType == 1">
 				<view class="register-picture zz">
 					<view class="label zz">医疗执业许可证:</view>
 					<view class="upload-picture">
@@ -185,7 +204,7 @@
 					</view>
 				</view>
 			</view>
-			<view class="register-row clearfix" v-if="isOrganizationType == 1">
+			<view class="register-row clearfix" v-if="firstClubType == 1">
 				<view class="register-from group">
 					<view class="label">主营内容:</view>
 					<view class="content-class">
@@ -216,7 +235,7 @@
 					</view>
 				</view>
 			</view>
-			<view class="register-row clearfix" v-if="isOrganizationType == 2">
+			<view class="register-row clearfix" v-if="firstClubType == 2">
 				<view class="register-from group">
 					<view class="label">主营内容:</view>
 					<view class="content-class">
@@ -302,7 +321,8 @@
 				clubFax:'',				//传真
 				companyPprofile:'',		//公司简介
 				firstClubType:'',		//机构类型
-				isOrganizationType:0,
+				linkManIdentity:0,		// 联系人身份
+				linkManIdentityText:'请选择联系人身份',	//联系人身份
 				organizationTypeText:'请选择机构类型',
 				beautyList:beautyList,
 				beautyLists:beautyLists,
@@ -323,6 +343,12 @@
 					provinceId:'',		//省ID
 					addressDetail: '',	//地址详情
 				},
+				stateActions: [
+					{ name: '老板', value: 1 },
+					{ name: '采购', value: 2 },
+					{ name: '运营', value: 3 },
+					{ name: '其他', value: 4 },
+				]
 			}	
 		},
 		onLoad(option) {
@@ -346,6 +372,8 @@
 					this.userIdentity = organizationUser.userIdentity
 					this.clubContact = organizationClub.linkMan
 					this.mobile = organizationUser.bindMobile
+					this.linkManIdentity = organizationClub.linkManIdentity ? organizationClub.linkManIdentity : 0
+					this.linkManIdentityText = this.linkManIdentity ? this.linkManFilters(this.linkManIdentity) : '请选择联系人身份'
 					this.clubTelePhone = organizationClub.contractPhone ? organizationClub.contractPhone : ''
 					this.clubFax = organizationClub.fax ? organizationClub.fax : ''
 					this.companyPprofile = organizationClub.profile ? organizationClub.profile : ''
@@ -374,39 +402,13 @@
 					this.addressData.addressDetail = organizationClub.address ? organizationClub.address : ''
 					this.socialCreditCode = this.$reg.checkData(organizationClub.socialCreditCode)
 					this.firstClubType = this.$reg.checkData(organizationClub.firstClubType)
+					this.organizationTypeText = organizationClub.firstClubType ? this.firstClubTypeText(this.firstClubType) : '请选择机构类型'
 					this.secondClubType = this.$reg.checkData(organizationClub.secondClubType)
 					this.addressData.address = organizationClub.provincialAddress ? organizationClub.provincialAddress : ''
 					this.businessLicense = this.$reg.checkData(organizationClub.businessLicense)
 					this.medicalPracticeLicense = this.$reg.checkData(organizationClub.medicalPracticeLicense)
 					this.shopPhoto = this.$reg.checkData(organizationClub.shopPhoto)
 					this.department = this.$reg.checkData(organizationClub.department)						
-					//机构类型&&主营项目
-					switch(this.firstClubType){
-						case 1:
-							this.organizationTypeText = '医美'
-							this.isOrganizationType = 1
-							break
-						case 2:
-							this.organizationTypeText = '生美'
-							this.isOrganizationType = 2
-							break
-						case 3:
-							this.organizationTypeText = '项目公司'
-							this.isOrganizationType = 2
-							break
-						case 4:
-							this.organizationTypeText = '个人'
-							this.isOrganizationType = 2
-							break
-						case 5:
-							this.organizationTypeText = '其他'
-							this.isOrganizationType = 2
-							break
-						case null:
-							this.organizationTypeText = '请选择机构类型'
-							this.isOrganizationType = 0
-							break
-					}	
 					if(organizationClub.mainProduct == '' || organizationClub.mainProduct == null){
 						this.mentuzCampList = this.mentuzCampNullList
 						this.medicaCampList = this.medicaCampNullList
@@ -443,11 +445,16 @@
 					}
 					this.mainProduct = mainproList.join('/')
 				}
+				if (!this.linkManIdentity) {
+					this.$util.msg('请选择联系人身份', 2000)
+					return
+				}
 				let params = {
 						userId:this.userId,
 						clubId:this.clubId,					//会所ID
 						name:this.clubName,
 						linkMan:this.clubContact,
+						linkManIdentity:this.linkManIdentity,
 						contractEmail:this.contractEmail,
 						shortName:this.shortName,
 						provinceId:this.addressData.provinceId,
@@ -457,7 +464,7 @@
 						socialCreditCode:this.socialCreditCode,
 						businessLicense:this.businessLicense,
 						shopPhoto:this.shopPhoto,
-						firstClubType:this.isOrganizationType, //机构类型分类 医美:0和生美:1
+						firstClubType:this.firstClubType, //机构类型分类 医美:0和生美:1
 						secondClubType:this.secondClubType,		//机构类型二级分类 诊所:1,门诊:2,医院:3
 						department:this.department,				//科室
 						medicalPracticeLicense:this.medicalPracticeLicense,//资质图片
@@ -557,7 +564,7 @@
 					title:'标题',
 					itemList: ['医美', '生美','项目公司','个人','其他'],
 					success: (e) => {
-						self.isOrganizationType = e.tapIndex+1
+						self.firstClubType = e.tapIndex+1
 						switch(e.tapIndex){
 							case 0:
 								this.organizationTypeText = '医美'
@@ -579,9 +586,13 @@
 				})
 			
 			},
+			bindPickerUserName(e){//选择联系人身份
+				this.linkManIdentityText = this.stateActions[e.target.value].name
+				this.linkManIdentity= this.stateActions[e.target.value].value
+			},
 			bindPickerChange2(e) {
 				this.typtIndex = e.target.value
-				this.isOrganizationType = e.target.value
+				this.firstClubType = e.target.value
 			},
 			radioChange(e) {
 				this.secondClubType = e.target.value
@@ -645,13 +656,34 @@
 				return _ARRAY
 			},
 			addCustomItem(){
-				if(this.isOrganizationType == 1){
+				if(this.firstClubType == 1){
 					let item = {value:`${this.mentuzCampList.length+1}`,name:this.customItemValue,checked:true}
 					this.mentuzCampList.push(item)
 				}else{
 					let item = {value:`${this.medicaCampList.length+1}`,name:this.customItemValue,checked:true}
 					this.medicaCampList.push(item)
 				}
+			},
+			firstClubTypeText(value){
+				// 机构类型文案
+				const map = {
+					1: '医美',
+					2: '生美',
+					3: '项目公司',
+					4: '个人',
+					5: '其他'
+				}
+				return map[value]
+			},
+			linkManFilters(value) {
+				// 联系人身份
+				const map = {
+					1: '老板',
+					2: '采购',
+					3: '运营',
+					4: '其他'
+				}
+				return map[value]
 			}
 		},
 		onShow() {
@@ -1059,7 +1091,7 @@
 			.register-btn{
 				width: 702rpx;
 				height: 88rpx;
-				border-radius: 14rpx;
+				border-radius: 44rpx;
 				font-size: $font-size-28;
 				line-height: 88rpx;
 				color: #FFFFFF;

+ 47 - 14
pages/seller/login/register-member.vue

@@ -13,7 +13,7 @@
 				/>
 			</view>
 			<view class="main-form-item">
-				<view class="form-label">手机号</view>
+				<view class="form-label">手机号:</view>
 				<input
 					class="form-input phone"
 					type="text"
@@ -24,7 +24,24 @@
 				<view class="form-btn" @click.stop="CheckMobile()">检测</view>
 			</view>
 			<view class="main-form-item">
-				<view class="form-label">邮箱</view>
+				<view class="form-label">联系人身份:</view>
+				<view class="form-input">
+					<picker @change="bindPickerUserName($event)" :value="index" :range="stateActions" range-key="name">
+						<input
+							class="form-input"
+							:class="linkManIdentityText === '请选择联系人身份' ? 'none' : ''"
+							type="text"
+							disabled="false"
+							v-model="linkManIdentityText"
+							value=""
+							placeholder="请选择"
+						/>
+					</picker>
+				</view>
+				<view class="iconfont icon-xiayibu"></view>
+			</view>
+			<view class="main-form-item">
+				<view class="form-label">邮箱:</view>
 				<input
 					class="form-input"
 					type="text"
@@ -35,7 +52,7 @@
 				/>
 			</view>
 			<view class="main-form-item">
-				<view class="form-label">机构名称</view>
+				<view class="form-label">机构名称:</view>
 				<input
 					class="form-input"
 					type="text"
@@ -46,7 +63,7 @@
 				/>
 			</view>
 			<view class="main-form-item">
-				<view class="form-label">机构简称</view>
+				<view class="form-label">机构简称:</view>
 				<input
 					class="form-input"
 					type="text"
@@ -57,7 +74,7 @@
 				/>
 			</view>
 			<view class="main-form-item" @click="showMulLinkageThreePicker">
-				<view class="form-label">机构地址</view>
+				<view class="form-label">机构地址:</view>
 				<view class="form-input" :class="addressText === '请选择机构所在地区' ? 'none' : ''">
 					{{ addressText }}
 				</view>
@@ -81,7 +98,7 @@
 				/>
 			</view>
 			<view class="main-form-item">
-				<view class="form-label lang">营业执照编号</view>
+				<view class="form-label lang">营业执照编号:</view>
 				<input
 					class="form-input lang"
 					type="text"
@@ -93,7 +110,7 @@
 			</view>
 			<view class="main-form-item file">
 				<view class="main-form-upload">
-					<view class="label">营业执照</view>
+					<view class="label">营业执照:</view>
 					<view class="upload-picture">
 						<view class="upload-none" v-if="params.businessLicense === ''" @click="UploadPicture(1)">
 							<text class="iconfont icon-jiahao"></text><text class="upload-text">营业执照</text>
@@ -107,7 +124,7 @@
 					</view>
 				</view>
 				<view class="main-form-upload">
-					<view class="label">门头照</view>
+					<view class="label">门头照:</view>
 					<view class="upload-picture">
 						<view class="upload-none" v-if="params.shopPhoto === ''" @click="UploadPicture(2)">
 							<text class="iconfont icon-jiahao"></text><text class="upload-text">门头照</text>
@@ -122,7 +139,7 @@
 				</view>
 			</view>
 			<view class="main-form-item picker">
-				<view class="form-label">机构类型</view>
+				<view class="form-label">机构类型:</view>
 			</view>	
 			<view class="main-form-item picker">
 				<radio-group @change="bindPickerChange">
@@ -160,7 +177,7 @@
 			</view>
 			<view class="main-form-item file" v-if="params.firstClubType == 1">
 				<view class="main-form-upload">
-					<view class="label">资质</view>
+					<view class="label">资质:</view>
 					<view class="upload-picture">
 						<view class="upload-none" v-if="params.medicalPracticeLicense === ''" @click="UploadPicture(3)">
 							<text class="iconfont icon-jiahao"></text><text class="upload-text">医疗执业许可证</text>
@@ -191,7 +208,7 @@
 				></textarea>
 			</view>
 			<view class="main-form-item none" v-if="params.firstClubType == 1">
-				<view class="form-label none">主营内容</view>
+				<view class="form-label none">主营内容:</view>
 				<view class="form-checkbox-group">
 					<checkbox-group @change="ChooseMaleLike">
 						<label
@@ -223,7 +240,7 @@
 				</view>
 			</view>
 			<view class="main-form-item none" v-if="params.firstClubType == 2">
-				<view class="form-label none">主营内容</view>
+				<view class="form-label none">主营内容:</view>
 				<view class="form-checkbox-group">
 					<checkbox-group @change="ChooseMaleLike">
 						<label
@@ -394,6 +411,7 @@ export default {
 			mentuzCampList: mentuzCampNullList,
 			medicaCampList: medicaCampNullList,
 			addressText: '请选择机构所在地区',
+			linkManIdentityText:'请选择联系人身份',	//联系人身份
 			params: {
 				userId: 0,
 				name: '',
@@ -413,7 +431,8 @@ export default {
 				firstClubType: 1, //1医美;2生美
 				secondClubType: 1, //1诊所;2门诊;3医院
 				department: '', //科室
-				mainProduct: ''
+				mainProduct: '',
+				linkManIdentity:0,		//联系人身份
 			},
 			clubInfo: {
 				linkMan: '',
@@ -430,7 +449,13 @@ export default {
 			current: 0,
 			bindId: 0,
 			customItemValue: '', //自定义项目
-			showMainProductList: []
+			showMainProductList: [],
+			stateActions: [
+				{ name: '老板', value: 1 },
+				{ name: '采购', value: 2 },
+				{ name: '运营', value: 3 },
+				{ name: '其他', value: 4 },
+			]
 		}
 	},
 	filters: {
@@ -506,6 +531,10 @@ export default {
 				this.$util.msg('手机格式不正确', 2000)
 				return
 			}
+			if (!this.params.linkManIdentity) {
+				this.$util.msg('请选择联系人身份', 2000)
+				return
+			}
 			if (this.params.contractEmail == '') {
 				this.$util.msg('请输入邮箱地址', 2000)
 				return
@@ -692,6 +721,10 @@ export default {
 			})
 			return _ARRAY
 		},
+		bindPickerUserName(e){//选择联系人身份
+			this.linkManIdentityText = this.stateActions[e.target.value].name
+			this.params.linkManIdentity= this.stateActions[e.target.value].value
+		},
 		bindPickerChange(e) {
 			//选择机构类型
 			this.params.firstClubType = Number(e.target.value)

+ 1 - 1
pages/tabBar/user/user.vue

@@ -82,7 +82,7 @@
 							<view
 								class="main-member-none"
 								v-if="userVip.vipFlag == 0"
-								@click="navigatorUserMember('/pages/user/member/member-copy')"
+								@click="navigatorUserMember('/pages/user/member/member')"
 							>
 								<view class="main-member-none-text">开通采美·超级会员,享专属特权</view>
 								<view class="main-member-none-btn">立即开通</view>

+ 10 - 4
pages/user/member/member.vue

@@ -54,7 +54,7 @@
 			</view>
 		</view>
 		<view class="cm-member-main" v-if="productCouponList.length > 0">
-			<view class="title">专属优惠券<text class="small">每月可领4个</text></view>
+			<view class="title">专属优惠券<text class="small">每三个月可领4张</text></view>
 			<view class="cm-member-coupon clearfix">
 				<view
 					v-for="(coupon, index) in productCouponList"
@@ -247,7 +247,7 @@ export default {
 				{
 					icon: 'https://static.caimei365.com/app/img/icon/icon-member-prer2@2x.png',
 					privText: '专属优惠券',
-					privName: '超级会员专享'
+					privName: '每三个月可领'
 				},
 				{
 					icon: 'https://static.caimei365.com/app/img/icon/icon-member-prer8@2x.png',
@@ -271,13 +271,18 @@ export default {
 				},
 				{
 					icon: 'https://static.caimei365.com/app/img/icon/icon-member-prer6@2x.png',
-					privText: '快速发货',
-					privName: '会员加速'
+					privText: '新品试用',
+					privName: '新品可优先试用'
 				},
 				{
 					icon: 'https://static.caimei365.com/app/img/icon/icon-member-prer7@2x.png',
 					privText: '售后服务',
 					privName: '会员加速'
+				},
+				{
+					icon: 'https://static.caimei365.com/app/img/icon/icon-member-prer8@2x.png',
+					privText: '分期付',
+					privName: '热门商品分期付(年卡专享)'
 				}
 			],
 			listQuery: {
@@ -795,6 +800,7 @@ page {
 				color: #999999;
 				line-height: 30rpx;
 				margin-top: 6rpx;
+				text-align: center;
 			}
 		}
 	}

+ 0 - 13
pages/user/order/order-payment.vue

@@ -95,19 +95,6 @@
 									<text class="iconfont icon-duigou"></text>
 								</view>
 							</view>
-<!-- 							<view  class="pay-item" :class="{ 'current' : tabCurrentIndex === 3}"   @click="tabClick(3)" >
-								<view class="item-l">
-									<view class="item-icon"><text class="iconfont icon-daewangyinzhuanzhang"></text></view>
-									<view class="item-text">
-										<view class="txt-p">大额银联转账</view>
-										<view class="txt-t">需要使用银行App或网银进行转账</view>
-									</view>
-								</view>
-								<view class="item-r">
-									<text class="iconfont icon-duigou"></text>
-								</view>
-							</view>
- -->							
 						</view>
 					</view>
 				</view>

+ 1 - 1
utils/residence.js

@@ -86,7 +86,7 @@ const setingSysParams = async (current) => {
     } else {
 	    sysParams.pageLabel = uni.getStorageSync('pageLabel') ? uni.getStorageSync('pageLabel') : pageData.pageLabel
     }
-    console.log('记录路径:', sysParams.path, '标签:', sysParams.pageLabel)
+    console.log('记录路径:', sysParams.pagePath, '标签:', sysParams.pageLabel)
     // 统计接口调用
     await UserApi.userRecordStatistics(sysParams)
     console.log('---用户行为轨迹记录成功---')