@@ -14,7 +14,7 @@
</view>
<!-- 景区介绍的正文 -->
<view>
- <view wx:if="{{intro == ''}}" class="noInto">
+ <view wx:if="{{intro.describes == ''}}" class="noInto">
<text>暂无介绍内容</text>
<view wx:else class="textContainer">
@@ -30,6 +30,7 @@
.foodImg{
height: 400rpx;
width: 100%;
+ border-radius: 20rpx;
border-top-left-radius: 20rpx;
border-top-right-radius: 20rpx;
}
@@ -10,6 +10,7 @@
display: flex;
padding: 0 20rpx;
margin-top: 20rpx;
+ height: 280rpx;
/* 景点介绍 */
- <view wx:if="{{textIntro == ''}}" class="noSecondIntro">
+ <view wx:if="{{textIntro.describes == ''}}" class="noSecondIntro">
@@ -1,4 +1,4 @@
//配置服务器相关信息
export default{
- host:'http://192.168.0.184:9090'
+ host:'https://njlbackground.mynatapp.cc'
@@ -7,7 +7,7 @@ export default (url, data = {}, method = 'GET') => {
data,
method,
success(res) {
- // console.log("请求成功:", res);
+ console.log("请求成功:", res);
resolve(res.data)
},
fail(err) {