Tang 3 роки тому
батько
коміт
b24fbef44c
3 змінених файлів з 7 додано та 6 видалено
  1. 5 5
      pages2/plan/index.vue
  2. 2 1
      pages2/verify/input.vue
  3. BIN
      static/icon/openSwith.png

+ 5 - 5
pages2/plan/index.vue

@@ -60,7 +60,7 @@
 										}}截止
 									</text>
 								</u-col>
-								<u-col span="1"><image src="/static/more.png" class="img_more" @click.stop="openShow(item)"></image></u-col>
+								<u-col span="1"><image src="/static/icon/openSwith.png" class="img_more" @click.stop="openShow(item)"></image></u-col>
 							</u-row>
 							<scroll-view style="white-space: nowrap" class="scroll-view_H" scroll-x="true">
 								<view style="margin-top: 30rpx;display: inline-block;width:296rpx;margin-right: 30rpx;" v-for="(items, indexs) in item.goodsVos" :key="indexs">
@@ -212,7 +212,7 @@ export default {
 			};
 			let self = this;
 			this.$api.editsystemplan(data).then(res => {
-				uni.setStorageSync('updateHome',1)
+				uni.setStorageSync('updateHome', 1);
 				self.getList();
 			});
 		},
@@ -328,7 +328,7 @@ export default {
 		},
 		getList() {
 			let self = this;
-			this.$api.getsystemplanlist({status:1}).then(result => {
+			this.$api.getsystemplanlist({ status: 1 }).then(result => {
 				result.data.rows.forEach((item, index) => {
 					item.show = 'none';
 				});
@@ -370,10 +370,10 @@ export default {
 				item.show = 'none';
 			}
 		},
-		updateHomePlan(){
+		updateHomePlan() {
 			const pages = getCurrentPages(); //获取页面栈
 			const beforePage = pages[pages.length - 2]; //前一个页面
-		//	beforePage.$vm.updateHomePlan();
+			//	beforePage.$vm.updateHomePlan();
 		},
 		close_calendar() {
 			this.isOpen = false;

+ 2 - 1
pages2/verify/input.vue

@@ -347,7 +347,8 @@ export default {
 					{
 						validator: (rule, value, callback) => {
 							var vartest = /^([0-9]{3,4}-)?[0-9]{7,8}$/;
-							if (this.$u.test.mobile(value) || vartest.test(value)) {
+							var vartest1 = /^([0-9]{3,4})?[0-9]{7,8}$/;
+							if (this.$u.test.mobile(value) || vartest.test(value) || vartest1.test(value)) {
 								return true;
 							}else{
 								return false

BIN
static/icon/openSwith.png