易建军 1 day ago
parent
commit
f46642f2ed
2 changed files with 9 additions and 9 deletions
  1. 1 1
      mer_uniapp/mixins/tags.js
  2. 8 8
      mer_uniapp/pages/index/index.vue

+ 1 - 1
mer_uniapp/mixins/tags.js

@@ -25,7 +25,7 @@ export default {
 		};
 	},
 	onLoad() {
-		//this.getMeasures()
+		this.getMeasures()
 	},
 	methods: {
 		getTag(){

+ 8 - 8
mer_uniapp/pages/index/index.vue

@@ -13,7 +13,7 @@
 				<text class="bar-position">{{userAddress}}</text>
 			</view>
 
-			<view class="bar-center">校园外卖</view>
+			<view class="bar-center">校园服务平台</view>
 
 			<view style="flex: 1;">
 				<image @click="goSearch" src="/static/img/ic-search.png"></image>
@@ -283,13 +283,13 @@
 					this.messageList = res.data.headline;
 					this.cateList = res.data.navigatList;
 					this.cateId = res.data.cateId
-					this.cateList.push({
-						id: 999999,
-						name: '今日吃啥',
-						imageUrl: '/static/img/ic-random.png',
-						color: '#FF9805',
-						linkUrl: '/pages/what_to_eat_today/index/index?id=1'
-					});
+					// this.cateList.push({
+					// 	id: 999999,
+					// 	name: '今日吃啥',
+					// 	imageUrl: '/static/img/ic-random.png',
+					// 	color: '#FF9805',
+					// 	linkUrl: '/pages/what_to_eat_today/index/index?id=1'
+					// });
 					this.loading = true;
 					getMerchantList({
 						latitude: uni.getStorageSync('user_latitude'),