diff --git a/components/tpx-input/tpx-input.vue b/components/tpx-input/tpx-input.vue
new file mode 100644
index 0000000..6e2941a
--- /dev/null
+++ b/components/tpx-input/tpx-input.vue
@@ -0,0 +1,40 @@
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/components/tpx-search/tpx-search.vue b/components/tpx-search/tpx-search.vue
index 603d432..8c46ede 100644
--- a/components/tpx-search/tpx-search.vue
+++ b/components/tpx-search/tpx-search.vue
@@ -1,13 +1,13 @@
-
+ @focus="handleSwitchFouce" @blur="handleSwitchFouce" @change="handleChange">
-
+
@@ -53,7 +53,6 @@
data() {
return {
focused: false,
- keyword: this.value
}
},
created() {
@@ -70,18 +69,17 @@
this.focused = !this.focused
}, 100)
},
- handleChange() {
- if(this.timelyTrigger) {
- this.triggerChange()
- }
+ handleChange(val) {
+ this.triggerChange(val, this.timelyTrigger)
},
handleClear( ) {
- this.keyword = ''
- this.triggerChange()
+ this.triggerChange('')
},
- triggerChange() {
- let val = this.keyword
- this.$emit('change', val)
+ triggerChange(val, isTriggerChange = true) {
+ typeof val == 'undefined' && (val = this.value)
+ if(isTriggerChange) {
+ this.$emit('change', val)
+ }
this.$emit('update:value', val)
}
}
diff --git a/components/tpx-textarea/tpx-textarea.vue b/components/tpx-textarea/tpx-textarea.vue
new file mode 100644
index 0000000..f4e1256
--- /dev/null
+++ b/components/tpx-textarea/tpx-textarea.vue
@@ -0,0 +1,39 @@
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/pages.json b/pages.json
index 2ac0f64..348ab23 100644
--- a/pages.json
+++ b/pages.json
@@ -85,7 +85,14 @@
"style": {
"navigationBarTitleText": "信息详情"
}
+ },
+ {
+ "path": "pages/user/certification",
+ "style": {
+ "navigationBarTitleText": "实名认证"
+ }
}
+
],
"subPackages": [{
"root": "pages/API",
diff --git a/pages/address/edit.vue b/pages/address/edit.vue
index 9579853..b297d3d 100644
--- a/pages/address/edit.vue
+++ b/pages/address/edit.vue
@@ -30,10 +30,10 @@
-
+
-
+
@@ -50,23 +50,23 @@
-
+
-
+
-
+
-
+
-
+
@@ -77,14 +77,14 @@
-
+
diff --git a/pages/complaint/edit.vue b/pages/complaint/edit.vue
index 21bcf6b..92f43bb 100644
--- a/pages/complaint/edit.vue
+++ b/pages/complaint/edit.vue
@@ -7,7 +7,18 @@
-
+
+
+
+
+
+
+
+
+
+
+
+
@@ -22,7 +33,7 @@
-
+
diff --git a/pages/service/list.vue b/pages/service/list.vue
index eb73db4..9cab3de 100644
--- a/pages/service/list.vue
+++ b/pages/service/list.vue
@@ -17,7 +17,7 @@
@click="handleTODetail(item)"
>
-
+
diff --git a/pages/tabBar/mine/mine.vue b/pages/tabBar/mine/mine.vue
index b231e31..b863d85 100644
--- a/pages/tabBar/mine/mine.vue
+++ b/pages/tabBar/mine/mine.vue
@@ -80,7 +80,7 @@
{ title: '地址簿', subTitle: "", icon: getCdnUrl(`mine/dizhi.png`), url: 'address/list' },
{ title: '快件查询', subTitle: "", icon: getCdnUrl(`mine/kjcha.png`), url: '' },
{ title: '投诉建议', subTitle: "", icon: getCdnUrl(`mine/tousu.png`), url: 'complaint/complaint' },
- { title: '实名填写', subTitle: "", icon: getCdnUrl(`mine/shiming.png`), url: '' }
+ { title: '实名填写', subTitle: "", icon: getCdnUrl(`mine/shiming.png`), url: 'user/certification' }
]
}
},
diff --git a/pages/user/certification.vue b/pages/user/certification.vue
new file mode 100644
index 0000000..9c4dc66
--- /dev/null
+++ b/pages/user/certification.vue
@@ -0,0 +1,116 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 提交实名
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/uni_modules/uview-plus/components/u-input/u-input.vue b/uni_modules/uview-plus/components/u-input/u-input.vue
index 6bb4d18..48d3eac 100644
--- a/uni_modules/uview-plus/components/u-input/u-input.vue
+++ b/uni_modules/uview-plus/components/u-input/u-input.vue
@@ -53,7 +53,7 @@
>