From 62607b63c3ef6930112278aa186025b7ec649519 Mon Sep 17 00:00:00 2001 From: yxq Date: Fri, 24 Nov 2023 19:53:01 +0800 Subject: [PATCH] =?UTF-8?q?app=20=E5=AD=A6=E5=91=98=E9=80=9A=E8=AE=AF?= =?UTF-8?q?=E5=BD=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../LearunApp-2.2.0/common/custompage.js | 3 +- .../LearunApp-2.2.0/pages.json | 18 ++ .../AddressBook/list.vue | 303 ++++++++++++++++++ .../AddressBook/single.vue | 208 ++++++++++++ 4 files changed, 531 insertions(+), 1 deletion(-) create mode 100644 Learun.Framework.Ultimate V7/LearunApp-2.2.0/pages/EducationalAdministration/AddressBook/list.vue create mode 100644 Learun.Framework.Ultimate V7/LearunApp-2.2.0/pages/EducationalAdministration/AddressBook/single.vue diff --git a/Learun.Framework.Ultimate V7/LearunApp-2.2.0/common/custompage.js b/Learun.Framework.Ultimate V7/LearunApp-2.2.0/common/custompage.js index 786db8dc0..59f6cca30 100644 --- a/Learun.Framework.Ultimate V7/LearunApp-2.2.0/common/custompage.js +++ b/Learun.Framework.Ultimate V7/LearunApp-2.2.0/common/custompage.js @@ -312,7 +312,8 @@ export default { MobileOrPhoneOrNull: t => t.length <= 0 || /^1[0-9]{10}$/.test(t) || /^[+0-9- ]*$/.test(t) || '须留空或符合手机/电话号码格式', Uri: t => /^[a-zA-z]+:\/\/[^\s]*$/.test(t) || '须符合网址Url格式', - UriOrNull: t => t.length <= 0 || /^[a-zA-z]+:\/\/[^\s]*$/.test(t) || '须留空或符合网址Url格式' + UriOrNull: t => t.length <= 0 || /^[a-zA-z]+:\/\/[^\s]*$/.test(t) || '须留空或符合网址Url格式', + TrueOrFalse:t => t===true || t===false || '不能为空', } } } diff --git a/Learun.Framework.Ultimate V7/LearunApp-2.2.0/pages.json b/Learun.Framework.Ultimate V7/LearunApp-2.2.0/pages.json index ee3d4255d..84fcafd67 100644 --- a/Learun.Framework.Ultimate V7/LearunApp-2.2.0/pages.json +++ b/Learun.Framework.Ultimate V7/LearunApp-2.2.0/pages.json @@ -1079,6 +1079,24 @@ } } + // 学员通讯录 + ,{ + "path" : "pages/EducationalAdministration/AddressBook/list", + "style" : + { + "navigationBarTitleText": "学员通讯录", + "enablePullDownRefresh": false + } + + } + ,{ + "path" : "pages/EducationalAdministration/AddressBook/single", + "style" : + { + "navigationBarTitleText": "学员通讯录", + "enablePullDownRefresh": false + } + } ], // 全局样式 diff --git a/Learun.Framework.Ultimate V7/LearunApp-2.2.0/pages/EducationalAdministration/AddressBook/list.vue b/Learun.Framework.Ultimate V7/LearunApp-2.2.0/pages/EducationalAdministration/AddressBook/list.vue new file mode 100644 index 000000000..e3ec36477 --- /dev/null +++ b/Learun.Framework.Ultimate V7/LearunApp-2.2.0/pages/EducationalAdministration/AddressBook/list.vue @@ -0,0 +1,303 @@ + + + + + + + \ No newline at end of file diff --git a/Learun.Framework.Ultimate V7/LearunApp-2.2.0/pages/EducationalAdministration/AddressBook/single.vue b/Learun.Framework.Ultimate V7/LearunApp-2.2.0/pages/EducationalAdministration/AddressBook/single.vue new file mode 100644 index 000000000..c6f38d04f --- /dev/null +++ b/Learun.Framework.Ultimate V7/LearunApp-2.2.0/pages/EducationalAdministration/AddressBook/single.vue @@ -0,0 +1,208 @@ + + + + \ No newline at end of file