From cb3886a0e10019dcc36f229a6845cb99ee893c36 Mon Sep 17 00:00:00 2001 From: lion <120344285@qq.com> Date: Thu, 5 Mar 2026 16:54:19 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=86=E4=BA=AB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/bd/bddetail.vue | 15 +++++++++++++++ pages/bd/mine.vue | 15 +++++++++++++++ pages/bd/record.vue | 15 +++++++++++++++ pages/bd/signpic.vue | 15 +++++++++++++++ pages/index/index.vue | 14 ++++++++++++++ pages/index/login.vue | 14 ++++++++++++++ pages/visit/addrecord.vue | 15 +++++++++++++++ pages/visit/detail.vue | 15 +++++++++++++++ pages/visit/study.vue | 15 +++++++++++++++ pages/visit/successform.vue | 15 +++++++++++++++ pages/visit/testStudy.vue | 15 +++++++++++++++ pages/visit/tostudy.vue | 15 +++++++++++++++ pages/visit/visithistory.vue | 15 +++++++++++++++ project.config.json | 25 +++++++++++++++++++++++++ project.private.config.json | 14 ++++++++++++++ 15 files changed, 232 insertions(+) create mode 100644 project.config.json create mode 100644 project.private.config.json diff --git a/pages/bd/bddetail.vue b/pages/bd/bddetail.vue index dfafab2..972cb23 100644 --- a/pages/bd/bddetail.vue +++ b/pages/bd/bddetail.vue @@ -210,7 +210,22 @@ this.userId = uni.getStorageSync('userInfo_Bd').id this.checkForm.visit_id = parseInt(options.id) this.loadDetail() + }, + onShareAppMessage() { + return { + title: 'BD访客系统', + path: '/pages/index/index', + // imageUrl: this.logoIndex + } + }, + onShareTimeline() { + return { + title: 'BD访客系统', + path: '/pages/index/index', + // imageUrl: this.logoIndex + } }, + methods: { checkSubmit() { let that = this diff --git a/pages/bd/mine.vue b/pages/bd/mine.vue index 6a9e424..287e0f3 100644 --- a/pages/bd/mine.vue +++ b/pages/bd/mine.vue @@ -155,7 +155,22 @@ onLoad() { this.getBdInfo() this.loadList() + }, + onShareAppMessage() { + return { + title: 'BD访客系统', + path: '/pages/index/index', + // imageUrl: this.logoIndex + } + }, + onShareTimeline() { + return { + title: 'BD访客系统', + path: '/pages/index/index', + // imageUrl: this.logoIndex + } }, + onPullDownRefresh() { this.select.page = 1 this.loadList() diff --git a/pages/bd/record.vue b/pages/bd/record.vue index 9cbf74f..3eb4321 100644 --- a/pages/bd/record.vue +++ b/pages/bd/record.vue @@ -105,7 +105,22 @@ this.nowadminID = uni.getStorageSync('userInfo_Bd').id console.log("this.nowadminID",this.nowadminID) this.loadList() + }, + onShareAppMessage() { + return { + title: 'BD访客系统', + path: '/pages/index/index', + // imageUrl: this.logoIndex + } + }, + onShareTimeline() { + return { + title: 'BD访客系统', + path: '/pages/index/index', + // imageUrl: this.logoIndex + } }, + onPullDownRefresh() { this.select.page = 1 this.loadList() diff --git a/pages/bd/signpic.vue b/pages/bd/signpic.vue index 9eea132..f113c66 100644 --- a/pages/bd/signpic.vue +++ b/pages/bd/signpic.vue @@ -36,7 +36,22 @@ this.id = options.id this.host = this.util.HOST this.loadDetail() + }, + onShareAppMessage() { + return { + title: 'BD访客系统', + path: '/pages/index/index', + // imageUrl: this.logoIndex + } + }, + onShareTimeline() { + return { + title: 'BD访客系统', + path: '/pages/index/index', + // imageUrl: this.logoIndex + } }, + methods: { onClick(type) { if (type == 'save') { diff --git a/pages/index/index.vue b/pages/index/index.vue index ca54c16..21cc119 100644 --- a/pages/index/index.vue +++ b/pages/index/index.vue @@ -51,6 +51,20 @@ onShow(){ this.isBd = uni.getStorageSync("userInfo_BD_token").token console.log("bd",this.isBd) + }, + onShareAppMessage() { + return { + title: 'BD访客系统', + path: '/pages/index/index', + // imageUrl: this.logoIndex + } + }, + onShareTimeline() { + return { + title: 'BD访客系统', + path: '/pages/index/index', + // imageUrl: this.logoIndex + } }, methods: { toUrl(type) { diff --git a/pages/index/login.vue b/pages/index/login.vue index aab4940..49babcc 100644 --- a/pages/index/login.vue +++ b/pages/index/login.vue @@ -51,6 +51,20 @@ }, onLoad() { this.winHeight = uni.getSystemInfoSync().screenHeight - uni.getSystemInfoSync().statusBarHeight * 2 - 20; + }, + onShareAppMessage() { + return { + title: 'BD访客系统', + path: '/pages/index/index', + // imageUrl: this.logoIndex + } + }, + onShareTimeline() { + return { + title: 'BD访客系统', + path: '/pages/index/index', + // imageUrl: this.logoIndex + } }, methods: { diff --git a/pages/visit/addrecord.vue b/pages/visit/addrecord.vue index 2784da5..ece39ce 100644 --- a/pages/visit/addrecord.vue +++ b/pages/visit/addrecord.vue @@ -488,7 +488,22 @@ this.form = uni.getStorageSync('formdata') } // this.getAdminList() + }, + onShareAppMessage() { + return { + title: 'BD访客系统', + path: '/pages/index/index', + // imageUrl: this.logoIndex + } + }, + onShareTimeline() { + return { + title: 'BD访客系统', + path: '/pages/index/index', + // imageUrl: this.logoIndex + } }, + onReady() {}, methods: { init() { diff --git a/pages/visit/detail.vue b/pages/visit/detail.vue index 0e096bb..8c4d749 100644 --- a/pages/visit/detail.vue +++ b/pages/visit/detail.vue @@ -188,7 +188,22 @@ onLoad(options) { this.id = options.id this.loadDetail() + }, + onShareAppMessage() { + return { + title: 'BD访客系统', + path: '/pages/index/index', + // imageUrl: this.logoIndex + } + }, + onShareTimeline() { + return { + title: 'BD访客系统', + path: '/pages/index/index', + // imageUrl: this.logoIndex + } }, + methods: { closeshowCodes() { this.showCodes = false diff --git a/pages/visit/study.vue b/pages/visit/study.vue index fa3018e..07b1699 100644 --- a/pages/visit/study.vue +++ b/pages/visit/study.vue @@ -94,7 +94,22 @@ }, 1000) } + }, + onShareAppMessage() { + return { + title: 'BD访客系统', + path: '/pages/index/index', + // imageUrl: this.logoIndex + } + }, + onShareTimeline() { + return { + title: 'BD访客系统', + path: '/pages/index/index', + // imageUrl: this.logoIndex + } }, + methods: { async getStudy() { let that = this diff --git a/pages/visit/successform.vue b/pages/visit/successform.vue index 4da8999..ec019b9 100644 --- a/pages/visit/successform.vue +++ b/pages/visit/successform.vue @@ -23,7 +23,22 @@ onLoad(options) { this.iscall=options.iscall?true:false + }, + onShareAppMessage() { + return { + title: 'BD访客系统', + path: '/pages/index/index', + // imageUrl: this.logoIndex + } + }, + onShareTimeline() { + return { + title: 'BD访客系统', + path: '/pages/index/index', + // imageUrl: this.logoIndex + } }, + methods: { toHistory() { let url = '/pages/visit/visithistory' diff --git a/pages/visit/testStudy.vue b/pages/visit/testStudy.vue index c8dd2dc..952a817 100644 --- a/pages/visit/testStudy.vue +++ b/pages/visit/testStudy.vue @@ -64,7 +64,22 @@ this.getFormdata() this.getStudy() + }, + onShareAppMessage() { + return { + title: 'BD访客系统', + path: '/pages/index/index', + // imageUrl: this.logoIndex + } + }, + onShareTimeline() { + return { + title: 'BD访客系统', + path: '/pages/index/index', + // imageUrl: this.logoIndex + } }, + methods: { getFormdata(){ // let res = uni.getStorageSync('formdata') diff --git a/pages/visit/tostudy.vue b/pages/visit/tostudy.vue index ea5312e..e6a92d2 100644 --- a/pages/visit/tostudy.vue +++ b/pages/visit/tostudy.vue @@ -102,6 +102,21 @@ this.form = res } }, + onShareAppMessage() { + return { + title: 'BD访客系统', + path: '/pages/index/index', + // imageUrl: this.logoIndex + } + }, + onShareTimeline() { + return { + title: 'BD访客系统', + path: '/pages/index/index', + // imageUrl: this.logoIndex + } + }, + methods:{ onAgreePrivacy() { // 用户同意隐私政策 diff --git a/pages/visit/visithistory.vue b/pages/visit/visithistory.vue index f819cce..e97b72c 100644 --- a/pages/visit/visithistory.vue +++ b/pages/visit/visithistory.vue @@ -88,7 +88,22 @@ }, onLoad() { this.loadList() + }, + onShareAppMessage() { + return { + title: 'BD访客系统', + path: '/pages/index/index', + // imageUrl: this.logoIndex + } + }, + onShareTimeline() { + return { + title: 'BD访客系统', + path: '/pages/index/index', + // imageUrl: this.logoIndex + } }, + onPullDownRefresh() { this.select.page = 1 this.loadList() diff --git a/project.config.json b/project.config.json new file mode 100644 index 0000000..9c90be0 --- /dev/null +++ b/project.config.json @@ -0,0 +1,25 @@ +{ + "setting": { + "es6": true, + "postcss": true, + "minified": true, + "uglifyFileName": false, + "enhance": true, + "packNpmRelationList": [], + "babelSetting": { + "ignore": [], + "disablePlugins": [], + "outputPath": "" + }, + "useCompilerPlugins": false, + "minifyWXML": true + }, + "compileType": "miniprogram", + "simulatorPluginLibVersion": {}, + "packOptions": { + "ignore": [], + "include": [] + }, + "appid": "wx35190cc07e73eda1", + "editorSetting": {} +} \ No newline at end of file diff --git a/project.private.config.json b/project.private.config.json new file mode 100644 index 0000000..333438a --- /dev/null +++ b/project.private.config.json @@ -0,0 +1,14 @@ +{ + "libVersion": "3.14.3", + "projectname": "szbd-vistor-wx", + "setting": { + "urlCheck": true, + "coverView": true, + "lazyloadPlaceholderEnable": false, + "skylineRenderEnable": false, + "preloadBackgroundData": false, + "autoAudits": false, + "showShadowRootInWxmlPanel": true, + "compileHotReLoad": true + } +} \ No newline at end of file