Explorar el Código

上传身份证

fz hace 2 años
padre
commit
7b3b512004

+ 4
- 0
.hbuilderx/launch.json Ver fichero

@@ -2,6 +2,10 @@
2 2
   // launchtype项可配置值为local或remote, local代表前端连本地云函数,remote代表前端连云端云函数
3 3
     "version": "0.0",
4 4
     "configurations": [{
5
+     	"app-plus" : 
6
+     	{
7
+     		"launchtype" : "local"
8
+     	},
5 9
      	"default" : 
6 10
      	{
7 11
      		"launchtype" : "local"

+ 192
- 0
components/Rboy-upload-sfz/Rboy-upload-sfz.vue Ver fichero

@@ -0,0 +1,192 @@
1
+<template>
2
+	<div>
3
+		<view class="Rboy-box">
4
+			<view class="Rboy-obverse">
5
+				<image class="obverseimg" :src="obverseUrl ? obverseUrl : obverse" @click="obverse_btn" mode="">
6
+				</image>
7
+				<image class="del_btn" :src="del" mode="" v-if="obverseUrl" @click="del_btn('obverse')"></image>
8
+				<view class="bottom">
9
+					<text>身份证正面照</text>
10
+				</view>
11
+			</view>
12
+			<view class="Rboy-reverse">
13
+				<image class="reverseimg" :src="reverseUrl ? reverseUrl : reverse" @click="reverse_btn" mode="">
14
+				</image>
15
+				<image class="del_btn" :src="del" mode="" v-if="reverseUrl" @click="del_btn('reverse')"></image>
16
+				<view class="bottom">
17
+					<text>身份证反面照</text>
18
+				</view>
19
+			</view>
20
+		</view>
21
+	</div>
22
+</template>
23
+
24
+<script>
25
+	import file from "./file.js"
26
+	export default {
27
+		name: "Rboy-upload-sfz",
28
+		props: {
29
+			// 正面
30
+			obverseUrl: {
31
+				type: String,
32
+				default: ""
33
+			},
34
+			// 反面
35
+			reverseUrl: {
36
+				type: String,
37
+				default: ""
38
+			},
39
+			// album 从相册选图,camera 使用相机,默认二者都有。如需直接开相机或直接选相册,请只使用一个选项
40
+			sourceType: {
41
+				type: Array || Object,
42
+				default: () => {
43
+					return ['album', 'camera']
44
+				}
45
+			}
46
+		},
47
+		data() {
48
+			return {
49
+				obverse: file.obverse,
50
+				reverse: file.reverse,
51
+				del: file.del,
52
+			}
53
+		},
54
+		created() {
55
+
56
+		},
57
+		methods: {
58
+			obverse_btn() {
59
+				if (this.obverseUrl) {
60
+					// 预览
61
+					this.previewImage(this.obverseUrl)
62
+				} else {
63
+					// 上传
64
+					this.select_change("obverse")
65
+				}
66
+			},
67
+			reverse_btn() {
68
+				if (this.reverseUrl) {
69
+					// 预览
70
+					this.previewImage(this.reverseUrl)
71
+				} else {
72
+					// 上传
73
+					this.select_change("reverse")
74
+				}
75
+			},
76
+			// 上传
77
+			select_change(name) {
78
+				uni.chooseImage({
79
+					count: 1, //默认9
80
+					sizeType: ['original', 'compressed'], // 可以指定是原图还是压缩图,默认二者都有
81
+					sourceType: this.sourceType, // 从相册选择
82
+					success: (res) => {
83
+						this.$emit("selectChange", {
84
+							msg: `${name}Image:ok`,
85
+							name,
86
+							tempFilePath: res.tempFilePaths[0],
87
+							tempFile: res.tempFiles[0]
88
+						})
89
+					}
90
+				});
91
+			},
92
+			// 预览
93
+			previewImage(current = 0) {
94
+				uni.previewImage({
95
+					current,
96
+					urls: [this.obverseUrl, this.reverseUrl],
97
+				});
98
+			},
99
+			// 删除
100
+			del_btn(name) {
101
+				console.log(name)
102
+				this.$emit("del", {
103
+					name,
104
+				})
105
+			}
106
+		}
107
+	}
108
+</script>
109
+
110
+<style scoped lang="less">
111
+	@imgWidth: 345rpx;
112
+	@imgheight: 220rpx;
113
+	@boxheight: 280rpx;
114
+
115
+	.Rboy-box {
116
+		display: flex;
117
+		justify-content: space-between;
118
+		// align-items: center;
119
+
120
+		.Rboy-obverse {
121
+			border-radius: 10rpx;
122
+			width: @imgWidth;
123
+			height: @boxheight;
124
+			overflow: hidden;
125
+			display: flex;
126
+			flex-direction: column;
127
+			position: relative;
128
+
129
+			.obverseimg {
130
+				width: @imgWidth;
131
+				height: @imgheight;
132
+			}
133
+
134
+			.bottom {
135
+				text-align: center;
136
+				height: calc(@boxheight - @imgheight);
137
+				background-color: #B7D7FF;
138
+				color: #3B5FD2;
139
+				font-size: 28rpx;
140
+				display: flex;
141
+				align-items: center;
142
+				justify-content: center;
143
+			}
144
+
145
+			.del_btn {
146
+				position: absolute;
147
+				top: 5rpx;
148
+				right: 5rpx;
149
+				width: 50rpx;
150
+				height: 50rpx;
151
+				border-radius: 50%;
152
+				z-index: 20;
153
+			}
154
+		}
155
+
156
+		.Rboy-reverse {
157
+			border-radius: 10rpx;
158
+			width: @imgWidth;
159
+			height: @boxheight;
160
+			overflow: hidden;
161
+			display: flex;
162
+			flex-direction: column;
163
+			position: relative;
164
+
165
+			.reverseimg {
166
+				width: @imgWidth;
167
+				height: @imgheight;
168
+			}
169
+
170
+			.bottom {
171
+				text-align: center;
172
+				height: calc(@boxheight - @imgheight);
173
+				background-color: #B7D7FF;
174
+				color: #3B5FD2;
175
+				font-size: 28rpx;
176
+				display: flex;
177
+				align-items: center;
178
+				justify-content: center;
179
+			}
180
+
181
+			.del_btn {
182
+				position: absolute;
183
+				top: 5rpx;
184
+				right: 5rpx;
185
+				width: 50rpx;
186
+				height: 50rpx;
187
+				border-radius: 50%;
188
+				z-index: 20;
189
+			}
190
+		}
191
+	}
192
+</style>

+ 7
- 0
components/Rboy-upload-sfz/file.js
La diferencia del archivo ha sido suprimido porque es demasiado grande
Ver fichero


+ 64
- 0
components/Rboy-upload-sfz/readme.md Ver fichero

@@ -0,0 +1,64 @@
1
+
2
+
3
+## RboyUploadSfz 身份证正反面上传
4
+
5
+> **组件名:Rboy-upload-sfz**
6
+> 代码块: `Rboy-upload-sfz`
7
+
8
+
9
+## 属性
10
+- obverse-url 身份证正面图片地址
11
+- reverse-url 身份证反面图片地址
12
+- source-type 控制相机和相册(album 从相册选图,camera 使用相机,默认二者都有。如需直接开相机或直接选相册,请只使用一个选项)
13
+- @selectChange 身份证图片上传成功事件
14
+- @del 身份证图片删除事件
15
+
16
+
17
+
18
+## 使用方法
19
+1. 引入
20
+```js
21
+import RboyUploadSfz from "@/components/Rboy-upload-sfz/Rboy-upload-sfz.vue"
22
+```
23
+
24
+2. 注册组件
25
+```js
26
+components: {
27
+	RboyUploadSfz,
28
+},
29
+```
30
+
31
+3. 应用
32
+```html
33
+<Rboy-upload-sfz :obverse-url="formData.obverseUrl" :reverse-url="formData.reverseUrl" @selectChange="sfz_chagne" @del="del_btn"></Rboy-upload-sfz>
34
+```
35
+```js
36
+// 表单
37
+formData: {
38
+	// 正面
39
+	obverseUrl: "",
40
+	// 反面
41
+	reverseUrl: "",
42
+},
43
+methods: {
44
+	// 身份证
45
+	// 上传
46
+	sfz_chagne(e) {
47
+		if (e.name == "obverse") {
48
+			this.formData.obverseUrl = e.tempFilePath
49
+		} else if (e.name == "reverse") {
50
+			this.formData.reverseUrl = e.tempFilePath
51
+		}
52
+	},
53
+	// 删除
54
+	del_btn(e) {
55
+		if (e.name == "obverse") {
56
+			this.formData.obverseUrl = ""
57
+		} else if (e.name == "reverse") {
58
+			this.formData.reverseUrl = ""
59
+		}
60
+	},
61
+}
62
+```
63
+
64
+

+ 3
- 2
config.js Ver fichero

@@ -1,11 +1,12 @@
1 1
 // 应用全局配置
2 2
 module.exports = {
3
-  baseUrl: 'http://192.168.3.77:8080',
3
+  // baseUrl: 'http://192.168.3.77:8080',
4
+   baseUrl: 'https://vue.ruoyi.vip/prod-api',
4 5
   // baseUrl: 'http://localhost:8080',
5 6
   // 应用信息
6 7
   appInfo: {
7 8
     // 应用名称
8
-    name: "ruoyi-app",
9
+    name: "arbitrate-wx",
9 10
     // 应用版本
10 11
     version: "1.1.0",
11 12
     // 应用logo

+ 17
- 0
package.json Ver fichero

@@ -0,0 +1,17 @@
1
+{
2
+    "id": "Rboy-upload-sfz",
3
+    "displayName": "身份证正反面上传 ",
4
+    "version": "1.0.2",
5
+    "description": "身份证正反面上传 预览 删除",
6
+    "keywords": [
7
+        "身份证",
8
+        "上传",
9
+        "预览"
10
+    ],
11
+    "dcloudext": {
12
+        "category": [
13
+            "前端组件",
14
+            "通用组件"
15
+        ]
16
+    }
17
+}

+ 105
- 101
pages.json Ver fichero

@@ -1,102 +1,106 @@
1 1
 {
2
-  "pages": [{
3
-    "path": "pages/login",
4
-    "style": {
5
-      "navigationBarTitleText": "登录"
6
-    }
7
-  }, {
8
-    "path": "pages/register",
9
-    "style": {
10
-      "navigationBarTitleText": "注册"
11
-    }
12
-  }, {
13
-    "path": "pages/index",
14
-    "style": {
15
-      "navigationBarTitleText": "若依移动端框架",
16
-      "navigationStyle": "custom"
17
-    }
18
-  }, {
19
-    "path": "pages/work/index",
20
-    "style": {
21
-      "navigationBarTitleText": "工作台"
22
-    }
23
-  }, {
24
-    "path": "pages/mine/index",
25
-    "style": {
26
-      "navigationBarTitleText": "我的"
27
-    }
28
-  }, {
29
-    "path": "pages/mine/avatar/index",
30
-    "style": {
31
-      "navigationBarTitleText": "修改头像"
32
-    }
33
-  }, {
34
-    "path": "pages/mine/info/index",
35
-    "style": {
36
-      "navigationBarTitleText": "个人信息"
37
-    }
38
-  }, {
39
-    "path": "pages/mine/info/edit",
40
-    "style": {
41
-      "navigationBarTitleText": "编辑资料"
42
-    }
43
-  }, {
44
-    "path": "pages/mine/pwd/index",
45
-    "style": {
46
-      "navigationBarTitleText": "修改密码"
47
-    }
48
-  }, {
49
-    "path": "pages/mine/setting/index",
50
-    "style": {
51
-      "navigationBarTitleText": "应用设置"
52
-    }
53
-  }, {
54
-    "path": "pages/mine/help/index",
55
-    "style": {
56
-      "navigationBarTitleText": "常见问题"
57
-    }
58
-  }, {
59
-    "path": "pages/mine/about/index",
60
-    "style": {
61
-      "navigationBarTitleText": "关于我们"
62
-    }
63
-  }, {
64
-    "path": "pages/common/webview/index",
65
-    "style": {
66
-      "navigationBarTitleText": "浏览网页"
67
-    }
68
-  }, {
69
-    "path": "pages/common/textview/index",
70
-    "style": {
71
-      "navigationBarTitleText": "浏览文本"
72
-    }
73
-  }],
74
-  "tabBar": {
75
-    "color": "#000000",
76
-    "selectedColor": "#000000",
77
-    "borderStyle": "white",
78
-    "backgroundColor": "#ffffff",
79
-    "list": [{
80
-        "pagePath": "pages/index",
81
-        "iconPath": "static/images/tabbar/home.png",
82
-        "selectedIconPath": "static/images/tabbar/home_.png",
83
-        "text": "首页"
84
-      }, {
85
-        "pagePath": "pages/work/index",
86
-        "iconPath": "static/images/tabbar/work.png",
87
-        "selectedIconPath": "static/images/tabbar/work_.png",
88
-        "text": "工作台"
89
-      }, {
90
-        "pagePath": "pages/mine/index",
91
-        "iconPath": "static/images/tabbar/mine.png",
92
-        "selectedIconPath": "static/images/tabbar/mine_.png",
93
-        "text": "我的"
94
-      }
95
-    ]
96
-  },
97
-  "globalStyle": {
98
-    "navigationBarTextStyle": "black",
99
-    "navigationBarTitleText": "RuoYi",
100
-    "navigationBarBackgroundColor": "#FFFFFF"
101
-  }
102
-}
2
+	"pages": [{
3
+		"path": "pages/login",
4
+		"style": {
5
+			"navigationBarTitleText": "登录"
6
+		}
7
+	}, {
8
+		"path": "pages/register",
9
+		"style": {
10
+			"navigationBarTitleText": "注册"
11
+		}
12
+	}, {
13
+		"path": "pages/index",
14
+		"style": {
15
+			"navigationBarTitleText": "首页",
16
+			"navigationStyle": "custom"
17
+		}
18
+	}, {
19
+		"path": "pages/work/index",
20
+		"style": {
21
+			"navigationBarTitleText": "工作台"
22
+		}
23
+	}, {
24
+		"path": "pages/mine/index",
25
+		"style": {
26
+			"navigationBarTitleText": "我的"
27
+		}
28
+	}, {
29
+		"path": "pages/mine/avatar/index",
30
+		"style": {
31
+			"navigationBarTitleText": "修改头像"
32
+		}
33
+	}, {
34
+		"path": "pages/mine/info/index",
35
+		"style": {
36
+			"navigationBarTitleText": "个人信息"
37
+		}
38
+	}, {
39
+		"path": "pages/mine/info/edit",
40
+		"style": {
41
+			"navigationBarTitleText": "编辑资料"
42
+		}
43
+	}, {
44
+		"path": "pages/mine/pwd/index",
45
+		"style": {
46
+			"navigationBarTitleText": "修改密码"
47
+		}
48
+	}, {
49
+		"path": "pages/mine/setting/index",
50
+		"style": {
51
+			"navigationBarTitleText": "应用设置"
52
+		}
53
+	}, {
54
+		"path": "pages/mine/help/index",
55
+		"style": {
56
+			"navigationBarTitleText": "常见问题"
57
+		}
58
+	}, {
59
+		"path": "pages/mine/about/index",
60
+		"style": {
61
+			"navigationBarTitleText": "关于我们"
62
+		}
63
+	}, {
64
+		"path": "pages/common/webview/index",
65
+		"style": {
66
+			"navigationBarTitleText": "浏览网页"
67
+		}
68
+	}, {
69
+		"path": "pages/common/textview/index",
70
+		"style": {
71
+			"navigationBarTitleText": "浏览文本"
72
+		}
73
+	},{
74
+		"path": "pages/certification/index",
75
+		"style": {
76
+			"navigationBarTitleText": "实名认证"
77
+		}
78
+	}],
79
+	"tabBar": {
80
+		"color": "#000000",
81
+		"selectedColor": "#000000",
82
+		"borderStyle": "white",
83
+		"backgroundColor": "#ffffff",
84
+		"list": [{
85
+			"pagePath": "pages/index",
86
+			"iconPath": "static/images/tabbar/home.png",
87
+			"selectedIconPath": "static/images/tabbar/home_.png",
88
+			"text": "首页"
89
+		}, {
90
+			"pagePath": "pages/work/index",
91
+			"iconPath": "static/images/tabbar/work.png",
92
+			"selectedIconPath": "static/images/tabbar/work_.png",
93
+			"text": "工作台"
94
+		}, {
95
+			"pagePath": "pages/mine/index",
96
+			"iconPath": "static/images/tabbar/mine.png",
97
+			"selectedIconPath": "static/images/tabbar/mine_.png",
98
+			"text": "我的"
99
+		}]
100
+	},
101
+	"globalStyle": {
102
+		"navigationBarTextStyle": "black",
103
+		"navigationBarTitleText": "RuoYi",
104
+		"navigationBarBackgroundColor": "#FFFFFF"
105
+	}
106
+}

+ 49
- 0
pages/certification/index.vue Ver fichero

@@ -0,0 +1,49 @@
1
+<template>
2
+	<view class="">
3
+		<Rboy-upload-sfz :obverse-url="formData.obverseUrl" :reverse-url="formData.reverseUrl"
4
+			@selectChange="sfz_chagne" @del="del_btn"></Rboy-upload-sfz>
5
+	</view>
6
+</template>
7
+
8
+<script>
9
+	import RboyUploadSfz from "@/components/Rboy-upload-sfz/Rboy-upload-sfz.vue"
10
+	export default {
11
+		data() {
12
+			return {
13
+				// 表单
14
+				formData: {
15
+					// 正面
16
+					obverseUrl: "",
17
+					// 反面
18
+					reverseUrl: "",
19
+				},
20
+			}
21
+		},
22
+		methods: {
23
+			// 身份证
24
+			// 上传
25
+			sfz_chagne(e) {
26
+				if (e.name == "obverse") {
27
+					this.formData.obverseUrl = e.tempFilePath
28
+					console.log(this.formData.obverseUrl);
29
+				} else if (e.name == "reverse") {
30
+					this.formData.reverseUrl = e.tempFilePath
31
+				}
32
+			},
33
+			// 删除
34
+			del_btn(e) {
35
+				if (e.name == "obverse") {
36
+					this.formData.obverseUrl = ""
37
+				} else if (e.name == "reverse") {
38
+					this.formData.reverseUrl = ""
39
+				}
40
+			},
41
+		},
42
+		components: {
43
+			RboyUploadSfz,
44
+		},
45
+	}
46
+</script>
47
+
48
+<style>
49
+</style>

+ 2
- 2
pages/index.vue Ver fichero

@@ -1,8 +1,8 @@
1 1
 <template>
2 2
   <view class="content">
3
-    <image class="logo" src="@/static/logo.png"></image>
3
+    <image class="logo" src="@/static/chuizi.png"></image>
4 4
     <view class="text-area">
5
-      <text class="title">Hello RuoYi</text>
5
+      <text class="title">法务系统</text>
6 6
     </view>
7 7
   </view>
8 8
 </template>

+ 7
- 3
pages/login.vue Ver fichero

@@ -28,11 +28,15 @@
28 28
         <text class="text-grey1">没有账号?</text>
29 29
         <text @click="handleUserRegister" class="text-blue">立即注册</text>
30 30
       </view>
31
-      <view class="xieyi text-center">
31
+	 <!-- <view class="reg text-center" v-if="register">
32
+	    <text class="text-grey1">使用其他方式登录:</text>
33
+	    <text @click="handleUserRegister" class="text-blue"></text>
34
+	  </view> -->
35
+     <!-- <view class="xieyi text-center">
32 36
         <text class="text-grey1">登录即代表同意</text>
33 37
         <text @click="handleUserAgrement" class="text-blue">《用户协议》</text>
34 38
         <text @click="handlePrivacy" class="text-blue">《隐私协议》</text>
35
-      </view>
39
+      </view> -->
36 40
     </view>
37 41
      
38 42
   </view>
@@ -47,7 +51,7 @@
47 51
         codeUrl: "",
48 52
         captchaEnabled: true,
49 53
         // 用户注册开关
50
-        register: false,
54
+        register: true,
51 55
         globalConfig: getApp().globalData.config,
52 56
         loginForm: {
53 57
           username: "admin",

+ 1
- 1
pages/register.vue Ver fichero

@@ -3,7 +3,7 @@
3 3
     <view class="logo-content align-center justify-center flex">
4 4
       <image style="width: 100rpx;height: 100rpx;" :src="globalConfig.appInfo.logo" mode="widthFix">
5 5
       </image>
6
-      <text class="title">若依移动端注册</text>
6
+      <text class="title">法务系统注册</text>
7 7
     </view>
8 8
     <view class="login-form-content">
9 9
       <view class="input-item flex align-center">

+ 212
- 176
pages/work/index.vue Ver fichero

@@ -1,183 +1,219 @@
1 1
 <template>
2
-  <view class="work-container">
3
-    <!-- 轮播图 -->
4
-    <uni-swiper-dot class="uni-swiper-dot-box" :info="data" :current="current" field="content">
5
-      <swiper class="swiper-box" :current="swiperDotIndex" @change="changeSwiper">
6
-        <swiper-item v-for="(item, index) in data" :key="index">
7
-          <view class="swiper-item" @click="clickBannerItem(item)">
8
-            <image :src="item.image" mode="aspectFill" :draggable="false" />
9
-          </view>
10
-        </swiper-item>
11
-      </swiper>
12
-    </uni-swiper-dot>
13
-
14
-    <!-- 宫格组件 -->
15
-    <uni-section title="系统管理" type="line"></uni-section>
16
-    <view class="grid-body">
17
-      <uni-grid :column="4" :showBorder="false" @change="changeGrid">
18
-        <uni-grid-item>
19
-          <view class="grid-item-box">
20
-            <uni-icons type="person-filled" size="30"></uni-icons>
21
-            <text class="text">用户管理</text>
22
-          </view>
23
-        </uni-grid-item>
24
-        <uni-grid-item>
25
-          <view class="grid-item-box">
26
-            <uni-icons type="staff-filled" size="30"></uni-icons>
27
-            <text class="text">角色管理</text>
28
-          </view>
29
-        </uni-grid-item>
30
-        <uni-grid-item>
31
-          <view class="grid-item-box">
32
-            <uni-icons type="color" size="30"></uni-icons>
33
-            <text class="text">菜单管理</text>
34
-          </view>
35
-        </uni-grid-item>
36
-        <uni-grid-item>
37
-          <view class="grid-item-box">
38
-            <uni-icons type="settings-filled" size="30"></uni-icons>
39
-            <text class="text">部门管理</text>
40
-          </view>
41
-        </uni-grid-item>
42
-        <uni-grid-item>
43
-          <view class="grid-item-box">
44
-            <uni-icons type="heart-filled" size="30"></uni-icons>
45
-            <text class="text">岗位管理</text>
46
-          </view>
47
-        </uni-grid-item>
48
-        <uni-grid-item>
49
-          <view class="grid-item-box">
50
-            <uni-icons type="bars" size="30"></uni-icons>
51
-            <text class="text">字典管理</text>
52
-          </view>
53
-        </uni-grid-item>
54
-        <uni-grid-item>
55
-          <view class="grid-item-box">
56
-            <uni-icons type="gear-filled" size="30"></uni-icons>
57
-            <text class="text">参数设置</text>
58
-          </view>
59
-        </uni-grid-item>
60
-        <uni-grid-item>
61
-          <view class="grid-item-box">
62
-            <uni-icons type="chat-filled" size="30"></uni-icons>
63
-            <text class="text">通知公告</text>
64
-          </view>
65
-        </uni-grid-item>
66
-        <uni-grid-item>
67
-          <view class="grid-item-box">
68
-            <uni-icons type="wallet-filled" size="30"></uni-icons>
69
-            <text class="text">日志管理</text>
70
-          </view>
71
-        </uni-grid-item>
72
-      </uni-grid>
73
-    </view>
74
-  </view>
2
+	<view class="work-container">
3
+		<!-- 轮播图 -->
4
+		<uni-swiper-dot class="uni-swiper-dot-box" :info="data" :current="current" field="content">
5
+			<swiper class="swiper-box" :current="swiperDotIndex" @change="changeSwiper">
6
+				<swiper-item v-for="(item, index) in data" :key="index">
7
+					<view class="swiper-item" @click="clickBannerItem(item)">
8
+						<image :src="item.image" mode="aspectFill" :draggable="false" />
9
+					</view>
10
+				</swiper-item>
11
+			</swiper>
12
+		</uni-swiper-dot>
13
+
14
+		<!-- 宫格组件 -->
15
+		<uni-section class="uni-section" title="系统管理" type="line" @click="certification">
16
+			<template v-slot:right>
17
+				{{certificationStatus}}
18
+			</template>
19
+		</uni-section>
20
+		<!-- <uni-section class="uni-section" title="系统管理" type="line"></uni-section> -->
21
+		<view class="grid-body">
22
+			<uni-grid :column="4" :showBorder="false" @change="changeGrid">
23
+				<uni-grid-item>
24
+					<view class="grid-item-box">
25
+						<uni-icons type="compose" size="30" color="#327DD7"></uni-icons>
26
+						<text class="text">本人立案</text>
27
+					</view>
28
+				</uni-grid-item>
29
+				<uni-grid-item>
30
+					<view class="grid-item-box">
31
+						<uni-icons type="staff-filled" size="30" color="#327DD7"></uni-icons>
32
+						<text class="text">本人案件进展</text>
33
+					</view>
34
+				</uni-grid-item>
35
+				<uni-grid-item>
36
+					<view class="grid-item-box">
37
+						<uni-icons type="color" size="30" color="#327DD7"></uni-icons>
38
+						<text class="text">代理立案</text>
39
+					</view>
40
+				</uni-grid-item>
41
+				<uni-grid-item>
42
+					<view class="grid-item-box">
43
+						<uni-icons type="settings-filled" size="30" color="#327DD7"></uni-icons>
44
+						<text class="text">代理案件进展</text>
45
+					</view>
46
+				</uni-grid-item>
47
+				<uni-grid-item>
48
+					<view class="grid-item-box">
49
+						<uni-icons type="heart-filled" size="30" color="#327DD7"></uni-icons>
50
+						<text class="text">证据交换</text>
51
+					</view>
52
+				</uni-grid-item>
53
+				<uni-grid-item>
54
+					<view class="grid-item-box">
55
+						<uni-icons type="bars" size="30" color="#327DD7"></uni-icons>
56
+						<text class="text">互联网庭</text>
57
+					</view>
58
+				</uni-grid-item>
59
+				<uni-grid-item>
60
+					<view class="grid-item-box">
61
+						<uni-icons type="gear-filled" size="30" color="#327DD7"></uni-icons>
62
+						<text class="text">在线撤诉</text>
63
+					</view>
64
+				</uni-grid-item>
65
+				<uni-grid-item>
66
+					<view class="grid-item-box">
67
+						<uni-icons type="chat-filled" size="30" color="#327DD7"></uni-icons>
68
+						<text class="text">笔录签字</text>
69
+					</view>
70
+				</uni-grid-item>
71
+				<uni-grid-item>
72
+					<view class="grid-item-box">
73
+						<uni-icons type="wallet-filled" size="30" color="#327DD7"></uni-icons>
74
+						<text class="text">仲裁文书</text>
75
+					</view>
76
+				</uni-grid-item>
77
+				<uni-grid-item>
78
+					<view class="grid-item-box">
79
+						<uni-icons type="wallet-filled" size="30" color="#327DD7"></uni-icons>
80
+						<text class="text">法规政策</text>
81
+					</view>
82
+				</uni-grid-item>
83
+			</uni-grid>
84
+		</view>
85
+	</view>
75 86
 </template>
76 87
 
77 88
 <script>
78
-  export default {
79
-    data() {
80
-      return {
81
-        current: 0,
82
-        swiperDotIndex: 0,
83
-        data: [{
84
-            image: '/static/images/banner/banner01.jpg'
85
-          },
86
-          {
87
-            image: '/static/images/banner/banner02.jpg'
88
-          },
89
-          {
90
-            image: '/static/images/banner/banner03.jpg'
91
-          }
92
-        ]
93
-      }
94
-    },
95
-    methods: {
96
-      clickBannerItem(item) {
97
-        console.info(item)
98
-      },
99
-      changeSwiper(e) {
100
-        this.current = e.detail.current
101
-      },
102
-      changeGrid(e) {
103
-        this.$modal.showToast('模块建设中~')
104
-      }
105
-    }
106
-  }
89
+	export default {
90
+		data() {
91
+			return {
92
+				current: 0,
93
+				swiperDotIndex: 0,
94
+				data: [{
95
+						image: 'https://img.tukuppt.com/bg_grid/00/09/96/qWJxN1umma.jpg!/fh/350'
96
+					},
97
+					{
98
+						image: 'https://img.tukuppt.com/bg_grid/00/18/92/JBheZs7ZVK.jpg!/fh/350'
99
+					},
100
+					{
101
+						image: 'https://img.tukuppt.com/bg_grid/00/81/07/DGEl4suqeV.jpg!/fh/350'
102
+					}
103
+				],
104
+				certificationStatus:"未认证"
105
+			}
106
+		},
107
+		methods: {
108
+			clickBannerItem(item) {
109
+				console.info(item)
110
+			},
111
+			changeSwiper(e) {
112
+				this.current = e.detail.current
113
+			},
114
+			changeGrid(e) {
115
+				this.$modal.showToast('模块建设中~')
116
+			},
117
+			// 点击实名认证
118
+			certification(){
119
+				uni.navigateTo({
120
+					url:('/pages/certification/index')
121
+				})
122
+			}
123
+		}
124
+	}
107 125
 </script>
108 126
 
109 127
 <style lang="scss">
110
-  /* #ifndef APP-NVUE */
111
-  page {
112
-    display: flex;
113
-    flex-direction: column;
114
-    box-sizing: border-box;
115
-    background-color: #fff;
116
-    min-height: 100%;
117
-    height: auto;
118
-  }
119
-
120
-  view {
121
-    font-size: 14px;
122
-    line-height: inherit;
123
-  }
124
-
125
-  /* #endif */
126
-
127
-  .text {
128
-    text-align: center;
129
-    font-size: 26rpx;
130
-    margin-top: 10rpx;
131
-  }
132
-
133
-  .grid-item-box {
134
-    flex: 1;
135
-    /* #ifndef APP-NVUE */
136
-    display: flex;
137
-    /* #endif */
138
-    flex-direction: column;
139
-    align-items: center;
140
-    justify-content: center;
141
-    padding: 15px 0;
142
-  }
143
-
144
-  .uni-margin-wrap {
145
-    width: 690rpx;
146
-    width: 100%;
147
-    ;
148
-  }
149
-
150
-  .swiper {
151
-    height: 300rpx;
152
-  }
153
-
154
-  .swiper-box {
155
-    height: 150px;
156
-  }
157
-
158
-  .swiper-item {
159
-    /* #ifndef APP-NVUE */
160
-    display: flex;
161
-    /* #endif */
162
-    flex-direction: column;
163
-    justify-content: center;
164
-    align-items: center;
165
-    color: #fff;
166
-    height: 300rpx;
167
-    line-height: 300rpx;
168
-  }
169
-
170
-  @media screen and (min-width: 500px) {
171
-    .uni-swiper-dot-box {
172
-      width: 400px;
173
-      /* #ifndef APP-NVUE */
174
-      margin: 0 auto;
175
-      /* #endif */
176
-      margin-top: 8px;
177
-    }
178
-
179
-    .image {
180
-      width: 100%;
181
-    }
182
-  }
183
-</style>
128
+	/* #ifndef APP-NVUE */
129
+	page {
130
+		display: flex;
131
+		flex-direction: column;
132
+		box-sizing: border-box;
133
+		background-color: #fff;
134
+		min-height: 100%;
135
+		height: auto;
136
+	}
137
+
138
+	view {
139
+		font-size: 14px;
140
+		line-height: inherit;
141
+	}
142
+
143
+	/* #endif */
144
+
145
+	.text {
146
+		text-align: center;
147
+		font-size: 26rpx;
148
+		margin-top: 10rpx;
149
+	}
150
+
151
+	.grid-item-box {
152
+		flex: 1;
153
+		/* #ifndef APP-NVUE */
154
+		display: flex;
155
+		/* #endif */
156
+		flex-direction: column;
157
+		align-items: center;
158
+		justify-content: center;
159
+		padding: 15px 0;
160
+	}
161
+
162
+	.uni-margin-wrap {
163
+		width: 690rpx;
164
+		width: 100%;
165
+		;
166
+	}
167
+
168
+	.swiper {
169
+		height: 300rpx;
170
+	}
171
+
172
+	.swiper-box {
173
+		height: 150px;
174
+	}
175
+
176
+	.swiper-item {
177
+		/* #ifndef APP-NVUE */
178
+		display: flex;
179
+		/* #endif */
180
+		flex-direction: column;
181
+		justify-content: center;
182
+		align-items: center;
183
+		color: #fff;
184
+		height: 300rpx;
185
+		line-height: 300rpx;
186
+	}
187
+
188
+	.grid-body {
189
+		// background-image: url('https://img.tukuppt.com/bg_grid/00/18/52/aEicoC2qMI.jpg!/fh/350');
190
+		background-repeat: no-repeat;
191
+		background-size: cover;
192
+		height: 900rpx;
193
+		// color: #fff;
194
+		opacity: 0.9;
195
+	}
196
+
197
+	.uni-section {
198
+		background-color: #b90404 !important;
199
+		color: #fff;
200
+	}
201
+
202
+	/deep/ .uni-section__content-title {
203
+		color: #fff !important;
204
+	}
205
+
206
+	@media screen and (min-width: 500px) {
207
+		.uni-swiper-dot-box {
208
+			width: 400px;
209
+			/* #ifndef APP-NVUE */
210
+			margin: 0 auto;
211
+			/* #endif */
212
+			margin-top: 8px;
213
+		}
214
+
215
+		.image {
216
+			width: 100%;
217
+		}
218
+	}
219
+</style>

BIN
static/weixin.png Ver fichero


+ 1
- 1
unpackage/dist/dev/.sourcemap/mp-weixin/common/main.js.map
La diferencia del archivo ha sido suprimido porque es demasiado grande
Ver fichero


+ 1
- 1
unpackage/dist/dev/.sourcemap/mp-weixin/common/runtime.js.map
La diferencia del archivo ha sido suprimido porque es demasiado grande
Ver fichero


+ 1
- 1
unpackage/dist/dev/.sourcemap/mp-weixin/common/vendor.js.map
La diferencia del archivo ha sido suprimido porque es demasiado grande
Ver fichero


+ 1
- 1
unpackage/dist/dev/.sourcemap/mp-weixin/uni_modules/uni-icons/components/uni-icons/uni-icons.js.map
La diferencia del archivo ha sido suprimido porque es demasiado grande
Ver fichero


+ 1
- 1
unpackage/dist/dev/.sourcemap/mp-weixin/uni_modules/uni-list/components/uni-list-item/uni-list-item.js.map
La diferencia del archivo ha sido suprimido porque es demasiado grande
Ver fichero


+ 1
- 1
unpackage/dist/dev/.sourcemap/mp-weixin/uni_modules/uni-list/components/uni-list/uni-list.js.map
La diferencia del archivo ha sido suprimido porque es demasiado grande
Ver fichero


+ 2
- 1
unpackage/dist/dev/mp-weixin/app.json Ver fichero

@@ -13,7 +13,8 @@
13 13
     "pages/mine/help/index",
14 14
     "pages/mine/about/index",
15 15
     "pages/common/webview/index",
16
-    "pages/common/textview/index"
16
+    "pages/common/textview/index",
17
+    "pages/certification/index"
17 18
   ],
18 19
   "subPackages": [],
19 20
   "window": {

+ 1
- 2
unpackage/dist/dev/mp-weixin/project.config.json Ver fichero

@@ -15,8 +15,7 @@
15 15
       "ignore": [],
16 16
       "disablePlugins": [],
17 17
       "outputPath": ""
18
-    },
19
-    "condition": false
18
+    }
20 19
   },
21 20
   "compileType": "miniprogram",
22 21
   "libVersion": "3.0.1",