zhongtianhaoyuan 2 лет назад
Родитель
Сommit
7304b3c0fa

+ 1 - 1
components/bert-suggest/suggest.vue

@@ -6,7 +6,7 @@
 				<view style='position:absolute;right:22px;bottom:16px;font-size:13px;'>{{data.content.length}}/150个字</view>
 			</uni-card>
 			<uni-card class="box contact" :isFull="true" title="联系方式" >
-				<input v-model="data.contact" placeholder="请输入您的手机号,方便我们联系您" />
+				<input v-model="data.contact" placeholder="请输入您的手机号,方便我们联系您" maxlength="11" type="number" />
 			</uni-card>
 		</view>
 		

+ 1 - 1
pages/goodSource/index.vue

@@ -87,7 +87,7 @@
 								<view class="fontsize-46">
 									{{good.freightPrice}}
 								</view>
-								<view class="flex dw">元/吨</view>
+								<view class="flex dw">{{good.billingMethod == 0?"元/吨":"元/车"}}</view>
 							</view>
 						</view>
 					</view>

+ 19 - 18
pages/mine/set.vue

@@ -26,7 +26,7 @@
 			</view>
 		</view>
 		<view class="content2">
-<!-- 
+			<!-- 
 			<view class='flex flex-space-between' @click='UpdataAccount'>
 				<view>
 					<text>修改账号</text>
@@ -93,7 +93,7 @@
 		},
 		onShow() {
 			this.getList()
-			this.firstAuthentication=uni.getStorageSync("firstAuthentication")
+			this.firstAuthentication = uni.getStorageSync("firstAuthentication")
 		},
 		onLoad() {
 			_this = this
@@ -101,12 +101,12 @@
 			console.log(this.hasLogin)
 		},
 		methods: {
-				editName(){
-					uni.showToast({
-						icon:'none',
-						title:'可在司机认证中修改'
-					})
-				},
+			editName() {
+				uni.showToast({
+					icon: 'none',
+					title: '可在司机认证中修改'
+				})
+			},
 			UpdataAccount() {
 				uni.navigateTo({
 					url: `/pages/mine/settings/editPhone`
@@ -121,18 +121,18 @@
 				let that = this
 				uni.clearStorageSync();
 				this.$request.baseRequest('post', '/auth/api/logout').then(res => {
-					if (res.code==200) {
+					if (res.code == 200) {
 						that.$store.commit('logout')
 						// that.$api.logout()
-								uni.navigateTo({
-									url: `/pages/public/login`
-								})
+						uni.navigateTo({
+							url: `/pages/public/login`
+						})
 					}
 				})
-				
-		
+
+
 			},
-		
+
 			cancelClick() {
 				this.isShowAlert = false
 			},
@@ -204,9 +204,9 @@
 
 <style lang="scss" scoped>
 	.content {
-		height: 100vh;
+		height: calc(100vh - 7vh);
 
-color: #333333;
+		color: #333333;
 	}
 
 	.content1,
@@ -217,7 +217,8 @@ color: #333333;
 
 	.content2 {
 		margin-top: 10rpx;
-		.flex{
+
+		.flex {
 			height: 70rpx;
 		}
 	}

+ 3 - 3
pages/public/code.vue

@@ -123,7 +123,7 @@
 					var that = this
 					that.$request.baseRequest('get', '/driverInfo/firstAuthentication', {
 						driverPhone: this.phone,
-					}).then(res2 => {
+					}).then(res => {
 						if (res.data.authenticationStatus == '已禁用') {
 							that.$refs.uToast.show({
 								type: 'error',
@@ -166,11 +166,11 @@
 										}
 									}
 								})
-								uni.setStorageSync("shiro",encodeURIComponent(`ws_login_companyShortName=
+								uni.setStorageSync("shiro",encodeURIComponent(`ws_login_companySh041500ortName=
 								'黑龙江中天昊元贸易有限公司'; ws_login_rememberMe=1; ws_login_account=${that.phone}; ws_login_pwd=${that.password}; shiro.session=65500189-7bb5-457f-9ff6-0db069150e78`))
 									uni.setStorageSync('pcuserInfo', res.data)
 									uni.setStorageSync('userInfo', res.data)
-									uni.setStorageSync('firstAuthentication', res2.data)
+									uni.setStorageSync('firstAuthentication', res.data)
 									helper.getListByUserId()
 									that.$store.commit('login', res.data)
 									var name = 'userInfo';

+ 1 - 1
pages/riders/index.vue

@@ -534,7 +534,7 @@
 			},
 			joinFleet(item) {
 				this.addMember.commonId = this.commonId
-				this.addMember.driverNickname = uni.getStorageSync("firstAuthentication").driverCall
+				this.addMember.driverNickname = uni.getStorageSync("firstAuthentication").driverCall + "师傅"
 				this.addMember.driverPortrait = uni.getStorageSync("userInfo").avatarUrl
 				this.addMember.fleetId = item.id
 				this.alertTitle = "确定申请加入该车队?"