diff --git a/pages/activity/book.vue b/pages/activity/book.vue
index d80f5dd..0cc0078 100644
--- a/pages/activity/book.vue
+++ b/pages/activity/book.vue
@@ -145,11 +145,14 @@
-
+
+
+
+
@@ -177,11 +180,14 @@
-
+
+
+
+
@@ -193,7 +199,11 @@
确定
-
+
+
+
+
+
-
+
+
+
+
@@ -222,19 +225,26 @@
-
+
+
+
+
+
-
-
-
-
+
+
+
+
+
+
@@ -245,7 +255,11 @@
确定
-
+
+
+
+
+
@@ -324,12 +338,14 @@
mobile: "",
type: "",
details_list: []
- },
+ },
+
formUser: {
name: "",
idcard: "",
mobile: "",
- card_type: 1
+ card_type: 1,
+ is_disability: 0,
},
rules: {
name: [{
@@ -368,16 +384,42 @@
maxCount: 1,
config: {},
info: {},
- editIndex: -1,
- cardList: [{
- idx: 1,
- name: '身份证'
- },
- {
- idx: 2,
- name: '护照'
- }
- ]
+ editIndex: -1,
+ disabilitys:[{
+ idx: 0,
+ name: '否'
+ },
+ {
+ idx: 1,
+ name: '是'
+ }],
+ cardshow:false,
+ cardshows:false,
+ card_type_name:"身份证",
+ card_type_names:"身份证",
+ // cardLists:['身份证','港澳台居民居住证','护照','台胞证','港澳证'],
+ cardLists: [[{
+ value: 1,
+ label: '身份证'
+ },
+ {
+ value: 2,
+ label: '港澳台居民居住证'
+ },
+ {
+ value: 3,
+ label: '护照'
+ },
+ {
+ value: 4,
+ label: '台胞证'
+ },
+ {
+ value: 5,
+ label: '港澳证'
+ }
+ ]],
+
}
},
onReady() {
@@ -425,6 +467,28 @@
clearTimeout(this.timer)
},
methods: {
+ confirmCards(e){
+ this.card_type_names = e.value[0].label
+ this.form.card_type = e.value[0].value
+ this.cardshows = false
+ },
+ cancel(){
+ this.cardshow = false
+ },
+ cancels(){
+ this.cardshows = false
+ },
+ showCards(){
+ this.cardshows = true
+ },
+ confirmCard(e){
+ this.card_type_name = e.value[0].label
+ this.formUser.card_type = e.value[0].value
+ this.cardshow = false
+ },
+ showCard(){
+ this.cardshow = true
+ },
goHome(){
uni.switchTab({
url: "/pages/index/index"
@@ -685,7 +749,7 @@
if (!that.util.isValidCardID(that.formUser.idcard)) {
uni.showToast({
icon: "none",
- title: "请正确输入身份证号1"
+ title: "请正确输入身份证号"
})
return false;
}
@@ -1120,5 +1184,12 @@
}
.richp{
margin-bottom:10rpx;
+ }
+ .u-radio-group{
+ flex-wrap: wrap;
+ }
+ .u-radio-group .u-radio{
+ margin-bottom:10rpx;
+ margin-right:10rpx
}