machinecat520 1 tahun lalu
induk
melakukan
ce33c7d15e

+ 1 - 1
pages/mainIntro/mainIntro.wxml

@@ -14,7 +14,7 @@
     </view>
     </view>
     <!-- 景区介绍的正文 -->
     <!-- 景区介绍的正文 -->
     <view>
     <view>
-        <view wx:if="{{intro == ''}}" class="noInto">
+        <view wx:if="{{intro.describes == ''}}" class="noInto">
             <text>暂无介绍内容</text>
             <text>暂无介绍内容</text>
         </view>
         </view>
         <view wx:else class="textContainer">
         <view wx:else class="textContainer">

+ 1 - 0
pages/recommendFood/recommendFood.wxss

@@ -30,6 +30,7 @@
 .foodImg{
 .foodImg{
    height: 400rpx;
    height: 400rpx;
    width: 100%;
    width: 100%;
+   border-radius: 20rpx;
    border-top-left-radius: 20rpx;
    border-top-left-radius: 20rpx;
    border-top-right-radius: 20rpx;
    border-top-right-radius: 20rpx;
 }
 }

+ 1 - 0
pages/scenicList/scenicList.wxss

@@ -10,6 +10,7 @@
     display: flex;
     display: flex;
     padding: 0 20rpx;
     padding: 0 20rpx;
     margin-top: 20rpx;
     margin-top: 20rpx;
+    height: 280rpx;
 }
 }
 
 
 /* 景点介绍 */
 /* 景点介绍 */

+ 1 - 1
pages/secondIntro/secondIntro.wxml

@@ -14,7 +14,7 @@
         </view>
         </view>
     </view>
     </view>
     <!-- 景区介绍的正文 -->
     <!-- 景区介绍的正文 -->
-    <view wx:if="{{textIntro == ''}}" class="noSecondIntro">
+    <view wx:if="{{textIntro.describes == ''}}" class="noSecondIntro">
         <text>暂无介绍内容</text>
         <text>暂无介绍内容</text>
     </view>
     </view>
     <view wx:else class="textContainer">
     <view wx:else class="textContainer">

+ 1 - 1
utils/config.js

@@ -1,4 +1,4 @@
 //配置服务器相关信息
 //配置服务器相关信息
 export default{
 export default{
-    host:'http://192.168.0.184:9090'
+    host:'https://njlbackground.mynatapp.cc'
 }
 }

+ 1 - 1
utils/request.js

@@ -7,7 +7,7 @@ export default (url, data = {}, method = 'GET') => {
             data,
             data,
             method,
             method,
             success(res) {
             success(res) {
-                // console.log("请求成功:", res);
+                console.log("请求成功:", res);
                 resolve(res.data)
                 resolve(res.data)
             },
             },
             fail(err) {
             fail(err) {