瀏覽代碼

样式优化

Administrator 4 年之前
父節點
當前提交
37e710281a

+ 21 - 26
second/pages/form/form.vue

@@ -56,37 +56,37 @@
 					 <view class="row" v-if="secondParams.brandID==161">
 						 <view class="label">其它品牌</view>
 						 <view class="spacing">
-							 <input type="text" maxlength="40" v-model="secondParams.brandName" placeholder="请输入商品品牌">
+							 <input type="text" maxlength="40" v-model="secondParams.brandName" placeholder="请输入商品品牌" placeholder-class="placeholder">
 						 </view>
 					 </view>
 					 <view class="row">
 						 <view class="label">商品名称</view>
 						 <view class="spacing">
-							 <input type="text" maxlength="40"  v-model="secondParams.name" placeholder="请输入商品名称,不超过40个汉字">
+							 <input type="text" maxlength="40"  v-model="secondParams.name" placeholder="请输入商品名称,不超过40个汉字" placeholder-class="placeholder">
 						 </view>
 					 </view>
 					 <view class="row">
 						 <view class="label">出厂日期</view>
 						 <view class="spacing">
-							<input type="text" v-model="secondParams.fixedYears"  maxlength="10" placeholder="请输入出厂日期 如:2020年06月">
+							<input type="text" v-model="secondParams.fixedYears"  maxlength="10" placeholder="请输入出厂日期 如:2020年06月" placeholder-class="placeholder">
 						 </view>
 					 </view>
 					 <view class="row"  v-show="secondParams.secondHandType==2">
 						 <view class="label second">产品到期日</view>
 						 <view class="spacing second">
-							<input type="text"  v-model="secondParams.maturityYears" maxlength="10" placeholder="请输入产品到期日,如:2020年12月">
+							<input type="text"  v-model="secondParams.maturityYears" maxlength="10" placeholder="请输入产品到期日,如:2020年12月" placeholder-class="placeholder">
 						 </view>
 					 </view>
 					 <view class="row">
 						 <view class="label">公司名称</view>
 						 <view class="spacing">
-							 <input type="text"  v-model="secondParams.companyName"  maxlength="30" placeholder="请输入公司名称,不超过30个汉字">
+							 <input type="text"  v-model="secondParams.companyName"  maxlength="30" placeholder="请输入公司名称,不超过30个汉字" placeholder-class="placeholder">
 						 </view>
 					 </view>
 					 <view class="row">
 						 <view class="label">交易价</view>
 						 <view class="spacing">
-							 <input type="text" maxlength="20" v-model="secondParams.price1"  placeholder="请输入交易价">
+							 <input type="text" maxlength="20" v-model="secondParams.price1"  placeholder="请输入交易价" placeholder-class="placeholder">
 						 </view>
 					 </view>
 					 <view style="margin-top: 15rpx;">
@@ -99,45 +99,42 @@
 					 <view class="row" v-show="secondParams.secondHandType==2">
 						 <view class="label">市场价</view>
 						 <view class="spacing">
-							  <input type="text"  v-model="secondParams.normalPrice" maxlength="30" oninput="value=value.replace(/[^\d]/g, '')"   placeholder="请输入市场价">
+							  <input type="text"  v-model="secondParams.normalPrice" maxlength="30" oninput="value=value.replace(/[^\d]/g, '')"   placeholder="请输入市场价" placeholder-class="placeholder">
 						 </view>
 					 </view>
 					 <view class="row"  v-show="secondParams.secondHandType==2">
 						 <view class="label second">采购价/原价</view>
 						 <view class="spacing second">
-							  <input type="text"  v-model="secondParams.originalPrice" maxlength="30" oninput="value=value.replace(/[^\d]/g, '')" placeholder="请输入采购价/原价"/>
+							  <input type="text"  v-model="secondParams.originalPrice" maxlength="30" oninput="value=value.replace(/[^\d]/g, '')" placeholder="请输入采购价/原价" placeholder-class="placeholder"/>
 						 </view>
 					 </view>
 					 <view class="row" v-show="secondParams.secondHandType==2">
 						 <view class="label">数量</view>
-						 <view class="spacing">
-							  <input type="text"   v-model="secondParams.stock" maxlength="30"  placeholder="请输入数量">
+						 <view class="spacing"> 
+							  <input type="text"   v-model="secondParams.stock" maxlength="30"  placeholder="请输入数量" placeholder-class="placeholder">
 						 </view>
 					 </view>
 					 <view class="row">
 						 <view class="label">商品成色</view>
 						 <view class="spacing">
-						     <input type="text" maxlength="10"  v-model="secondParams.productQuality"  placeholder="请输入商品成色,如“9成新”">
+						     <input type="text" maxlength="10"  v-model="secondParams.productQuality"  placeholder="请输入商品成色,如“9成新”" placeholder-class="placeholder">
 					    </view> 
 					 </view>
 					 <view class="row">
 						 <view class="label">联系人</view>
 						 <view class="spacing">
-							  <input type="text" maxlength="6" v-model="secondParams.contactName"   placeholder="请输入联系人姓名">
+							  <input type="text" maxlength="6" v-model="secondParams.contactName"   placeholder="请输入联系人姓名" placeholder-class="placeholder">
 					    </view> 
 					 </view>
 					 <view class="row">
 						 <view class="label">联系方式</view>
 						 <view class="spacing">
-							 <input type="text"  v-model="secondParams.contactMobile"    maxlength="11" placeholder="请输入联系人手机号 / 固话">
+							 <input type="text"  v-model="secondParams.contactMobile"    maxlength="11" placeholder="请输入联系人手机号 / 固话" placeholder-class="placeholder">
 					    </view> 
 					 </view>
 					 <view class="row">
 						 <view class="label">商品类型</view>
 						 <view class="secondradio">
-							<!-- <view class="buy " v-for="(item ,index) in beauty" :key='index' value="item.value" @click="getProductType(item.value)" :class="secondType==item.value?' active':''">
-								 <label class="iconfont" :class="secondType==item.value?'icon-yixuanze':'icon-weixuanze'"></label>{{item.name}}
-							 </view> -->
 							 <radio-group class="row-group" @change="getProductType" >
 							 	<label class="row-input" v-for="(item, index) in beauty" :key="index">
 							 		<radio class="row-radio" :value="item.value" color="#E15616"/>
@@ -149,14 +146,14 @@
 					<view class="row" >
 						 <view class="label">联系地址</view>
 						 <view class="spacing"  @click="showMulLinkageThreePicker">
-							 <text class="row-input" :class="addressData.address === '请选择所在地区' ? 'none' : ''">
+							 <text class="row-input" :class="addressData.address === '请选择所在地区' ? 'none,placeholder' : ''"  >
 							 	{{addressData.address}}
 							 </text>		
 							 <text class="iconfont icon-xiayibu"></text>
 					    </view> 
 					 </view>
 					 <textarea type="text"  class="border-grey address-details" v-model="secondParams.address" maxlength="50"
-						placeholder="请填写详细地址,如街道/小区/门牌等" /></textarea>
+						placeholder="请填写详细地址,如街道/小区/门牌等"  placeholder-class="placeholder"/></textarea>
 					<view class="release-main-container">
 						<view class="release-from">
 							<view class="label">商品图片</view>
@@ -180,13 +177,13 @@
 						<view class="productinfo">
 							 <view class="label unlogin-label" style="width: 100%;">商品详细信息</view>
 							 <div class="textarea-wrapper">
-								 <textarea maxlength="200" v-model="secondParams.productDetails"  cols="70" class="description" rows="6"  placeholder="请填写商品详细信息,对商品进行更详细的描述"></textarea>
+								 <textarea maxlength="200" v-model="secondParams.productDetails"  cols="70" class="description" rows="6"  placeholder="请填写商品详细信息,对商品进行更详细的描述"  placeholder-class="placeholder"></textarea>
 								 <span class="word-limit">{{secondParams.productDetails.length}}/200</span>
 							 </div>
 						</view>
 						<view class="productinfo">
 							 <view class="label unlogin-label" style="width: 100%;">免责声明</view>
-							 <textarea class="smText">
+							 <textarea type="text"  class="smText" >
 								 鉴于本网站提供的二手版块信息包括但不限于公司名称,商品的简介、性能、描述与说明,相关图片、视频等均由卖家自行提供,
 								 由卖家对其提供的信息承担相应法律责任。买家应自行甄别商品信息并查验商品性状。本网站对二手版块中买卖双方的交易不提供任何形式的担保与保证,特此声明!
 							 </textarea>
@@ -484,9 +481,7 @@
 		.secondradio{display: inline-block;margin-left: 40rpx;}	
 		.Secondary{margin-left: 161rpx;}
 		.secondradio view.active {color: #e15616;}
-		input[type="text"]::placeholder{color: #b2b2b2;}
-		textarea::placeholder{color: #b2b2b2;}
-		input[type="text"]{line-height: 90rpx;overflow: unset;}
+		.placeholder{color: #9aa5b5;}
 		.linqi_text { width: 100%; height: 68rpx;background-color: #1890f9;box-shadow: 0rpx 4rpx 6rpx 0rpx rgba(24, 144, 249, 0.17);text-align: center;
 		    line-height: 68rpx;color: #ffffff;margin: auto;font-size:24rpx;position: relative;}
 		.jiaobiao {width: 0;height: 0;border-left: 20rpx solid transparent;border-right: 20rpx solid transparent;top: -30%;
@@ -499,11 +494,11 @@
 		.select {position: relative;color: #9aa5b5;text-align: left;user-select: none;}
 		.row .spacing{display: inline-block;margin-left: 50rpx;width: 75%;vertical-align:middle;position: relative}
 		.select .placeholder {position: relative;cursor: pointer;width: 100%;display: inline-block;}
-		.icon-xiayibu{right: 0rpx;;color: #b2b2b2;position: absolute}
-		.xiangliao{font-size: 26rpx;margin-right: 10rpx;color: #b2b2b2}
+		.icon-xiayibu{right: 0rpx;;color: #9aa5b5;position: absolute}
+		.xiangliao{font-size: 26rpx;margin-right: 10rpx;color: #9aa5b5}
 		.icon-jiagexiangliao{color: #e15616 !important;}
 		.pricecolor{margin-left: 10rpx;}
-		.showflag{color: #b2b2b2;}
+		.showflag{color: #9aa5b5;}
 		.border-grey{width: 100%;resize: none;padding: 20rpx 0;height: 160rpx;border-bottom: 2rpx solid #e1e1e1;}
 		.release-main-container {overflow: hidden;margin: 20rpx 0}
 		.uploadGoodsImages{display: flex;overflow-x: auto;overflow-y: hidden;}

+ 111 - 13
seller/pages/order/order-list.vue

@@ -111,19 +111,19 @@
 		</share-alert>
 		<!-- 透明模态层 -->
 		<modal-layer v-if='isModalLayer'></modal-layer>
-		<view class="aganBj" v-if="showAgan">
+		<view class="aganBj" v-show="showAgan">
 			<view class="alertAgan">
-				<text class="title">以下商品已失效,不能进行购买。是否先将其他商品加入购物车?</text>
+				<text class="title">{{promptitle}}</text>
 				<view class="goods">
-					<view class="list">
-						<image class="image-left" src="https://admin-b.caimei365.com/userfiles/1/images/photo/2020/11/15.jpg"></image>
-						<view class="name-right">韩国恩盛进口氢洁气小气泡清小气泡进口氢洁气小气泡清..</view>
+					<view class="list" v-for="(item,index) in failList"  :key="index">
+						<image class="image-left" :src="item.mainImage"></image>
+						<view class="name-right">{{item.name}}</view>
 					</view>
 				</view>
-			</view>
-			<view class="btn">
-				<view class="">取消</view>
-				<view class="">确定</view>
+				<view class="BtnAll">
+					<view class="closebtn btn" @click="closeBtn">取消</view>
+					<view class="cancel btn" @click="cancelBtn">确定</view>
+				</view>
 			</view>
 		</view>
 	</view>
@@ -202,6 +202,9 @@
 				navbarHeight:'',
 				nomoreText: '上拉显示更多',
 				showAgan:false,
+				failList:[],//失效商品
+				promptitle:'',
+				aganOrderID:0,//再来一单商品id
 				
 			}
 		},
@@ -224,6 +227,16 @@
 			},
 		},
 		methods: {
+			closeBtn(){//
+				this.showAgan = false;
+			},
+			cancelBtn(){
+				this.SellerService.SellerCreateOrderAgain({orderId:this.aganOrderID,confirmFlag:1}).then(res =>{
+					if(res.code==0){
+						this.$api.navigateTo('/seller/pages/cart/cart');
+					}
+				})
+			},
 			// 滚动切换标签样式
 			onChange (e) {
 				let index = e.target.current || e.detail.current;
@@ -378,13 +391,22 @@
 				}
 			},
 			handOrderAgain(id){
-				this.SellerService.SellerCreateOrderAgain({orderId:id,confirmFlag:0}).then(res =>{
+				this.aganOrderID = id;
+				this.SellerService.SellerCreateOrderAgain({orderId:this.aganOrderID,confirmFlag:0}).then(res =>{
 					if(res.code==0){
-						this.$api.navigateTo('/seller/pages/cart/cart')
+						this.$api.navigateTo('/seller/pages/cart/cart');
+					}
+				}).catch(error =>{
+					if(error.code== -3){
+						this.showAgan = true;
+						this.promptitle = error.msg;
+						this.failList = error.data;
+					}else if(error.code== -2){
+						this.$util.modal('',error.msg,'确定','',false,() =>{})
 					}else{
-						
+						this.$util.msg(error.msg,2000)
 					}
-				})
+					})
 			},
 			handOrderConfirm (id){//确认订单
 				this.$util.modal('提示','确认此订单?','确定','取消',true,() =>{
@@ -877,4 +899,80 @@
 			}
 		}
 	}
+	.aganBj {
+	    position: fixed;
+	    left: 0;
+	    top: 0;
+	    bottom: 0;
+	    width: 100%;
+	    height: 100%;
+	    background-color: rgba(0, 0, 0, .5);
+	    z-index: 999999;
+		.alertAgan {
+		    position: absolute;
+		    top: 50%;
+		    left: 50%;
+		    transform: translate(-50%, -50%);
+		    width:580rpx;
+		    background-color: #fff;
+		    border-radius: 16rpx;
+			.title{
+				font-size: 30rpx;
+				color: #333333;
+				line-height: 42rpx;
+				padding: 30rpx;
+				display: block;
+			}
+			.goods{
+				padding: 0 30rpx;
+				.list{
+					padding: 10px 0;
+					border-bottom: 1rpx solid #e1e1e1;
+					margin: 10rpx 0;
+					.image-left{
+						width: 86rpx;
+						height: 86rpx;
+						border: 2rpx solid #e1e1e1;
+						border-radius: 6rpx;
+						display: inline-block;
+						vertical-align: middle;
+					}
+					.name-right{
+						display: inline-block;
+						width: 416rpx;
+						margin-left: 15rpx;
+						font-size: 26rpx;
+						color: #666666;
+						vertical-align: middle;
+						word-break: break-all;
+						overflow: hidden;
+						text-overflow: ellipsis;
+						display: -webkit-inline-box;
+						-webkit-line-clamp: 2;
+						-webkit-box-orient: vertical;
+					}
+				}
+			}
+			.BtnAll{
+				margin-top: 30rpx;
+				.btn{
+				 	display: inline-block;
+					width: 290rpx;
+					height: 90rpx;
+					line-height: 90rpx;
+					text-align: center;
+					&.closebtn{
+						border-radius: 0px 0px 0px 10px;
+						color:#999999 ;
+						background: #efefef;
+					}
+					&.cancel{
+						border-radius: 0px 0px 8px 0px;
+						background: $btn-confirm;
+						color: #fff;
+					}
+				}
+			}
+		}
+	}
 </style>

+ 29 - 15
supplier/pages/user/information.vue

@@ -10,7 +10,7 @@
 			</view>
 			<view class="info-from">
 				<view class="label">公司简称</view>
-				<input class="row-input" type="text" v-model="params.sname"placeholder="请输入公司简称" maxlength="10"/>
+				<input class="row-input" type="text" v-model="params.sname" placeholder="请输入公司简称" maxlength="10"/>
 			</view>
 			<view class="info-from">
 				<view class="label">公司地址</view>
@@ -21,7 +21,7 @@
 					 <text class="iconfont icon-xiayibu"></text>
 				</view> 
 			</view>
-			<textarea value="" v-model="addressData.addressDetail"  placeholder="请填写详细地址,如街道/小区/门牌等" maxlength="50" class="address-details"/>
+			<textarea value="" v-model="params.address"  placeholder="请填写详细地址,如街道/小区/门牌等" maxlength="50" class="address-details"/>
 			<view class="info-from">
 				<view class="label">联系人</view>
 				<input class="row-input"  v-model="params.linkMan" type="text" placeholder="请输入联系人姓名" maxlength="6"/>
@@ -291,8 +291,8 @@
 					{value:'13',name:'纤体减肥'}
 				],
 				params:{
-					userID:'',
-					shopID:'',
+					userID:10450,
+					shopID:10087,
 					townID:'',
 					provinceID: '',//省id
 					cityID: '',
@@ -337,10 +337,10 @@
 			}
 		},
 		onLoad() {
-			this.$api.getComStorage('userInfo').then((resolve) =>{
-				this.params.userID = resolve.userID;
-				this.params.shopID = resolve.shopID;
-			})
+			// this.$api.getComStorage('userInfo').then((resolve) =>{
+			// 	this.params.userID = resolve.userID;
+			// 	this.params.shopID = resolve.shopID;
+			// })
 			this.shopInfo();
 		},
 		methods:{
@@ -354,16 +354,16 @@
 			},
 			checkLikes(e,list){
 				let	values = e.detail.value;
-				console.log(values)
 				let arr = []
 				list.forEach(item => {
-					if(values.includes(item.value)){
+					if(values.indexOf(item.value) >= 0){
 						this.$set(item,'checked',true)
 						arr.push(item.name)
 					}else{
 						this.$set(item,'checked',false)
 					}
 				})
+				console.log(arr)
 				return arr.join('/')
 			},
 			setNewMainpro(arr){//回显处理主营内容
@@ -387,10 +387,11 @@
 						this.params.sname = shop.sname;
 						this.params.linkMan = shop.linkMan;
 						this.params.email = user.email;
-						this.addressData.addressDetail = shop.provincialAddress;
-						this.addressData.provinceID = shop.provinceID;
-						this.addressData.cityID = shop.cityID;
-						this.addressData.townID = shop.townID;
+						this.addressData.address =  shop.provincialAddress;
+						this.params.address = shop.address;
+						this.params.provinceID = shop.provinceID;
+						this.params.cityID = shop.cityID;
+						this.params.townID = shop.townID;
 						this.params.contractPhone = shop.contractPhone;
 						this.params.fax = shop.fax;
 						this.params.legalPerson = shop.legalPerson;
@@ -411,15 +412,23 @@
 						this.params.certificateHonor = shop.hygienicLicense;
 						this.HonorImagesList = response.data.certificateHonor;
 						this.productImagesList = response.data.productCertification;
+						if( response.data.certificateHonor!=''|| response.data.certificateHonor!=null){
+							this.params.certificateHonor =this.HonorImagesList.toString()+',';
+						}
+						if( response.data.productCertification!=''|| response.data.productCertification!=null){
+							this.params.productCertification =this.productImagesList.toString()+',';
+						}
 						if(shop.mainpro == "" || shop.mainpro == null){
 							this.mentuzCampList = this.mentuzCampNullList
 						}else{
 							this.mentuzCampList = this.setNewMainpro(shop.mainpro)
+							this.params.mainpro = shop.mainpro
 						}
 						if(shop.businessScope == "" || shop.businessScope == null){
 								this.medicaCampList = this.medicaCampNullList
 						}else{
 							this.medicaCampList = this.setNewMainpro(shop.businessScope)
+							this.params.businessScope = shop.businessScope
 						}
 					}
 				 })
@@ -459,6 +468,12 @@
 						this.$util.msg('请选择公司类型',2000);
 						return
 					}
+				}else if(this.params.mainpro==''){
+					this.$util.msg('请选择主营内容',2000);
+					return
+				}else if(this.params.businessScope==''){
+					this.$util.msg('请选择经营内容',2000);
+					return
 				}else if(this.params.info==''){
 					this.$util.msg('请填写公司介绍',2000);
 					return
@@ -491,7 +506,6 @@
 					return
 				}else{
 					this.ShopService.modifiedData(this.params).then(res=>{
-						 console.log(res)
 						  if(res.code === 0){
 							  this.$util.msg('修改成功',2000,true,'success')
 							  setTimeout(()=>{

+ 16 - 13
supplier/pages/user/setting/password.vue

@@ -17,12 +17,12 @@
 		<view class="content" v-if="tabCurrentIndex === 1">
 			<view class="login-form clearfix">
 				<view class="login-input">
-					<input type="number" v-model="mobile"  maxlength="11" class="input"  placeholder="请输入手机号"/>
+					<input type="number" v-model="mobile"  maxlength="11" class="input" placeholder="请输入手机号" placeholder-class="placeholder"/>
 				</view>
 			</view>
 			<view class="login-form clearfix">
 				<view class="login-input code">
-					<input type="text" v-model="imageCode"  maxlength="4" class="input" placeholder="请输入右侧图形验证码" />
+					<input type="text" v-model="imageCode"  maxlength="4" class="input" placeholder="请输入右侧图形验证码"  placeholder-class="placeholder"/>
 				</view>
 				<view class="login-input img-btn">
 					<view class="vscodeimg">
@@ -36,7 +36,7 @@
 			</view>
 			<view class="login-form clearfix">
 				<view class="login-input code">
-					<input type="number" v-model="mobileCode"  maxlength="6" class="input" placeholder="请输入短信验证码"/>
+					<input type="number" v-model="mobileCode"  maxlength="6" class="input" placeholder="请输入短信验证码"  placeholder-class="placeholder"/>
 				</view>
 				<view class="login-input btn" :class="[isMobileDisabled  ? 'disabled' : '']" >
 					<button type="button"
@@ -49,15 +49,15 @@
 			</view>
 			<view class="login-form clearfix">
 				<view class="login-input pwd">
-					<input v-show="isShowEye" type="text" v-model="password"  maxlength="16" class="input" placeholder="请输入新密码,必须为8-16位字母数字的组合" autocomplete="new-password"/>
-					<input v-show="!isShowEye" type="password" v-model="password"  :password="true" maxlength="16" class="input" placeholder="请输入新密码,必须为8-16位字母数字的组合" autocomplete="new-password"/>
+					<input v-show="isShowEye" type="text" v-model="password"  maxlength="16" class="input" placeholder="请输入新密码,必须为8-16位字母数字的组合" autocomplete="new-password"  placeholder-class="placeholder"/>
+					<input v-show="!isShowEye" type="password" v-model="password"  :password="true" maxlength="16" class="input" placeholder="请输入新密码,必须为8-16位字母数字的组合" autocomplete="new-password"  placeholder-class="placeholder"/>
 					<view class="iconfont" :class="isShowEye ? iconEyen : iconEyes"  @click="passwordEye"></view>
 				</view>
 			</view>
 			<view class="login-form clearfix">
 				<view class="login-input pwd">
-					<input v-show="isShowEyes" type="text" v-model="passwordCheck"  maxlength="16" class="input" placeholder="请确认密码" autocomplete="new-password"/>
-					<input v-show="!isShowEyes" type="password" v-model="passwordCheck"  :password="true" maxlength="16" class="input" placeholder="请确认密码" autocomplete="new-password"/>
+					<input v-show="isShowEyes" type="text" v-model="passwordCheck"  maxlength="16" class="input" placeholder="请确认密码" autocomplete="new-password"  placeholder-class="placeholder"/>
+					<input v-show="!isShowEyes" type="password" v-model="passwordCheck"  :password="true" maxlength="16" class="input" placeholder="请确认密码" autocomplete="new-password"  placeholder-class="placeholder"/>
 					<view class="iconfont" :class="isShowEyes ? iconEyen : iconEyes"  @click="passwordEyes"></view>
 				</view>
 			</view>
@@ -69,12 +69,12 @@
 		<view class="content" v-else>
 			<view class="login-form clearfix">
 				<view class="login-input">
-					<input class="input" type="text" v-model="email"  maxlength="30" placeholder="请输入邮箱地址"/>
+					<input class="input" type="text" v-model="email"  maxlength="30" placeholder="请输入邮箱地址"  placeholder-class="placeholder"/>
 				</view>
 			</view>
 			<view class="login-form clearfix">
 				<view class="login-input code">
-					<input class="input" type="number" v-model="emailCode" maxlength="4"  placeholder="请输入邮箱验证码" />
+					<input class="input" type="number" v-model="emailCode" maxlength="4"  placeholder="请输入邮箱验证码"  placeholder-class="placeholder"/>
 				</view>
 				<view class="login-input btn" :class="[isEmialDisabled ? 'disabled' : '']">
 					<button class="input"  
@@ -87,15 +87,15 @@
 			</view>
 			<view class="login-form clearfix">
 				<view class="login-input pwd">
-					<input v-show="isShowEye" type="text" v-model="password"  maxlength="16" class="input" placeholder="请输入新密码,必须为8-16位字母数字的组合" autocomplete="new-password"/>
-					<input v-show="!isShowEye" type="password" v-model="password"  :password="true" maxlength="16" class="input" placeholder="请输入新密码,必须为8-16位字母数字的组合" autocomplete="new-password"/>
+					<input v-show="isShowEye" type="text" v-model="password"  maxlength="16" class="input" placeholder="请输入新密码,必须为8-16位字母数字的组合" autocomplete="new-password"  placeholder-class="placeholder"/>
+					<input v-show="!isShowEye" type="password" v-model="password"  :password="true" maxlength="16" class="input" placeholder="请输入新密码,必须为8-16位字母数字的组合" autocomplete="new-password"  placeholder-class="placeholder"/>
 					<view class="iconfont" :class="isShowEye ? iconEyen : iconEyes"  @click="passwordEye"></view>
 				</view>
 			</view>
 			<view class="login-form clearfix">
 				<view class="login-input pwd">
-					<input v-show="isShowEyes" type="text" v-model="passwordCheck"  maxlength="16" class="input" placeholder="请确认密码" autocomplete="new-password"/>
-					<input v-show="!isShowEyes" type="password" v-model="passwordCheck"  :password="true" maxlength="16" class="input" placeholder="请确认密码" autocomplete="new-password"/>
+					<input v-show="isShowEyes" type="text" v-model="passwordCheck"  maxlength="16" class="input" placeholder="请确认密码" autocomplete="new-password"  placeholder-class="placeholder"/>
+					<input v-show="!isShowEyes" type="password" v-model="passwordCheck"  :password="true" maxlength="16" class="input" placeholder="请确认密码" autocomplete="new-password"  placeholder-class="placeholder"/>
 					<view class="iconfont" :class="isShowEyes ? iconEyen : iconEyes"  @click="passwordEyes"></view>
 				</view>
 			</view>
@@ -482,4 +482,7 @@
 			}
 		}
 	}
+	.placeholder{
+		color: #9aa5b5;
+	}
 </style>

+ 7 - 3
supplier/pages/user/setting/phone.vue

@@ -9,7 +9,7 @@
 			</view>
 			<view class="register-row clearfix">
 				<view class="register-from code">
-					<input class="row-input" type="number" v-model="mobileCode" placeholder="请输入原手机号的验证码" maxlength="6"/>
+					<input class="row-input" type="number" v-model="mobileCode" placeholder="请输入原手机号的验证码" placeholder-class="place-holder" maxlength="6"/>
 				</view>
 				<view class="register-from btn" :class="[isMobileDisabled  ? 'disabled' : '']">
 					<button class="row-input"  type="button" @click.stop="getMobileCodeFn" :disabled="isMobileDisabled">{{ mobileCodeText }}</button>
@@ -17,12 +17,12 @@
 			</view>
 			<view class="register-row clearfix">
 				<view class="register-from">
-					<input class="row-input" type="number" v-model="contractMobile" placeholder="请输入新手机号" maxlength="11"/>
+					<input class="row-input" type="number" v-model="contractMobile" placeholder="请输入新手机号" placeholder-class="place-holder" maxlength="11"/>
 				</view>
 			</view>
 			<view class="register-row clearfix">
 				<view class="register-from code">
-					<input class="row-input" type="number" v-model="newMobileCode" placeholder="请输入新手机号的验证码" maxlength="6"/>
+					<input class="row-input" type="number" v-model="newMobileCode" placeholder="请输入新手机号的验证码" placeholder-class="place-holder" maxlength="6"/>
 				</view>
 				<view class="register-from btn" :class="[isNewMobileDisabled  ? 'disabled' : '']" >
 					<button class="row-input"  type="button" @click.stop="getNewMobileCodeFn" :disabled="isNewMobileDisabled">{{ newMobileCodeText }}</button>
@@ -307,4 +307,8 @@
 		margin: 30rpx auto;
 		text-align: center
 	}
+	.place-holder{
+		color: #9aa5b5;
+	}
 </style>
+