Pārlūkot izejas kodu

Merge branch 'dev' of http://git.zthymaoyi.com/gdc/yiliangyiyun-app into dev

wangchao 3 gadi atpakaļ
vecāks
revīzija
d3c5fa0d71

+ 6 - 0
pages.json

@@ -350,6 +350,12 @@
 				"navigationBarTitleText": ""
 			}
 		},
+		{
+			"path": "pages/erpbusiness/edit_quality_testing",
+			"style": {
+				"navigationBarTitleText": "编辑质检信息"
+			}
+		},
 		{
 			"path": "pages/attestation/indexTwo",
 			"style": {

+ 308 - 0
pages/erpbusiness/edit_quality_testing.vue

@@ -0,0 +1,308 @@
+<template>
+	<view>
+		<view class='wrap'>
+			<view class='title'>基本信息</view>
+			<view class="c-row b-b">
+				<view class="title">仓库</view>
+				<view class="con-list">
+					{{gridList.warehouseName}}
+				</view>
+			</view>
+			<view class="c-row b-b">
+				<view class="title">编号</view>
+				<view class="con-list">
+					{{gridList.qualityNo}}
+				</view>
+			</view>
+			<view class="c-row b-b">
+				<view class="title">客户</view>
+				<view class="con-list">
+					{{gridList.customerName}}({{gridList.customerPhone}})
+				</view>
+			</view>
+			<view class="c-row b-b">
+				<view class="title">车牌号</view>
+				<view class="con-list">
+					<input v-model='gridList.carNumber' placeholder="请输入车牌号"
+						placeholder-style="font-size: 12px;" name="input"></input>
+				</view>
+			</view>
+			<view class="c-row b-b">
+				<view class="title">货名</view>
+				<view class="con-list">
+					<input v-model='gridList.goodsName' placeholder="请输入货名,如玉米"
+						placeholder-style="font-size: 12px;" disabled name="input"></input>
+				</view>
+			</view>
+		</view>
+		
+	</view>
+</template>
+
+<script>
+	import dragButton from "@/components/drag-button/drag-button.vue";
+	import {
+		mapState
+	} from 'vuex';
+	let startY = 0,
+		moveY = 0,
+		pageAtTop = true;
+	export default {
+		components: {
+			dragButton
+		},
+		data() {
+			return {
+				inputShow: false,
+				modalName: '',
+				mycarStyle: '',
+				feild: undefined,
+				id:0,
+				inputContent: '',
+				coverTransform: 'translateY(0px)',
+				coverTransition: '0s',
+				moving: false,
+				footprintList: [],
+				searchKeyWord:'',
+				isVip: false,
+				userInfoTmp: [],
+				inputStatus: 'none',
+				carInfo: [],
+				gridCol: 4,
+				pageSize:10,
+				currentPage:1,
+				gridBorder: false,
+				headUrl:"../../static/img/myimg/YongHu@3x.png",
+				userphone:"",
+				username:"请更改昵称",
+				gridList: {},
+				managementType:'',
+				warehouseName: '',
+				showTran: true,
+				companyId: 1,
+				current: 4
+			}
+		},
+		
+		onLoad() {
+			
+		},
+		// #ifndef MP
+		onNavigationBarButtonTap(e) {
+			const index = e.index;
+			if (index === 0) {
+				this.navTo('/pages/set/set');
+			} else if (index === 1) {
+				// #ifdef APP-PLUS
+				const pages = getCurrentPages();
+				const page = pages[pages.length - 1];
+				const currentWebview = page.$getAppWebview();
+				currentWebview.hideTitleNViewButtonRedDot({
+					index
+				});
+				// #endif
+				uni.navigateTo({
+					url: '/pages/notice/notice'
+				})
+			}
+		},
+		// #endif
+		computed: {
+			...mapState(['hasLogin', 'userInfo']),
+			// 手机号中间4位加*
+			starUserphone(){
+				let reg = /^(\d{3})\d{4}(\d{4})$/;
+				if(this.userphone){
+					return this.userphone.replace(reg, "$1****$2");
+				}
+			}
+		},
+		onLoad(options){
+			console.log(options)
+			this.id=options.id
+		},
+		onShow() {
+			var that = this
+				this.$api.doRequest('get', '/qualityInspectionManagement/api/getQualityInspection',{
+					id:this.id
+				}).then(res => {
+					if(res.data.data){
+						let data = res.data.data
+						that.gridList =data
+					}
+				})
+		},
+		methods: {
+			del(item){
+				this.$api.doRequest('get', '/qualityInspectionManagement/api/deleteQualityInspection',{
+					id:item.id
+				}).then(res => {
+					if(res.data.code==200){
+						this.$api.msg('删除成功')
+					}else{
+						this.$api.msg('系统异常,请联系管理员')
+					}
+				})
+			},
+			fankui(){
+				uni.navigateTo({
+					url: `/pages/user/fankui`
+				})
+			},
+			zhibo() {
+				uni.navigateTo({
+					url: `/pageB/video/broadcast`
+				})
+			},
+			look() {
+				uni.navigateTo({
+					url: `/pageB/video/look`
+				})
+			},
+			contactUs() {
+				const that = this
+				uni.makePhoneCall({
+					// 手机号
+					phoneNumber: '18241771147',
+					// 成功回调
+					success: (res) => {},
+					// 失败回调
+					fail: (res) => {}
+				});
+			},
+			loadData() {
+				// const that = this
+				// if(uni.getStorageSync("PageCur")){
+				// 	that.PageCur = uni.getStorageSync("PageCur");
+				// }
+				// that.userInfoTmp = uni.getStorageSync("userInfo")
+				// uni.showLoading({
+				// 	title: '正在加载',
+				// 	mask:true
+				// })
+				// that.$api.request('integral', 'getIndexData', failres => {
+				// 	that.$api.msg(failres.errmsg)
+				// 	uni.hideLoading()
+				// }).then(res => {
+				// 	let data = res.data
+				// 	uni.setStorageSync("message", data.message);
+				// 	uni.setStorageSync("task", data.task);
+				// 	uni.setStorageSync("contract", data.contract);
+				// 	uni.setStorageSync('showTran', data.showTran);
+				// 	that.showTran = data.showTran
+				// 	that.gridList[4].tips = data.task
+				// 	that.gridList[2].tips = data.contract
+				// 	that.companyId = data.companyId
+				// 	uni.hideLoading()
+				// })
+			},
+
+			confirm() {
+				const that = this
+				if (!that.inputContent) {
+					that.$api.msg('输入不能为空')
+					return
+				}
+				let obj = {}
+				obj[that.feild] = that.inputContent
+				that.$api.request('user', 'syncUserInfo', obj).then(res => {
+					that.userInfo.nickname = that.inputContent
+					that.inputContent = ''
+					that.$store.commit('login', that.userInfo)
+				})
+			},
+			cancel() {
+				this.inputShow = false
+				this.inputStatus = 'none'
+				this.genderShow = false
+			},
+			myAccount() {
+				uni.navigateTo({
+					url: `/pageA/pages/contract`
+				})
+			},
+			/**
+			 * 统一跳转接口,拦截未登录路由
+			 * navigator标签现在默认没有转场动画,所以用view
+			 */
+			navTo(url) {
+				if (!this.hasLogin) {
+					url = '/pages/public/login';
+				}
+				uni.navigateTo({
+					url
+				})
+			},
+			mycarClick(carNo) {
+				this.modalName = null
+				uni.navigateTo({
+					url: `/pageB/car/mycar_detail?carNo=${carNo}`
+				})
+			},
+			scanCode() {
+				uni.scanCode({
+					success: function(res) {
+						uni.navigateTo({
+							url: res.result
+						})
+					}
+				})
+			},
+			hideModal(e) {
+				this.modalName = null
+			},
+		}
+	}
+</script>
+<style lang='scss' scoped>
+	page{
+		background:#F5F6FA;
+	}
+	.c-row {
+		display: -webkit-box;
+		display: -webkit-flex;
+		display: flex;
+		-webkit-box-align: center;
+		-webkit-align-items: center;
+		align-items: center;
+		padding: 10rpx 30rpx;
+		position: relative;
+	
+		.title {
+			/* color: #9698A2; */
+		}
+	
+		.title-black {
+			color: #333;
+		}
+	}
+	
+	.con-list {
+		-webkit-box-flex: 1;
+		-webkit-flex: 1;
+		flex: 1;
+		display: -webkit-box;
+		display: -webkit-flex;
+		display: flex;
+		-webkit-box-orient: vertical;
+		-webkit-box-direction: normal;
+		-webkit-flex-direction: column;
+		flex-direction: column;
+		color: #303133;
+		line-height: 40rpx;
+		text-align: right;
+		padding-right: 20rpx;
+		font-size: 12px;
+	}
+	.wrap{
+		background:#fff;margin:10px;border-radius:10px;
+		>.title{
+			padding:10px 16px;
+		}
+		.b-b:after{
+			border-bottom:1px solid #eee;
+		}
+	}
+</style>
+
+

+ 198 - 311
pages/erpbusiness/quality_testing.vue

@@ -1,6 +1,45 @@
 <template>
 	<view>
-		11111
+		<view style='background:#fff;display:flex;' class="cu-bar search">
+			<view style='flex:6;' class="search-form round Medium">
+				<text style='color: #ccc;text-indent:6px;' class="cuIcon-search"></text>
+				<input type="text" maxlength="20" :focus="true" v-model="searchKeyWord" @confirm="doSearch()"
+					@input='search' placeholder="请输入货名或标题" confirm-type="search"></input>
+			</view>
+			<view @click='doSearch()' class="Regular" style="width:4%;flex:1;">搜索</view>
+			<u-icon @click='emptysearch' class="cuIcon" v-if='searchKeyWord.length>0' size="34" name="close-circle-fill" color="#D6D9E0"></u-icon>
+			<!-- <text @click='emptysearch' v-if='searchKeyWord.length>0' class='tip_text cuIcon-roundclosefill'></text> -->
+		</view>
+		<view class='wrap' v-for='item in gridList'>
+			<view class='flex justify-between'>
+				<view v-if='item.status=="已质检"'>
+					<view class='type type-zhi'>质</view>
+				</view>
+				<view v-if='item.status=="已称毛重"'>
+					<view class='type type-mao'>毛</view>
+				</view>
+				<view v-if='item.status=="已称皮重"'>
+					<view class='type type-pi'>皮</view>
+				</view>
+				<view>
+					<view  v-if='managementType==1' class='qualityNo'>{{item.qualityNo}}</view>
+					<view  v-if='managementType==3' class='qualityNo'>{{item.contractNo}}</view>
+					<view class='time'>{{item.updateDate}}</view>
+				</view>
+				<view v-if='item.status=="已质检"' class='qualityInspector'>{{item.qualityInspector}}</view>
+				<view v-else></view>
+			</view>
+			<view class="flex  justify-around customerinformation">
+				<view v-if='managementType==1'>{{item.customerName}}</view>
+				<view>{{item.carNumber}}</view>
+				<view>{{item.goodsName}}({{item.waterContent}}水)</view>
+			</view>
+			<view class='flex buttons'>
+				<view v-if='item.status=="已质检"&&managementType==1' @click='del(item)' class='button'>删除</view>
+				<view v-if='item.status!="已称皮重"&&managementType==1' @click='edit(item)' class='button'>编辑</view>
+				<view v-if='item.status=="已称毛重"&&managementType==3' class='button'>质检</view>
+			</view>
+		</view>
 	</view>
 </template>
 <script>
@@ -26,6 +65,7 @@
 				coverTransition: '0s',
 				moving: false,
 				footprintList: [],
+				searchKeyWord:'',
 				isVip: false,
 				userInfoTmp: [],
 				inputStatus: 'none',
@@ -38,73 +78,13 @@
 				userphone:"",
 				username:"请更改昵称",
 				gridList: [
-					{
-						num: 0,
-						name: '邀请用户',
-						// icon: 'cuIcon-apps',
-						src:'../../static/img/erp/yaoqingyonghu@3x.png',
-						tips: 0,
-						url: '/pages/attestation/index',
-						show: true
-					},
-					{
-						num: 1,
-						name: '收购质检',
-						// icon: 'cuIcon-calendar',
-						src:'../../static/img/erp/shougouzhijian@3x.png',
-						tips: 0,
-						url: '/pages/erpbusiness/quality_testing?managementType=1',
-						show: true
-					},
-					{
-						num: 2,
-						name: '收购检斤',
-						// icon: 'cuIcon-copy',
-						src:'../../static/img/erp/shougoujianjin@3x.png',
-						tips: 0,
-						url: '/pages/task/my_task',
-						show: true
-					}
-					// {
-					// 	num: 5,
-					// 	name: '设置',
-					// 	// icon: 'cuIcon-edit',
-					// 	src:'../../static/img/sign/shezhi@2x.png',
-					// 	tips: 0,
-					// 	url: `/pages/user/setUp`,
-					// 	show: true
-					// }
+					
 				],
 				gridList1: [
-					{
-						num: 0,
-						name: '出库检斤',
-						// icon: 'cuIcon-apps',
-						src:'../../static/img/erp/chukujianjin@3x.png',
-						tips: 0,
-						url: '/pages/attestation/index?',
-						show: true
-					},
-					{
-						num: 1,
-						name: '出库质检',
-						// icon: 'cuIcon-calendar',
-						src:'../../static/img/erp/chukuzhijian@3x.png',
-						tips: 0,
-						url: '/pages/erpbusiness/quality_testing?managementType=3',
-						show: true
-					}
-					// {
-					// 	num: 5,
-					// 	name: '设置',
-					// 	// icon: 'cuIcon-edit',
-					// 	src:'../../static/img/sign/shezhi@2x.png',
-					// 	tips: 0,
-					// 	url: `/pages/user/setUp`,
-					// 	show: true
-					// }
+					
 				],
 				managementType:'',
+				warehouseName: '',
 				showTran: true,
 				companyId: 1,
 				current: 4
@@ -156,13 +136,39 @@
 					searchKeyWord: this.searchKeyWord,
 					searchType: this.searchType,
 					managementType:this.managementType,
-					// compId:uni.getStorageSync('pcUserInfo').compId,
+					warehouseName: '测试库',
+					compId:'2710b21efc1e4393930c5dc800010dc4',
 					pcFlag:1
 				}).then(res => {
-					
+					if(res.data.data){
+						let data = res.data.data.records
+						//采购信息
+						if (data.length > 0) {
+								that.gridList = that.gridList.concat(data)
+						}else{
+							
+						}
+					}
+					console.log(that.gridList)
 				})
 		},
 		methods: {
+			edit(item){
+				uni.navigateTo({
+					url:'/pages/erpbusiness/edit_quality_testing?id='+item.id+'&managementType='+this.managementType
+				})
+			},
+			del(item){
+				this.$api.doRequest('get', '/qualityInspectionManagement/api/deleteQualityInspection',{
+					id:item.id
+				}).then(res => {
+					if(res.data.code==200){
+						this.$api.msg('删除成功')
+					}else{
+						this.$api.msg('系统异常,请联系管理员')
+					}
+				})
+			},
 			fankui(){
 				uni.navigateTo({
 					url: `/pages/user/fankui`
@@ -215,112 +221,7 @@
 				// 	uni.hideLoading()
 				// })
 			},
-			gridClick(item, index) {
-				var that = this
-				if (item.name == "退出登录") {
-					this.logout()
-					return;
-				} else if (item.name == "联系我们") {
-					//#ifdef MP
-					this.inputShow = true
-					this.inputStatus = 'inline'
-					this.feild = "nickname"
-					this.inputContent = ''
-					//#endif
-					//#ifdef APP-PLUS
-					this.contactUs()
-					//#endif
-					return;
-				} else if (item.name == '我的车辆') {
-					const that = this
-					uni.showLoading({
-						title: '正在加载',
-						mask: true
-					})
-					that.$api.request('tran', 'getMyCarList', failres => {
-						that.$api.msg(failres.errmsg)
-						uni.hideLoading()
-					}).then(res => {
-						that.carInfo = res.data
-						if (that.carInfo.length == 0) {
-							that.$api.msg('暂无车辆信息')
-						} else {
-							var height = that.carInfo.length * 100
-							var width = 500
-							that.mycarStyle = "height:" + height + "rpx;width:" + width + "rpx"
-							that.modalName = 'MycarModal'
-						}
-						uni.hideLoading()
-					})
 
-					return;
-				}
-				if (!this.hasLogin) {
-					uni.showModal({
-						title: '登录提示',
-						content: '您尚未登录,是否立即登录?',
-						showCancel: true,
-						confirmText: '登录',
-						success: (e) => {
-							if (e.confirm) {
-								uni.navigateTo({
-									url: '/pages/public/login'
-								})
-							}
-						},
-						fail: () => {},
-						complete: () => {}
-					})
-				}else {
-					if (item.url) {
-						uni.navigateTo({
-							url: item.url + `?companyId=${that.companyId}`
-						})
-					}
-				}
-			},
-			setting(){
-				if (!this.hasLogin) {
-					uni.showModal({
-						title: '登录提示',
-						content: '您尚未登录,是否立即登录?',
-						showCancel: true,
-						confirmText: '登录',
-						success: (e) => {
-							if (e.confirm) {
-								uni.navigateTo({
-									url: '/pages/public/login'
-								})
-							}
-						},
-						fail: () => {},
-						complete: () => {}
-					})
-				}else {
-						uni.navigateTo({
-							url:'/pages/user/setUp'
-						})
-				}
-			},
-			toLogin() {
-				console.log("userInfo",this.userInfo)
-				if (!this.hasLogin || !this.userInfo || this.username == "立即登录") {
-					uni.navigateTo({
-						url: '/pages/public/login_account_number'
-					})
-				}
-				else{
-					uni.navigateTo({
-						url: '/pages/user/setUp'
-					})
-				}
-				// else if(!this.userInfo.nickname){
-				// 	this.inputShow = true
-				// 	this.inputStatus = 'inline'
-				// 	this.feild = "nickname"
-				// 	this.inputContent = ''
-				// }
-			},
 			confirm() {
 				const that = this
 				if (!that.inputContent) {
@@ -345,28 +246,6 @@
 					url: `/pageA/pages/contract`
 				})
 			},
-			logout() {
-				const that = this
-				uni.showModal({
-					title: '询问',
-					content: '您确定要退出吗?',
-					cancelText: '取消',
-					confirmText: '确定',
-					success: (e) => {
-						if (e.confirm) {
-							uni.hideTabBarRedDot({
-								index:3
-							})
-							uni.clearStorageSync();
-							that.$store.commit('logout')
-							that.$api.logout()
-							uni.navigateTo({
-								url: `/pages/public/login`
-							})
-						}
-					}
-				})
-			},
 			/**
 			 * 统一跳转接口,拦截未登录路由
 			 * navigator标签现在默认没有转场动画,所以用view
@@ -385,12 +264,6 @@
 					url: `/pageB/car/mycar_detail?carNo=${carNo}`
 				})
 			},
-			qrClick(userInfo) {
-				this.modalName = null
-				uni.navigateTo({
-					url: `/pages/user/qr`
-				})
-			},
 			scanCode() {
 				uni.scanCode({
 					success: function(res) {
@@ -446,30 +319,6 @@
 		color: #fff;
 		font-size: 32rpx;
 	}
-
-	.cu-list {
-		/* height: 483rpx;
-		overflow-y: scroll; */
-		background:transparent;
-	}
-	.cu-list.grid.no-border{
-		padding:0;
-	}
-	.badge_user {
-		color: #fff;
-		background-color: #dc3545;
-		display: inline-block;
-		padding: .25em .4em;
-		font-size: 75%;
-		font-weight: 700;
-		line-height: 1;
-		text-align: center;
-		white-space: nowrap;
-		vertical-align: top;
-		border-radius: 50%;
-		transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
-	}
-
 	@keyframes move_wave {
 		0% {
 			transform: translateX(0) translateZ(0) scaleY(1)
@@ -557,81 +406,6 @@
 			/* opacity: .7; */
 		}
 	}
-
-	.user-info-box {
-		height: 180upx;
-		/* display:flex; */
-		/* align-items:center; */
-		text-align: center;
-		position: relative;
-		z-index: 1;
-
-		.portrait {
-			width: 130upx;
-			height: 130upx;
-			border: 5upx solid #fff;
-			border-radius: 50%;
-		}
-
-		.username {
-			font-size: $font-lg + 3upx;
-			color: #fff;
-			margin-top: 20upx;
-		}
-	}
-
-	.vip-card-box {
-		display: flex;
-		flex-direction: column;
-		color: #f7d680;
-		height: 240upx;
-		background: linear-gradient(left, rgba(0, 0, 0, .7), rgba(0, 0, 0, .8));
-		border-radius: 16upx 16upx 0 0;
-		overflow: hidden;
-		position: relative;
-		padding: 20upx 24upx;
-
-		.card-bg {
-			position: absolute;
-			top: 20upx;
-			right: 0;
-			width: 380upx;
-			height: 260upx;
-		}
-
-		.b-btn {
-			position: absolute;
-			right: 20upx;
-			top: 16upx;
-			width: 132upx;
-			height: 40upx;
-			text-align: center;
-			line-height: 40upx;
-			font-size: 22upx;
-			color: #36343c;
-			border-radius: 20px;
-			background: linear-gradient(left, #f9e6af, #ffd465);
-			z-index: 1;
-		}
-
-		.tit {
-			font-size: $font-base+2upx;
-			color: #f7d680;
-			margin-bottom: 28upx;
-
-			.yticon {
-				color: #f6e5a3;
-				margin-right: 16upx;
-			}
-		}
-
-		.e-b {
-			font-size: $font-sm;
-			color: #d8cba9;
-			margin-top: 10upx;
-		}
-	}
-
 	.cover-container {
 		padding: 1px 10px ;
 		padding-bottom: 200upx;
@@ -727,7 +501,90 @@
 			}
 		}
 	}
+.search-form {
+		background: #F5F6F9;
+	}
+
+	.line {
+		display: inline-block;
+		padding: 5px;
+		position: relative;
+		font-size: 17px;
+	}
+
+	.line.active {
+		font-size: 19px;
+		font-weight: 900;
+	}
+
+	.line.active:after {
+		content: '';
+		display: block;
+		position: absolute;
+		width: 36rpx;
+		height: 6rpx;
+		left: 50%;
+		transform: translateX(-50%);
+		bottom: 0;
+		background: #22C572;
+		/* border-bottom: 1px solid #22C572; */
+	}
+
+	.search-box {
+		width: 100%;
+		background-color: rgb(242, 242, 242);
+		padding: 15upx 2.5%;
+		display: flex;
+		justify-content: space-between;
+	}
+
+	.search-box .mSearch-input-box {
+		width: 100%;
+	}
+
+	.search-box .input-box {
+		width: 85%;
+		flex-shrink: 1;
+		display: flex;
+		justify-content: center;
+		align-items: center;
+	}
+
+	.search-box .search-btn {
+		width: 15%;
+		margin: 0 0 0 2%;
+		display: flex;
+		justify-content: center;
+		align-items: center;
+		flex-shrink: 0;
+		font-size: 28upx;
+		color: #fff;
+		background: linear-gradient(to right, #ff9801, #ff570a);
+		border-radius: 60upx;
+	}
 
+	.search-box .input-box>input {
+		width: 100%;
+		height: 60upx;
+		font-size: 32upx;
+		border: 0;
+		border-radius: 60upx;
+		-webkit-appearance: none;
+		-moz-appearance: none;
+		appearance: none;
+		padding: 0 3%;
+		margin: 0;
+		background-color: #ffffff;
+	}
+
+	.placeholder-class {
+		color: #9e9e9e;
+	}
+
+	.search-keyword {
+		width: 100%;
+		background-color: rgb(242, 242, 242);
+	}
 	.grid {
 		display: flex;
 		align-items: center;
@@ -780,21 +637,11 @@
 		border-radius: 40px;
 		border: 2px solid #ffffff;
 	}
-
-	.personal {
-		margin-top: 10px;
-		margin-left: 20px;
-	}
-
 	.information {
 		font-size: 15px;
 		font-weight: 600;
 		height: 36px;
 	}
-	.indexlow{
-		/* margin-top: 30px; */
-		border-radius: 10px;
-	}
 	.cu-list>.cu-item:after{
 		border:none;
 	}
@@ -813,9 +660,49 @@
 		margin:10px;
 		border-radius:10px;
 		padding:10px;
-		.title{
-			font-size:16px;
-		}
+		
+	}
+	.qualityNo{
+		font-size:16px;
+	}
+	.type{
+		font-size:12px;
+		color:#fff;
+		padding:3px 5px;
+		border-radius:50%;
+		line-height:16px;
+	}
+	.type-zhi{
+		background:#22C572;
+	}
+	.type-mao{
+		background:#3296FA;
+	}
+	.type-pi{
+		background:#FD714F;
+	}
+	.time{
+		font-size:12px;
+		color:#878C9C;
+	}
+	.qualityInspector{
+		font-size:14px;
+	}
+	.customerinformation{
+		background:#F9F9FA;
+		padding:7px;
+		margin:20px 0;
+		border-radius:10px;
+		color:#9698A2;
+	}
+	.buttons{
+		flex-direction:row-reverse;
+	}
+	.button{
+		padding:13rpx 30rpx;
+		border:1px solid #CDCDCD;
+		border-radius:15px;
+		margin:0 10px;
 	}
 </style>
 

+ 1 - 0
pages/user/user.vue

@@ -41,6 +41,7 @@
 						</view>
 					</view>
 		<view class="cover-container">
+			
 			<view class='cover-container-item'>
 				<view style='font-size:16px;padding-left:14px;'>我的功能</view>
 				<view class="cu-list grid" :class="['col-' + gridCol,gridBorder?'':'no-border']">