lalala 6 gadi atpakaļ
vecāks
revīzija
8a18f6d36f

+ 100 - 98
mobile-code/src/admin/goodsManage/price-increase.vue

@@ -6,120 +6,122 @@
 				<switch :checked="form.riseSwitch == '0' ? false : true" @change="switchChangeFn" />
 				<switch :checked="form.riseSwitch == '0' ? false : true" @change="switchChangeFn" />
 			</div>
 			</div>
 		</div>
 		</div>
-		<!-- 选项设置 -->
-		<div class="input-line-wrap new-wrap">
-			<tui-list-cell class="line-cell" :hover="false">
-				<div class="tui-title">要涨价节日</div>
-				<div class="tui-input button-wrap">
-					<block v-for="(item, index) in festData" :key="index">
-						<button class="admin-button-com" :class="[form.festIdList.includes(item.id) ? '' : 'default']" @click="selFestFn(item)">{{ item.name || '暂无' }}</button>
-					</block>
-				</div>
-			</tui-list-cell>
-			<tui-list-cell class="line-cell" :hover="false">
-				<div class="tui-title">涨价方式</div>
-				<radio-group class="tui-input flex-center-between" @change="radioChange">
-					<label class="list" for="customLink">
-						<radio id="customLink" value="0" :checked="form.riseType == 0"/>
-						<span class="checkbox-text">按百分比</span>
-					</label>
-					<label class="list" for="goodsLink">
-						<radio id="goodsLink" value="1" :checked="form.riseType == 1"/>
-						<span class="checkbox-text">按金额</span>
-					</label>
-				</radio-group>
-			</tui-list-cell>
-			<block v-if="form.riseType == 0">
+		<block v-if="form.riseSwitch != 0">
+			<!-- 选项设置 -->
+			<div class="input-line-wrap new-wrap">
 				<tui-list-cell class="line-cell" :hover="false">
 				<tui-list-cell class="line-cell" :hover="false">
-					<div class="tui-title">比例</div>
-					<input v-model="form.riseAmount" placeholder-class="phcolor" class="tui-input" name="phone" placeholder="涨价10%,请输入10" maxlength="50" type="number" />
+					<div class="tui-title">要涨价节日</div>
+					<div class="tui-input button-wrap">
+						<block v-for="(item, index) in festData" :key="index">
+							<button class="admin-button-com" :class="[form.festIdList.includes(item.id) ? '' : 'default']" @click="selFestFn(item)">{{ item.name || '暂无' }}</button>
+						</block>
+					</div>
 				</tui-list-cell>
 				</tui-list-cell>
-			</block>
-			<block v-else>
 				<tui-list-cell class="line-cell" :hover="false">
 				<tui-list-cell class="line-cell" :hover="false">
-					<div class="tui-title">金额</div>
-					<input v-model="form.riseAmount" placeholder-class="phcolor" class="tui-input" name="phone" placeholder="涨价80元请输入80" maxlength="50" type="number" />
+					<div class="tui-title">涨价方式</div>
+					<radio-group class="tui-input flex-center-between" @change="radioChange">
+						<label class="list" for="customLink">
+							<radio id="customLink" value="0" :checked="form.riseType == 0" />
+							<span class="checkbox-text">按百分比</span>
+						</label>
+						<label class="list" for="goodsLink">
+							<radio id="goodsLink" value="1" :checked="form.riseType == 1" />
+							<span class="checkbox-text">按金额</span>
+						</label>
+					</radio-group>
 				</tui-list-cell>
 				</tui-list-cell>
-			</block>
-		</div>
-		<div class="prompt-text">节日当天和前一天,勾选自动涨价的商品将统一按上面规则涨价。</div>
+				<block v-if="form.riseType == 0">
+					<tui-list-cell class="line-cell" :hover="false">
+						<div class="tui-title">比例</div>
+						<input v-model="form.riseAmount" placeholder-class="phcolor" class="tui-input" name="phone" placeholder="涨价10%,请输入10" maxlength="50" type="number" />
+					</tui-list-cell>
+				</block>
+				<block v-else>
+					<tui-list-cell class="line-cell" :hover="false">
+						<div class="tui-title">金额</div>
+						<input v-model="form.riseAmount" placeholder-class="phcolor" class="tui-input" name="phone" placeholder="涨价80元请输入80" maxlength="50" type="number" />
+					</tui-list-cell>
+				</block>
+			</div>
+			<div class="prompt-text">节日当天和前一天,勾选自动涨价的商品将统一按上面规则涨价。</div>
+		</block>
 		<button class="admin-button-com blue big confirm-btn" @click="setPrice">确定</button>
 		<button class="admin-button-com blue big confirm-btn" @click="setPrice">确定</button>
 	</div>
 	</div>
 </template>
 </template>
 
 
 <script>
 <script>
-import { mapGetters } from 'vuex'
-import TuiListCell from '@/components/plugin/list-cell'
-// api
-import { getFest } from '@/utils/config'
-import { getRise, updateRise } from '@/api/goods'
-export default {
-	name: 'setting-price-increase',
-	components: {
-		TuiListCell
-	},
-	data() {
-		return {
-			// radioVal: '0',
-			form: {
-				riseSwitch: '0',
-				riseType: '0',
-				festIdList: [],
-				riseAmount: ''
-			}
-		}
-	},
-	computed: {
-		...mapGetters({ festData: 'getFest' })
-	},
-	onLoad() {
-		// this.init()
-	},
-	methods: {
-		init() {
-			getFest().then(() => {
-				this._getDet()
-			})
-		},
-		_getDet() {
-			return getRise().then(res => {
-				if (this.$util.isEmpty(res.data)) return
-				res.data.festIdList = res.data.festIdList.map(e => e + '')
-				Object.keys(this.form).forEach((i, index) => {
-					this.form[i] = res.data[i]
-				})
-			})
+	import { mapGetters } from 'vuex'
+	import TuiListCell from '@/components/plugin/list-cell'
+	// api
+	import { getFest } from '@/utils/config'
+	import { getRise, updateRise } from '@/api/goods'
+	export default {
+		name: 'setting-price-increase',
+		components: {
+			TuiListCell
 		},
 		},
-		setPrice() {
-			if (this.form.festIdList.length == 0) {
-				this.$msg('请先选择节日!')
-				return false
+		data() {
+			return {
+				// radioVal: '0',
+				form: {
+					riseSwitch: '0',
+					riseType: '0',
+					festIdList: [],
+					riseAmount: ''
+				}
 			}
 			}
-			if (!this.form.riseAmount) {
-				this.$msg('请先输入比例或者金额!')
-				return false
-			}
-			updateRise(this.form).then(res => {
-				this.$msg('更新成功!')
-			})
 		},
 		},
-		selFestFn(item) {
-			let index = this.form.festIdList.findIndex(e => e == item.id)
-			if (index == -1) {
-				this.form.festIdList.push(item.id)
-			} else {
-				this.form.festIdList.splice(index, 1)
-			}
+		computed: {
+			...mapGetters({ festData: 'getFest' })
 		},
 		},
-		switchChangeFn(e) {
-			this.form.riseSwitch = e.detail.value ? '1' : '0'
+		onLoad() {
+			// this.init()
 		},
 		},
-		radioChange(e) {
-			this.form.riseAmount = ''
-			this.form.riseType = e.detail.value
+		methods: {
+			init() {
+				getFest().then(() => {
+					this._getDet()
+				})
+			},
+			_getDet() {
+				return getRise().then(res => {
+					if (this.$util.isEmpty(res.data)) return
+					res.data.festIdList = res.data.festIdList.map(e => e + '')
+					Object.keys(this.form).forEach((i, index) => {
+						this.form[i] = res.data[i]
+					})
+				})
+			},
+			setPrice() {
+				if (this.form.festIdList.length == 0) {
+					this.$msg('请先选择节日!')
+					return false
+				}
+				if (!this.form.riseAmount) {
+					this.$msg('请先输入比例或者金额!')
+					return false
+				}
+				updateRise(this.form).then(res => {
+					this.$msg('更新成功!')
+				})
+			},
+			selFestFn(item) {
+				let index = this.form.festIdList.findIndex(e => e == item.id)
+				if (index == -1) {
+					this.form.festIdList.push(item.id)
+				} else {
+					this.form.festIdList.splice(index, 1)
+				}
+			},
+			switchChangeFn(e) {
+				this.form.riseSwitch = e.detail.value ? '1' : '0'
+			},
+			radioChange(e) {
+				this.form.riseAmount = ''
+				this.form.riseType = e.detail.value
+			}
 		}
 		}
 	}
 	}
-}
 </script>
 </script>
 
 
 <style lang="scss" scoped>
 <style lang="scss" scoped>

+ 2 - 2
mobile-code/src/config.js

@@ -1,2 +1,2 @@
-// 项目配置--由bat脚本自动变更
-export const ProjectName = 'mobile'
+// 项目配置--由bat脚本变更
+export const ProjectName = 'business'

+ 2 - 0
mobile-code/src/m-config.js

@@ -0,0 +1,2 @@
+// 项目配置--由bat脚本自动变更
+export const ProjectName = 'mobile'

+ 144 - 0
mobile-code/src/m-manifest.json

@@ -0,0 +1,144 @@
+{
+    "name" : "花卉宝",
+    "appid" : "",
+    "description" : "应用描述",
+    "versionName" : "1.0.0",
+    "versionCode" : "100",
+    "transformPx" : true,
+    /* 5+App特有相关 */
+    "app-plus" : {
+        "usingComponents" : true,
+        "nvueCompiler" : "uni-app",
+        "compilerVersion" : 3,
+        "nvueLaunchMode" : "fast",
+        "splashscreen" : {
+            "alwaysShowBeforeRender" : true,
+            "waiting" : true,
+            "autoclose" : true,
+            "delay" : 0
+        },
+        "modules" : {
+            "OAuth" : {},
+            "Payment" : {},
+            "Push" : {},
+            "Share" : {},
+            "Speech" : {},
+            "VideoPlayer" : {}
+        },
+        /* 应用发布信息 */
+        "distribute" : {
+            /* android打包配置 */
+            "android" : {
+                "permissions" : [
+                    "<uses-feature android:name=\"android.hardware.camera\"/>",
+                    "<uses-feature android:name=\"android.hardware.camera.autofocus\"/>",
+                    "<uses-permission android:name=\"android.permission.ACCESS_COARSE_LOCATION\"/>",
+                    "<uses-permission android:name=\"android.permission.VIBRATE\"/>",
+                    "<uses-permission android:name=\"android.permission.ACCESS_FINE_LOCATION\"/>",
+                    "<uses-permission android:name=\"android.permission.ACCESS_MOCK_LOCATION\"/>",
+                    "<uses-permission android:name=\"android.permission.ACCESS_NETWORK_STATE\"/>",
+                    "<uses-permission android:name=\"android.permission.ACCESS_WIFI_STATE\"/>",
+                    "<uses-permission android:name=\"android.permission.CALL_PHONE\"/>",
+                    "<uses-permission android:name=\"android.permission.CAMERA\"/>",
+                    "<uses-permission android:name=\"android.permission.CHANGE_NETWORK_STATE\"/>",
+                    "<uses-permission android:name=\"android.permission.CHANGE_WIFI_STATE\"/>",
+                    "<uses-permission android:name=\"android.permission.FLASHLIGHT\"/>",
+                    "<uses-permission android:name=\"android.permission.GET_ACCOUNTS\"/>",
+                    "<uses-permission android:name=\"android.permission.GET_TASKS\"/>",
+                    "<uses-permission android:name=\"android.permission.INTERNET\"/>",
+                    "<uses-permission android:name=\"android.permission.MODIFY_AUDIO_SETTINGS\"/>",
+                    "<uses-permission android:name=\"android.permission.MOUNT_UNMOUNT_FILESYSTEMS\"/>",
+                    "<uses-permission android:name=\"android.permission.READ_CONTACTS\"/>",
+                    "<uses-permission android:name=\"android.permission.READ_LOGS\"/>",
+                    "<uses-permission android:name=\"android.permission.READ_PHONE_STATE\"/>",
+                    "<uses-permission android:name=\"android.permission.READ_SMS\"/>",
+                    "<uses-permission android:name=\"android.permission.RECEIVE_BOOT_COMPLETED\"/>",
+                    "<uses-permission android:name=\"android.permission.RECORD_AUDIO\"/>",
+                    "<uses-permission android:name=\"android.permission.SEND_SMS\"/>",
+                    "<uses-permission android:name=\"android.permission.SYSTEM_ALERT_WINDOW\"/>",
+                    "<uses-permission android:name=\"android.permission.VIBRATE\"/>",
+                    "<uses-permission android:name=\"android.permission.WAKE_LOCK\"/>",
+                    "<uses-permission android:name=\"android.permission.WRITE_CONTACTS\"/>",
+                    "<uses-permission android:name=\"android.permission.WRITE_EXTERNAL_STORAGE\"/>",
+                    "<uses-permission android:name=\"android.permission.WRITE_SETTINGS\"/>",
+                    "<uses-permission android:name=\"android.permission.WRITE_SMS\"/>",
+                    "<uses-permission android:name=\"android.permission.RECEIVE_USER_PRESENT\"/>"
+                ]
+            },
+            /* ios打包配置 */
+            "ios" : {
+                "UIBackgroundModes" : [ "audio" ],
+                "urlschemewhitelist" : [ "baidumap", "iosamap" ]
+            },
+            /* SDK配置 */
+            "sdkConfigs" : {
+                "speech" : {
+                    "ifly" : {}
+                }
+            },
+            "orientation" : [ "portrait-primary" ]
+        }
+    },
+    /* 快应用特有相关 */
+    "quickapp" : {},
+    /* 小程序特有相关 */
+    "mp-weixin" : {
+        "appid" : "wxe4675bab299a52f7",
+        "setting" : {
+            "urlCheck" : false
+        },
+        "usingComponents" : true,
+        "permission" : {
+            "scope.userLocation" : {
+                "desc" : "获取位置信息后为您提供个性化推荐"
+            }
+        }
+    },
+    "mp-alipay" : {
+        "usingComponents" : true
+    },
+    "mp-baidu" : {
+        "usingComponents" : true
+    },
+    "mp-toutiao" : {
+        "usingComponents" : true
+    },
+    "h5" : {
+        "template" : "template.h5.html",
+        "router" : {
+            // "mode" : "history",
+            "base" : "/"
+        },
+        "async": {
+            "timeout": 200000
+        },
+        "optimization": {
+            "treeShaking": {
+                "enable": true
+            }
+        },
+        "devServer": {
+            "port": 81,
+            "proxy": {
+                "/api": {
+                    "target": "http://api.m.huaml.com",
+                    "secure": false,
+                    "changeOrigin": true,
+                    "pathRewrite": {
+                        "^/api": ""
+                    }
+                }
+            }
+        },
+        "sdkConfigs" : {
+            "maps" : {
+                "qqmap" : {
+                    "key" : ""
+                }
+            }
+        },
+        "async" : {
+            "timeout" : 20000
+        }
+    }
+}

+ 203 - 0
mobile-code/src/m-pages.json

@@ -0,0 +1,203 @@
+{
+	"pages": [
+		{
+			"path": "pages/home/index",
+			"style": {
+				"navigationBarTitleText": ""
+			}
+		},
+		{
+			"path": "pages/home/category",
+			"style": {
+				"navigationBarTitleText": "分类"
+			}
+		},
+		{
+			"path": "pages/home/shop",
+			"style": {
+				"navigationBarTitleText": "门店"
+			}
+		},
+		{
+			"path": "pages/home/user",
+			"style": {
+				"navigationBarTitleText": "我的"
+			}
+		},
+		{
+			"path": "common/redirect",
+			"style": {
+				"navigationBarTitleText": "加载中..."
+			}
+		},
+		{
+			"path": "common/webview",
+			"style": {
+				"navigationBarBackgroundColor": "#ffffff",
+				"navigationBarTextStyle": "black"
+			}
+		}
+	],
+	"subPackages": [
+		{
+			"root": "pages/user",
+			"pages": [
+				{
+					"path": "register",
+					"style": {
+						"navigationBarTitleText": "注册"
+					}
+				},
+				{
+					"path": "password",
+					"style": {
+						"navigationBarTitleText": "修改密码"
+					}
+				}
+			]
+		},
+		{
+			"root": "pages/goods",
+			"pages": [
+				{
+					"path": "detail",
+					"style": {
+						"navigationBarTitleText": "详情"
+					}
+				}
+			]
+		},
+		{
+			"root": "pages/pay",
+			"pages": [
+				{
+					"path": "index",
+					"style": {
+						"navigationBarTitleText": ""
+					}
+				}
+			]
+		},
+		{
+			"root": "pages/callback",
+			"pages": [
+				{
+					"path": "index"
+				}
+			]
+		},
+		{
+			"root": "pages/coupon",
+			"pages": [
+				{
+					"path": "list",
+					"style": {
+						"navigationBarTitleText": "优惠券",
+						"enablePullDownRefresh": true
+					}
+				}
+			]
+		},
+		{
+			"root": "pages/order",
+			"pages": [
+				{
+					"path": "list",
+					"style": {
+						"navigationBarTitleText": "订单列表",
+						"enablePullDownRefresh": true
+					}
+				},
+				{
+					"path": "detail",
+					"style": {
+						"navigationBarTitleText": "订单列表"
+					}
+				},
+				{
+					"path": "buy",
+					"style": {
+						"navigationBarTitleText": "订单确认"
+					}
+				},
+				{
+					"path": "comment",
+					"style": {
+						"navigationBarTitleText": "评价"
+					}
+				}
+			]
+		},
+		{
+			"root": "pages/interest",
+			"pages": [
+				{
+					"path": "invite",
+					"style": {
+						"navigationBarTitleText": "邀请排行",
+						"enablePullDownRefresh": true
+					}
+				},
+				{
+					"path": "level",
+					"style": {
+						"navigationBarTitleText": "会员等级",
+						"enablePullDownRefresh": true
+					}
+				}
+			]
+		},
+		{
+			"root": "pages/chat",
+			"pages": [
+				{
+					"path": "index",
+					"style": {
+						"navigationBarTitleText": "客服",
+						"enablePullDownRefresh": true
+					}
+				}
+			]
+		}
+	],
+	"globalStyle": {
+		// #ifdef H5
+		"navigationStyle": "custom",
+		// #endif
+		"navigationBarBackgroundColor": "#fff",
+		"navigationBarTitleText": "花卉宝",
+		"navigationBarTextStyle": "black"
+	},
+	"tabBar": {
+		"color": "#C0C4CC",
+		"selectedColor": "#fa436a",
+		"borderStyle": "black",
+		"backgroundColor": "#ffffff",
+		"list": [{
+				"pagePath": "pages/home/index",
+				"iconPath": "static/images/common/home-no.png",
+				"selectedIconPath": "static/images/common/home-is.png",
+				"text": "首页"
+			},
+			{
+				"pagePath": "pages/home/category",
+				"iconPath": "static/images/common/category-no.png",
+				"selectedIconPath": "static/images/common/category-is.png",
+				"text": "分类"
+			},
+			{
+				"pagePath": "pages/home/shop",
+				"iconPath": "static/images/common/shop-no.png",
+				"selectedIconPath": "static/images/common/shop-is.png",
+				"text": "门店"
+			},
+			{
+				"pagePath": "pages/home/user",
+				"iconPath": "static/images/common/user-no.png",
+				"selectedIconPath": "static/images/common/user-is.png",
+				"text": "我的"
+			}
+		]
+	}
+}
+

+ 105 - 0
mobile-code/src/m-uni.scss

@@ -0,0 +1,105 @@
+/***
+全局scss 变量和方法 存放处
+ */
+//  uniapp upx换算函数
+//  uni.upx2px(val) + 'px'
+/* 引入minxin */
+@import '~@/static/css/minxin.scss';
+
+/* 颜色变量 */
+/*图片地址*/
+$imgUrl: 'https://wximg.meijiabang.com/hkds/miniapp/images/';
+
+// 所有样式为公共样式,已在全局引用可直接使用
+// 主色
+$mainColor: #FF2842;
+$mainColor1: #049E2C;
+$auxiliaryColor2: #ff6900;
+
+$blueColor: #2965fe;
+$greenColor: #049E2C;
+$redColor: #ff3841;
+// 字体色
+$fontColorMain: #333333;
+$fontColor2: #666666;
+$fontColor3: #999999;
+$fontColor4: #bbbbbb;
+$fontColor5: #cccccc;
+// 边框
+$borderColor: #eee;
+$borderColor1: #46963E;
+// 背景色
+$backColor: #f5f5f5;
+
+// minxin
+@mixin disFlexCen(){
+    display:flex;
+    display: -webkit-flex;
+    display: -moz-flex;
+    display: -ms-flex;
+    align-items: center;
+}
+
+// =============================================== 下方为uniapp原生样式变量 ======================================
+
+/* 行为相关颜色 */
+$uni-color-primary: #007aff;
+$uni-color-success: #4cd964;
+$uni-color-warning: #f0ad4e;
+$uni-color-error: #dd524d;
+
+/* 文字基本颜色 */
+$uni-text-color:#333;//基本色
+$uni-text-color-inverse:#fff;//反色
+$uni-text-color-grey:#999;//辅助灰色,如加载更多的提示信息
+$uni-text-color-placeholder: #808080;
+$uni-text-color-disable:#c0c0c0;
+
+/* 背景颜色 */
+$uni-bg-color:#ffffff;
+$uni-bg-color-grey:#f8f8f8;
+$uni-bg-color-hover:#f1f1f1;//点击状态颜色
+$uni-bg-color-mask:rgba(0, 0, 0, 0.4);//遮罩颜色
+
+/* 边框颜色 */
+$uni-border-color:#c8c7cc;
+
+/* 尺寸变量 */
+
+/* 文字尺寸 */
+$uni-font-size-sm:24upx;
+$uni-font-size-base:28upx;
+$uni-font-size-lg:32upx;
+
+/* 图片尺寸 */
+$uni-img-size-sm:40upx;
+$uni-img-size-base:52upx;
+$uni-img-size-lg:80upx;
+
+/* Border Radius */
+$uni-border-radius-sm: 4upx;
+$uni-border-radius-base: 6upx;
+$uni-border-radius-lg: 12upx;
+$uni-border-radius-circle: 50%;
+
+/* 水平间距 */
+$uni-spacing-row-sm: 10px;
+$uni-spacing-row-base: 20upx;
+$uni-spacing-row-lg: 30upx;
+
+/* 垂直间距 */
+$uni-spacing-col-sm: 8upx;
+$uni-spacing-col-base: 16upx;
+$uni-spacing-col-lg: 24upx;
+
+/* 透明度 */
+$uni-opacity-disabled: 0.3; // 组件禁用态的透明度
+
+/* 文章场景相关 */
+$uni-color-title: #2C405A; // 文章标题颜色
+$uni-font-size-title:40upx;
+$uni-color-subtitle: #555555; // 二级标题颜色
+$uni-font-size-subtitle:36upx;
+$uni-color-paragraph: #3F536E; // 文章段落颜色
+$uni-font-size-paragraph:30upx;
+

+ 2 - 2
mobile-code/src/manifest.json

@@ -90,7 +90,7 @@
         "usingComponents" : true,
         "usingComponents" : true,
         "permission" : {
         "permission" : {
             "scope.userLocation" : {
             "scope.userLocation" : {
-                "desc" : "获取位置信息后为您提供个性化推荐"
+                "desc" : "请点击确定"
             }
             }
         }
         }
     },
     },
@@ -121,7 +121,7 @@
             "port": 81,
             "port": 81,
             "proxy": {
             "proxy": {
                 "/api": {
                 "/api": {
-                    "target": "http://api.m.huaml.com",
+                    "target": "http://api.b.huaml.com",
                     "secure": false,
                     "secure": false,
                     "changeOrigin": true,
                     "changeOrigin": true,
                     "pathRewrite": {
                     "pathRewrite": {

+ 193 - 61
mobile-code/src/pages.json

@@ -1,27 +1,21 @@
 {
 {
 	"pages": [
 	"pages": [
 		{
 		{
-			"path": "pages/home/index",
+			"path": "admin/home/workbench",
 			"style": {
 			"style": {
-				"navigationBarTitleText": ""
+				"navigationBarTitleText": "工作台"
 			}
 			}
 		},
 		},
 		{
 		{
-			"path": "pages/home/category",
+			"path": "admin/home/order",
 			"style": {
 			"style": {
-				"navigationBarTitleText": "分类"
+				"navigationBarTitleText": "订单"
 			}
 			}
 		},
 		},
 		{
 		{
-			"path": "pages/home/shop",
+			"path": "admin/home/member",
 			"style": {
 			"style": {
-				"navigationBarTitleText": "门店"
-			}
-		},
-		{
-			"path": "pages/home/user",
-			"style": {
-				"navigationBarTitleText": "我的"
+				"navigationBarTitleText": "客户"
 			}
 			}
 		},
 		},
 		{
 		{
@@ -40,109 +34,242 @@
 	],
 	],
 	"subPackages": [
 	"subPackages": [
 		{
 		{
-			"root": "pages/user",
+			"root": "admin/order",
 			"pages": [
 			"pages": [
 				{
 				{
-					"path": "register",
+					"path": "detail",
 					"style": {
 					"style": {
-						"navigationBarTitleText": "注册"
+						"navigationBarTitleText": "详情"
 					}
 					}
 				},
 				},
 				{
 				{
-					"path": "password",
+					"path": "ship",
 					"style": {
 					"style": {
-						"navigationBarTitleText": "修改密码"
+						"navigationBarTitleText": "发货"
+					}
+				},
+				{
+					"path": "fill-form",
+					"style": {
+						"navigationBarTitleText": "填写收花人"
 					}
 					}
 				}
 				}
 			]
 			]
 		},
 		},
 		{
 		{
-			"root": "pages/goods",
+			"root": "admin/member",
 			"pages": [
 			"pages": [
+				{
+					"path": "add",
+					"style": {
+						"navigationBarTitleText": "添加客户"
+					}
+				},
 				{
 				{
 					"path": "detail",
 					"path": "detail",
 					"style": {
 					"style": {
-						"navigationBarTitleText": "详情"
+						"navigationBarTitleText": "客户详情"
 					}
 					}
 				}
 				}
 			]
 			]
 		},
 		},
 		{
 		{
-			"root": "pages/pay",
+			"root": "admin/interest",
 			"pages": [
 			"pages": [
 				{
 				{
-					"path": "index",
+					"path": "invite",
 					"style": {
 					"style": {
-						"navigationBarTitleText": ""
+						"navigationBarTitleText": "邀请列表"
+					}
+				},
+				{
+					"path": "my-invite",
+					"style": {
+						"navigationBarTitleText": "我的邀请"
+					}
+				},
+				{
+					"path": "setting",
+					"style": {
+						"navigationBarTitleText": "奖励设置"
 					}
 					}
 				}
 				}
 			]
 			]
 		},
 		},
 		{
 		{
-			"root": "pages/callback",
+			"root": "admin/coupon",
 			"pages": [
 			"pages": [
 				{
 				{
-					"path": "index"
+					"path": "list",
+					"style": {
+						"navigationBarTitleText": "优惠券"
+					}
 				}
 				}
 			]
 			]
 		},
 		},
 		{
 		{
-			"root": "pages/coupon",
+			"root": "admin/ad",
 			"pages": [
 			"pages": [
 				{
 				{
 					"path": "list",
 					"path": "list",
 					"style": {
 					"style": {
-						"navigationBarTitleText": "优惠券",
-						"enablePullDownRefresh": true
+						"navigationBarTitleText": "广告列表"
+					}
+				},
+				{
+					"path": "add",
+					"style": {
+						"navigationBarTitleText": "添加广告"
+					}
+				},
+				{
+					"path": "sel-goods",
+					"style": {
+						"navigationBarTitleText": "商品选择"
 					}
 					}
 				}
 				}
 			]
 			]
 		},
 		},
 		{
 		{
-			"root": "pages/order",
+			"root": "admin/staff",
 			"pages": [
 			"pages": [
 				{
 				{
 					"path": "list",
 					"path": "list",
 					"style": {
 					"style": {
-						"navigationBarTitleText": "订单列表",
-						"enablePullDownRefresh": true
+						"navigationBarTitleText": "员工管理"
 					}
 					}
 				},
 				},
 				{
 				{
-					"path": "detail",
+					"path": "add",
 					"style": {
 					"style": {
-						"navigationBarTitleText": "订单列表"
+						"navigationBarTitleText": ""
 					}
 					}
 				},
 				},
 				{
 				{
-					"path": "buy",
+					"path": "sel-member",
 					"style": {
 					"style": {
-						"navigationBarTitleText": "订单确认"
+						"navigationBarTitleText": "客户列表"
+					}
+				}
+			]
+		},
+		{
+			"root": "admin/shop",
+			"pages": [
+				{
+					"path": "list",
+					"style": {
+						"navigationBarTitleText": "店铺管理"
 					}
 					}
 				},
 				},
 				{
 				{
-					"path": "comment",
+					"path": "add",
 					"style": {
 					"style": {
-						"navigationBarTitleText": "评价"
+						"navigationBarTitleText": ""
 					}
 					}
 				}
 				}
 			]
 			]
 		},
 		},
 		{
 		{
-			"root": "pages/interest",
+			"root": "admin/setting",
 			"pages": [
 			"pages": [
 				{
 				{
-					"path": "invite",
+					"path": "list",
 					"style": {
 					"style": {
-						"navigationBarTitleText": "邀请排行",
-						"enablePullDownRefresh": true
+						"navigationBarTitleText": "设置"
+					}
+				},
+				{
+					"path": "wx-menu",
+					"style": {
+						"navigationBarTitleText": "微信菜单设置"
+					}
+				},
+				{
+					"path": "coupon",
+					"style": {
+						"navigationBarTitleText": "新人领券设置"
 					}
 					}
 				},
 				},
 				{
 				{
 					"path": "level",
 					"path": "level",
 					"style": {
 					"style": {
-						"navigationBarTitleText": "会员等级",
-						"enablePullDownRefresh": true
+						"navigationBarTitleText": "会员等级设置"
+					}
+				},
+				{
+					"path": "password",
+					"style": {
+						"navigationBarTitleText": "密码设置"
+					}
+				}
+			]
+		},
+		{
+			"root": "admin/goodsManage",
+			"pages": [
+				{
+					"path": "list",
+					"style": {
+						"navigationBarTitleText": "商品管理"
+					}
+				},
+				{
+					"path": "category",
+					"style": {
+						"navigationBarTitleText": "分类管理"
+					}
+				},
+				{
+					"path": "add",
+					"style": {
+						"navigationBarTitleText": "添加商品"
+					}
+				},
+				{
+					"path": "img-store",
+					"style": {
+						"navigationBarTitleText": "图库管理"
+					}
+				},
+				{
+					"path": "goods-name",
+					"style": {
+						"navigationBarTitleText": "填写商品信息"
+					}
+				},
+				{
+					"path": "freight",
+					"style": {
+						"navigationBarTitleText": "运费设置"
+					}
+				},
+				{
+					"path": "price-increase",
+					"style": {
+						"navigationBarTitleText": "节假日自动涨价"
+					}
+				}
+			]
+		},
+		{
+			"root": "admin/statistics",
+			"pages": [
+				{
+					"path": "index",
+					"style": {
+						"navigationBarTitleText": "数据统计"
+					}
+				}
+			]
+		},
+		{
+			"root": "admin/assets",
+			"pages": [
+				{
+					"path": "list",
+					"style": {
+						"navigationBarTitleText": "收入明细"
 					}
 					}
 				}
 				}
 			]
 			]
@@ -158,6 +285,17 @@
 					}
 					}
 				}
 				}
 			]
 			]
+		},
+		{
+			"root": "admin/template",
+			"pages": [
+				{
+					"path": "index",
+					"style": {
+						"navigationBarTitleText": "选择模板"
+					}
+				}
+			]
 		}
 		}
 	],
 	],
 	"globalStyle": {
 	"globalStyle": {
@@ -170,32 +308,26 @@
 	},
 	},
 	"tabBar": {
 	"tabBar": {
 		"color": "#C0C4CC",
 		"color": "#C0C4CC",
-		"selectedColor": "#fa436a",
+		"selectedColor": "#3385FF",
 		"borderStyle": "black",
 		"borderStyle": "black",
 		"backgroundColor": "#ffffff",
 		"backgroundColor": "#ffffff",
 		"list": [{
 		"list": [{
-				"pagePath": "pages/home/index",
-				"iconPath": "static/images/common/home-no.png",
-				"selectedIconPath": "static/images/common/home-is.png",
-				"text": "首页"
-			},
-			{
-				"pagePath": "pages/home/category",
-				"iconPath": "static/images/common/category-no.png",
-				"selectedIconPath": "static/images/common/category-is.png",
-				"text": "分类"
+				"pagePath": "admin/home/workbench",
+				"iconPath": "static/images/admin/workbench-no.png",
+				"selectedIconPath": "static/images/admin/workbench-is.png",
+				"text": "工作台"
 			},
 			},
 			{
 			{
-				"pagePath": "pages/home/shop",
-				"iconPath": "static/images/common/shop-no.png",
-				"selectedIconPath": "static/images/common/shop-is.png",
-				"text": "门店"
+				"pagePath": "admin/home/order",
+				"iconPath": "static/images/admin/order-no.png",
+				"selectedIconPath": "static/images/admin/order-is.png",
+				"text": "订单"
 			},
 			},
 			{
 			{
-				"pagePath": "pages/home/user",
-				"iconPath": "static/images/common/user-no.png",
-				"selectedIconPath": "static/images/common/user-is.png",
-				"text": "我的"
+				"pagePath": "admin/home/member",
+				"iconPath": "static/images/admin/member-no.png",
+				"selectedIconPath": "static/images/admin/member-is.png",
+				"text": "客户"
 			}
 			}
 		]
 		]
 	}
 	}