zs 1 سال پیش
والد
کامیت
dbb1ee68d1
40فایلهای تغییر یافته به همراه1182 افزوده شده و 170 حذف شده
  1. 100 0
      components/swiper/index.vue
  2. 59 0
      components/tabs/index.vue
  3. 120 0
      components/upload/index.vue
  4. 9 72
      config.js
  5. 14 1
      pages.json
  6. 81 6
      pages/home/index.vue
  7. 1 1
      pages/index/index.vue
  8. 20 0
      pagesIndex/type/index.vue
  9. 1 1
      unpackage/dist/dev/.sourcemap/mp-weixin/common/main.js.map
  10. 1 1
      unpackage/dist/dev/.sourcemap/mp-weixin/common/runtime.js.map
  11. 1 1
      unpackage/dist/dev/.sourcemap/mp-weixin/common/vendor.js.map
  12. 1 0
      unpackage/dist/dev/.sourcemap/mp-weixin/components/swiper/index.js.map
  13. 1 1
      unpackage/dist/dev/.sourcemap/mp-weixin/pages/customer/index.js.map
  14. 1 1
      unpackage/dist/dev/.sourcemap/mp-weixin/pages/home/index.js.map
  15. 1 1
      unpackage/dist/dev/.sourcemap/mp-weixin/pages/index/index.js.map
  16. 1 1
      unpackage/dist/dev/.sourcemap/mp-weixin/pages/map/index.js.map
  17. 1 1
      unpackage/dist/dev/.sourcemap/mp-weixin/pages/my/index.js.map
  18. 1 0
      unpackage/dist/dev/.sourcemap/mp-weixin/pagesIndex/type/index.js.map
  19. 8 1
      unpackage/dist/dev/mp-weixin/app.json
  20. 115 0
      unpackage/dist/dev/mp-weixin/common/runtime.js
  21. 4 56
      unpackage/dist/dev/mp-weixin/common/vendor.js
  22. 208 0
      unpackage/dist/dev/mp-weixin/components/swiper/index.js
  23. 4 0
      unpackage/dist/dev/mp-weixin/components/swiper/index.json
  24. 1 0
      unpackage/dist/dev/mp-weixin/components/swiper/index.wxml
  25. 66 0
      unpackage/dist/dev/mp-weixin/components/swiper/index.wxss
  26. 131 19
      unpackage/dist/dev/mp-weixin/pages/home/index.js
  27. 3 1
      unpackage/dist/dev/mp-weixin/pages/home/index.json
  28. 1 1
      unpackage/dist/dev/mp-weixin/pages/home/index.wxml
  29. 27 2
      unpackage/dist/dev/mp-weixin/pages/home/index.wxss
  30. 1 1
      unpackage/dist/dev/mp-weixin/pages/index/index.js
  31. 1 1
      unpackage/dist/dev/mp-weixin/pages/index/index.json
  32. 190 0
      unpackage/dist/dev/mp-weixin/pagesIndex/type/index.js
  33. 4 0
      unpackage/dist/dev/mp-weixin/pagesIndex/type/index.json
  34. 1 0
      unpackage/dist/dev/mp-weixin/pagesIndex/type/index.wxml
  35. 3 0
      unpackage/dist/dev/mp-weixin/pagesIndex/type/index.wxss
  36. BIN
      unpackage/dist/dev/mp-weixin/static/good.png
  37. BIN
      unpackage/dist/dev/mp-weixin/static/goodHL.png
  38. BIN
      unpackage/dist/dev/mp-weixin/static/login.jpeg
  39. BIN
      unpackage/dist/dev/mp-weixin/static/shop.png
  40. BIN
      unpackage/dist/dev/mp-weixin/static/shopHL.png

+ 100 - 0
components/swiper/index.vue

@@ -0,0 +1,100 @@
+<template>
+	<swiper class="image-container" previous-margin="45rpx" next-margin="45rpx" circular autoplay
+		@change="swiperChange">
+		<swiper-item :class="currentIndex == index ? 'swiper-item' : 'swiper-item-side'"
+			v-for="(item, index) in imgList" :key="item[urlKey]">
+			<image @click="clickImg(item)" :class="currentIndex == index ? 'item-img' : 'item-img-side'"
+				:src="item[urlKey]" lazy-load :style="dontFirstAnimation ? 'animation: none;' : ''" mode="aspectFill">
+			</image>
+		</swiper-item>
+	</swiper>
+</template>
+<script>
+	export default {
+		props: {
+			imgList: {
+				type: Array,
+				default () {
+					return []
+				}
+			},
+			urlKey: {
+				type: String,
+				default () {
+					return ''
+				}
+			},
+		},
+		data() {
+			return {
+				currentIndex: 0,
+				dontFirstAnimation: true
+			}
+		},
+		methods: {
+			swiperChange(e) {
+				this.dontFirstAnimation = false
+				this.currentIndex = e.detail.current
+			},
+			clickImg(item) {
+				this.$emit('selected', item, this.currentIndex)
+			}
+		}
+	}
+</script>
+<style scoped>
+	.image-container {
+		width: 750rpx;
+		height: 350rpx;
+	}
+
+	.item-img {
+		width: 630rpx;
+		height: 300rpx;
+		border-radius: 14rpx;
+		animation: to-big .3s;
+	}
+
+	.swiper-item {
+		width: 630rpx;
+		height: 300rpx;
+		display: flex;
+		justify-content: center;
+		align-items: center;
+	}
+
+	.item-img-side {
+		width: 630rpx;
+		height: 260rpx;
+		border-radius: 14rpx;
+		animation: to-mini .3s;
+	}
+
+	.swiper-item-side {
+		width: 630rpx;
+		height: 260rpx;
+		display: flex;
+		justify-content: center;
+		align-items: center;
+	}
+
+	@keyframes to-mini {
+		from {
+			height: 300rpx;
+		}
+
+		to {
+			height: 260rpx;
+		}
+	}
+
+	@keyframes to-big {
+		from {
+			height: 260rpx;
+		}
+
+		to {
+			height: 300rpx;
+		}
+	}
+</style>

+ 59 - 0
components/tabs/index.vue

@@ -0,0 +1,59 @@
+<template>
+	<view class="tabs">
+		<view class="one" :style="{background:tabs.bgColor||'#f9f9f9'}">
+			<scroll-view class="scrollView" scroll-x="true">
+				<view class="list" v-for="(item,index) in tabs.menu" :key="index" :style="{background:tabs.active==item.active?tabs.acbgColor||'#ffffff':''}" @tap="tabsChange(index,item)">
+					<text :style="{color:tabs.active==item.active?tabs.actxtColor||'#000000':tabs.txtColor||'#999999'}">{{item.title}}</text>
+				</view>
+			</scroll-view>
+		</view>
+		<slot></slot>
+	</view>
+</template>
+
+<script>
+	export default {
+		props: {
+			tabs: {
+				type: Object,
+			},
+
+		},
+		data() {
+			return {};
+		},
+		methods: {
+			tabsChange(index, item) {
+				const that = this;
+				that.$emit('tabsChange', item)
+			}
+		}
+	}
+</script>
+
+<style lang="scss">
+	.tabs {
+		.one {
+			padding: 2vw;
+
+			.scrollView {
+				display: flex;
+				white-space: nowrap;
+				text-align: center;
+			}
+
+			.list {
+				display: inline-block;
+				padding: 2vw;
+				margin: 0 1.5vw;
+				text-align: center;
+				border-radius: 5px;
+
+				text {
+					font-weight: bold;
+					font-size: 14px;
+				}
+			}
+		}
+	}
+</style>

+ 120 - 0
components/upload/index.vue

@@ -0,0 +1,120 @@
+<template>
+	<view class="upload">
+		<view class="upload_1">
+			<view class="list" v-for="(item,index) in list" :key="index">
+				<image class="image" :src="item.url" @click="toView(index,item)"></image>
+				<uni-icons class="del" type="close" size="30" color="#007AFF" @click="uplDel(index,item)"></uni-icons>
+			</view>
+			<view class="list" v-if="list&&list.length<count" @tap="uplSuc()">
+				<uni-icons class="add" type="plusempty" size="55" color="#007AFF"></uni-icons>
+			</view>
+		</view>
+	</view>
+</template>
+
+<script>
+	export default {
+		props: {
+			list: {
+				type: Array,
+			},
+			name: {
+				type: String,
+			},
+			count: {
+				type: Number,
+				default: 1
+			}
+		},
+		data() {
+			return {
+
+			};
+		},
+		methods: {
+			uplSuc() {
+				const that = this;
+				let serverFile = that.$config.serverFile;
+				uni.chooseImage({
+					count: 1,
+					sizeType: ['original', 'compressed'],
+					sourceType: ['album', 'camera'],
+					success: async function(res) {
+						let tempFile = JSON.parse(JSON.stringify(res.tempFilePaths));
+						const arr = await that.$apifile(`/material/applet/upload`, 'file', tempFile[0], 'file');
+						that.$emit('uplSuc', {
+							data: {
+								name: arr.name,
+								uri: arr.uri,
+								url: serverFile + arr.uri
+							},
+							name: that.name
+						})
+					}
+				});
+			},
+			// 删除图片
+			uplDel(index, e) {
+				const that = this;
+				that.$emit('uplDel', {
+					data: {
+						file: e,
+						index: index
+					},
+					name: that.name
+				})
+			},
+			// 图片预览
+			toView(index, e) {
+				const that = this;
+				uni.previewImage({
+					current: index,
+					urls: [e.url]
+				})
+			}
+		}
+	}
+</script>
+
+<style lang="scss">
+	.upload {
+		padding: 0 2vw;
+
+		.upload_1 {
+			display: flex;
+			flex-direction: row;
+			flex-wrap: wrap;
+
+			.list {
+				position: relative;
+				width: 30vw;
+				height: 28vw;
+				text-align: center;
+				margin: 0 3vw 2vw 0;
+				border-radius: 5px;
+				box-shadow: 0 0 2px var(--f85Color);
+
+				.image {
+					width: 100%;
+					height: 100%;
+					border-radius: 5px;
+				}
+
+				.add {
+					position: relative;
+					top: 20px;
+				}
+
+				.del {
+					position: absolute;
+					right: 0;
+					top: 0;
+				}
+			}
+
+			.list:nth-child(3n) {
+				margin: 0 0 2vw 0;
+			}
+		}
+	}
+</style>

+ 9 - 72
config.js

@@ -16,101 +16,38 @@ export default {
 	share: {},
 	orderList: [{
 			icon: "icon-shenpi",
-			title: "待审批",
+			title: "待付款",
 			status: "0",
 			type: "order",
 			route: "pagesMy/order/index",
 		},
 		{
 			icon: "icon-31daifahuo",
-			title: "待发货",
+			title: "待使用",
 			status: "4",
 			type: "order",
 			route: "pagesMy/order/index",
 		},
 		{
 			icon: "icon-daishouhuo",
-			title: "待收货",
+			title: "待评价",
 			status: "5",
 			type: "order",
 			route: "pagesMy/order/index",
 		},
 		{
 			icon: "icon-transaction",
-			title: "收货成功",
+			title: "退款/售后",
 			status: "6",
 			type: "order",
 			route: "pagesMy/order/index",
-		},
-		{
-			icon: "icon-shezhi",
-			title: "待维修",
-			status: "4",
-			type: "order",
-			route: "pagesMy/repair/index",
-		},
+		}
 	],
 	menuList: [{
-			icon: "icon-shenpi1",
-			title: "用户管理",
-			role: ['jdgly'],
-			route: "pagesMy/user/index",
-		},
-		{
-			icon: "icon-shangpinguanli",
-			title: "商品管理",
-			role: ['cs'],
-			route: "pagesMy/goods/index",
-		},
-		{
-			icon: "icon-zhuyuanriqingdanchaxunbeifen",
-			title: "订单管理",
-			role: ['cs'],
-			route: "pagesMy/order/order",
-		},
-		{
-			icon: "icon-shenpi1",
-			title: "采购审批",
-			role: ['ld', 'kj'],
-			route: "pagesMy/buyExamine/index",
-		},
-		{
-			icon: "icon-shenpi1",
-			title: "回款审批",
-			role: ['ld', 'kj'],
-			route: "pagesMy/collectionExamin/index",
-		},
-		{
-			icon: "icon-zhuyuanriqingdanchaxunbeifen",
-			title: "回款记录",
-			role: ['cs'],
-			route: "pagesMy/record/index",
-		},
-		{
-			icon: "icon-shenpi1",
-			title: "维修记录",
-			role: ['cs'],
-			route: "pagesMy/maintenance/index",
-		},
-		{
-			icon: "icon-zhuyuanriqingdanchaxunbeifen",
-			title: "申请退货",
-			role: ['cs'],
-			route: "pagesMy/refund/index",
-		},
-		{
-			icon: "icon-shenpi1",
-			title: "回款统计",
-			role: ['cs', 'ld', 'kj'],
-			route: "pagesMy/statistics/index",
-		},
-		{
-			icon: "icon-yonghu",
-			title: "账号设置",
-			role: ['jdgly', 'jdry', 'sqry', 'cs', 'ld', 'kj'],
-			route: "pagesMy/account/index",
-		},
-	],
+		icon: "icon-yonghu",
+		title: "账号设置",
+		route: "pagesMy/account/index",
+	}],
 	china: [
 		//全国地址
 		{

+ 14 - 1
pages.json

@@ -2,7 +2,7 @@
 	"pages": [{
 			"path": "pages/index/index",
 			"style": {
-				"navigationBarTitleText": "系统页"
+				"navigationBarTitleText": "系统页"
 			}
 		},
 		{
@@ -31,6 +31,19 @@
 			}
 		}
 	],
+	"subPackages": [ //分包配置
+		{
+			"root": "pagesIndex",
+			"pages": [ //分包
+				{
+					"path": "type/index",
+					"style": {
+						"navigationBarTitleText": "分类"
+					}
+				}
+			]
+		}
+	],
 	"globalStyle": {
 		"pageOrientation": "portrait",
 		"navigationBarTitleText": "神鹿峰小程序",

+ 81 - 6
pages/home/index.vue

@@ -1,20 +1,95 @@
 <template>
 	<view class="main">
-		系统首页
+		<view class="one">
+			<swiper :img-list="imgList" url-key="url" @selected="selectedBanner"></swiper>
+		</view>
+		<view class="two">
+			<view class="list" v-for="(item,index) in moduleList" :key="index" @tap="toChange(item)">
+				<image class="image" :src="item.url&&item.url.length>0?item.url[0].url:''" mode="aspectFill">
+				</image>
+				<text class="text">{{ item.name }}</text>
+			</view>
+		</view>
 	</view>
 </template>
 
 <script>
+	import swiper from '../../components/swiper/index.vue';
 	export default {
+		components: {
+			swiper
+		},
 		data() {
-			return {}
+			return {
+				// 轮播图
+				imgList: [],
+				// 模块
+				moduleList: []
+			}
+		},
+		onLoad: async function() {
+			const that = this;
+			await that.searchConfig();
+			await that.search();
 		},
 		methods: {
-
-		}
+			// 查询基本设置
+			async searchConfig() {
+				const that = this;
+				let res = await that.$api(`/config`, 'GET', {});
+				if (res.errcode == '0') {
+					that.$set(that, `imgList`, res.data.file);
+				}
+			},
+			// 查询
+			async search() {
+				const that = this;
+				let res = await that.$api(`/module`, 'GET', {
+					is_use: '0'
+				});
+				if (res.errcode == '0') {
+					that.$set(that, `moduleList`, res.data);
+				}
+			},
+			// 点击轮播图图片
+			selectedBanner(item, index) {
+				console.log(item, index)
+			},
+			// 点击模块
+			toChange(item) {
+				console.log(item, )
+			},
+		},
 	}
 </script>
 
-<style>
-	.main {}
+<style lang="scss">
+	.main {
+		.two {
+			display: flex;
+			flex-wrap: wrap;
+			padding: 8vw 0 2vw 0;
+
+			.list {
+				display: flex;
+				flex-direction: column;
+				justify-content: space-between;
+				align-items: center;
+				width: 20vw;
+				padding: 1vw 0 0 0;
+
+				.image {
+					width: 15vw;
+					height: 15vw;
+					border-radius: 15vw;
+					box-shadow: 0 0 5px var(--f1Color);
+				}
+				.text{
+					font-size: var(--font14Size);
+					margin-top: 5px;
+					color: var(--f85Color);
+				}
+			}
+		}
+	}
 </style>

+ 1 - 1
pages/index/index.vue

@@ -10,7 +10,7 @@
 	export default {
 		data() {
 			return {
-				logoUrl: ""
+				logoUrl: ''
 			};
 		},
 		onLoad: async function() {

+ 20 - 0
pagesIndex/type/index.vue

@@ -0,0 +1,20 @@
+<template>
+	<view class="main">
+		系统首页
+	</view>
+</template>
+
+<script>
+	export default {
+		data() {
+			return {}
+		},
+		methods: {
+
+		}
+	}
+</script>
+
+<style>
+	.main {}
+</style>

تفاوت فایلی نمایش داده نمی شود زیرا این فایل بسیار بزرگ است
+ 1 - 1
unpackage/dist/dev/.sourcemap/mp-weixin/common/main.js.map


تفاوت فایلی نمایش داده نمی شود زیرا این فایل بسیار بزرگ است
+ 1 - 1
unpackage/dist/dev/.sourcemap/mp-weixin/common/runtime.js.map


تفاوت فایلی نمایش داده نمی شود زیرا این فایل بسیار بزرگ است
+ 1 - 1
unpackage/dist/dev/.sourcemap/mp-weixin/common/vendor.js.map


تفاوت فایلی نمایش داده نمی شود زیرا این فایل بسیار بزرگ است
+ 1 - 0
unpackage/dist/dev/.sourcemap/mp-weixin/components/swiper/index.js.map


تفاوت فایلی نمایش داده نمی شود زیرا این فایل بسیار بزرگ است
+ 1 - 1
unpackage/dist/dev/.sourcemap/mp-weixin/pages/customer/index.js.map


تفاوت فایلی نمایش داده نمی شود زیرا این فایل بسیار بزرگ است
+ 1 - 1
unpackage/dist/dev/.sourcemap/mp-weixin/pages/home/index.js.map


تفاوت فایلی نمایش داده نمی شود زیرا این فایل بسیار بزرگ است
+ 1 - 1
unpackage/dist/dev/.sourcemap/mp-weixin/pages/index/index.js.map


تفاوت فایلی نمایش داده نمی شود زیرا این فایل بسیار بزرگ است
+ 1 - 1
unpackage/dist/dev/.sourcemap/mp-weixin/pages/map/index.js.map


تفاوت فایلی نمایش داده نمی شود زیرا این فایل بسیار بزرگ است
+ 1 - 1
unpackage/dist/dev/.sourcemap/mp-weixin/pages/my/index.js.map


تفاوت فایلی نمایش داده نمی شود زیرا این فایل بسیار بزرگ است
+ 1 - 0
unpackage/dist/dev/.sourcemap/mp-weixin/pagesIndex/type/index.js.map


+ 8 - 1
unpackage/dist/dev/mp-weixin/app.json

@@ -6,7 +6,14 @@
     "pages/customer/index",
     "pages/my/index"
   ],
-  "subPackages": [],
+  "subPackages": [
+    {
+      "root": "pagesIndex",
+      "pages": [
+        "type/index"
+      ]
+    }
+  ],
   "window": {
     "pageOrientation": "portrait",
     "navigationBarTitleText": "神鹿峰小程序",

+ 115 - 0
unpackage/dist/dev/mp-weixin/common/runtime.js

@@ -55,6 +55,11 @@
 /******/ 	// The module cache
 /******/ 	var installedModules = {};
 /******/
+/******/ 	// object to store loaded CSS chunks
+/******/ 	var installedCssChunks = {
+/******/ 		"common/runtime": 0
+/******/ 	}
+/******/
 /******/ 	// object to store loaded and loading chunks
 /******/ 	// undefined = chunk not loaded, null = chunk preloaded/prefetched
 /******/ 	// Promise = chunk loading, 0 = chunk loaded
@@ -64,6 +69,11 @@
 /******/
 /******/ 	var deferredModules = [];
 /******/
+/******/ 	// script path function
+/******/ 	function jsonpScriptSrc(chunkId) {
+/******/ 		return __webpack_require__.p + "" + chunkId + ".js"
+/******/ 	}
+/******/
 /******/ 	// The require function
 /******/ 	function __webpack_require__(moduleId) {
 /******/
@@ -88,6 +98,108 @@
 /******/ 		return module.exports;
 /******/ 	}
 /******/
+/******/ 	// This file contains only the entry chunk.
+/******/ 	// The chunk loading function for additional chunks
+/******/ 	__webpack_require__.e = function requireEnsure(chunkId) {
+/******/ 		var promises = [];
+/******/
+/******/
+/******/ 		// mini-css-extract-plugin CSS loading
+/******/ 		var cssChunks = {"components/swiper/index":1};
+/******/ 		if(installedCssChunks[chunkId]) promises.push(installedCssChunks[chunkId]);
+/******/ 		else if(installedCssChunks[chunkId] !== 0 && cssChunks[chunkId]) {
+/******/ 			promises.push(installedCssChunks[chunkId] = new Promise(function(resolve, reject) {
+/******/ 				var href = "" + ({"components/swiper/index":"components/swiper/index"}[chunkId]||chunkId) + ".wxss";
+/******/ 				var fullhref = __webpack_require__.p + href;
+/******/ 				var existingLinkTags = document.getElementsByTagName("link");
+/******/ 				for(var i = 0; i < existingLinkTags.length; i++) {
+/******/ 					var tag = existingLinkTags[i];
+/******/ 					var dataHref = tag.getAttribute("data-href") || tag.getAttribute("href");
+/******/ 					if(tag.rel === "stylesheet" && (dataHref === href || dataHref === fullhref)) return resolve();
+/******/ 				}
+/******/ 				var existingStyleTags = document.getElementsByTagName("style");
+/******/ 				for(var i = 0; i < existingStyleTags.length; i++) {
+/******/ 					var tag = existingStyleTags[i];
+/******/ 					var dataHref = tag.getAttribute("data-href");
+/******/ 					if(dataHref === href || dataHref === fullhref) return resolve();
+/******/ 				}
+/******/ 				var linkTag = document.createElement("link");
+/******/ 				linkTag.rel = "stylesheet";
+/******/ 				linkTag.type = "text/css";
+/******/ 				linkTag.onload = resolve;
+/******/ 				linkTag.onerror = function(event) {
+/******/ 					var request = event && event.target && event.target.src || fullhref;
+/******/ 					var err = new Error("Loading CSS chunk " + chunkId + " failed.\n(" + request + ")");
+/******/ 					err.code = "CSS_CHUNK_LOAD_FAILED";
+/******/ 					err.request = request;
+/******/ 					delete installedCssChunks[chunkId]
+/******/ 					linkTag.parentNode.removeChild(linkTag)
+/******/ 					reject(err);
+/******/ 				};
+/******/ 				linkTag.href = fullhref;
+/******/
+/******/ 				var head = document.getElementsByTagName("head")[0];
+/******/ 				head.appendChild(linkTag);
+/******/ 			}).then(function() {
+/******/ 				installedCssChunks[chunkId] = 0;
+/******/ 			}));
+/******/ 		}
+/******/
+/******/ 		// JSONP chunk loading for javascript
+/******/
+/******/ 		var installedChunkData = installedChunks[chunkId];
+/******/ 		if(installedChunkData !== 0) { // 0 means "already installed".
+/******/
+/******/ 			// a Promise means "currently loading".
+/******/ 			if(installedChunkData) {
+/******/ 				promises.push(installedChunkData[2]);
+/******/ 			} else {
+/******/ 				// setup Promise in chunk cache
+/******/ 				var promise = new Promise(function(resolve, reject) {
+/******/ 					installedChunkData = installedChunks[chunkId] = [resolve, reject];
+/******/ 				});
+/******/ 				promises.push(installedChunkData[2] = promise);
+/******/
+/******/ 				// start chunk loading
+/******/ 				var script = document.createElement('script');
+/******/ 				var onScriptComplete;
+/******/
+/******/ 				script.charset = 'utf-8';
+/******/ 				script.timeout = 120;
+/******/ 				if (__webpack_require__.nc) {
+/******/ 					script.setAttribute("nonce", __webpack_require__.nc);
+/******/ 				}
+/******/ 				script.src = jsonpScriptSrc(chunkId);
+/******/
+/******/ 				// create error before stack unwound to get useful stacktrace later
+/******/ 				var error = new Error();
+/******/ 				onScriptComplete = function (event) {
+/******/ 					// avoid mem leaks in IE.
+/******/ 					script.onerror = script.onload = null;
+/******/ 					clearTimeout(timeout);
+/******/ 					var chunk = installedChunks[chunkId];
+/******/ 					if(chunk !== 0) {
+/******/ 						if(chunk) {
+/******/ 							var errorType = event && (event.type === 'load' ? 'missing' : event.type);
+/******/ 							var realSrc = event && event.target && event.target.src;
+/******/ 							error.message = 'Loading chunk ' + chunkId + ' failed.\n(' + errorType + ': ' + realSrc + ')';
+/******/ 							error.name = 'ChunkLoadError';
+/******/ 							error.type = errorType;
+/******/ 							error.request = realSrc;
+/******/ 							chunk[1](error);
+/******/ 						}
+/******/ 						installedChunks[chunkId] = undefined;
+/******/ 					}
+/******/ 				};
+/******/ 				var timeout = setTimeout(function(){
+/******/ 					onScriptComplete({ type: 'timeout', target: script });
+/******/ 				}, 120000);
+/******/ 				script.onerror = script.onload = onScriptComplete;
+/******/ 				document.head.appendChild(script);
+/******/ 			}
+/******/ 		}
+/******/ 		return Promise.all(promises);
+/******/ 	};
 /******/
 /******/ 	// expose the modules object (__webpack_modules__)
 /******/ 	__webpack_require__.m = modules;
@@ -141,6 +253,9 @@
 /******/ 	// __webpack_public_path__
 /******/ 	__webpack_require__.p = "/";
 /******/
+/******/ 	// on error function for async loading
+/******/ 	__webpack_require__.oe = function(err) { console.error(err); throw err; };
+/******/
 /******/ 	var jsonpArray = global["webpackJsonp"] = global["webpackJsonp"] || [];
 /******/ 	var oldJsonpFunction = jsonpArray.push.bind(jsonpArray);
 /******/ 	jsonpArray.push = webpackJsonpCallback;

+ 4 - 56
unpackage/dist/dev/mp-weixin/common/vendor.js

@@ -10185,84 +10185,32 @@ var _default = {
   share: {},
   orderList: [{
     icon: "icon-shenpi",
-    title: "待审批",
+    title: "待付款",
     status: "0",
     type: "order",
     route: "pagesMy/order/index"
   }, {
     icon: "icon-31daifahuo",
-    title: "待发货",
+    title: "待使用",
     status: "4",
     type: "order",
     route: "pagesMy/order/index"
   }, {
     icon: "icon-daishouhuo",
-    title: "待收货",
+    title: "待评价",
     status: "5",
     type: "order",
     route: "pagesMy/order/index"
   }, {
     icon: "icon-transaction",
-    title: "收货成功",
+    title: "退款/售后",
     status: "6",
     type: "order",
     route: "pagesMy/order/index"
-  }, {
-    icon: "icon-shezhi",
-    title: "待维修",
-    status: "4",
-    type: "order",
-    route: "pagesMy/repair/index"
   }],
   menuList: [{
-    icon: "icon-shenpi1",
-    title: "用户管理",
-    role: ['jdgly'],
-    route: "pagesMy/user/index"
-  }, {
-    icon: "icon-shangpinguanli",
-    title: "商品管理",
-    role: ['cs'],
-    route: "pagesMy/goods/index"
-  }, {
-    icon: "icon-zhuyuanriqingdanchaxunbeifen",
-    title: "订单管理",
-    role: ['cs'],
-    route: "pagesMy/order/order"
-  }, {
-    icon: "icon-shenpi1",
-    title: "采购审批",
-    role: ['ld', 'kj'],
-    route: "pagesMy/buyExamine/index"
-  }, {
-    icon: "icon-shenpi1",
-    title: "回款审批",
-    role: ['ld', 'kj'],
-    route: "pagesMy/collectionExamin/index"
-  }, {
-    icon: "icon-zhuyuanriqingdanchaxunbeifen",
-    title: "回款记录",
-    role: ['cs'],
-    route: "pagesMy/record/index"
-  }, {
-    icon: "icon-shenpi1",
-    title: "维修记录",
-    role: ['cs'],
-    route: "pagesMy/maintenance/index"
-  }, {
-    icon: "icon-zhuyuanriqingdanchaxunbeifen",
-    title: "申请退货",
-    role: ['cs'],
-    route: "pagesMy/refund/index"
-  }, {
-    icon: "icon-shenpi1",
-    title: "回款统计",
-    role: ['cs', 'ld', 'kj'],
-    route: "pagesMy/statistics/index"
-  }, {
     icon: "icon-yonghu",
     title: "账号设置",
-    role: ['jdgly', 'jdry', 'sqry', 'cs', 'ld', 'kj'],
     route: "pagesMy/account/index"
   }],
   china: [

تفاوت فایلی نمایش داده نمی شود زیرا این فایل بسیار بزرگ است
+ 208 - 0
unpackage/dist/dev/mp-weixin/components/swiper/index.js


+ 4 - 0
unpackage/dist/dev/mp-weixin/components/swiper/index.json

@@ -0,0 +1,4 @@
+{
+  "usingComponents": {},
+  "component": true
+}

تفاوت فایلی نمایش داده نمی شود زیرا این فایل بسیار بزرگ است
+ 1 - 0
unpackage/dist/dev/mp-weixin/components/swiper/index.wxml


+ 66 - 0
unpackage/dist/dev/mp-weixin/components/swiper/index.wxss

@@ -0,0 +1,66 @@
+
+.image-container.data-v-731911b6 {
+	width: 750rpx;
+	height: 350rpx;
+}
+.item-img.data-v-731911b6 {
+	width: 630rpx;
+	height: 300rpx;
+	border-radius: 14rpx;
+	-webkit-animation: to-big-data-v-731911b6 .3s;
+	        animation: to-big-data-v-731911b6 .3s;
+}
+.swiper-item.data-v-731911b6 {
+	width: 630rpx;
+	height: 300rpx;
+	display: flex;
+	justify-content: center;
+	align-items: center;
+}
+.item-img-side.data-v-731911b6 {
+	width: 630rpx;
+	height: 260rpx;
+	border-radius: 14rpx;
+	-webkit-animation: to-mini-data-v-731911b6 .3s;
+	        animation: to-mini-data-v-731911b6 .3s;
+}
+.swiper-item-side.data-v-731911b6 {
+	width: 630rpx;
+	height: 260rpx;
+	display: flex;
+	justify-content: center;
+	align-items: center;
+}
+@-webkit-keyframes to-mini-data-v-731911b6 {
+from {
+		height: 300rpx;
+}
+to {
+		height: 260rpx;
+}
+}
+@keyframes to-mini-data-v-731911b6 {
+from {
+		height: 300rpx;
+}
+to {
+		height: 260rpx;
+}
+}
+@-webkit-keyframes to-big-data-v-731911b6 {
+from {
+		height: 260rpx;
+}
+to {
+		height: 300rpx;
+}
+}
+@keyframes to-big-data-v-731911b6 {
+from {
+		height: 260rpx;
+}
+to {
+		height: 300rpx;
+}
+}
+

تفاوت فایلی نمایش داده نمی شود زیرا این فایل بسیار بزرگ است
+ 131 - 19
unpackage/dist/dev/mp-weixin/pages/home/index.js


+ 3 - 1
unpackage/dist/dev/mp-weixin/pages/home/index.json

@@ -1,5 +1,7 @@
 {
   "navigationBarTitleText": "神鹿峰旅游度假区",
   "enablePullDownRefresh": true,
-  "usingComponents": {}
+  "usingComponents": {
+    "swiper": "/components/swiper/index"
+  }
 }

تفاوت فایلی نمایش داده نمی شود زیرا این فایل بسیار بزرگ است
+ 1 - 1
unpackage/dist/dev/mp-weixin/pages/home/index.wxml


+ 27 - 2
unpackage/dist/dev/mp-weixin/pages/home/index.wxss

@@ -1,3 +1,28 @@
-
-.main {}
+@charset "UTF-8";
+/* 水平间距 */
+/* 水平间距 */
+.main .two {
+  display: flex;
+  flex-wrap: wrap;
+  padding: 8vw 0 2vw 0;
+}
+.main .two .list {
+  display: flex;
+  flex-direction: column;
+  justify-content: space-between;
+  align-items: center;
+  width: 20vw;
+  padding: 1vw 0 0 0;
+}
+.main .two .list .image {
+  width: 15vw;
+  height: 15vw;
+  border-radius: 15vw;
+  box-shadow: 0 0 5px var(--f1Color);
+}
+.main .two .list .text {
+  font-size: var(--font14Size);
+  margin-top: 5px;
+  color: var(--f85Color);
+}
 

+ 1 - 1
unpackage/dist/dev/mp-weixin/pages/index/index.js

@@ -155,7 +155,7 @@ var _asyncToGenerator2 = _interopRequireDefault(__webpack_require__(/*! @babel/r
 var _default = {
   data: function data() {
     return {
-      logoUrl: ""
+      logoUrl: ''
     };
   },
   onLoad: function () {

+ 1 - 1
unpackage/dist/dev/mp-weixin/pages/index/index.json

@@ -1,4 +1,4 @@
 {
-  "navigationBarTitleText": "系统页",
+  "navigationBarTitleText": "系统页",
   "usingComponents": {}
 }

تفاوت فایلی نمایش داده نمی شود زیرا این فایل بسیار بزرگ است
+ 190 - 0
unpackage/dist/dev/mp-weixin/pagesIndex/type/index.js


+ 4 - 0
unpackage/dist/dev/mp-weixin/pagesIndex/type/index.json

@@ -0,0 +1,4 @@
+{
+  "navigationBarTitleText": "分类",
+  "usingComponents": {}
+}

+ 1 - 0
unpackage/dist/dev/mp-weixin/pagesIndex/type/index.wxml

@@ -0,0 +1 @@
+<view class="main">系统首页</view>

+ 3 - 0
unpackage/dist/dev/mp-weixin/pagesIndex/type/index.wxss

@@ -0,0 +1,3 @@
+
+.main {}
+

BIN
unpackage/dist/dev/mp-weixin/static/good.png


BIN
unpackage/dist/dev/mp-weixin/static/goodHL.png


BIN
unpackage/dist/dev/mp-weixin/static/login.jpeg


BIN
unpackage/dist/dev/mp-weixin/static/shop.png


BIN
unpackage/dist/dev/mp-weixin/static/shopHL.png