From 944d9f5e8666b14791c4a274013c5d7ffdc553a6 Mon Sep 17 00:00:00 2001
From: Mr.Zhang <710666463@qq.com>
Date: 星期一, 28 八月 2023 09:36:47 +0800
Subject: [PATCH] 小程序
---
minipro_standard/pages.json | 170 +++++++++++++++++++----------------------
minipro_standard/pages/index/index.vue | 12 +-
2 files changed, 85 insertions(+), 97 deletions(-)
diff --git a/minipro_standard/pages.json b/minipro_standard/pages.json
index b77d9e9..4e8cdef 100644
--- a/minipro_standard/pages.json
+++ b/minipro_standard/pages.json
@@ -1,104 +1,92 @@
{
- "pages": [
- // {
- // "path": "pages/workbench/workbench",
- // "style": {
- // "navigationBarTitleText": "宸ヤ綔鍙�",
- // "enablePullDownRefresh": false
- // }
- // },
+ "pages": [{
+ "path": "pages/workbench/workbench",
+ "style": {
+ "navigationBarTitleText": "宸ヤ綔鍙�",
+ "enablePullDownRefresh": false
+ }
+ },
{
"path": "pages/index/index",
"style": {
"navigationBarTitleText": "",
"navigationStyle": "custom"
}
+ }, {
+ "path": "pages/mine/mine",
+ "style": {
+ "navigationBarTitleText": "鎴戠殑",
+ "enablePullDownRefresh": false
+ }
+ }, {
+ "path": "pages/login/login",
+ "style": {
+ "navigationBarTitleText": "鐧诲綍",
+ "enablePullDownRefresh": false,
+ "navigationStyle": "custom"
+ }
+ }, {
+ "path": "pages/personal/personal",
+ "style": {
+ "navigationBarTitleText": "涓汉淇℃伅",
+ "enablePullDownRefresh": false
+ }
+
+ }, {
+ "path": "pages/changePassword/changePassword",
+ "style": {
+ "navigationBarTitleText": "淇敼瀵嗙爜",
+ "enablePullDownRefresh": false
+ }
+
+ }, {
+ "path": "pages/updatePhone/updatePhone",
+ "style": {
+ "navigationBarTitleText": "鏇存柊鎵嬫満鍙�",
+ "enablePullDownRefresh": false
+ }
+
+ }, {
+ "path": "pages/updateMailbox/updateMailbox",
+ "style": {
+ "navigationBarTitleText": "鏇存柊閭鍙�",
+ "enablePullDownRefresh": false
+ }
+
}
- // , {
- // "path": "pages/mine/mine",
- // "style": {
- // "navigationBarTitleText": "鎴戠殑",
- // "enablePullDownRefresh": false
- // }
- // }
- // ,{
- // "path" : "pages/login/login",
- // "style" :
- // {
- // "navigationBarTitleText": "鐧诲綍",
- // "enablePullDownRefresh": false,
- // "navigationStyle": "custom"
- // }
- // }
- // ,{
- // "path" : "pages/personal/personal",
- // "style" :
- // {
- // "navigationBarTitleText": "涓汉淇℃伅",
- // "enablePullDownRefresh": false
- // }
-
- // }
- // ,{
- // "path" : "pages/changePassword/changePassword",
- // "style" :
- // {
- // "navigationBarTitleText": "淇敼瀵嗙爜",
- // "enablePullDownRefresh": false
- // }
-
- // }
- // ,{
- // "path" : "pages/updatePhone/updatePhone",
- // "style" :
- // {
- // "navigationBarTitleText": "鏇存柊鎵嬫満鍙�",
- // "enablePullDownRefresh": false
- // }
-
- // }
- // ,{
- // "path" : "pages/updateMailbox/updateMailbox",
- // "style" :
- // {
- // "navigationBarTitleText": "鏇存柊閭鍙�",
- // "enablePullDownRefresh": false
- // }
-
- // }
- ],
+ ],
"globalStyle": {
"navigationBarTextStyle": "black",
- "navigationBarTitleText": "uni-app",
+ "navigationBarTitleText": "uni-app",
"navigationBarBackgroundColor": "#ffffff",
- "backgroundColor": "#ffffff",
- "navigationStyle": "custom"
- },
- // "tabBar": {
- // "color": "#666666",
- // "selectedColor": "#222222",
- // "borderStyle": "black",
- // "backgroundColor": "#fff",
- // "list": [
- // {
- // "pagePath": "pages/index/index",
- // "iconPath": "static/nav_daiban@2x.png",
- // "selectedIconPath": "static/nav_daiban_sel@2x.png",
- // "text": "寰呭姙"
- // },
- // {
- // "pagePath": "pages/workbench/workbench",
- // "iconPath": "static/nav_gongzuotai@2x.png",
- // "selectedIconPath": "static/nav_gongzuotai_sel@2x.png",
- // "text": "宸ヤ綔鍙�"
- // },
- // {
- // "pagePath": "pages/mine/mine",
- // "iconPath": "static/nav_wode@2x.png",
- // "selectedIconPath": "static/nav_wode_sel@2x.png",
- // "text": "鎴戠殑"
- // }
- // ]
- // },
+ "backgroundColor": "#ffffff"
+ // "navigationStyle": "custom"
+ },
+ "tabBar": {
+ "color": "#666666",
+ "selectedColor": "#222222",
+ "borderStyle": "black",
+ "backgroundColor": "#fff",
+ "list": [
+ {
+ "pagePath": "pages/index/index",
+ "iconPath": "static/nav_daiban@2x.png",
+ "selectedIconPath": "static/nav_daiban_sel@2x.png",
+ "text": "寰呭姙"
+ },
+ {
+ "pagePath": "pages/workbench/workbench",
+ "iconPath": "static/nav_gongzuotai@2x.png",
+ "selectedIconPath": "static/nav_gongzuotai_sel@2x.png",
+ "text": "宸ヤ綔鍙�"
+ },
+ {
+ "pagePath": "pages/mine/mine",
+ "iconPath": "static/nav_wode@2x.png",
+ "selectedIconPath": "static/nav_wode_sel@2x.png",
+ "text": "鎴戠殑"
+ }
+ ]
+ },
"uniIdRouter": {}
}
diff --git a/minipro_standard/pages/index/index.vue b/minipro_standard/pages/index/index.vue
index 74356de..225d435 100644
--- a/minipro_standard/pages/index/index.vue
+++ b/minipro_standard/pages/index/index.vue
@@ -1,16 +1,16 @@
<template>
<view class="index">
- <web-view v-if="show" @onPostMessage="onMessage" :src="'https://dmtest.ahapp.net/doumeeplant_h5/#/appletLogin?code=' + code"></web-view>
- <!-- <myTabbar :index="0" /> -->
+ <!-- <web-view v-if="show" @onPostMessage="onMessage" :src="'https://dmtest.ahapp.net/doumeeplant_h5/#/appletLogin?code=' + code"></web-view> -->
+ <myTabbar :index="0" />
</view>
</template>
<script>
- // import myTabbar from "@/components/myTabber.vue"
+ import myTabbar from "@/components/myTabber.vue"
export default {
- // components: {
- // myTabbar
- // },
+ components: {
+ myTabbar
+ },
data() {
return {
code: '',
--
Gitblit v1.9.3