瀏覽代碼

增加审核

Your Name 3 年之前
父節點
當前提交
39a7e4c4fe

+ 36 - 0
packageA/pages/user/examine.vue

@@ -0,0 +1,36 @@
+<template>
+	<view>
+		<view>
+			<uni-list-item title="分销修改"  @click="retail()"  />
+		</view>
+		<view>
+			<uni-list-item title="收款信息修改" @click="collection()" />
+		</view>
+		
+	</view>
+</template>
+
+<script>
+	export default {
+		methods: {
+	
+			retail() {
+				console.log("retail")
+				uni.navigateTo({
+					url: 'modify/retailModify',
+				});
+			},
+			collection() {
+				console.log("collection")
+				uni.navigateTo({
+					url: 'modify/collectionModify',
+				});
+			},
+		}
+		
+	}
+	
+</script>
+
+<style>
+</style>

+ 85 - 0
packageA/pages/user/modify/collectionModify.vue

@@ -0,0 +1,85 @@
+<template>
+	<view class="content">
+		<form >
+			<view class="body user-insert">旧账号:</view>
+			<view class="body user-insert-line">旧银行卡号:</view>
+			<view class="body user-insert-line">旧银行账户:</view>
+			<view class="body user-insert-line">旧法人姓名:</view>
+			<view class="body user-insert-line">旧身份证:</view>
+			<view class="body user-insert-line">旧银联号:</view>
+			<view class="body user-insert-line">旧提交时间:</view>
+		</form>
+		<form >
+			<view class="body user-insert" style="padding-top: 40upx;">
+				新账号:
+			</view>
+			<view class="body user-insert-line">新银行卡号:</view>
+			<view class="body user-insert-line">新银行账户:</view>
+			<view class="body user-insert-line">新法人姓名:</view>
+			<view class="body user-insert-line">新身份证:</view>
+			<view class="body user-insert-line">新银联号:</view>
+			<view class="body user-insert-line">新提交时间:</view>
+			<view class="btn-area">
+				<button type="primary" formType="submit" style="margin-right: 20px;" >确认</button>
+				<button type="primary" formType="submit"  >撤销</button>
+			</view>
+		</form>
+	</view>
+</template>
+
+<script>
+</script>
+
+<style>
+	.content{
+			padding-top:20upx;
+			margin-left:20upx;
+	}
+	.body {
+		background-color: #FFFFFF;
+		padding: 10upx 20upx 10upx 20upx;
+		display: flex;
+		flex-direction: row;
+		justify-content: flex-start;
+	}
+
+	.input {
+		/* padding: 10upx 20upx 10upx 0upx; */
+		padding-left: 20upx;
+		padding-top: 10upx;
+		background-color: #FFFFFF;
+		width: 500upx;
+		height: 50upx;
+		box-shadow: 0upx 0upx 20upx #D3D3D3;
+		border-radius: 5upx;
+	}
+
+	.button {
+		margin: 0 auto;
+		display: inline-block;
+	}
+
+	button[type=primary] {
+	    background-color: #007aff;
+	    color: #fff;
+		display: inline-block;
+	}	
+	.btn-area{
+		padding-top:60upx;
+		margin: 0 auto;
+		width: 50%;
+	}
+	.user-insert-line {
+	  width: 500upx;
+	  height: 23px;
+	  border-bottom:solid black 1px;
+	  margin: 0 auto;
+	}
+	.user-insert{
+		width: 400upx;
+		margin: 0 auto;
+	}
+	view{
+		font-size: 30rpx;
+	}
+</style>

+ 84 - 0
packageA/pages/user/modify/retailModify.vue

@@ -0,0 +1,84 @@
+<template>
+	<view class="content">
+		<form >
+			<view class="body user-insert">账号:admin</view>
+			<view class="body user-insert">旧分销:</view>
+			<view class="body user-insert-line">平台:</view>
+			<view class="body user-insert-line">省级:</view>
+			<view class="body user-insert-line">市级:</view>
+			<view class="body user-insert-line">终端:</view>
+		</form>
+		<form >
+			<view class="body user-insert" style="padding-top: 40upx;">
+				新分销:
+			</view>
+			<view class="body user-insert-line">平台:</view>
+			<view class="body user-insert-line">省级:</view>
+			<view class="body user-insert-line">市级:</view>
+			<view class="body user-insert-line">终端:</view>
+			<!-- <view class="body">
+				省级:<input class="input"  name="oldPassword" />
+			</view> -->
+			<view class="btn-area">
+				<button type="primary" formType="submit" style="margin-right: 20px;" >确认</button>
+				<button type="primary" formType="submit" >撤销</button>
+			</view>
+		</form>
+	</view>
+</template>
+
+<script>
+</script>
+
+<style>
+	.content{
+			padding-top:20upx;
+			margin-left:20upx;
+	}
+	.body {
+		background-color: #FFFFFF;
+		padding: 10upx 20upx 10upx 20upx;
+		display: flex;
+		flex-direction: row;
+		justify-content: flex-start;
+	}
+
+	.input {
+		/* padding: 10upx 20upx 10upx 0upx; */
+		padding-left: 20upx;
+		padding-top: 10upx;
+		background-color: #FFFFFF;
+		width: 500upx;
+		height: 50upx;
+		box-shadow: 0upx 0upx 20upx #D3D3D3;
+		border-radius: 5upx;
+	}
+
+	.button {
+		margin: 0 auto;
+		display: inline-block;
+	}
+	button[type=primary] {
+	    background-color: #007aff;
+	    
+		display: inline-block;
+	}	
+	.btn-area{
+		padding-top:100upx;
+		margin: 0 auto;
+		width: 50%;
+	}
+	.user-insert-line {
+	  width: 400upx;
+	  height: 23px;
+	  border-bottom:solid black 1px;
+	  margin: 0 auto;
+	}
+	.user-insert{
+		width: 400upx;
+		margin: 0 auto;
+	}
+	view{
+		font-size: 30rpx;
+	}
+</style>

+ 22 - 2
pages.json

@@ -1,5 +1,6 @@
 {
 	"pages": [ //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages
+		
 		{
 			"path": "pages/Login/Login",
 			"style": {
@@ -259,19 +260,38 @@
 					"enablePullDownRefresh": false
 				}
 					
-			}, {
+			},{
 				"path": "pages/user/editor/editor",
 				"style": {
 					"navigationBarTitleText": "编辑公告",
 					"enablePullDownRefresh": false
 				}
+			},
+			{
+				"path": "pages/user/examine",
+				"style": {
+					"navigationBarTitleText": "审核",
+					"enablePullDownRefresh": false
+				}
+					
 			},{
 				"path": "pages/user/orderEit",
 				"style": {
 					"navigationBarTitleText": "详情",
 					"enablePullDownRefresh": false
 				}
-
+			},{
+				"path": "pages/user/modify/retailModify",
+				"style": {
+					"navigationBarTitleText": "分销修改",
+					"enablePullDownRefresh": false
+				}
+			},{
+				"path": "pages/user/modify/collectionModify",
+				"style": {
+					"navigationBarTitleText": "收款信息修改",
+					"enablePullDownRefresh": false
+				}
 			}
 		]
 	}]

+ 8 - 0
pages/User/user.vue

@@ -45,6 +45,9 @@
 				<view v-if="noticeShow">
 					<uni-list-item title="编辑公告" @click="notice()" />
 				</view>
+				<view>
+					<uni-list-item title="审核" @click="examine()" />
+				</view>
 			</uni-list>
 		</view>
 		<view class="xiugai2">
@@ -186,6 +189,11 @@
 					url: '../../packageA/pages/user/editor/editor',
 				});
 			},
+			examine(){
+				uni.navigateTo({
+					url: '../../packageA/pages/user/examine',
+				});
+			},
 			trant() {
 				uni.reLaunch({
 					url: '../WeixinSwicth/WeixinSwicth',