Parcourir la source

7月需求修改

zhengjinyi il y a 4 ans
Parent
commit
994ae887ea

+ 63 - 17
pages/goods/product.vue

@@ -93,11 +93,16 @@
 						<image class="none-image" :src="productNoneImage" mode=""></image>
 						<view class="none-text">此商品已{{goodsData.disabledText}},请浏览以下推荐商品~</view>
 					</view>
-					<view class="product-parameter" @click="showPopup" v-if="!goodsData.isNoneDisabled">
+					<view class="product-parameter" @click="showPopup(0)" v-if="!goodsData.isNoneDisabled">
 						<text class="title">参数:</text>
 						<text class="name">品牌  起订量  分类...</text>
 						<text class="iconfont icon-xiayibu"></text>
 					</view>
+					<view class="product-parameter" @click="showPopup(1)">
+						<text class="title">培训方案:</text>
+						<text class="name">线上培训</text>
+						<text class="iconfont icon-xiayibu"></text>
+					</view>
 					<view class="product-supplier" v-if="isNoneSupplier" @click="goSupplier">
 						<view class="logo"><img :src="shop.logo ? shop.logo :'https://static.caimei365.com/app/img/icon/icon-shoplogo.png'" alt=""></view>
 						<view class="main">
@@ -147,7 +152,7 @@
 					</view>
 				</view>	
 				<!-- 商品参数 -->
-				<tui-bottom-popup :radius="true" :show="popupShow" @close="hidePopup()">
+				<tui-bottom-popup :radius="true" :show="popupShow0" @close="hidePopup(0)">
 					<view class="tui-popup-box clearfix">
 						<view class="title">商品参数</view>
 						<div class="tui-popup-main">
@@ -184,7 +189,30 @@
 						</div>
 						<view class="tui-right-flex tui-popup-btn" :style="{ paddingBottom :isIphoneX ? '68rpx' : '0rpx' }">
 							<view class="tui-flex-1">
-								<view class="tui-button" @click="hidePopup()">收起</view>
+								<view class="tui-button" @click="hidePopup(0)">收起</view>
+							</view>
+						</view>
+					</view>	
+				</tui-bottom-popup>	
+				<!-- 培训方案 -->
+				<tui-bottom-popup :radius="true" :show="popupShow1" @close="hidePopup(1)">
+					<view class="tui-popup-box clearfix">
+						<view class="title">培训方案</view>
+						<div class="tui-popup-main">
+							<scroll-view class="tui-popup-scroll train"  scroll-y="true">
+								<view class="content-tr">
+									<view class="content-td">培训方式</view>
+									<view class="content-th">线上培训</view>
+								</view>
+								<view class="content-tr">
+									<view class="content-td">培训费用</view>
+									<view class="content-th">¥100.00</view>
+								</view>
+							</scroll-view>
+						</div>
+						<view class="tui-right-flex tui-popup-btn" :style="{ paddingBottom :isIphoneX ? '68rpx' : '0rpx' }">
+							<view class="tui-flex-1">
+								<view class="tui-button" @click="hidePopup(1)">收起</view>
 							</view>
 						</view>
 					</view>	
@@ -298,7 +326,7 @@
 				mode:'round',
 				iconClass:'icon-aixin',
 				iconColor:'#ff9100',
-				specClass: '',//规格弹窗css类,控制开关动画
+				specClass: '',								// 规格弹窗css类,控制开关动画
 				isBtnType:'',
 				isRequest:false,
 				isScrollTop:false,
@@ -322,8 +350,8 @@
 				userId:'',
 				shopID:'',
 				productId:0,
-				userIdentity:0,//用户类型
-				goodsData:{},//自定义数据
+				userIdentity:0,								// 用户类型
+				goodsData:{},								// 自定义数据
 				shop:{},//供应商信息
 				product:{},//采美
 				productImage:[],
@@ -335,19 +363,20 @@
 				minBuyNumber:0,
 				productsList:[],
 				goodListData:[],
-				headerBtnPosi:	this.setHeaderBtnPosi(), //获取设备顶部胶囊高度
-				systeminfo: this.setSysteminfo(),		 //获取设备信息
+				headerBtnPosi:	this.setHeaderBtnPosi(), 	// 获取设备顶部胶囊高度
+				systeminfo: this.setSysteminfo(),		 	// 获取设备信息
 				isIphoneX:this.$store.state.isIphoneX,
 				windowHeight: '',
 				headerColor:false,
 				backPage:1,
-				nvabarData: {							 //顶部自定义导航
-					showCapsule: 1, // 是否显示左上角图标   1表示显示    0表示不显示
-					title: ''		// 导航栏 中间的标题
+				nvabarData: {							 	// 顶部自定义导航
+					showCapsule: 1, 						// 是否显示左上角图标   1表示显示    0表示不显示
+					title: ''								// 导航栏 中间的标题
 				},
 				linkPath:'',
-				CustomBar:this.CustomBar,// 顶部导航栏高度
-				popupShow:false,//参数弹窗
+				CustomBar:this.CustomBar,					// 顶部导航栏高度
+				popupShow0:false,							// 参数弹窗
+				popupShow1:false,							// 培训方案
 				tabSelectFlag:false,
 				sectionPropsArr: [],
 				scrollTopArray:[],
@@ -675,11 +704,25 @@
 				  imageUrl:`${this.productImage[0]}`
 				}
 			},
-			showPopup(){
-				this.popupShow = true
+			showPopup(index){
+				switch(index){
+					case 0:
+						this.popupShow0 = true
+						break;
+					case 1:
+						this.popupShow1 = true
+						break;
+				}
 			},
-			hidePopup(){
-				this.popupShow = false
+			hidePopup(index){
+				switch(index){
+					case 0:
+						this.popupShow0 = false
+						break;
+					case 1:
+						this.popupShow1 = false
+						break;
+				}
 			},
 			getSectionProps() {//获取每个tab对应区域的scrollTop值
 				let className = '.product-details',
@@ -1850,6 +1893,9 @@
 			.tui-popup-scroll{
 				width: 100%;
 				height: 500rpx;
+				&.train{
+					height: 240rpx;
+				}
 				.content-tr{
 					width: 100%;
 					min-height: 58rpx;

+ 6 - 4
pages/login/apply.vue

@@ -25,17 +25,19 @@
 				</view>
 				<view class="register-tip"><text>提示:邮箱可用作登录账号,请使用公司邮箱或法人邮箱</text></view>
 			</view>
-			<view class="register-row clearfix">
+			<view class="register-row none clearfix">
 				<view class="register-from">
 					<view class="label">机构名称</view>
 					<input class="row-input" type="text" v-model="clubName" placeholder="请输入您的机构名称" placeholder-class="placeholder" maxlength="30"/>
 				</view>
+				<view class="register-tip"><text>示例:深圳市美丽人生医疗美容有限公司</text></view>
 			</view>
-			<view class="register-row clearfix">
+			<view class="register-row none clearfix">
 				<view class="register-from">
 					<view class="label">机构简称</view>
-					<input class="row-input" type="text" v-model="shortName" placeholder="请输入您的机构简称" placeholder-class="placeholder" maxlength="10"/>
+					<input class="row-input" type="text" v-model="shortName" placeholder="请输入姓名或常用名" placeholder-class="placeholder" maxlength="10"/>
 				</view>
+				<view class="register-tip"><text>示例:美丽人生</text></view>
 			</view>
 			<view class="register-row clearfix">
 				<view class="register-from"  @click="showMulLinkageThreePicker">
@@ -716,7 +718,7 @@
 				}
 				.register-tip{
 					line-height: 64rpx;
-					font-size: $font-size-24;
+					font-size: $font-size-20;
 					color: #fea785;
 					text-align: left;
 				}

+ 18 - 4
pages/login/information.vue

@@ -28,17 +28,19 @@
 					<input class="row-input" type="text" name="input" v-model="contractEmail" placeholder="请输入邮箱地址"placeholder-class="placeholder" maxlength="30"/>
 				</view>
 			</view>
-			<view class="register-row clearfix">
+			<view class="register-row none clearfix">
 				<view class="register-from">
 					<view class="label">机构名称</view>
 					<input class="row-input" type="text" v-model="name" placeholder="请输入您的机构名称" placeholder-class="placeholder" maxlength="30"/>
 				</view>
+				<view class="register-tip"><text>示例:深圳市美丽人生医疗美容有限公司</text></view>
 			</view>
-			<view class="register-row clearfix">
+			<view class="register-row none clearfix">
 				<view class="register-from">
 					<view class="label">机构简称</view>
-					<input class="row-input" type="text" v-model="shortName" placeholder="请输入您的机构简称" placeholder-class="placeholder" maxlength="10"/>
+					<input class="row-input" type="text" v-model="shortName" placeholder="请输入姓名或常用名" placeholder-class="placeholder" maxlength="10"/>
 				</view>
+				<view class="register-tip"><text>示例:美丽人生</text></view>
 			</view>
 			<view class="register-row clearfix">
 				<view class="register-from"  @click="showMulLinkageThreePicker">
@@ -732,7 +734,10 @@
 			}
 			.register-row{
 				height: auto;
-				margin-bottom: 20rpx;			
+				margin-bottom: 20rpx;	
+				&.none{
+					margin-bottom: 0;
+				}		
 				.secondTyperadio{
 					border: 2rpx solid #e1e1e1;
 					display: inline-block;
@@ -748,6 +753,15 @@
 						color: $color-system;
 					}
 				}	
+				.register-tip{
+					width: 100%;
+					box-sizing: border-box;
+					padding: 0 24rpx;
+					line-height: 44rpx;
+					font-size: $font-size-20;
+					color: #fea785;
+					text-align: left;
+				}
 				.register-title{
 					line-height: 80rpx;
 					font-size: $font-size-30;

+ 8 - 2
pages/login/register-supplier.vue

@@ -69,12 +69,15 @@
 			</view>
 		</view>	
 		<view class="register-main clearfix" v-if="stepIndex === 1">
-			<view class="register-row clearfix">
+			<view class="register-row none clearfix">
 				<view class="register-from">
 					<view class="label">公司名称:</view>
 					<input class="row-input" type="text" name="input" v-model="twoParmas.name" placeholder="请输入您的公司名称" maxlength="30"/>
 				</view>
 			</view>
+			<view class="register-row text clearfix">
+				<text>示例:华熙生物科技股份有限公司</text>
+			</view>	
 			<view class="register-row clearfix">
 				<view class="register-from">
 					<view class="label">联系人:</view>
@@ -96,12 +99,15 @@
 			</view>
 		</view>
 		<view class="register-main clearfix" v-if="stepIndex === 2">
-			<view class="register-row clearfix">
+			<view class="register-row none clearfix">
 				<view class="register-from">
 					<view class="label">公司简称:</view>
 					<input class="row-input" type="text" v-model="threeParmas.shortName" placeholder="请输入您的公司简称" maxlength="10"/>
 				</view>
 			</view>
+			<view class="register-row text clearfix">
+				<text>示例:华熙生物</text>
+			</view>	
 			<view class="register-row clearfix">
 				<view class="register-from"  @click="showMulLinkageThreePicker">
 					<view class="label">联系地址:</view>

+ 0 - 2
seller/pages/login/register-member.vue

@@ -563,11 +563,9 @@
 				switch(this.params.firstClubType){
 					case 1:
 						this.params.mainProduct = this.CheckLikes(e,this.mentuzCampList)
-						console.log(this.params.mainProduct)
 						break;
 					case 2:
 						this.params.mainProduct = this.CheckLikes(e,this.medicaCampList)
-						console.log(this.params.mainProduct)
 						break;
 				}
 			},

+ 17 - 2
supplier/pages/user/information.vue

@@ -8,10 +8,12 @@
 				<view class="label">公司名称</view>
 				<input class="row-input" type="text"  v-model="params.name" placeholder="请与营业执照的注册名称保持一致" placeholder-class="placeholder" maxlength="30"/>
 			</view>
+			<view class="info-email">示例:华熙生物科技股份有限公司</view>
 			<view class="info-from">
 				<view class="label">公司简称</view>
 				<input class="row-input" type="text" v-model="params.shortName" placeholder="请输入公司简称" placeholder-class="placeholder" maxlength="10"/>
 			</view>
+			<view class="info-email">示例:华熙生物</view>
 			<view class="info-from">
 				<view class="label">公司地址</view>
 				<view class="row-input" @click="showMulLinkageThreePicker">
@@ -764,6 +766,15 @@
 	.placeholder{
 		 color: #b2b2b2;
 	}
+	.info-from-tips{
+		width: 100%;
+		box-sizing: border-box;
+		padding: 0 24rpx;
+		line-height: 44rpx;
+		font-size: $font-size-24;
+		color: #fea785;
+		text-align: left;
+	}
 	.info-from{
 		width: 702rpx;
 		height: 90rpx;
@@ -814,9 +825,13 @@
 	}
 	 input[type="text"]::placeholder,textarea::placeholder {color: #b2b2b2;font-size: $font-size-28;}
 	 .info-email{
-		 color: #fea785;
+		 width: 100%;
+		 box-sizing: border-box;
+		 padding: 0 24rpx;
+		 line-height: 44rpx;
 		 font-size: $font-size-20;
-		 padding-left: 24rpx ;
+		 color: #fea785;
+		 text-align: left;
 	 }
 	 .ShopTyperadio{
 		 overflow: hidden;