From bc0132ff1cf3a5a21bdd23b687073596b938a941 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=A6=86=E9=92=B1=E8=90=BD=E5=B0=BD=E6=A7=BF=E8=8A=B1?= =?UTF-8?q?=E7=A8=80?= <2675540038@qq.com> Date: Sat, 20 Apr 2024 14:57:39 +0800 Subject: [PATCH] 1 --- App.vue | 10 + index.html | 39 +- main.js | 5 + manifest.json | 167 +- pages.json | 239 ++- pages/index/directory.vue | 2 +- pages/index/discovery.vue | 9 +- pages/index/events_list.vue | 2 +- pages/index/home.vue | 490 +++-- pages/index/index.vue | 66 +- pages/index/pizz.vue | 50 +- pages/index/search/search.vue | 1 + pages/index/service.vue | 175 +- pages/index/user.vue | 55 +- store/index.js | 109 +- .../components/tn-grid-item/tn-grid-item.vue | 198 +- tuniao-ui/components/tn-tabbar/tn-tabbar.vue | 4 +- .../.sourcemap/mp-weixin/common/main.js.map | 2 +- .../mp-weixin/common/runtime.js.map | 2 +- .../.sourcemap/mp-weixin/common/vendor.js.map | 2 +- .../mp-weixin/pages/index/discovery.js.map | 2 +- .../mp-weixin/pages/index/home.js.map | 2 +- .../mp-weixin/pages/index/index.js.map | 2 +- .../mp-weixin/pages/index/pizz.js.map | 2 +- .../mp-weixin/pages/index/service.js.map | 2 +- .../mp-weixin/pages/index/user.js.map | 2 +- .../components/tn-badge/tn-badge.js.map | 2 +- .../tn-column-notice/tn-column-notice.js.map | 2 +- .../components/tn-nav-bar/tn-nav-bar.js.map | 2 +- .../tn-notice-bar/tn-notice-bar.js.map | 2 +- .../tn-row-notice/tn-row-notice.js.map | 2 +- .../components/tn-tabbar/tn-tabbar.js.map | 2 +- .../components/tn-tabs/tn-tabs.js.map | 2 +- unpackage/dist/dev/mp-weixin/app.json | 27 +- unpackage/dist/dev/mp-weixin/common/main.wxss | 205 ++ .../dist/dev/mp-weixin/common/runtime.js | 4 +- unpackage/dist/dev/mp-weixin/common/vendor.js | 1770 +++++++++-------- .../dev/mp-weixin/pages/index/discovery.js | 147 +- .../dev/mp-weixin/pages/index/discovery.json | 5 +- .../dev/mp-weixin/pages/index/discovery.wxml | 3 +- .../dist/dev/mp-weixin/pages/index/home.js | 355 +++- .../dist/dev/mp-weixin/pages/index/home.json | 5 +- .../dist/dev/mp-weixin/pages/index/home.wxml | 2 +- .../dist/dev/mp-weixin/pages/index/home.wxss | 212 -- .../dist/dev/mp-weixin/pages/index/index.js | 1265 ++++++++++-- .../dist/dev/mp-weixin/pages/index/index.wxss | 212 -- .../dist/dev/mp-weixin/pages/index/pizz.js | 128 +- .../dist/dev/mp-weixin/pages/index/pizz.json | 5 +- .../dist/dev/mp-weixin/pages/index/pizz.wxml | 2 +- .../dist/dev/mp-weixin/pages/index/service.js | 361 +++- .../dev/mp-weixin/pages/index/service.json | 7 +- .../dev/mp-weixin/pages/index/service.wxml | 2 +- .../dist/dev/mp-weixin/pages/index/user.js | 160 +- .../dist/dev/mp-weixin/pages/index/user.json | 4 +- .../dist/dev/mp-weixin/pages/index/user.wxml | 2 +- .../dist/dev/mp-weixin/project.config.json | 56 +- .../dev/mp-weixin/project.private.config.json | 5 +- .../dist/dev/mp-weixin/static/形状 1.png | Bin 2416 -> 0 bytes .../dist/dev/mp-weixin/static/形状 1462.png | Bin 523 -> 0 bytes .../dist/dev/mp-weixin/static/形状 1463.png | Bin 630 -> 0 bytes .../dist/dev/mp-weixin/static/形状 1464.png | Bin 1974 -> 0 bytes .../dev/mp-weixin/static/矢量智能对象.jpg | Bin 195157 -> 0 bytes unpackage/dist/dev/mp-weixin/static/组 67.png | Bin 2075 -> 0 bytes .../tuniao-ui/components/tn-badge/tn-badge.js | 30 +- .../tn-column-notice/tn-column-notice.js | 30 +- .../components/tn-nav-bar/tn-nav-bar.js | 34 +- .../components/tn-notice-bar/tn-notice-bar.js | 34 +- .../components/tn-row-notice/tn-row-notice.js | 30 +- .../components/tn-tabbar/tn-tabbar.js | 38 +- .../tuniao-ui/components/tn-tabs/tn-tabs.js | 36 +- 70 files changed, 4502 insertions(+), 2327 deletions(-) delete mode 100644 unpackage/dist/dev/mp-weixin/pages/index/home.wxss delete mode 100644 unpackage/dist/dev/mp-weixin/pages/index/index.wxss delete mode 100644 unpackage/dist/dev/mp-weixin/static/形状 1.png delete mode 100644 unpackage/dist/dev/mp-weixin/static/形状 1462.png delete mode 100644 unpackage/dist/dev/mp-weixin/static/形状 1463.png delete mode 100644 unpackage/dist/dev/mp-weixin/static/形状 1464.png delete mode 100644 unpackage/dist/dev/mp-weixin/static/矢量智能对象.jpg delete mode 100644 unpackage/dist/dev/mp-weixin/static/组 67.png diff --git a/App.vue b/App.vue index 246e9c3..c031d80 100644 --- a/App.vue +++ b/App.vue @@ -5,6 +5,15 @@ export default { onLaunch: function() { + + var Gid = window.location.href.split("=")[1]; + if (typeof(Gid) == 'undefined') { + Gid = 1; + } + store.commit('$tStore', { + name: 'Gid', + value: Gid + }) uni.getSystemInfo({ success: function(e) { // #ifndef H5 @@ -27,6 +36,7 @@ // 获取设备的状态栏信息和自定义顶栏信息 // store.dispatch('updateCustomBarInfo') updateCustomBarInfo().then((res) => { + console.log(res); store.commit('$tStore', { name: 'vuex_status_bar_height', value: res.statusBarHeight diff --git a/index.html b/index.html index c3ff205..dbde560 100644 --- a/index.html +++ b/index.html @@ -1,20 +1,21 @@ - - - - - - - - - -
- - - + + + + + + + + + +
+ + + + \ No newline at end of file diff --git a/main.js b/main.js index d080027..56802cb 100644 --- a/main.js +++ b/main.js @@ -17,6 +17,11 @@ Vue.mixin(vuexStore) let mpShare = require('tuniao-ui/libs/mixin/mpShare.js') Vue.mixin(mpShare) +import { + wxshare +} from "util/jwexin.js" +Vue.prototype.$wxshare = wxshare; + const app = new Vue({ store, ...App diff --git a/manifest.json b/manifest.json index bf6e065..2076943 100644 --- a/manifest.json +++ b/manifest.json @@ -1,72 +1,97 @@ { - "name" : "云商会", - "appid" : "__UNI__F702B81", - "description" : "", - "versionName" : "1.0.0", - "versionCode" : "100", - "transformPx" : false, - /* 5+App特有相关 */ - "app-plus" : { - "usingComponents" : true, - "nvueStyleCompiler" : "uni-app", - "compilerVersion" : 3, - "splashscreen" : { - "alwaysShowBeforeRender" : true, - "waiting" : true, - "autoclose" : true, - "delay" : 0 - }, - /* 模块配置 */ - "modules" : {}, - /* 应用发布信息 */ - "distribute" : { - /* android打包配置 */ - "android" : { - "permissions" : [ - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "" - ] - }, - /* ios打包配置 */ - "ios" : {}, - /* SDK配置 */ - "sdkConfigs" : {} - } - }, - /* 快应用特有相关 */ - "quickapp" : {}, - /* 小程序特有相关 */ - "mp-weixin" : { - "appid" : "", - "setting" : { - "urlCheck" : false - }, - "usingComponents" : true - }, - "mp-alipay" : { - "usingComponents" : true - }, - "mp-baidu" : { - "usingComponents" : true - }, - "mp-toutiao" : { - "usingComponents" : true - }, - "uniStatistics" : { - "enable" : false - }, - "vueVersion" : "2" -} + "name": "智慧云商协", + "appid": "__UNI__F702B81", + "description": "", + "versionName": "1.0.0", + "versionCode": "100", + "transformPx": false, + /* 5+App特有相关 */ + "app-plus": { + "usingComponents": true, + "nvueStyleCompiler": "uni-app", + "compilerVersion": 3, + "splashscreen": { + "alwaysShowBeforeRender": true, + "waiting": true, + "autoclose": true, + "delay": 0 + }, + /* 模块配置 */ + "modules": {}, + /* 应用发布信息 */ + "distribute": { + /* android打包配置 */ + "android": { + "permissions": [ + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ] + }, + /* ios打包配置 */ + "ios": {}, + /* SDK配置 */ + "sdkConfigs": { + "share": {} + } + } + }, + /* 快应用特有相关 */ + "quickapp": {}, + /* 小程序特有相关 */ + "mp-weixin": { + "appid": "wxabc0f954cce7fe56", + "setting": { + "urlCheck": false, + "minified": true, + "postcss": true + }, + "usingComponents": true + }, + "mp-alipay": { + "usingComponents": true + }, + "mp-baidu": { + "usingComponents": true + }, + "mp-toutiao": { + "usingComponents": true + }, + "uniStatistics": { + "enable": false + }, + "vueVersion": "2", + "h5": { + "router": { + "base": "" + }, + "template": "", + "devServer": { + "port": 80, + "https": false, + "disableHostCheck": true, + "proxy": { + "/api": { + "target": "http://192.168.3.130", //域名 + "changeOrigin": true, + "secure": false, + "pathRewrite": { + "^/api": "/api" + } + } + } + } + } +} \ No newline at end of file diff --git a/pages.json b/pages.json index 898f873..a6a42a7 100644 --- a/pages.json +++ b/pages.json @@ -6,119 +6,216 @@ { "path": "pages/index/index", "style": { - "navigationBarTitleText": "首页" + "navigationBarTitleText": "智慧云商协" } }, { - "path" : "pages/index/home", - "style" : - { - "navigationBarTitleText" : "", - "enablePullDownRefresh" : false + "path": "pages/index/home", + "style": { + "navigationBarTitleText": "智慧云商协" } }, { - "path" : "pages/index/service", - "style" : - { - "navigationBarTitleText" : "", - "enablePullDownRefresh" : false + "path": "pages/index/service", + "style": { + "navigationBarTitleText": "智慧云商协", + "enablePullDownRefresh": false } }, { - "path" : "pages/index/pizz", - "style" : - { - "navigationBarTitleText" : "", - "enablePullDownRefresh" : false + "path": "pages/index/pizz", + "style": { + "navigationBarTitleText": "智慧云商协", + "enablePullDownRefresh": false } }, { - "path" : "pages/index/user", - "style" : - { - "navigationBarTitleText" : "", - "enablePullDownRefresh" : false + "path": "pages/index/user", + "style": { + "navigationBarTitleText": "智慧云商协", + "enablePullDownRefresh": false } }, { - "path" : "pages/index/discovery", - "style" : - { - "navigationBarTitleText" : "", - "enablePullDownRefresh" : false + "path": "pages/index/discovery", + "style": { + "navigationBarTitleText": "智慧云商协", + "enablePullDownRefresh": false } }, { - "path" : "pages/index/directory", - "style" : - { - "navigationBarTitleText" : "", - "enablePullDownRefresh" : false + "path": "pages/index/directory", + "style": { + "navigationBarTitleText": "智慧云商协", + "enablePullDownRefresh": false } }, { - "path" : "pages/index/user_info", - "style" : - { - "navigationBarTitleText" : "", - "enablePullDownRefresh" : false + "path": "pages/index/user_info", + "style": { + "navigationBarTitleText": "智慧云商协", + "enablePullDownRefresh": false } }, { - "path" : "pages/index/new_info", - "style" : - { - "navigationBarTitleText" : "", - "enablePullDownRefresh" : false + "path": "pages/index/new_info", + "style": { + "navigationBarTitleText": "智慧云商协", + "enablePullDownRefresh": false } }, { - "path" : "pages/index/events_list", - "style" : - { - "navigationBarTitleText" : "", - "enablePullDownRefresh" : false + "path": "pages/index/events_list", + "style": { + "navigationBarTitleText": "智慧云商协", + "enablePullDownRefresh": false } }, { - "path" : "pages/index/knowledge_list", - "style" : - { - "navigationBarTitleText" : "", - "enablePullDownRefresh" : false + "path": "pages/index/knowledge_list", + "style": { + "navigationBarTitleText": "智慧云商协", + "enablePullDownRefresh": false } }, { - "path" : "pages/index/goods_info", - "style" : - { - "navigationBarTitleText" : "", - "enablePullDownRefresh" : false + "path": "pages/index/goods_info", + "style": { + "navigationBarTitleText": "智慧云商协", + "enablePullDownRefresh": false } }, { - "path" : "pages/index/events_info", - "style" : - { - "navigationBarTitleText" : "", - "enablePullDownRefresh" : false + "path": "pages/index/events_info", + "style": { + "navigationBarTitleText": "智慧云商协", + "enablePullDownRefresh": false } }, { - "path" : "pages/index/goods_list", - "style" : - { - "navigationBarTitleText" : "", - "enablePullDownRefresh" : false + "path": "pages/index/goods_list", + "style": { + "navigationBarTitleText": "智慧云商协", + "enablePullDownRefresh": false } }, { - "path" : "pages/index/search/search", - "style" : - { - "navigationBarTitleText" : "", - "enablePullDownRefresh" : false + "path": "pages/index/search/search", + "style": { + "navigationBarTitleText": "智慧云商协", + "enablePullDownRefresh": false + } + }, + { + "path": "pages/index/pizz_info/pizz_info", + "style": { + "navigationBarTitleText": "智慧云商协", + "enablePullDownRefresh": false + } + }, + { + "path": "pages/index/apply_in", + "style": { + "navigationBarTitleText": "智慧云商协", + "enablePullDownRefresh": false + } + }, + { + "path": "pages/index/enter_in", + "style": { + "navigationBarTitleText": "智慧云商协", + "enablePullDownRefresh": false + } + }, + { + "path": "pages/index/goods_my", + "style": { + "navigationBarTitleText": "智慧云商协", + "enablePullDownRefresh": false + } + }, + { + "path": "pages/index/events_my", + "style": { + "navigationBarTitleText": "智慧云商协", + "enablePullDownRefresh": false + } + }, + { + "path": "pages/index/my_card", + "style": { + "navigationBarTitleText": "智慧云商协", + "enablePullDownRefresh": false + } + }, + { + "path": "pages/index/my_pizz", + "style": { + "navigationBarTitleText": "智慧云商协", + "enablePullDownRefresh": false + } + }, + { + "path": "pages/index/my_apply", + "style": { + "navigationBarTitleText": "智慧云商协", + "enablePullDownRefresh": false + } + }, + { + "path": "pages/index/my_msg", + "style": { + "navigationBarTitleText": "智慧云商协", + "enablePullDownRefresh": false + } + }, + { + "path": "pages/index/my_assist", + "style": { + "navigationBarTitleText": "智慧云商协", + "enablePullDownRefresh": false + } + }, + { + "path": "pages/index/my_idea", + "style": { + "navigationBarTitleText": "智慧云商协", + "enablePullDownRefresh": false + } + }, + { + "path": "pages/index/my_settings", + "style": { + "navigationBarTitleText": "智慧云商协", + "enablePullDownRefresh": false + } + }, + { + "path": "pages/index/my_edit", + "style": { + "navigationBarTitleText": "智慧云商协", + "enablePullDownRefresh": false + } + }, + { + "path": "pages/index/tissue", + "style": { + "navigationBarTitleText": "智慧云商协", + "enablePullDownRefresh": false + } + }, + { + "path": "pages/index/my_desc", + "style": { + "navigationBarTitleText": "智慧云商协", + "enablePullDownRefresh": false + } + }, + { + "path": "pages/index/event_info", + "style": { + "navigationBarTitleText": "智慧云商协", + "enablePullDownRefresh": false } } ], diff --git a/pages/index/directory.vue b/pages/index/directory.vue index aa70252..bfe8e55 100644 --- a/pages/index/directory.vue +++ b/pages/index/directory.vue @@ -73,7 +73,7 @@ - 申请入会 diff --git a/pages/index/discovery.vue b/pages/index/discovery.vue index 4035d51..25775fe 100644 --- a/pages/index/discovery.vue +++ b/pages/index/discovery.vue @@ -45,7 +45,7 @@ - + - + 会员名录 - 申请入会 @@ -93,7 +93,8 @@ }, { name: '入会须知', }], - current: 0 + current: 0, + cardCur: 0 } }, methods: { diff --git a/pages/index/events_list.vue b/pages/index/events_list.vue index c5da229..7c25276 100644 --- a/pages/index/events_list.vue +++ b/pages/index/events_list.vue @@ -14,7 +14,7 @@ - diff --git a/pages/index/home.vue b/pages/index/home.vue index c274c68..9e4fcba 100644 --- a/pages/index/home.vue +++ b/pages/index/home.vue @@ -1,183 +1,331 @@ \ No newline at end of file + diff --git a/pages/index/index.vue b/pages/index/index.vue index 42bbdac..4fdc42e 100644 --- a/pages/index/index.vue +++ b/pages/index/index.vue @@ -1,5 +1,5 @@