liyongli 12 saat önce
ebeveyn
işleme
98132fc867
3 değiştirilmiş dosya ile 25 ekleme ve 18 silme
  1. 3 0
      src/view/fenghui/en.js
  2. 18 18
      src/view/fenghui/form1.vue
  3. 4 0
      src/view/fenghui/zh.js

+ 3 - 0
src/view/fenghui/en.js

@@ -210,6 +210,9 @@ export default {
         { "text": "Indonesia", "value": "印度尼西亚" },
         { "text": "Indonesia", "value": "印度尼西亚" },
         { "text": "Jordan", "value": "约旦" },
         { "text": "Jordan", "value": "约旦" },
         { "text": "Viet Nam", "value": "越南" },
         { "text": "Viet Nam", "value": "越南" },
+        { "text": "Hong Kong, China", "value": "香港" },
+        { "text": "Macao, China", "value": "澳门" },
+        { "text": "Taiwan, China", "value": "台湾" },
 
 
         { "text": "Africa", "value": "非洲", "disabled": true },
         { "text": "Africa", "value": "非洲", "disabled": true },
         { "text": "Algeria", "value": "阿尔及利亚" },
         { "text": "Algeria", "value": "阿尔及利亚" },

+ 18 - 18
src/view/fenghui/form1.vue

@@ -295,7 +295,7 @@
                 </van-field>
                 </van-field>
 
 
                 <!-- 拟参加的活动  -->
                 <!-- 拟参加的活动  -->
-                <!-- <van-field size="large" label-align="top" v-model="formData.activitiesAttended" required
+                <van-field size="large" label-align="top" v-model="formData.activitiesAttended" required
                     :rules="[{ required: true, trigger: 'onBlur', message: lang[langType].activitiesAttendedContent }]"
                     :rules="[{ required: true, trigger: 'onBlur', message: lang[langType].activitiesAttendedContent }]"
                     :placeholder="lang[langType].activitiesAttendedContent">
                     :placeholder="lang[langType].activitiesAttendedContent">
                     <template #label>
                     <template #label>
@@ -318,12 +318,12 @@
                                             name="active5" @click.stop shape="square" />
                                             name="active5" @click.stop shape="square" />
                                     </template>
                                     </template>
                                 </van-cell>
                                 </van-cell>
-                                <van-cell clickable :title="lang[langType].active6" @click="checkboxRefs[2].toggle()">
+                                <!-- <van-cell clickable :title="lang[langType].active6" @click="checkboxRefs[2].toggle()">
                                     <template #icon>
                                     <template #icon>
                                         <van-checkbox :ref="el => checkboxRefs[2] = el" style="margin-right: 5px;"
                                         <van-checkbox :ref="el => checkboxRefs[2] = el" style="margin-right: 5px;"
                                             name="active6" @click.stop shape="square" />
                                             name="active6" @click.stop shape="square" />
                                     </template>
                                     </template>
-                                </van-cell>
+                                </van-cell> -->
                             </van-checkbox-group>
                             </van-checkbox-group>
                             <van-cell clickable :title="lang[langType].active7" @click="selectunde = !selectunde">
                             <van-cell clickable :title="lang[langType].active7" @click="selectunde = !selectunde">
                                 <template #icon>
                                 <template #icon>
@@ -334,7 +334,7 @@
                         </div>
                         </div>
 
 
                     </template>
                     </template>
-                </van-field> -->
+                </van-field>
 
 
 
 
                 <div style="background-color: #F7F7F7;height: 10px;"></div>
                 <div style="background-color: #F7F7F7;height: 10px;"></div>
@@ -437,8 +437,8 @@ const selectunde = ref(false)
 const activitiesAttended = ref([])
 const activitiesAttended = ref([])
 const form = ref(null);
 const form = ref(null);
 const photo = ref([]);
 const photo = ref([]);
-// const checkbox = ref(null);
-// const checkboxRefs = ref([]);
+const checkbox = ref(null);
+const checkboxRefs = ref([]);
 const searchConuntry = ref('')
 const searchConuntry = ref('')
 const countryRegionList = ref([]);
 const countryRegionList = ref([]);
 
 
@@ -459,18 +459,18 @@ const reset = () => {
     form.value.resetValidation();
     form.value.resetValidation();
 }
 }
 
 
-// const isGroup = (val) => {
-//     if (val.length > 0) {
-//         formData.activitiesAttended = val.join(',')
-//         selectunde.value = false
-//     }
-// }
-// const isUndefined = (val) => {
-//     if (val) {
-//         activitiesAttended.value = []
-//         formData.activitiesAttended = 'undefined'
-//     }
-// }
+const isGroup = (val) => {
+    if (val.length > 0) {
+        formData.activitiesAttended = val.join(',')
+        selectunde.value = false
+    }
+}
+const isUndefined = (val) => {
+    if (val) {
+        activitiesAttended.value = []
+        formData.activitiesAttended = 'undefined'
+    }
+}
 const countryRegionConfirm = (values) => {
 const countryRegionConfirm = (values) => {
     showCountryRegion.value = false;
     showCountryRegion.value = false;
     formData.countryRegionName = values.selectedOptions[0].text;
     formData.countryRegionName = values.selectedOptions[0].text;

+ 4 - 0
src/view/fenghui/zh.js

@@ -209,6 +209,10 @@ export default {
         { "text": "印度尼西亚", "value": "印度尼西亚" },
         { "text": "印度尼西亚", "value": "印度尼西亚" },
         { "text": "约旦", "value": "约旦" },
         { "text": "约旦", "value": "约旦" },
         { "text": "越南", "value": "越南" },
         { "text": "越南", "value": "越南" },
+        { "text": "Hong Kong, China", "value": "香港" },
+        { "text": "Macao, China", "value": "澳门" },
+        { "text": "Taiwan, China", "value": "台湾" },
+
         { "text": "非洲", "value": "非洲", "disabled": true },
         { "text": "非洲", "value": "非洲", "disabled": true },
         { "text": "阿尔及利亚", "value": "阿尔及利亚" },
         { "text": "阿尔及利亚", "value": "阿尔及利亚" },
         { "text": "埃及", "value": "埃及" },
         { "text": "埃及", "value": "埃及" },