zs пре 1 година
родитељ
комит
9506a4157c
74 измењених фајлова са 785 додато и 607 уклоњено
  1. 39 36
      pages/map/index.vue
  2. 25 15
      pagesHome/hotel/index.vue
  3. 24 18
      pagesHome/hotel/info.vue
  4. 23 17
      pagesHome/ticket/info.vue
  5. 25 15
      pagesHome/type/index.vue
  6. 26 15
      pagesHome/type/info.vue
  7. 5 3
      pagesIndex/collect/index.vue
  8. 1 1
      unpackage/dist/dev/.sourcemap/mp-weixin/common/main.js.map
  9. 1 1
      unpackage/dist/dev/.sourcemap/mp-weixin/common/vendor.js.map
  10. 1 1
      unpackage/dist/dev/.sourcemap/mp-weixin/components/swiper/index.js.map
  11. 1 1
      unpackage/dist/dev/.sourcemap/mp-weixin/components/tabs/index.js.map
  12. 1 1
      unpackage/dist/dev/.sourcemap/mp-weixin/components/upload/index.js.map
  13. 1 1
      unpackage/dist/dev/.sourcemap/mp-weixin/pages/customer/common/submit_1.js.map
  14. 1 1
      unpackage/dist/dev/.sourcemap/mp-weixin/pages/customer/index.js.map
  15. 1 1
      unpackage/dist/dev/.sourcemap/mp-weixin/pages/home/index.js.map
  16. 1 1
      unpackage/dist/dev/.sourcemap/mp-weixin/pages/index/index.js.map
  17. 1 1
      unpackage/dist/dev/.sourcemap/mp-weixin/pages/map/index.js.map
  18. 1 1
      unpackage/dist/dev/.sourcemap/mp-weixin/pages/my/index.js.map
  19. 1 1
      unpackage/dist/dev/.sourcemap/mp-weixin/pagesHome/article/index.js.map
  20. 1 1
      unpackage/dist/dev/.sourcemap/mp-weixin/pagesHome/hotel/detail.js.map
  21. 1 1
      unpackage/dist/dev/.sourcemap/mp-weixin/pagesHome/hotel/index.js.map
  22. 1 1
      unpackage/dist/dev/.sourcemap/mp-weixin/pagesHome/hotel/info.js.map
  23. 1 1
      unpackage/dist/dev/.sourcemap/mp-weixin/pagesHome/info/index.js.map
  24. 1 1
      unpackage/dist/dev/.sourcemap/mp-weixin/pagesHome/news/detail.js.map
  25. 1 1
      unpackage/dist/dev/.sourcemap/mp-weixin/pagesHome/news/index.js.map
  26. 1 1
      unpackage/dist/dev/.sourcemap/mp-weixin/pagesHome/notice/detail.js.map
  27. 1 1
      unpackage/dist/dev/.sourcemap/mp-weixin/pagesHome/notice/index.js.map
  28. 1 1
      unpackage/dist/dev/.sourcemap/mp-weixin/pagesHome/ticket/index.js.map
  29. 1 1
      unpackage/dist/dev/.sourcemap/mp-weixin/pagesHome/ticket/info.js.map
  30. 1 1
      unpackage/dist/dev/.sourcemap/mp-weixin/pagesHome/type/index.js.map
  31. 1 1
      unpackage/dist/dev/.sourcemap/mp-weixin/pagesHome/type/info.js.map
  32. 1 1
      unpackage/dist/dev/.sourcemap/mp-weixin/pagesIndex/collect/index.js.map
  33. 1 1
      unpackage/dist/dev/.sourcemap/mp-weixin/pagesIndex/comment/index.js.map
  34. 1 1
      unpackage/dist/dev/.sourcemap/mp-weixin/pagesIndex/like/index.js.map
  35. 1 1
      unpackage/dist/dev/.sourcemap/mp-weixin/pagesIndex/login/index.js.map
  36. 1 1
      unpackage/dist/dev/.sourcemap/mp-weixin/pagesIndex/order/index.js.map
  37. 1 1
      unpackage/dist/dev/.sourcemap/mp-weixin/pagesMy/account/index.js.map
  38. 1 1
      unpackage/dist/dev/.sourcemap/mp-weixin/pagesMy/article/add.js.map
  39. 1 1
      unpackage/dist/dev/.sourcemap/mp-weixin/pagesMy/article/index.js.map
  40. 1 1
      unpackage/dist/dev/.sourcemap/mp-weixin/pagesMy/coupon/index.js.map
  41. 1 1
      unpackage/dist/dev/.sourcemap/mp-weixin/pagesMy/opinion/index.js.map
  42. 1 1
      unpackage/dist/dev/.sourcemap/mp-weixin/uni_modules/uni-badge/components/uni-badge/uni-badge.js.map
  43. 1 1
      unpackage/dist/dev/.sourcemap/mp-weixin/uni_modules/uni-calendar/components/uni-calendar/uni-calendar-item.js.map
  44. 1 1
      unpackage/dist/dev/.sourcemap/mp-weixin/uni_modules/uni-calendar/components/uni-calendar/uni-calendar.js.map
  45. 1 1
      unpackage/dist/dev/.sourcemap/mp-weixin/uni_modules/uni-collapse/components/uni-collapse-item/uni-collapse-item.js.map
  46. 1 1
      unpackage/dist/dev/.sourcemap/mp-weixin/uni_modules/uni-collapse/components/uni-collapse/uni-collapse.js.map
  47. 1 1
      unpackage/dist/dev/.sourcemap/mp-weixin/uni_modules/uni-data-select/components/uni-data-select/uni-data-select.js.map
  48. 1 1
      unpackage/dist/dev/.sourcemap/mp-weixin/uni_modules/uni-easyinput/components/uni-easyinput/uni-easyinput.js.map
  49. 1 1
      unpackage/dist/dev/.sourcemap/mp-weixin/uni_modules/uni-fav/components/uni-fav/uni-fav.js.map
  50. 1 1
      unpackage/dist/dev/.sourcemap/mp-weixin/uni_modules/uni-forms/components/uni-forms-item/uni-forms-item.js.map
  51. 1 1
      unpackage/dist/dev/.sourcemap/mp-weixin/uni_modules/uni-forms/components/uni-forms/uni-forms.js.map
  52. 1 1
      unpackage/dist/dev/.sourcemap/mp-weixin/uni_modules/uni-icons/components/uni-icons/uni-icons.js.map
  53. 1 1
      unpackage/dist/dev/.sourcemap/mp-weixin/uni_modules/uni-notice-bar/components/uni-notice-bar/uni-notice-bar.js.map
  54. 1 1
      unpackage/dist/dev/.sourcemap/mp-weixin/uni_modules/uni-popup/components/uni-popup/uni-popup.js.map
  55. 93 136
      unpackage/dist/dev/mp-weixin/common/vendor.js
  56. 91 53
      unpackage/dist/dev/mp-weixin/pages/map/index.js
  57. 1 1
      unpackage/dist/dev/mp-weixin/pages/map/index.wxml
  58. 63 27
      unpackage/dist/dev/mp-weixin/pagesHome/hotel/index.js
  59. 41 28
      unpackage/dist/dev/mp-weixin/pagesHome/hotel/info.js
  60. 2 2
      unpackage/dist/dev/mp-weixin/pagesHome/ticket/index.js
  61. 32 20
      unpackage/dist/dev/mp-weixin/pagesHome/ticket/info.js
  62. 1 1
      unpackage/dist/dev/mp-weixin/pagesHome/ticket/info.wxml
  63. 63 27
      unpackage/dist/dev/mp-weixin/pagesHome/type/index.js
  64. 73 39
      unpackage/dist/dev/mp-weixin/pagesHome/type/info.js
  65. 7 3
      unpackage/dist/dev/mp-weixin/pagesIndex/collect/index.js
  66. 1 1
      unpackage/dist/dev/mp-weixin/pagesIndex/collect/index.wxml
  67. 15 15
      unpackage/dist/dev/mp-weixin/uni_modules/uni-calendar/components/uni-calendar/uni-calendar-item.js
  68. 17 17
      unpackage/dist/dev/mp-weixin/uni_modules/uni-calendar/components/uni-calendar/uni-calendar.js
  69. 2 2
      unpackage/dist/dev/mp-weixin/uni_modules/uni-calendar/components/uni-calendar/uni-calendar.json
  70. 14 14
      unpackage/dist/dev/mp-weixin/uni_modules/uni-collapse/components/uni-collapse-item/uni-collapse-item.js
  71. 14 14
      unpackage/dist/dev/mp-weixin/uni_modules/uni-collapse/components/uni-collapse/uni-collapse.js
  72. 15 15
      unpackage/dist/dev/mp-weixin/uni_modules/uni-fav/components/uni-fav/uni-fav.js
  73. 15 15
      unpackage/dist/dev/mp-weixin/uni_modules/uni-popup/components/uni-popup/uni-popup.js
  74. 11 11
      unpackage/dist/dev/mp-weixin/uni_modules/uni-transition/components/uni-transition/uni-transition.js

+ 39 - 36
pages/map/index.vue

@@ -1,7 +1,7 @@
 <template>
 <template>
 	<view class="main">
 	<view class="main">
-		<map class="map" :latitude="latitude" :longitude="longitude" :scale="scale" :markers="markers"
-			@callouttap="toTap"></map>
+		<map class="map" :latitude="config.latitude" :longitude="config.longitude" :scale="config.scale"
+			:markers="markers" @callouttap="toTap"></map>
 	</view>
 	</view>
 </template>
 </template>
 
 
@@ -9,43 +9,46 @@
 	export default {
 	export default {
 		data() {
 		data() {
 			return {
 			return {
-				latitude: 43.3517, // 设置地图的纬度
-				longitude: 125.86854, // 设置地图的经度
-				scale: 13,
-				markers: [{
-					id: 0,
-					latitude: 43.34931,
-					longitude: 125.87221,
-					width: 20, //宽
-					height: 30, //高
-					callout: { //自定义标记点上方的气泡窗口 点击有效  
-						content: '吊水壶森林公园', //文本
-						color: '#ffffff', //文字颜色
-						fontSize: 14, //文本大小
-						borderRadius: 15, //边框圆角
-						borderWidth: '10',
-						bgColor: '#e51860', //背景颜色
-						display: 'ALWAYS', //常显
-					},
-				}, {
-					id: 1,
-					latitude: 43.34526,
-					longitude: 125.85224,
-					width: 20, //宽
-					height: 30, //高
-					callout: { //自定义标记点上方的气泡窗口 点击有效
-						content: '公厕', //文本
-						color: '#ffffff', //文字颜色
-						fontSize: 14, //文本大小
-						borderRadius: 15, //边框圆角
-						borderWidth: '10',
-						bgColor: '#e51860', //背景颜色
-						display: 'ALWAYS', //常显
-					},
-				}]
+				config: {},
+				markers: []
 			}
 			}
 		},
 		},
+		onLoad: async function() {
+			const that = this;
+			that.searchConfig();
+			that.search();
+		},
 		methods: {
 		methods: {
+			async searchConfig() {
+				const that = this;
+				const res = await that.$api(`/config`, 'GET', {})
+				if (res.errcode == '0') {
+					that.$set(that, `config`, res.data)
+				} else {
+					uni.showToast({
+						title: res.errmsg,
+					});
+				}
+			},
+			// 查询
+			async search() {
+				const that = this;
+				let info = {
+					is_use: '0',
+				}
+				let res;
+				res = await that.$api(`/map`, 'GET', {
+					...info,
+				});
+				if (res.errcode == '0') {
+					that.$set(that, `markers`, res.data);
+				} else {
+					uni.showToast({
+						title: res.errmsg,
+						icon: 'none'
+					})
+				}
+			},
 			// 点击标记点对应的气泡 播放多种语音类型的讲解
 			// 点击标记点对应的气泡 播放多种语音类型的讲解
 			toTap(e) {
 			toTap(e) {
 				console.log(e);
 				console.log(e);

+ 25 - 15
pagesHome/hotel/index.vue

@@ -58,8 +58,12 @@
 				title: e && e.title || '分类'
 				title: e && e.title || '分类'
 			});
 			});
 			that.searchConfig();
 			that.searchConfig();
-			that.searchToken();
-			that.search();
+		},
+		onShow: async function(e) {
+			const that = this;
+			await that.searchToken();
+			await that.clearPage();
+			await that.search();
 		},
 		},
 		methods: {
 		methods: {
 			searchToken() {
 			searchToken() {
@@ -129,20 +133,26 @@
 			// 收藏
 			// 收藏
 			async onClick(item) {
 			async onClick(item) {
 				const that = this;
 				const that = this;
-				let res;
-				if (item.is_collect == false) {
-					const form = {
-						user: that.user._id,
-						source: item._id,
-						source_type: "hotel",
-						type: '1',
-						create_time: moment().format('YYYY-MM-DD HH:mm:ss'),
+				if (that.user && that.user._id) {
+					let res;
+					if (item.is_collect == false) {
+						const form = {
+							user: that.user._id,
+							source: item._id,
+							source_type: "hotel",
+							type: '1',
+							create_time: moment().format('YYYY-MM-DD HH:mm:ss'),
+						}
+						res = await that.$api(`/like`, 'POST', form);
+					} else res = await that.$api(`/like/${item.collect}`, 'DELETE', {})
+					if (res.errcode == '0') {
+						that.clearPage();
+						that.search()
 					}
 					}
-					res = await that.$api(`/like`, 'POST', form);
-				} else res = await that.$api(`/like/${item.like}`, 'DELETE', {})
-				if (res.errcode == '0') {
-					that.clearPage();
-					that.search()
+				} else {
+					uni.navigateTo({
+						url: `/pagesIndex/login/index`
+					})
 				}
 				}
 			},
 			},
 			// 分页
 			// 分页

+ 24 - 18
pagesHome/hotel/info.vue

@@ -111,20 +111,18 @@
 			const that = this;
 			const that = this;
 			that.$set(that, `id`, e && e.id || '');
 			that.$set(that, `id`, e && e.id || '');
 			that.searchConfig();
 			that.searchConfig();
-			that.search();
 		},
 		},
 		onShow: async function(e) {
 		onShow: async function(e) {
 			const that = this;
 			const that = this;
-			that.searchToken();
+			await that.searchToken();
+			await that.search();
 		},
 		},
 		methods: {
 		methods: {
 			searchToken() {
 			searchToken() {
 				const that = this;
 				const that = this;
 				try {
 				try {
 					const res = uni.getStorageSync('token');
 					const res = uni.getStorageSync('token');
-					if (res) {
-						that.$set(that, `user`, res);
-					}
+					if (res) that.$set(that, `user`, res);
 				} catch (e) {
 				} catch (e) {
 					uni.showToast({
 					uni.showToast({
 						title: err.errmsg,
 						title: err.errmsg,
@@ -149,7 +147,9 @@
 			async search() {
 			async search() {
 				const that = this;
 				const that = this;
 				if (that.id) {
 				if (that.id) {
-					const res = await that.$api(`/hotel/${that.id}`, 'GET', {})
+					const data = {}
+					if (that.user._id) data.user = that.user._id
+					const res = await that.$api(`/hotel/hotel/${that.id}`, 'GET', data)
 					if (res.errcode == '0') {
 					if (res.errcode == '0') {
 						that.$set(that, `info`, res.data)
 						that.$set(that, `info`, res.data)
 					} else {
 					} else {
@@ -209,18 +209,24 @@
 			// 收藏
 			// 收藏
 			async onClick(item) {
 			async onClick(item) {
 				const that = this;
 				const that = this;
-				let res;
-				if (item.is_collect == false) {
-					const form = {
-						user: that.user._id,
-						source: item._id,
-						source_type: "hotel",
-						type: '1',
-						create_time: moment().format('YYYY-MM-DD HH:mm:ss'),
-					}
-					res = await that.$api(`/like`, 'POST', form);
-				} else res = await that.$api(`/like/${item.like}`, 'DELETE', {})
-				if (res.errcode == '0') that.search()
+				if (that.user && that.user._id) {
+					let res;
+					if (item.is_collect == false) {
+						const form = {
+							user: that.user._id,
+							source: item._id,
+							source_type: "hotel",
+							type: '1',
+							create_time: moment().format('YYYY-MM-DD HH:mm:ss'),
+						}
+						res = await that.$api(`/like`, 'POST', form);
+					} else res = await that.$api(`/like/${item.collect}`, 'DELETE', {})
+					if (res.errcode == '0') that.search()
+				} else {
+					uni.navigateTo({
+						url: `/pagesIndex/login/index`
+					})
+				}
 			},
 			},
 			// 分页
 			// 分页
 			toPage(e) {
 			toPage(e) {

+ 23 - 17
pagesHome/ticket/info.vue

@@ -11,7 +11,7 @@
 				<view class="right_1 textOver">{{info.name||'暂无'}}</view>
 				<view class="right_1 textOver">{{info.name||'暂无'}}</view>
 				<view class="right_2">已售 {{info.buy_num||0}}</view>
 				<view class="right_2">已售 {{info.buy_num||0}}</view>
 				<view class="right_3">
 				<view class="right_3">
-					<uni-fav :checked="info.is_collect" @tap.stop="onClick(item)" />
+					<uni-fav :checked="info.is_collect" @tap.stop="onClick(info)" />
 				</view>
 				</view>
 			</view>
 			</view>
 		</view>
 		</view>
@@ -76,12 +76,12 @@
 			const that = this;
 			const that = this;
 			that.$set(that, `id`, e && e.id || '');
 			that.$set(that, `id`, e && e.id || '');
 			that.searchConfig();
 			that.searchConfig();
-			await that.searchOther();
-			await that.search();
 		},
 		},
 		onShow: async function(e) {
 		onShow: async function(e) {
 			const that = this;
 			const that = this;
-			that.searchToken();
+			await that.searchToken();
+			await that.searchOther();
+			await that.search();
 		},
 		},
 		methods: {
 		methods: {
 			searchToken() {
 			searchToken() {
@@ -117,7 +117,7 @@
 				if (that.id) {
 				if (that.id) {
 					const info = {}
 					const info = {}
 					if (that.user._id) info.user = that.user._id
 					if (that.user._id) info.user = that.user._id
-					const res = await that.$api(`/ticket/ticket${that.id}`, 'GET', info)
+					const res = await that.$api(`/ticket/ticket/${that.id}`, 'GET', info)
 					if (res.errcode == '0') {
 					if (res.errcode == '0') {
 						const type = that.typeList.find(i => i.value == res.data.type)
 						const type = that.typeList.find(i => i.value == res.data.type)
 						if (type) res.data.zhType = type.label
 						if (type) res.data.zhType = type.label
@@ -144,18 +144,24 @@
 			// 收藏
 			// 收藏
 			async onClick(item) {
 			async onClick(item) {
 				const that = this;
 				const that = this;
-				let res;
-				if (item.is_collect == false) {
-					const form = {
-						user: that.user._id,
-						source: item._id,
-						source_type: "ticket",
-						type: '1',
-						create_time: moment().format('YYYY-MM-DD HH:mm:ss'),
-					}
-					res = await that.$api(`/like`, 'POST', form);
-				} else res = await that.$api(`/like/${item.like}`, 'DELETE', {})
-				if (res.errcode == '0') that.search()
+				if (that.user && that.user._id) {
+					let res;
+					if (item.is_collect == false) {
+						const form = {
+							user: that.user._id,
+							source: item._id,
+							source_type: "ticket",
+							type: '1',
+							create_time: moment().format('YYYY-MM-DD HH:mm:ss'),
+						}
+						res = await that.$api(`/like`, 'POST', form);
+					} else res = await that.$api(`/like/${item.collect}`, 'DELETE', {})
+					if (res.errcode == '0') that.search()
+				} else {
+					uni.navigateTo({
+						url: `/pagesIndex/login/index`
+					})
+				}
 			},
 			},
 			// 预订
 			// 预订
 			toBuy(item) {
 			toBuy(item) {

+ 25 - 15
pagesHome/type/index.vue

@@ -57,8 +57,12 @@
 				title: e && e.title || '分类'
 				title: e && e.title || '分类'
 			});
 			});
 			that.searchConfig();
 			that.searchConfig();
-			that.searchToken();
-			that.search();
+		},
+		onShow: async function(e) {
+			const that = this;
+			await that.searchToken();
+			await that.clearPage();
+			await that.search();
 		},
 		},
 		methods: {
 		methods: {
 			searchToken() {
 			searchToken() {
@@ -128,20 +132,26 @@
 			// 收藏
 			// 收藏
 			async onClick(item) {
 			async onClick(item) {
 				const that = this;
 				const that = this;
-				let res;
-				if (item.is_collect == false) {
-					const form = {
-						user: that.user._id,
-						source: item._id,
-						source_type: "location",
-						type: '1',
-						create_time: moment().format('YYYY-MM-DD HH:mm:ss'),
+				if (that.user && that.user._id) {
+					let res;
+					if (item.is_collect == false) {
+						const form = {
+							user: that.user._id,
+							source: item._id,
+							source_type: "location",
+							type: '1',
+							create_time: moment().format('YYYY-MM-DD HH:mm:ss'),
+						}
+						res = await that.$api(`/like`, 'POST', form);
+					} else res = await that.$api(`/like/${item.collect}`, 'DELETE', {})
+					if (res.errcode == '0') {
+						that.clearPage();
+						that.search()
 					}
 					}
-					res = await that.$api(`/like`, 'POST', form);
-				} else res = await that.$api(`/like/${item.like}`, 'DELETE', {})
-				if (res.errcode == '0') {
-					that.clearPage();
-					that.search()
+				} else {
+					uni.navigateTo({
+						url: `/pagesIndex/login/index`
+					})
 				}
 				}
 			},
 			},
 			// 分页
 			// 分页

+ 26 - 15
pagesHome/type/info.vue

@@ -71,8 +71,11 @@
 			const that = this;
 			const that = this;
 			that.$set(that, `id`, e && e.id || '');
 			that.$set(that, `id`, e && e.id || '');
 			await that.searchOther();
 			await that.searchOther();
-			that.searchToken();
-			that.search();
+		},
+		onShow: async function(e) {
+			const that = this;
+			await that.searchToken();
+			await that.search();
 		},
 		},
 		methods: {
 		methods: {
 			searchToken() {
 			searchToken() {
@@ -93,7 +96,9 @@
 			async search() {
 			async search() {
 				const that = this;
 				const that = this;
 				if (that.id) {
 				if (that.id) {
-					const res = await that.$api(`/location/${that.id}`, 'GET', {})
+					const info = {}
+					if (that.user._id) info.user = that.user._id
+					const res = await that.$api(`/location/location/${that.id}`, 'GET', info)
 					if (res.errcode == '0') {
 					if (res.errcode == '0') {
 						const type = that.typeList.find(i => i.value == res.data.type)
 						const type = that.typeList.find(i => i.value == res.data.type)
 						if (type) res.data.zhType = type.label
 						if (type) res.data.zhType = type.label
@@ -120,18 +125,24 @@
 			// 收藏
 			// 收藏
 			async onClick(item) {
 			async onClick(item) {
 				const that = this;
 				const that = this;
-				let res;
-				if (item.is_collect == false) {
-					const form = {
-						user: that.user._id,
-						source: item._id,
-						source_type: "location",
-						type: '1',
-						create_time: moment().format('YYYY-MM-DD HH:mm:ss'),
-					}
-					res = await that.$api(`/like`, 'POST', form);
-				} else res = await that.$api(`/like/${item.like}`, 'DELETE', {})
-				if (res.errcode == '0') that.search()
+				if (that.user && that.user._id) {
+					let res;
+					if (item.is_collect == false) {
+						const form = {
+							user: that.user._id,
+							source: item._id,
+							source_type: "location",
+							type: '1',
+							create_time: moment().format('YYYY-MM-DD HH:mm:ss'),
+						}
+						res = await that.$api(`/like`, 'POST', form);
+					} else res = await that.$api(`/like/${item.collect}`, 'DELETE', {})
+					if (res.errcode == '0') that.search()
+				} else {
+					uni.navigateTo({
+						url: `/pagesIndex/login/index`
+					})
+				}
 			},
 			},
 			// 查询其他信息
 			// 查询其他信息
 			async searchOther() {
 			async searchOther() {

+ 5 - 3
pagesIndex/collect/index.vue

@@ -9,7 +9,9 @@
 							<view class="pubuBox">
 							<view class="pubuBox">
 								<view class="pubuItem">
 								<view class="pubuItem">
 									<view class="list" v-for="(item, index) in list" :key="index" @tap="toInfo(item)">
 									<view class="list" v-for="(item, index) in list" :key="index" @tap="toInfo(item)">
-										<image :src="item.file&&item.file.length>0?item.file[0].url:''" mode="widthFix">
+										<image v-if="item.file.length>0" :src="item.file&&item.file.length>0?item.file[0].url:''" mode="widthFix">
+										</image>
+										<image v-else :src="config.file&&config.file.length>0?config.file[0].url:''" mode="widthFix">
 										</image>
 										</image>
 										<view class="title"> <!-- 这是没有高度的父盒子(下半部分) -->
 										<view class="title"> <!-- 这是没有高度的父盒子(下半部分) -->
 											<view class="title_1">{{ item.title ||item.name||'暂无'}}</view>
 											<view class="title_1">{{ item.title ||item.name||'暂无'}}</view>
@@ -173,11 +175,11 @@
 					})
 					})
 				}
 				}
 			},
 			},
-			// 取消点赞
+			// 取消收藏
 			async toLike(item) {
 			async toLike(item) {
 				const that = this;
 				const that = this;
 				let res;
 				let res;
-				res = await that.$api(`/like/${item.like}`, 'DELETE', {})
+				res = await that.$api(`/like/${item.collect}`, 'DELETE', {})
 				if (res.errcode == '0') {
 				if (res.errcode == '0') {
 					that.clearPage();
 					that.clearPage();
 					that.search()
 					that.search()

Разлика између датотеке није приказан због своје велике величине
+ 1 - 1
unpackage/dist/dev/.sourcemap/mp-weixin/common/main.js.map


Разлика између датотеке није приказан због своје велике величине
+ 1 - 1
unpackage/dist/dev/.sourcemap/mp-weixin/common/vendor.js.map


Разлика између датотеке није приказан због своје велике величине
+ 1 - 1
unpackage/dist/dev/.sourcemap/mp-weixin/components/swiper/index.js.map


Разлика између датотеке није приказан због своје велике величине
+ 1 - 1
unpackage/dist/dev/.sourcemap/mp-weixin/components/tabs/index.js.map


Разлика између датотеке није приказан због своје велике величине
+ 1 - 1
unpackage/dist/dev/.sourcemap/mp-weixin/components/upload/index.js.map


Разлика између датотеке није приказан због своје велике величине
+ 1 - 1
unpackage/dist/dev/.sourcemap/mp-weixin/pages/customer/common/submit_1.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 - 1
unpackage/dist/dev/.sourcemap/mp-weixin/pagesHome/article/index.js.map


Разлика између датотеке није приказан због своје велике величине
+ 1 - 1
unpackage/dist/dev/.sourcemap/mp-weixin/pagesHome/hotel/detail.js.map


Разлика између датотеке није приказан због своје велике величине
+ 1 - 1
unpackage/dist/dev/.sourcemap/mp-weixin/pagesHome/hotel/index.js.map


Разлика између датотеке није приказан због своје велике величине
+ 1 - 1
unpackage/dist/dev/.sourcemap/mp-weixin/pagesHome/hotel/info.js.map


Разлика између датотеке није приказан због своје велике величине
+ 1 - 1
unpackage/dist/dev/.sourcemap/mp-weixin/pagesHome/info/index.js.map


Разлика између датотеке није приказан због своје велике величине
+ 1 - 1
unpackage/dist/dev/.sourcemap/mp-weixin/pagesHome/news/detail.js.map


Разлика између датотеке није приказан због своје велике величине
+ 1 - 1
unpackage/dist/dev/.sourcemap/mp-weixin/pagesHome/news/index.js.map


Разлика између датотеке није приказан због своје велике величине
+ 1 - 1
unpackage/dist/dev/.sourcemap/mp-weixin/pagesHome/notice/detail.js.map


Разлика између датотеке није приказан због своје велике величине
+ 1 - 1
unpackage/dist/dev/.sourcemap/mp-weixin/pagesHome/notice/index.js.map


Разлика између датотеке није приказан због своје велике величине
+ 1 - 1
unpackage/dist/dev/.sourcemap/mp-weixin/pagesHome/ticket/index.js.map


Разлика између датотеке није приказан због своје велике величине
+ 1 - 1
unpackage/dist/dev/.sourcemap/mp-weixin/pagesHome/ticket/info.js.map


Разлика између датотеке није приказан због своје велике величине
+ 1 - 1
unpackage/dist/dev/.sourcemap/mp-weixin/pagesHome/type/index.js.map


Разлика између датотеке није приказан због своје велике величине
+ 1 - 1
unpackage/dist/dev/.sourcemap/mp-weixin/pagesHome/type/info.js.map


Разлика између датотеке није приказан због своје велике величине
+ 1 - 1
unpackage/dist/dev/.sourcemap/mp-weixin/pagesIndex/collect/index.js.map


Разлика између датотеке није приказан због своје велике величине
+ 1 - 1
unpackage/dist/dev/.sourcemap/mp-weixin/pagesIndex/comment/index.js.map


Разлика између датотеке није приказан због своје велике величине
+ 1 - 1
unpackage/dist/dev/.sourcemap/mp-weixin/pagesIndex/like/index.js.map


Разлика између датотеке није приказан због своје велике величине
+ 1 - 1
unpackage/dist/dev/.sourcemap/mp-weixin/pagesIndex/login/index.js.map


Разлика између датотеке није приказан због своје велике величине
+ 1 - 1
unpackage/dist/dev/.sourcemap/mp-weixin/pagesIndex/order/index.js.map


Разлика између датотеке није приказан због своје велике величине
+ 1 - 1
unpackage/dist/dev/.sourcemap/mp-weixin/pagesMy/account/index.js.map


Разлика између датотеке није приказан због своје велике величине
+ 1 - 1
unpackage/dist/dev/.sourcemap/mp-weixin/pagesMy/article/add.js.map


Разлика између датотеке није приказан због своје велике величине
+ 1 - 1
unpackage/dist/dev/.sourcemap/mp-weixin/pagesMy/article/index.js.map


Разлика између датотеке није приказан због своје велике величине
+ 1 - 1
unpackage/dist/dev/.sourcemap/mp-weixin/pagesMy/coupon/index.js.map


Разлика између датотеке није приказан због своје велике величине
+ 1 - 1
unpackage/dist/dev/.sourcemap/mp-weixin/pagesMy/opinion/index.js.map


Разлика између датотеке није приказан због своје велике величине
+ 1 - 1
unpackage/dist/dev/.sourcemap/mp-weixin/uni_modules/uni-badge/components/uni-badge/uni-badge.js.map


Разлика између датотеке није приказан због своје велике величине
+ 1 - 1
unpackage/dist/dev/.sourcemap/mp-weixin/uni_modules/uni-calendar/components/uni-calendar/uni-calendar-item.js.map


Разлика између датотеке није приказан због своје велике величине
+ 1 - 1
unpackage/dist/dev/.sourcemap/mp-weixin/uni_modules/uni-calendar/components/uni-calendar/uni-calendar.js.map


Разлика између датотеке није приказан због своје велике величине
+ 1 - 1
unpackage/dist/dev/.sourcemap/mp-weixin/uni_modules/uni-collapse/components/uni-collapse-item/uni-collapse-item.js.map


Разлика између датотеке није приказан због своје велике величине
+ 1 - 1
unpackage/dist/dev/.sourcemap/mp-weixin/uni_modules/uni-collapse/components/uni-collapse/uni-collapse.js.map


Разлика између датотеке није приказан због своје велике величине
+ 1 - 1
unpackage/dist/dev/.sourcemap/mp-weixin/uni_modules/uni-data-select/components/uni-data-select/uni-data-select.js.map


Разлика између датотеке није приказан због своје велике величине
+ 1 - 1
unpackage/dist/dev/.sourcemap/mp-weixin/uni_modules/uni-easyinput/components/uni-easyinput/uni-easyinput.js.map


Разлика између датотеке није приказан због своје велике величине
+ 1 - 1
unpackage/dist/dev/.sourcemap/mp-weixin/uni_modules/uni-fav/components/uni-fav/uni-fav.js.map


Разлика између датотеке није приказан због своје велике величине
+ 1 - 1
unpackage/dist/dev/.sourcemap/mp-weixin/uni_modules/uni-forms/components/uni-forms-item/uni-forms-item.js.map


Разлика између датотеке није приказан због своје велике величине
+ 1 - 1
unpackage/dist/dev/.sourcemap/mp-weixin/uni_modules/uni-forms/components/uni-forms/uni-forms.js.map


Разлика између датотеке није приказан због своје велике величине
+ 1 - 1
unpackage/dist/dev/.sourcemap/mp-weixin/uni_modules/uni-icons/components/uni-icons/uni-icons.js.map


Разлика између датотеке није приказан због своје велике величине
+ 1 - 1
unpackage/dist/dev/.sourcemap/mp-weixin/uni_modules/uni-notice-bar/components/uni-notice-bar/uni-notice-bar.js.map


Разлика између датотеке није приказан због своје велике величине
+ 1 - 1
unpackage/dist/dev/.sourcemap/mp-weixin/uni_modules/uni-popup/components/uni-popup/uni-popup.js.map


+ 93 - 136
unpackage/dist/dev/mp-weixin/common/vendor.js

@@ -1557,7 +1557,7 @@ function initData(vueOptions, context) {
     try {
     try {
       data = data.call(context); // 支持 Vue.prototype 上挂的数据
       data = data.call(context); // 支持 Vue.prototype 上挂的数据
     } catch (e) {
     } catch (e) {
-      if (Object({"VUE_APP_DARK_MODE":"false","VUE_APP_NAME":"travel_applet","VUE_APP_PLATFORM":"mp-weixin","NODE_ENV":"development","BASE_URL":"/"}).VUE_APP_DEBUG) {
+      if (Object({"NODE_ENV":"development","VUE_APP_DARK_MODE":"false","VUE_APP_NAME":"travel_applet","VUE_APP_PLATFORM":"mp-weixin","BASE_URL":"/"}).VUE_APP_DEBUG) {
         console.warn('根据 Vue 的 data 函数初始化小程序 data 失败,请尽量确保 data 函数中不访问 vm 对象,否则可能影响首次数据渲染速度。', data);
         console.warn('根据 Vue 的 data 函数初始化小程序 data 失败,请尽量确保 data 函数中不访问 vm 对象,否则可能影响首次数据渲染速度。', data);
       }
       }
     }
     }
@@ -8934,7 +8934,7 @@ function type(obj) {
 
 
 function flushCallbacks$1(vm) {
 function flushCallbacks$1(vm) {
     if (vm.__next_tick_callbacks && vm.__next_tick_callbacks.length) {
     if (vm.__next_tick_callbacks && vm.__next_tick_callbacks.length) {
-        if (Object({"VUE_APP_DARK_MODE":"false","VUE_APP_NAME":"travel_applet","VUE_APP_PLATFORM":"mp-weixin","NODE_ENV":"development","BASE_URL":"/"}).VUE_APP_DEBUG) {
+        if (Object({"NODE_ENV":"development","VUE_APP_DARK_MODE":"false","VUE_APP_NAME":"travel_applet","VUE_APP_PLATFORM":"mp-weixin","BASE_URL":"/"}).VUE_APP_DEBUG) {
             var mpInstance = vm.$scope;
             var mpInstance = vm.$scope;
             console.log('[' + (+new Date) + '][' + (mpInstance.is || mpInstance.route) + '][' + vm._uid +
             console.log('[' + (+new Date) + '][' + (mpInstance.is || mpInstance.route) + '][' + vm._uid +
                 ']:flushCallbacks[' + vm.__next_tick_callbacks.length + ']');
                 ']:flushCallbacks[' + vm.__next_tick_callbacks.length + ']');
@@ -8955,14 +8955,14 @@ function nextTick$1(vm, cb) {
     //1.nextTick 之前 已 setData 且 setData 还未回调完成
     //1.nextTick 之前 已 setData 且 setData 还未回调完成
     //2.nextTick 之前存在 render watcher
     //2.nextTick 之前存在 render watcher
     if (!vm.__next_tick_pending && !hasRenderWatcher(vm)) {
     if (!vm.__next_tick_pending && !hasRenderWatcher(vm)) {
-        if(Object({"VUE_APP_DARK_MODE":"false","VUE_APP_NAME":"travel_applet","VUE_APP_PLATFORM":"mp-weixin","NODE_ENV":"development","BASE_URL":"/"}).VUE_APP_DEBUG){
+        if(Object({"NODE_ENV":"development","VUE_APP_DARK_MODE":"false","VUE_APP_NAME":"travel_applet","VUE_APP_PLATFORM":"mp-weixin","BASE_URL":"/"}).VUE_APP_DEBUG){
             var mpInstance = vm.$scope;
             var mpInstance = vm.$scope;
             console.log('[' + (+new Date) + '][' + (mpInstance.is || mpInstance.route) + '][' + vm._uid +
             console.log('[' + (+new Date) + '][' + (mpInstance.is || mpInstance.route) + '][' + vm._uid +
                 ']:nextVueTick');
                 ']:nextVueTick');
         }
         }
         return nextTick(cb, vm)
         return nextTick(cb, vm)
     }else{
     }else{
-        if(Object({"VUE_APP_DARK_MODE":"false","VUE_APP_NAME":"travel_applet","VUE_APP_PLATFORM":"mp-weixin","NODE_ENV":"development","BASE_URL":"/"}).VUE_APP_DEBUG){
+        if(Object({"NODE_ENV":"development","VUE_APP_DARK_MODE":"false","VUE_APP_NAME":"travel_applet","VUE_APP_PLATFORM":"mp-weixin","BASE_URL":"/"}).VUE_APP_DEBUG){
             var mpInstance$1 = vm.$scope;
             var mpInstance$1 = vm.$scope;
             console.log('[' + (+new Date) + '][' + (mpInstance$1.is || mpInstance$1.route) + '][' + vm._uid +
             console.log('[' + (+new Date) + '][' + (mpInstance$1.is || mpInstance$1.route) + '][' + vm._uid +
                 ']:nextMPTick');
                 ']:nextMPTick');
@@ -9058,7 +9058,7 @@ var patch = function(oldVnode, vnode) {
     });
     });
     var diffData = this.$shouldDiffData === false ? data : diff(data, mpData);
     var diffData = this.$shouldDiffData === false ? data : diff(data, mpData);
     if (Object.keys(diffData).length) {
     if (Object.keys(diffData).length) {
-      if (Object({"VUE_APP_DARK_MODE":"false","VUE_APP_NAME":"travel_applet","VUE_APP_PLATFORM":"mp-weixin","NODE_ENV":"development","BASE_URL":"/"}).VUE_APP_DEBUG) {
+      if (Object({"NODE_ENV":"development","VUE_APP_DARK_MODE":"false","VUE_APP_NAME":"travel_applet","VUE_APP_PLATFORM":"mp-weixin","BASE_URL":"/"}).VUE_APP_DEBUG) {
         console.log('[' + (+new Date) + '][' + (mpInstance.is || mpInstance.route) + '][' + this._uid +
         console.log('[' + (+new Date) + '][' + (mpInstance.is || mpInstance.route) + '][' + this._uid +
           ']差量更新',
           ']差量更新',
           JSON.stringify(diffData));
           JSON.stringify(diffData));
@@ -40662,10 +40662,62 @@ exports.default = _default;
 /* 497 */,
 /* 497 */,
 /* 498 */,
 /* 498 */,
 /* 499 */,
 /* 499 */,
-/* 500 */,
-/* 501 */,
-/* 502 */,
-/* 503 */,
+/* 500 */
+/*!*******************************************************************************************!*\
+  !*** D:/project/神鹿峰旅游/travel_applet/uni_modules/uni-fav/components/uni-fav/i18n/index.js ***!
+  \*******************************************************************************************/
+/*! no static exports found */
+/***/ (function(module, exports, __webpack_require__) {
+
+"use strict";
+
+
+var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ 4);
+Object.defineProperty(exports, "__esModule", {
+  value: true
+});
+exports.default = void 0;
+var _en = _interopRequireDefault(__webpack_require__(/*! ./en.json */ 501));
+var _zhHans = _interopRequireDefault(__webpack_require__(/*! ./zh-Hans.json */ 502));
+var _zhHant = _interopRequireDefault(__webpack_require__(/*! ./zh-Hant.json */ 503));
+var _default = {
+  en: _en.default,
+  'zh-Hans': _zhHans.default,
+  'zh-Hant': _zhHant.default
+};
+exports.default = _default;
+
+/***/ }),
+/* 501 */
+/*!******************************************************************************************!*\
+  !*** D:/project/神鹿峰旅游/travel_applet/uni_modules/uni-fav/components/uni-fav/i18n/en.json ***!
+  \******************************************************************************************/
+/*! exports provided: uni-fav.collect, uni-fav.collected, default */
+/***/ (function(module) {
+
+module.exports = JSON.parse("{\"uni-fav.collect\":\"collect\",\"uni-fav.collected\":\"collected\"}");
+
+/***/ }),
+/* 502 */
+/*!***********************************************************************************************!*\
+  !*** D:/project/神鹿峰旅游/travel_applet/uni_modules/uni-fav/components/uni-fav/i18n/zh-Hans.json ***!
+  \***********************************************************************************************/
+/*! exports provided: uni-fav.collect, uni-fav.collected, default */
+/***/ (function(module) {
+
+module.exports = JSON.parse("{\"uni-fav.collect\":\"收藏\",\"uni-fav.collected\":\"已收藏\"}");
+
+/***/ }),
+/* 503 */
+/*!***********************************************************************************************!*\
+  !*** D:/project/神鹿峰旅游/travel_applet/uni_modules/uni-fav/components/uni-fav/i18n/zh-Hant.json ***!
+  \***********************************************************************************************/
+/*! exports provided: uni-fav.collect, uni-fav.collected, default */
+/***/ (function(module) {
+
+module.exports = JSON.parse("{\"uni-fav.collect\":\"收藏\",\"uni-fav.collected\":\"已收藏\"}");
+
+/***/ }),
 /* 504 */,
 /* 504 */,
 /* 505 */,
 /* 505 */,
 /* 506 */,
 /* 506 */,
@@ -40687,38 +40739,7 @@ exports.default = _default;
 /* 522 */,
 /* 522 */,
 /* 523 */,
 /* 523 */,
 /* 524 */,
 /* 524 */,
-/* 525 */,
-/* 526 */,
-/* 527 */,
-/* 528 */,
-/* 529 */,
-/* 530 */,
-/* 531 */,
-/* 532 */,
-/* 533 */,
-/* 534 */,
-/* 535 */,
-/* 536 */,
-/* 537 */,
-/* 538 */,
-/* 539 */,
-/* 540 */,
-/* 541 */,
-/* 542 */,
-/* 543 */,
-/* 544 */,
-/* 545 */,
-/* 546 */,
-/* 547 */,
-/* 548 */,
-/* 549 */,
-/* 550 */,
-/* 551 */,
-/* 552 */,
-/* 553 */,
-/* 554 */,
-/* 555 */,
-/* 556 */
+/* 525 */
 /*!***********************************************************************************************!*\
 /*!***********************************************************************************************!*\
   !*** D:/project/神鹿峰旅游/travel_applet/uni_modules/uni-calendar/components/uni-calendar/util.js ***!
   !*** D:/project/神鹿峰旅游/travel_applet/uni_modules/uni-calendar/components/uni-calendar/util.js ***!
   \***********************************************************************************************/
   \***********************************************************************************************/
@@ -40736,7 +40757,7 @@ exports.default = void 0;
 var _typeof2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/typeof */ 13));
 var _typeof2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/typeof */ 13));
 var _classCallCheck2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/classCallCheck */ 23));
 var _classCallCheck2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/classCallCheck */ 23));
 var _createClass2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/createClass */ 24));
 var _createClass2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/createClass */ 24));
-var _calendar = _interopRequireDefault(__webpack_require__(/*! ./calendar.js */ 557));
+var _calendar = _interopRequireDefault(__webpack_require__(/*! ./calendar.js */ 526));
 var Calendar = /*#__PURE__*/function () {
 var Calendar = /*#__PURE__*/function () {
   function Calendar() {
   function Calendar() {
     var _ref = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {},
     var _ref = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {},
@@ -41133,7 +41154,7 @@ var _default = Calendar;
 exports.default = _default;
 exports.default = _default;
 
 
 /***/ }),
 /***/ }),
-/* 557 */
+/* 526 */
 /*!***************************************************************************************************!*\
 /*!***************************************************************************************************!*\
   !*** D:/project/神鹿峰旅游/travel_applet/uni_modules/uni-calendar/components/uni-calendar/calendar.js ***!
   !*** D:/project/神鹿峰旅游/travel_applet/uni_modules/uni-calendar/components/uni-calendar/calendar.js ***!
   \***************************************************************************************************/
   \***************************************************************************************************/
@@ -41650,7 +41671,7 @@ var _default = calendar;
 exports.default = _default;
 exports.default = _default;
 
 
 /***/ }),
 /***/ }),
-/* 558 */
+/* 527 */
 /*!*****************************************************************************************************!*\
 /*!*****************************************************************************************************!*\
   !*** D:/project/神鹿峰旅游/travel_applet/uni_modules/uni-calendar/components/uni-calendar/i18n/index.js ***!
   !*** D:/project/神鹿峰旅游/travel_applet/uni_modules/uni-calendar/components/uni-calendar/i18n/index.js ***!
   \*****************************************************************************************************/
   \*****************************************************************************************************/
@@ -41665,9 +41686,9 @@ Object.defineProperty(exports, "__esModule", {
   value: true
   value: true
 });
 });
 exports.default = void 0;
 exports.default = void 0;
-var _en = _interopRequireDefault(__webpack_require__(/*! ./en.json */ 559));
-var _zhHans = _interopRequireDefault(__webpack_require__(/*! ./zh-Hans.json */ 560));
-var _zhHant = _interopRequireDefault(__webpack_require__(/*! ./zh-Hant.json */ 561));
+var _en = _interopRequireDefault(__webpack_require__(/*! ./en.json */ 528));
+var _zhHans = _interopRequireDefault(__webpack_require__(/*! ./zh-Hans.json */ 529));
+var _zhHant = _interopRequireDefault(__webpack_require__(/*! ./zh-Hant.json */ 530));
 var _default = {
 var _default = {
   en: _en.default,
   en: _en.default,
   'zh-Hans': _zhHans.default,
   'zh-Hans': _zhHans.default,
@@ -41676,7 +41697,7 @@ var _default = {
 exports.default = _default;
 exports.default = _default;
 
 
 /***/ }),
 /***/ }),
-/* 559 */
+/* 528 */
 /*!****************************************************************************************************!*\
 /*!****************************************************************************************************!*\
   !*** D:/project/神鹿峰旅游/travel_applet/uni_modules/uni-calendar/components/uni-calendar/i18n/en.json ***!
   !*** D:/project/神鹿峰旅游/travel_applet/uni_modules/uni-calendar/components/uni-calendar/i18n/en.json ***!
   \****************************************************************************************************/
   \****************************************************************************************************/
@@ -41686,7 +41707,7 @@ exports.default = _default;
 module.exports = JSON.parse("{\"uni-calender.ok\":\"ok\",\"uni-calender.cancel\":\"cancel\",\"uni-calender.today\":\"today\",\"uni-calender.MON\":\"MON\",\"uni-calender.TUE\":\"TUE\",\"uni-calender.WED\":\"WED\",\"uni-calender.THU\":\"THU\",\"uni-calender.FRI\":\"FRI\",\"uni-calender.SAT\":\"SAT\",\"uni-calender.SUN\":\"SUN\"}");
 module.exports = JSON.parse("{\"uni-calender.ok\":\"ok\",\"uni-calender.cancel\":\"cancel\",\"uni-calender.today\":\"today\",\"uni-calender.MON\":\"MON\",\"uni-calender.TUE\":\"TUE\",\"uni-calender.WED\":\"WED\",\"uni-calender.THU\":\"THU\",\"uni-calender.FRI\":\"FRI\",\"uni-calender.SAT\":\"SAT\",\"uni-calender.SUN\":\"SUN\"}");
 
 
 /***/ }),
 /***/ }),
-/* 560 */
+/* 529 */
 /*!*********************************************************************************************************!*\
 /*!*********************************************************************************************************!*\
   !*** D:/project/神鹿峰旅游/travel_applet/uni_modules/uni-calendar/components/uni-calendar/i18n/zh-Hans.json ***!
   !*** D:/project/神鹿峰旅游/travel_applet/uni_modules/uni-calendar/components/uni-calendar/i18n/zh-Hans.json ***!
   \*********************************************************************************************************/
   \*********************************************************************************************************/
@@ -41696,7 +41717,7 @@ module.exports = JSON.parse("{\"uni-calender.ok\":\"ok\",\"uni-calender.cancel\"
 module.exports = JSON.parse("{\"uni-calender.ok\":\"确定\",\"uni-calender.cancel\":\"取消\",\"uni-calender.today\":\"今日\",\"uni-calender.SUN\":\"日\",\"uni-calender.MON\":\"一\",\"uni-calender.TUE\":\"二\",\"uni-calender.WED\":\"三\",\"uni-calender.THU\":\"四\",\"uni-calender.FRI\":\"五\",\"uni-calender.SAT\":\"六\"}");
 module.exports = JSON.parse("{\"uni-calender.ok\":\"确定\",\"uni-calender.cancel\":\"取消\",\"uni-calender.today\":\"今日\",\"uni-calender.SUN\":\"日\",\"uni-calender.MON\":\"一\",\"uni-calender.TUE\":\"二\",\"uni-calender.WED\":\"三\",\"uni-calender.THU\":\"四\",\"uni-calender.FRI\":\"五\",\"uni-calender.SAT\":\"六\"}");
 
 
 /***/ }),
 /***/ }),
-/* 561 */
+/* 530 */
 /*!*********************************************************************************************************!*\
 /*!*********************************************************************************************************!*\
   !*** D:/project/神鹿峰旅游/travel_applet/uni_modules/uni-calendar/components/uni-calendar/i18n/zh-Hant.json ***!
   !*** D:/project/神鹿峰旅游/travel_applet/uni_modules/uni-calendar/components/uni-calendar/i18n/zh-Hant.json ***!
   \*********************************************************************************************************/
   \*********************************************************************************************************/
@@ -41706,30 +41727,28 @@ module.exports = JSON.parse("{\"uni-calender.ok\":\"确定\",\"uni-calender.canc
 module.exports = JSON.parse("{\"uni-calender.ok\":\"確定\",\"uni-calender.cancel\":\"取消\",\"uni-calender.today\":\"今日\",\"uni-calender.SUN\":\"日\",\"uni-calender.MON\":\"一\",\"uni-calender.TUE\":\"二\",\"uni-calender.WED\":\"三\",\"uni-calender.THU\":\"四\",\"uni-calender.FRI\":\"五\",\"uni-calender.SAT\":\"六\"}");
 module.exports = JSON.parse("{\"uni-calender.ok\":\"確定\",\"uni-calender.cancel\":\"取消\",\"uni-calender.today\":\"今日\",\"uni-calender.SUN\":\"日\",\"uni-calender.MON\":\"一\",\"uni-calender.TUE\":\"二\",\"uni-calender.WED\":\"三\",\"uni-calender.THU\":\"四\",\"uni-calender.FRI\":\"五\",\"uni-calender.SAT\":\"六\"}");
 
 
 /***/ }),
 /***/ }),
-/* 562 */,
-/* 563 */,
-/* 564 */,
-/* 565 */,
-/* 566 */,
-/* 567 */,
-/* 568 */,
-/* 569 */,
-/* 570 */,
-/* 571 */,
-/* 572 */,
-/* 573 */,
-/* 574 */,
-/* 575 */,
-/* 576 */,
-/* 577 */,
-/* 578 */,
-/* 579 */,
-/* 580 */,
-/* 581 */,
-/* 582 */,
-/* 583 */,
-/* 584 */,
-/* 585 */
+/* 531 */,
+/* 532 */,
+/* 533 */,
+/* 534 */,
+/* 535 */,
+/* 536 */,
+/* 537 */,
+/* 538 */,
+/* 539 */,
+/* 540 */,
+/* 541 */,
+/* 542 */,
+/* 543 */,
+/* 544 */,
+/* 545 */,
+/* 546 */,
+/* 547 */,
+/* 548 */,
+/* 549 */,
+/* 550 */,
+/* 551 */,
+/* 552 */
 /*!**************************************************************************************************************!*\
 /*!**************************************************************************************************************!*\
   !*** D:/project/神鹿峰旅游/travel_applet/uni_modules/uni-transition/components/uni-transition/createAnimation.js ***!
   !*** D:/project/神鹿峰旅游/travel_applet/uni_modules/uni-transition/components/uni-transition/createAnimation.js ***!
   \**************************************************************************************************************/
   \**************************************************************************************************************/
@@ -41862,68 +41881,6 @@ function createAnimation(option, _this) {
 }
 }
 /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"]))
 /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"]))
 
 
-/***/ }),
-/* 586 */,
-/* 587 */,
-/* 588 */,
-/* 589 */,
-/* 590 */,
-/* 591 */,
-/* 592 */
-/*!*******************************************************************************************!*\
-  !*** D:/project/神鹿峰旅游/travel_applet/uni_modules/uni-fav/components/uni-fav/i18n/index.js ***!
-  \*******************************************************************************************/
-/*! no static exports found */
-/***/ (function(module, exports, __webpack_require__) {
-
-"use strict";
-
-
-var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ 4);
-Object.defineProperty(exports, "__esModule", {
-  value: true
-});
-exports.default = void 0;
-var _en = _interopRequireDefault(__webpack_require__(/*! ./en.json */ 593));
-var _zhHans = _interopRequireDefault(__webpack_require__(/*! ./zh-Hans.json */ 594));
-var _zhHant = _interopRequireDefault(__webpack_require__(/*! ./zh-Hant.json */ 595));
-var _default = {
-  en: _en.default,
-  'zh-Hans': _zhHans.default,
-  'zh-Hant': _zhHant.default
-};
-exports.default = _default;
-
-/***/ }),
-/* 593 */
-/*!******************************************************************************************!*\
-  !*** D:/project/神鹿峰旅游/travel_applet/uni_modules/uni-fav/components/uni-fav/i18n/en.json ***!
-  \******************************************************************************************/
-/*! exports provided: uni-fav.collect, uni-fav.collected, default */
-/***/ (function(module) {
-
-module.exports = JSON.parse("{\"uni-fav.collect\":\"collect\",\"uni-fav.collected\":\"collected\"}");
-
-/***/ }),
-/* 594 */
-/*!***********************************************************************************************!*\
-  !*** D:/project/神鹿峰旅游/travel_applet/uni_modules/uni-fav/components/uni-fav/i18n/zh-Hans.json ***!
-  \***********************************************************************************************/
-/*! exports provided: uni-fav.collect, uni-fav.collected, default */
-/***/ (function(module) {
-
-module.exports = JSON.parse("{\"uni-fav.collect\":\"收藏\",\"uni-fav.collected\":\"已收藏\"}");
-
-/***/ }),
-/* 595 */
-/*!***********************************************************************************************!*\
-  !*** D:/project/神鹿峰旅游/travel_applet/uni_modules/uni-fav/components/uni-fav/i18n/zh-Hant.json ***!
-  \***********************************************************************************************/
-/*! exports provided: uni-fav.collect, uni-fav.collected, default */
-/***/ (function(module) {
-
-module.exports = JSON.parse("{\"uni-fav.collect\":\"收藏\",\"uni-fav.collected\":\"已收藏\"}");
-
 /***/ })
 /***/ })
 ]]);
 ]]);
 //# sourceMappingURL=../../.sourcemap/mp-weixin/common/vendor.js.map
 //# sourceMappingURL=../../.sourcemap/mp-weixin/common/vendor.js.map

Разлика између датотеке није приказан због своје велике величине
+ 91 - 53
unpackage/dist/dev/mp-weixin/pages/map/index.js


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

@@ -1 +1 @@
-<view class="main data-v-4219aa94"><map class="map data-v-4219aa94" latitude="{{latitude}}" longitude="{{longitude}}" scale="{{scale}}" markers="{{markers}}" data-event-opts="{{[['callouttap',[['toTap',['$event']]]]]}}" bindcallouttap="__e"></map></view>
+<view class="main data-v-4219aa94"><map class="map data-v-4219aa94" latitude="{{config.latitude}}" longitude="{{config.longitude}}" scale="{{config.scale}}" markers="{{markers}}" data-event-opts="{{[['callouttap',[['toTap',['$event']]]]]}}" bindcallouttap="__e"></map></view>

+ 63 - 27
unpackage/dist/dev/mp-weixin/pagesHome/hotel/index.js

@@ -101,7 +101,7 @@ var components
 try {
 try {
   components = {
   components = {
     uniFav: function () {
     uniFav: function () {
-      return Promise.all(/*! import() | uni_modules/uni-fav/components/uni-fav/uni-fav */[__webpack_require__.e("common/vendor"), __webpack_require__.e("uni_modules/uni-fav/components/uni-fav/uni-fav")]).then(__webpack_require__.bind(null, /*! @/uni_modules/uni-fav/components/uni-fav/uni-fav.vue */ 587))
+      return Promise.all(/*! import() | uni_modules/uni-fav/components/uni-fav/uni-fav */[__webpack_require__.e("common/vendor"), __webpack_require__.e("uni_modules/uni-fav/components/uni-fav/uni-fav")]).then(__webpack_require__.bind(null, /*! @/uni_modules/uni-fav/components/uni-fav/uni-fav.vue */ 495))
     },
     },
   }
   }
 } catch (e) {
 } catch (e) {
@@ -218,9 +218,7 @@ var _default = {
                 title: e && e.title || '分类'
                 title: e && e.title || '分类'
               });
               });
               that.searchConfig();
               that.searchConfig();
-              that.searchToken();
-              that.search();
-            case 6:
+            case 4:
             case "end":
             case "end":
               return _context.stop();
               return _context.stop();
           }
           }
@@ -232,6 +230,34 @@ var _default = {
     }
     }
     return onLoad;
     return onLoad;
   }(),
   }(),
+  onShow: function () {
+    var _onShow = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee2(e) {
+      var that;
+      return _regenerator.default.wrap(function _callee2$(_context2) {
+        while (1) {
+          switch (_context2.prev = _context2.next) {
+            case 0:
+              that = this;
+              _context2.next = 3;
+              return that.searchToken();
+            case 3:
+              _context2.next = 5;
+              return that.clearPage();
+            case 5:
+              _context2.next = 7;
+              return that.search();
+            case 7:
+            case "end":
+              return _context2.stop();
+          }
+        }
+      }, _callee2, this);
+    }));
+    function onShow(_x2) {
+      return _onShow.apply(this, arguments);
+    }
+    return onShow;
+  }(),
   methods: {
   methods: {
     searchToken: function searchToken() {
     searchToken: function searchToken() {
       var that = this;
       var that = this;
@@ -262,11 +288,11 @@ var _default = {
     // 查询
     // 查询
     search: function search() {
     search: function search() {
       var _this = this;
       var _this = this;
-      return (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee2() {
+      return (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee3() {
         var that, info, res, list;
         var that, info, res, list;
-        return _regenerator.default.wrap(function _callee2$(_context2) {
+        return _regenerator.default.wrap(function _callee3$(_context3) {
           while (1) {
           while (1) {
-            switch (_context2.prev = _context2.next) {
+            switch (_context3.prev = _context3.next) {
               case 0:
               case 0:
                 that = _this;
                 that = _this;
                 info = {
                 info = {
@@ -276,10 +302,10 @@ var _default = {
                   status: '1'
                   status: '1'
                 };
                 };
                 if (that.user._id) info.user = that.user._id;
                 if (that.user._id) info.user = that.user._id;
-                _context2.next = 5;
+                _context3.next = 5;
                 return that.$api("/hotel/hotel", 'GET', _objectSpread(_objectSpread({}, info), that.searchInfo));
                 return that.$api("/hotel/hotel", 'GET', _objectSpread(_objectSpread({}, info), that.searchInfo));
               case 5:
               case 5:
-                res = _context2.sent;
+                res = _context3.sent;
                 if (res.errcode == '0') {
                 if (res.errcode == '0') {
                   list = [].concat((0, _toConsumableArray2.default)(that.list), (0, _toConsumableArray2.default)(res.data));
                   list = [].concat((0, _toConsumableArray2.default)(that.list), (0, _toConsumableArray2.default)(res.data));
                   that.$set(that, "list", list);
                   that.$set(that, "list", list);
@@ -291,10 +317,10 @@ var _default = {
                 }
                 }
               case 7:
               case 7:
               case "end":
               case "end":
-                return _context2.stop();
+                return _context3.stop();
             }
             }
           }
           }
-        }, _callee2);
+        }, _callee3);
       }))();
       }))();
     },
     },
     // 输入框
     // 输入框
@@ -313,15 +339,19 @@ var _default = {
     // 收藏
     // 收藏
     onClick: function onClick(item) {
     onClick: function onClick(item) {
       var _this2 = this;
       var _this2 = this;
-      return (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee3() {
+      return (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee4() {
         var that, res, form;
         var that, res, form;
-        return _regenerator.default.wrap(function _callee3$(_context3) {
+        return _regenerator.default.wrap(function _callee4$(_context4) {
           while (1) {
           while (1) {
-            switch (_context3.prev = _context3.next) {
+            switch (_context4.prev = _context4.next) {
               case 0:
               case 0:
                 that = _this2;
                 that = _this2;
+                if (!(that.user && that.user._id)) {
+                  _context4.next = 15;
+                  break;
+                }
                 if (!(item.is_collect == false)) {
                 if (!(item.is_collect == false)) {
-                  _context3.next = 8;
+                  _context4.next = 9;
                   break;
                   break;
                 }
                 }
                 form = {
                 form = {
@@ -331,28 +361,34 @@ var _default = {
                   type: '1',
                   type: '1',
                   create_time: (0, _moment.default)().format('YYYY-MM-DD HH:mm:ss')
                   create_time: (0, _moment.default)().format('YYYY-MM-DD HH:mm:ss')
                 };
                 };
-                _context3.next = 5;
+                _context4.next = 6;
                 return that.$api("/like", 'POST', form);
                 return that.$api("/like", 'POST', form);
-              case 5:
-                res = _context3.sent;
-                _context3.next = 11;
+              case 6:
+                res = _context4.sent;
+                _context4.next = 12;
                 break;
                 break;
-              case 8:
-                _context3.next = 10;
-                return that.$api("/like/".concat(item.like), 'DELETE', {});
-              case 10:
-                res = _context3.sent;
+              case 9:
+                _context4.next = 11;
+                return that.$api("/like/".concat(item.collect), 'DELETE', {});
               case 11:
               case 11:
+                res = _context4.sent;
+              case 12:
                 if (res.errcode == '0') {
                 if (res.errcode == '0') {
                   that.clearPage();
                   that.clearPage();
                   that.search();
                   that.search();
                 }
                 }
-              case 12:
+                _context4.next = 16;
+                break;
+              case 15:
+                uni.navigateTo({
+                  url: "/pagesIndex/login/index"
+                });
+              case 16:
               case "end":
               case "end":
-                return _context3.stop();
+                return _context4.stop();
             }
             }
           }
           }
-        }, _callee3);
+        }, _callee4);
       }))();
       }))();
     },
     },
     // 分页
     // 分页

+ 41 - 28
unpackage/dist/dev/mp-weixin/pagesHome/hotel/info.js

@@ -101,13 +101,13 @@ var components
 try {
 try {
   components = {
   components = {
     uniFav: function () {
     uniFav: function () {
-      return Promise.all(/*! import() | uni_modules/uni-fav/components/uni-fav/uni-fav */[__webpack_require__.e("common/vendor"), __webpack_require__.e("uni_modules/uni-fav/components/uni-fav/uni-fav")]).then(__webpack_require__.bind(null, /*! @/uni_modules/uni-fav/components/uni-fav/uni-fav.vue */ 587))
+      return Promise.all(/*! import() | uni_modules/uni-fav/components/uni-fav/uni-fav */[__webpack_require__.e("common/vendor"), __webpack_require__.e("uni_modules/uni-fav/components/uni-fav/uni-fav")]).then(__webpack_require__.bind(null, /*! @/uni_modules/uni-fav/components/uni-fav/uni-fav.vue */ 495))
     },
     },
     uniCollapse: function () {
     uniCollapse: function () {
-      return __webpack_require__.e(/*! import() | uni_modules/uni-collapse/components/uni-collapse/uni-collapse */ "uni_modules/uni-collapse/components/uni-collapse/uni-collapse").then(__webpack_require__.bind(null, /*! @/uni_modules/uni-collapse/components/uni-collapse/uni-collapse.vue */ 495))
+      return __webpack_require__.e(/*! import() | uni_modules/uni-collapse/components/uni-collapse/uni-collapse */ "uni_modules/uni-collapse/components/uni-collapse/uni-collapse").then(__webpack_require__.bind(null, /*! @/uni_modules/uni-collapse/components/uni-collapse/uni-collapse.vue */ 506))
     },
     },
     uniCollapseItem: function () {
     uniCollapseItem: function () {
-      return __webpack_require__.e(/*! import() | uni_modules/uni-collapse/components/uni-collapse-item/uni-collapse-item */ "uni_modules/uni-collapse/components/uni-collapse-item/uni-collapse-item").then(__webpack_require__.bind(null, /*! @/uni_modules/uni-collapse/components/uni-collapse-item/uni-collapse-item.vue */ 502))
+      return __webpack_require__.e(/*! import() | uni_modules/uni-collapse/components/uni-collapse-item/uni-collapse-item */ "uni_modules/uni-collapse/components/uni-collapse-item/uni-collapse-item").then(__webpack_require__.bind(null, /*! @/uni_modules/uni-collapse/components/uni-collapse-item/uni-collapse-item.vue */ 513))
     },
     },
   }
   }
 } catch (e) {
 } catch (e) {
@@ -231,8 +231,7 @@ var _default = {
               that = this;
               that = this;
               that.$set(that, "id", e && e.id || '');
               that.$set(that, "id", e && e.id || '');
               that.searchConfig();
               that.searchConfig();
-              that.search();
-            case 4:
+            case 3:
             case "end":
             case "end":
               return _context.stop();
               return _context.stop();
           }
           }
@@ -252,8 +251,12 @@ var _default = {
           switch (_context2.prev = _context2.next) {
           switch (_context2.prev = _context2.next) {
             case 0:
             case 0:
               that = this;
               that = this;
-              that.searchToken();
-            case 2:
+              _context2.next = 3;
+              return that.searchToken();
+            case 3:
+              _context2.next = 5;
+              return that.search();
+            case 5:
             case "end":
             case "end":
               return _context2.stop();
               return _context2.stop();
           }
           }
@@ -270,9 +273,7 @@ var _default = {
       var that = this;
       var that = this;
       try {
       try {
         var res = uni.getStorageSync('token');
         var res = uni.getStorageSync('token');
-        if (res) {
-          that.$set(that, "user", res);
-        }
+        if (res) that.$set(that, "user", res);
       } catch (e) {
       } catch (e) {
         uni.showToast({
         uni.showToast({
           title: err.errmsg,
           title: err.errmsg,
@@ -297,19 +298,21 @@ var _default = {
     search: function search() {
     search: function search() {
       var _this = this;
       var _this = this;
       return (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee3() {
       return (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee3() {
-        var that, res, info, room, list;
+        var that, data, res, info, room, list;
         return _regenerator.default.wrap(function _callee3$(_context3) {
         return _regenerator.default.wrap(function _callee3$(_context3) {
           while (1) {
           while (1) {
             switch (_context3.prev = _context3.next) {
             switch (_context3.prev = _context3.next) {
               case 0:
               case 0:
                 that = _this;
                 that = _this;
                 if (!that.id) {
                 if (!that.id) {
-                  _context3.next = 11;
+                  _context3.next = 13;
                   break;
                   break;
                 }
                 }
-                _context3.next = 4;
-                return that.$api("/hotel/".concat(that.id), 'GET', {});
-              case 4:
+                data = {};
+                if (that.user._id) data.user = that.user._id;
+                _context3.next = 6;
+                return that.$api("/hotel/hotel/".concat(that.id), 'GET', data);
+              case 6:
                 res = _context3.sent;
                 res = _context3.sent;
                 if (res.errcode == '0') {
                 if (res.errcode == '0') {
                   that.$set(that, "info", res.data);
                   that.$set(that, "info", res.data);
@@ -324,9 +327,9 @@ var _default = {
                   is_use: '0',
                   is_use: '0',
                   hotel: res.data._id
                   hotel: res.data._id
                 };
                 };
-                _context3.next = 9;
+                _context3.next = 11;
                 return that.$api("/room", 'GET', _objectSpread({}, info));
                 return that.$api("/room", 'GET', _objectSpread({}, info));
-              case 9:
+              case 11:
                 room = _context3.sent;
                 room = _context3.sent;
                 if (room.errcode == '0') {
                 if (room.errcode == '0') {
                   list = [].concat((0, _toConsumableArray2.default)(that.list), (0, _toConsumableArray2.default)(room.data));
                   list = [].concat((0, _toConsumableArray2.default)(that.list), (0, _toConsumableArray2.default)(room.data));
@@ -337,7 +340,7 @@ var _default = {
                     title: room.errmsg
                     title: room.errmsg
                   });
                   });
                 }
                 }
-              case 11:
+              case 13:
               case "end":
               case "end":
                 return _context3.stop();
                 return _context3.stop();
             }
             }
@@ -383,8 +386,12 @@ var _default = {
             switch (_context4.prev = _context4.next) {
             switch (_context4.prev = _context4.next) {
               case 0:
               case 0:
                 that = _this2;
                 that = _this2;
+                if (!(that.user && that.user._id)) {
+                  _context4.next = 15;
+                  break;
+                }
                 if (!(item.is_collect == false)) {
                 if (!(item.is_collect == false)) {
-                  _context4.next = 8;
+                  _context4.next = 9;
                   break;
                   break;
                 }
                 }
                 form = {
                 form = {
@@ -394,20 +401,26 @@ var _default = {
                   type: '1',
                   type: '1',
                   create_time: (0, _moment.default)().format('YYYY-MM-DD HH:mm:ss')
                   create_time: (0, _moment.default)().format('YYYY-MM-DD HH:mm:ss')
                 };
                 };
-                _context4.next = 5;
+                _context4.next = 6;
                 return that.$api("/like", 'POST', form);
                 return that.$api("/like", 'POST', form);
-              case 5:
+              case 6:
                 res = _context4.sent;
                 res = _context4.sent;
-                _context4.next = 11;
+                _context4.next = 12;
                 break;
                 break;
-              case 8:
-                _context4.next = 10;
-                return that.$api("/like/".concat(item.like), 'DELETE', {});
-              case 10:
-                res = _context4.sent;
+              case 9:
+                _context4.next = 11;
+                return that.$api("/like/".concat(item.collect), 'DELETE', {});
               case 11:
               case 11:
-                if (res.errcode == '0') that.search();
+                res = _context4.sent;
               case 12:
               case 12:
+                if (res.errcode == '0') that.search();
+                _context4.next = 16;
+                break;
+              case 15:
+                uni.navigateTo({
+                  url: "/pagesIndex/login/index"
+                });
+              case 16:
               case "end":
               case "end":
                 return _context4.stop();
                 return _context4.stop();
             }
             }

+ 2 - 2
unpackage/dist/dev/mp-weixin/pagesHome/ticket/index.js

@@ -104,10 +104,10 @@ try {
       return Promise.all(/*! import() | uni_modules/uni-icons/components/uni-icons/uni-icons */[__webpack_require__.e("common/vendor"), __webpack_require__.e("uni_modules/uni-icons/components/uni-icons/uni-icons")]).then(__webpack_require__.bind(null, /*! @/uni_modules/uni-icons/components/uni-icons/uni-icons.vue */ 480))
       return Promise.all(/*! import() | uni_modules/uni-icons/components/uni-icons/uni-icons */[__webpack_require__.e("common/vendor"), __webpack_require__.e("uni_modules/uni-icons/components/uni-icons/uni-icons")]).then(__webpack_require__.bind(null, /*! @/uni_modules/uni-icons/components/uni-icons/uni-icons.vue */ 480))
     },
     },
     uniCalendar: function () {
     uniCalendar: function () {
-      return Promise.all(/*! import() | uni_modules/uni-calendar/components/uni-calendar/uni-calendar */[__webpack_require__.e("common/vendor"), __webpack_require__.e("uni_modules/uni-calendar/components/uni-calendar/uni-calendar")]).then(__webpack_require__.bind(null, /*! @/uni_modules/uni-calendar/components/uni-calendar/uni-calendar.vue */ 551))
+      return Promise.all(/*! import() | uni_modules/uni-calendar/components/uni-calendar/uni-calendar */[__webpack_require__.e("common/vendor"), __webpack_require__.e("uni_modules/uni-calendar/components/uni-calendar/uni-calendar")]).then(__webpack_require__.bind(null, /*! @/uni_modules/uni-calendar/components/uni-calendar/uni-calendar.vue */ 520))
     },
     },
     uniPopup: function () {
     uniPopup: function () {
-      return __webpack_require__.e(/*! import() | uni_modules/uni-popup/components/uni-popup/uni-popup */ "uni_modules/uni-popup/components/uni-popup/uni-popup").then(__webpack_require__.bind(null, /*! @/uni_modules/uni-popup/components/uni-popup/uni-popup.vue */ 573))
+      return __webpack_require__.e(/*! import() | uni_modules/uni-popup/components/uni-popup/uni-popup */ "uni_modules/uni-popup/components/uni-popup/uni-popup").then(__webpack_require__.bind(null, /*! @/uni_modules/uni-popup/components/uni-popup/uni-popup.vue */ 533))
     },
     },
   }
   }
 } catch (e) {
 } catch (e) {

+ 32 - 20
unpackage/dist/dev/mp-weixin/pagesHome/ticket/info.js

@@ -101,7 +101,7 @@ var components
 try {
 try {
   components = {
   components = {
     uniFav: function () {
     uniFav: function () {
-      return Promise.all(/*! import() | uni_modules/uni-fav/components/uni-fav/uni-fav */[__webpack_require__.e("common/vendor"), __webpack_require__.e("uni_modules/uni-fav/components/uni-fav/uni-fav")]).then(__webpack_require__.bind(null, /*! @/uni_modules/uni-fav/components/uni-fav/uni-fav.vue */ 587))
+      return Promise.all(/*! import() | uni_modules/uni-fav/components/uni-fav/uni-fav */[__webpack_require__.e("common/vendor"), __webpack_require__.e("uni_modules/uni-fav/components/uni-fav/uni-fav")]).then(__webpack_require__.bind(null, /*! @/uni_modules/uni-fav/components/uni-fav/uni-fav.vue */ 495))
     },
     },
   }
   }
 } catch (e) {
 } catch (e) {
@@ -279,12 +279,7 @@ var _default = {
               that = this;
               that = this;
               that.$set(that, "id", e && e.id || '');
               that.$set(that, "id", e && e.id || '');
               that.searchConfig();
               that.searchConfig();
-              _context.next = 5;
-              return that.searchOther();
-            case 5:
-              _context.next = 7;
-              return that.search();
-            case 7:
+            case 3:
             case "end":
             case "end":
               return _context.stop();
               return _context.stop();
           }
           }
@@ -304,8 +299,15 @@ var _default = {
           switch (_context2.prev = _context2.next) {
           switch (_context2.prev = _context2.next) {
             case 0:
             case 0:
               that = this;
               that = this;
-              that.searchToken();
-            case 2:
+              _context2.next = 3;
+              return that.searchToken();
+            case 3:
+              _context2.next = 5;
+              return that.searchOther();
+            case 5:
+              _context2.next = 7;
+              return that.search();
+            case 7:
             case "end":
             case "end":
               return _context2.stop();
               return _context2.stop();
           }
           }
@@ -362,7 +364,7 @@ var _default = {
                 info = {};
                 info = {};
                 if (that.user._id) info.user = that.user._id;
                 if (that.user._id) info.user = that.user._id;
                 _context3.next = 6;
                 _context3.next = 6;
-                return that.$api("/ticket/ticket".concat(that.id), 'GET', info);
+                return that.$api("/ticket/ticket/".concat(that.id), 'GET', info);
               case 6:
               case 6:
                 res = _context3.sent;
                 res = _context3.sent;
                 if (res.errcode == '0') {
                 if (res.errcode == '0') {
@@ -405,8 +407,12 @@ var _default = {
             switch (_context4.prev = _context4.next) {
             switch (_context4.prev = _context4.next) {
               case 0:
               case 0:
                 that = _this2;
                 that = _this2;
+                if (!(that.user && that.user._id)) {
+                  _context4.next = 15;
+                  break;
+                }
                 if (!(item.is_collect == false)) {
                 if (!(item.is_collect == false)) {
-                  _context4.next = 8;
+                  _context4.next = 9;
                   break;
                   break;
                 }
                 }
                 form = {
                 form = {
@@ -416,20 +422,26 @@ var _default = {
                   type: '1',
                   type: '1',
                   create_time: (0, _moment.default)().format('YYYY-MM-DD HH:mm:ss')
                   create_time: (0, _moment.default)().format('YYYY-MM-DD HH:mm:ss')
                 };
                 };
-                _context4.next = 5;
+                _context4.next = 6;
                 return that.$api("/like", 'POST', form);
                 return that.$api("/like", 'POST', form);
-              case 5:
+              case 6:
                 res = _context4.sent;
                 res = _context4.sent;
-                _context4.next = 11;
+                _context4.next = 12;
                 break;
                 break;
-              case 8:
-                _context4.next = 10;
-                return that.$api("/like/".concat(item.like), 'DELETE', {});
-              case 10:
-                res = _context4.sent;
+              case 9:
+                _context4.next = 11;
+                return that.$api("/like/".concat(item.collect), 'DELETE', {});
               case 11:
               case 11:
-                if (res.errcode == '0') that.search();
+                res = _context4.sent;
               case 12:
               case 12:
+                if (res.errcode == '0') that.search();
+                _context4.next = 16;
+                break;
+              case 15:
+                uni.navigateTo({
+                  url: "/pagesIndex/login/index"
+                });
+              case 16:
               case "end":
               case "end":
                 return _context4.stop();
                 return _context4.stop();
             }
             }

Разлика између датотеке није приказан због своје велике величине
+ 1 - 1
unpackage/dist/dev/mp-weixin/pagesHome/ticket/info.wxml


+ 63 - 27
unpackage/dist/dev/mp-weixin/pagesHome/type/index.js

@@ -101,7 +101,7 @@ var components
 try {
 try {
   components = {
   components = {
     uniFav: function () {
     uniFav: function () {
-      return Promise.all(/*! import() | uni_modules/uni-fav/components/uni-fav/uni-fav */[__webpack_require__.e("common/vendor"), __webpack_require__.e("uni_modules/uni-fav/components/uni-fav/uni-fav")]).then(__webpack_require__.bind(null, /*! @/uni_modules/uni-fav/components/uni-fav/uni-fav.vue */ 587))
+      return Promise.all(/*! import() | uni_modules/uni-fav/components/uni-fav/uni-fav */[__webpack_require__.e("common/vendor"), __webpack_require__.e("uni_modules/uni-fav/components/uni-fav/uni-fav")]).then(__webpack_require__.bind(null, /*! @/uni_modules/uni-fav/components/uni-fav/uni-fav.vue */ 495))
     },
     },
   }
   }
 } catch (e) {
 } catch (e) {
@@ -218,9 +218,7 @@ var _default = {
                 title: e && e.title || '分类'
                 title: e && e.title || '分类'
               });
               });
               that.searchConfig();
               that.searchConfig();
-              that.searchToken();
-              that.search();
-            case 6:
+            case 4:
             case "end":
             case "end":
               return _context.stop();
               return _context.stop();
           }
           }
@@ -232,6 +230,34 @@ var _default = {
     }
     }
     return onLoad;
     return onLoad;
   }(),
   }(),
+  onShow: function () {
+    var _onShow = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee2(e) {
+      var that;
+      return _regenerator.default.wrap(function _callee2$(_context2) {
+        while (1) {
+          switch (_context2.prev = _context2.next) {
+            case 0:
+              that = this;
+              _context2.next = 3;
+              return that.searchToken();
+            case 3:
+              _context2.next = 5;
+              return that.clearPage();
+            case 5:
+              _context2.next = 7;
+              return that.search();
+            case 7:
+            case "end":
+              return _context2.stop();
+          }
+        }
+      }, _callee2, this);
+    }));
+    function onShow(_x2) {
+      return _onShow.apply(this, arguments);
+    }
+    return onShow;
+  }(),
   methods: {
   methods: {
     searchToken: function searchToken() {
     searchToken: function searchToken() {
       var that = this;
       var that = this;
@@ -262,11 +288,11 @@ var _default = {
     // 查询
     // 查询
     search: function search() {
     search: function search() {
       var _this = this;
       var _this = this;
-      return (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee2() {
+      return (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee3() {
         var that, info, res, list;
         var that, info, res, list;
-        return _regenerator.default.wrap(function _callee2$(_context2) {
+        return _regenerator.default.wrap(function _callee3$(_context3) {
           while (1) {
           while (1) {
-            switch (_context2.prev = _context2.next) {
+            switch (_context3.prev = _context3.next) {
               case 0:
               case 0:
                 that = _this;
                 that = _this;
                 info = {
                 info = {
@@ -276,10 +302,10 @@ var _default = {
                   type: that.type
                   type: that.type
                 };
                 };
                 if (that.user._id) info.user = that.user._id;
                 if (that.user._id) info.user = that.user._id;
-                _context2.next = 5;
+                _context3.next = 5;
                 return that.$api("/location/location", 'GET', _objectSpread(_objectSpread({}, info), that.searchInfo));
                 return that.$api("/location/location", 'GET', _objectSpread(_objectSpread({}, info), that.searchInfo));
               case 5:
               case 5:
-                res = _context2.sent;
+                res = _context3.sent;
                 if (res.errcode == '0') {
                 if (res.errcode == '0') {
                   list = [].concat((0, _toConsumableArray2.default)(that.list), (0, _toConsumableArray2.default)(res.data));
                   list = [].concat((0, _toConsumableArray2.default)(that.list), (0, _toConsumableArray2.default)(res.data));
                   that.$set(that, "list", list);
                   that.$set(that, "list", list);
@@ -291,10 +317,10 @@ var _default = {
                 }
                 }
               case 7:
               case 7:
               case "end":
               case "end":
-                return _context2.stop();
+                return _context3.stop();
             }
             }
           }
           }
-        }, _callee2);
+        }, _callee3);
       }))();
       }))();
     },
     },
     // 输入框
     // 输入框
@@ -313,15 +339,19 @@ var _default = {
     // 收藏
     // 收藏
     onClick: function onClick(item) {
     onClick: function onClick(item) {
       var _this2 = this;
       var _this2 = this;
-      return (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee3() {
+      return (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee4() {
         var that, res, form;
         var that, res, form;
-        return _regenerator.default.wrap(function _callee3$(_context3) {
+        return _regenerator.default.wrap(function _callee4$(_context4) {
           while (1) {
           while (1) {
-            switch (_context3.prev = _context3.next) {
+            switch (_context4.prev = _context4.next) {
               case 0:
               case 0:
                 that = _this2;
                 that = _this2;
+                if (!(that.user && that.user._id)) {
+                  _context4.next = 15;
+                  break;
+                }
                 if (!(item.is_collect == false)) {
                 if (!(item.is_collect == false)) {
-                  _context3.next = 8;
+                  _context4.next = 9;
                   break;
                   break;
                 }
                 }
                 form = {
                 form = {
@@ -331,28 +361,34 @@ var _default = {
                   type: '1',
                   type: '1',
                   create_time: (0, _moment.default)().format('YYYY-MM-DD HH:mm:ss')
                   create_time: (0, _moment.default)().format('YYYY-MM-DD HH:mm:ss')
                 };
                 };
-                _context3.next = 5;
+                _context4.next = 6;
                 return that.$api("/like", 'POST', form);
                 return that.$api("/like", 'POST', form);
-              case 5:
-                res = _context3.sent;
-                _context3.next = 11;
+              case 6:
+                res = _context4.sent;
+                _context4.next = 12;
                 break;
                 break;
-              case 8:
-                _context3.next = 10;
-                return that.$api("/like/".concat(item.like), 'DELETE', {});
-              case 10:
-                res = _context3.sent;
+              case 9:
+                _context4.next = 11;
+                return that.$api("/like/".concat(item.collect), 'DELETE', {});
               case 11:
               case 11:
+                res = _context4.sent;
+              case 12:
                 if (res.errcode == '0') {
                 if (res.errcode == '0') {
                   that.clearPage();
                   that.clearPage();
                   that.search();
                   that.search();
                 }
                 }
-              case 12:
+                _context4.next = 16;
+                break;
+              case 15:
+                uni.navigateTo({
+                  url: "/pagesIndex/login/index"
+                });
+              case 16:
               case "end":
               case "end":
-                return _context3.stop();
+                return _context4.stop();
             }
             }
           }
           }
-        }, _callee3);
+        }, _callee4);
       }))();
       }))();
     },
     },
     // 分页
     // 分页

+ 73 - 39
unpackage/dist/dev/mp-weixin/pagesHome/type/info.js

@@ -101,7 +101,7 @@ var components
 try {
 try {
   components = {
   components = {
     uniFav: function () {
     uniFav: function () {
-      return Promise.all(/*! import() | uni_modules/uni-fav/components/uni-fav/uni-fav */[__webpack_require__.e("common/vendor"), __webpack_require__.e("uni_modules/uni-fav/components/uni-fav/uni-fav")]).then(__webpack_require__.bind(null, /*! @/uni_modules/uni-fav/components/uni-fav/uni-fav.vue */ 587))
+      return Promise.all(/*! import() | uni_modules/uni-fav/components/uni-fav/uni-fav */[__webpack_require__.e("common/vendor"), __webpack_require__.e("uni_modules/uni-fav/components/uni-fav/uni-fav")]).then(__webpack_require__.bind(null, /*! @/uni_modules/uni-fav/components/uni-fav/uni-fav.vue */ 495))
     },
     },
   }
   }
 } catch (e) {
 } catch (e) {
@@ -260,9 +260,6 @@ var _default = {
               _context.next = 4;
               _context.next = 4;
               return that.searchOther();
               return that.searchOther();
             case 4:
             case 4:
-              that.searchToken();
-              that.search();
-            case 6:
             case "end":
             case "end":
               return _context.stop();
               return _context.stop();
           }
           }
@@ -274,6 +271,31 @@ var _default = {
     }
     }
     return onLoad;
     return onLoad;
   }(),
   }(),
+  onShow: function () {
+    var _onShow = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee2(e) {
+      var that;
+      return _regenerator.default.wrap(function _callee2$(_context2) {
+        while (1) {
+          switch (_context2.prev = _context2.next) {
+            case 0:
+              that = this;
+              _context2.next = 3;
+              return that.searchToken();
+            case 3:
+              _context2.next = 5;
+              return that.search();
+            case 5:
+            case "end":
+              return _context2.stop();
+          }
+        }
+      }, _callee2, this);
+    }));
+    function onShow(_x2) {
+      return _onShow.apply(this, arguments);
+    }
+    return onShow;
+  }(),
   methods: {
   methods: {
     searchToken: function searchToken() {
     searchToken: function searchToken() {
       var that = this;
       var that = this;
@@ -292,21 +314,23 @@ var _default = {
     },
     },
     search: function search() {
     search: function search() {
       var _this = this;
       var _this = this;
-      return (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee2() {
-        var that, res, type;
-        return _regenerator.default.wrap(function _callee2$(_context2) {
+      return (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee3() {
+        var that, info, res, type;
+        return _regenerator.default.wrap(function _callee3$(_context3) {
           while (1) {
           while (1) {
-            switch (_context2.prev = _context2.next) {
+            switch (_context3.prev = _context3.next) {
               case 0:
               case 0:
                 that = _this;
                 that = _this;
                 if (!that.id) {
                 if (!that.id) {
-                  _context2.next = 6;
+                  _context3.next = 8;
                   break;
                   break;
                 }
                 }
-                _context2.next = 4;
-                return that.$api("/location/".concat(that.id), 'GET', {});
-              case 4:
-                res = _context2.sent;
+                info = {};
+                if (that.user._id) info.user = that.user._id;
+                _context3.next = 6;
+                return that.$api("/location/location/".concat(that.id), 'GET', info);
+              case 6:
+                res = _context3.sent;
                 if (res.errcode == '0') {
                 if (res.errcode == '0') {
                   type = that.typeList.find(function (i) {
                   type = that.typeList.find(function (i) {
                     return i.value == res.data.type;
                     return i.value == res.data.type;
@@ -318,12 +342,12 @@ var _default = {
                     title: res.errmsg
                     title: res.errmsg
                   });
                   });
                 }
                 }
-              case 6:
+              case 8:
               case "end":
               case "end":
-                return _context2.stop();
+                return _context3.stop();
             }
             }
           }
           }
-        }, _callee2);
+        }, _callee3);
       }))();
       }))();
     },
     },
     // 处理富文本
     // 处理富文本
@@ -340,15 +364,19 @@ var _default = {
     // 收藏
     // 收藏
     onClick: function onClick(item) {
     onClick: function onClick(item) {
       var _this2 = this;
       var _this2 = this;
-      return (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee3() {
+      return (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee4() {
         var that, res, form;
         var that, res, form;
-        return _regenerator.default.wrap(function _callee3$(_context3) {
+        return _regenerator.default.wrap(function _callee4$(_context4) {
           while (1) {
           while (1) {
-            switch (_context3.prev = _context3.next) {
+            switch (_context4.prev = _context4.next) {
               case 0:
               case 0:
                 that = _this2;
                 that = _this2;
+                if (!(that.user && that.user._id)) {
+                  _context4.next = 15;
+                  break;
+                }
                 if (!(item.is_collect == false)) {
                 if (!(item.is_collect == false)) {
-                  _context3.next = 8;
+                  _context4.next = 9;
                   break;
                   break;
                 }
                 }
                 form = {
                 form = {
@@ -358,51 +386,57 @@ var _default = {
                   type: '1',
                   type: '1',
                   create_time: (0, _moment.default)().format('YYYY-MM-DD HH:mm:ss')
                   create_time: (0, _moment.default)().format('YYYY-MM-DD HH:mm:ss')
                 };
                 };
-                _context3.next = 5;
+                _context4.next = 6;
                 return that.$api("/like", 'POST', form);
                 return that.$api("/like", 'POST', form);
-              case 5:
-                res = _context3.sent;
-                _context3.next = 11;
+              case 6:
+                res = _context4.sent;
+                _context4.next = 12;
                 break;
                 break;
-              case 8:
-                _context3.next = 10;
-                return that.$api("/like/".concat(item.like), 'DELETE', {});
-              case 10:
-                res = _context3.sent;
+              case 9:
+                _context4.next = 11;
+                return that.$api("/like/".concat(item.collect), 'DELETE', {});
               case 11:
               case 11:
-                if (res.errcode == '0') that.search();
+                res = _context4.sent;
               case 12:
               case 12:
+                if (res.errcode == '0') that.search();
+                _context4.next = 16;
+                break;
+              case 15:
+                uni.navigateTo({
+                  url: "/pagesIndex/login/index"
+                });
+              case 16:
               case "end":
               case "end":
-                return _context3.stop();
+                return _context4.stop();
             }
             }
           }
           }
-        }, _callee3);
+        }, _callee4);
       }))();
       }))();
     },
     },
     // 查询其他信息
     // 查询其他信息
     searchOther: function searchOther() {
     searchOther: function searchOther() {
       var _this3 = this;
       var _this3 = this;
-      return (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee4() {
+      return (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee5() {
         var that, res;
         var that, res;
-        return _regenerator.default.wrap(function _callee4$(_context4) {
+        return _regenerator.default.wrap(function _callee5$(_context5) {
           while (1) {
           while (1) {
-            switch (_context4.prev = _context4.next) {
+            switch (_context5.prev = _context5.next) {
               case 0:
               case 0:
                 that = _this3;
                 that = _this3;
-                _context4.next = 3;
+                _context5.next = 3;
                 return that.$api("/dictData", 'GET', {
                 return that.$api("/dictData", 'GET', {
                   type: 'project_type',
                   type: 'project_type',
                   is_use: '0'
                   is_use: '0'
                 });
                 });
               case 3:
               case 3:
-                res = _context4.sent;
+                res = _context5.sent;
                 if (res.errcode == '0') that.$set(that, "typeList", res.data);
                 if (res.errcode == '0') that.$set(that, "typeList", res.data);
               case 5:
               case 5:
               case "end":
               case "end":
-                return _context4.stop();
+                return _context5.stop();
             }
             }
           }
           }
-        }, _callee4);
+        }, _callee5);
       }))();
       }))();
     }
     }
   }
   }

+ 7 - 3
unpackage/dist/dev/mp-weixin/pagesIndex/collect/index.js

@@ -104,10 +104,14 @@ var render = function () {
   var _c = _vm._self._c || _h
   var _c = _vm._self._c || _h
   var l0 = _vm.__map(_vm.list, function (item, index) {
   var l0 = _vm.__map(_vm.list, function (item, index) {
     var $orig = _vm.__get_orig(item)
     var $orig = _vm.__get_orig(item)
-    var g0 = item.file && item.file.length > 0
+    var g0 = item.file.length
+    var g1 = g0 > 0 ? item.file && item.file.length > 0 : null
+    var g2 = !(g0 > 0) ? _vm.config.file && _vm.config.file.length > 0 : null
     return {
     return {
       $orig: $orig,
       $orig: $orig,
       g0: g0,
       g0: g0,
+      g1: g1,
+      g2: g2,
     }
     }
   })
   })
   _vm.$mp.data = Object.assign(
   _vm.$mp.data = Object.assign(
@@ -372,7 +376,7 @@ var _default = {
         });
         });
       }
       }
     },
     },
-    // 取消点赞
+    // 取消收藏
     toLike: function toLike(item) {
     toLike: function toLike(item) {
       var _this2 = this;
       var _this2 = this;
       return (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee5() {
       return (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee5() {
@@ -383,7 +387,7 @@ var _default = {
               case 0:
               case 0:
                 that = _this2;
                 that = _this2;
                 _context5.next = 3;
                 _context5.next = 3;
-                return that.$api("/like/".concat(item.like), 'DELETE', {});
+                return that.$api("/like/".concat(item.collect), 'DELETE', {});
               case 3:
               case 3:
                 res = _context5.sent;
                 res = _context5.sent;
                 if (res.errcode == '0') {
                 if (res.errcode == '0') {

Разлика између датотеке није приказан због своје велике величине
+ 1 - 1
unpackage/dist/dev/mp-weixin/pagesIndex/collect/index.wxml


Разлика између датотеке није приказан због своје велике величине
+ 15 - 15
unpackage/dist/dev/mp-weixin/uni_modules/uni-calendar/components/uni-calendar/uni-calendar-item.js


Разлика између датотеке није приказан због своје велике величине
+ 17 - 17
unpackage/dist/dev/mp-weixin/uni_modules/uni-calendar/components/uni-calendar/uni-calendar.js


+ 2 - 2
unpackage/dist/dev/mp-weixin/uni_modules/uni-calendar/components/uni-calendar/uni-calendar.json

@@ -1,6 +1,6 @@
 {
 {
+  "component": true,
   "usingComponents": {
   "usingComponents": {
     "calendar-item": "/uni_modules/uni-calendar/components/uni-calendar/uni-calendar-item"
     "calendar-item": "/uni_modules/uni-calendar/components/uni-calendar/uni-calendar-item"
-  },
-  "component": true
+  }
 }
 }

Разлика између датотеке није приказан због своје велике величине
+ 14 - 14
unpackage/dist/dev/mp-weixin/uni_modules/uni-collapse/components/uni-collapse-item/uni-collapse-item.js


Разлика између датотеке није приказан због своје велике величине
+ 14 - 14
unpackage/dist/dev/mp-weixin/uni_modules/uni-collapse/components/uni-collapse/uni-collapse.js


Разлика између датотеке није приказан због своје велике величине
+ 15 - 15
unpackage/dist/dev/mp-weixin/uni_modules/uni-fav/components/uni-fav/uni-fav.js


Разлика између датотеке није приказан због своје велике величине
+ 15 - 15
unpackage/dist/dev/mp-weixin/uni_modules/uni-popup/components/uni-popup/uni-popup.js


Разлика између датотеке није приказан због своје велике величине
+ 11 - 11
unpackage/dist/dev/mp-weixin/uni_modules/uni-transition/components/uni-transition/uni-transition.js