xjc 4 years ago
parent
commit
e96f45c04c
2 changed files with 2 additions and 3 deletions
  1. 1 2
      app.json
  2. 1 1
      pages/hotel/hotel.wxml

+ 1 - 2
app.json

@@ -1,6 +1,6 @@
 {
   "pages": [
-    
+    "pages/index/index",
     "pages/order/order",
     "pages/mine/mine",
     "pages/eventDetail/eventDetail",
@@ -12,7 +12,6 @@
     "pages/learning/learning",
     "pages/conference/conference",  
     
-    "pages/index/index",
     "pages/collect/collect",
     "pages/search/search",
     "pages/knowledge/knowledge",   

+ 1 - 1
pages/hotel/hotel.wxml

@@ -8,7 +8,7 @@
 
 <view class="content">
     <view class="list" wx:for='{{info.rooms}}'>
-        <image src="{{item.imgs}}"></image>
+        <image src="{{item.img}}"></image>
         <view>
             <view class="title">{{item.name}}</view>
             <text style="color:#999;">{{item.room_area}}m²   {{item.food_condition}}   {{item.floor}}层   {{item.enable_number}}人入住    </text>