Prechádzať zdrojové kódy

项目日志:12.14 合并

gubai 2 rokov pred
rodič
commit
2ce03f3f71
2 zmenil súbory, kde vykonal 3 pridanie a 13 odobranie
  1. 1 1
      manifest.json
  2. 2 12
      pages/index/index.vue

+ 1 - 1
manifest.json

xqd
@@ -1,6 +1,6 @@
 {
     "name" : "hotel_uni",
-    "appid" : "__UNI__9140D70",
+    "appid" : "__UNI__807A871",
     "description" : "",
     "versionName" : "1.0.0",
     "versionCode" : "100",

+ 2 - 12
pages/index/index.vue

xqd xqd xqd
@@ -107,15 +107,7 @@
 		<!-- 酒店推荐图片 -->
 		<view class="home-hotel-img">
 			<view class="home-hotel-img-content">
-				<!-- <view @click="produceDetail(item.id)" class="home-hotel-img-content-item" v-for="(item,index) in goodsList" :key="index"
-					:style="{marginTop:item.marginTop || 0 }">
-					<image class="home-hotel-img-content-item-img"
-						:class="item.short?'home-hotel-img-content-item-img': 'home-hotel-img-content-item-img-long' "
-						:src="item.cover_img" mode=""></image>
-					<view class="text">
-						<text class="text-top">{{item.name}}</text>
-				</view> -->
-				<view  class="home-hotel-img-content-item" v-for="(item,index) in goodsList" :key="index"
+				<view @click="produceDetail(item.id)" class="home-hotel-img-content-item" v-for="(item,index) in goodsList" :key="index"
 					:style="{marginTop:item.marginTop || 0 }">
 					<image class="home-hotel-img-content-item-img"
 						:class="item.short?'home-hotel-img-content-item-img': 'home-hotel-img-content-item-img-long' "
@@ -165,7 +157,6 @@
 					<image style="width: 20rpx; height: 20rpx; " src="/static/icon/clean.png" mode="">
 				</view>
 			</view>
-
 		</uni-popup>
 		<view style="height:168rpx; background-color: #f9f9f9; "></view>
 		<tab-bar></tab-bar>
@@ -292,8 +283,7 @@
 			this.admin = this.$store.getters.userInfo
 		},
 		onLoad() {
-
-			// this.getGoodsList()
+			this.getGoodsList()
 			this.getAllSet()
 		},
 		methods: {