|
@@ -17,18 +17,25 @@
|
|
<view class="newshopDstop">
|
|
<view class="newshopDstop">
|
|
<view class="newshopDname">{{shopInfo.shopName}}</view>
|
|
<view class="newshopDname">{{shopInfo.shopName}}</view>
|
|
|
|
|
|
- <view v-if="(data.isShowScore == 1) || (data.isShowEvaluate == 1)" class="appraiseBox">
|
|
|
|
- <view v-if="data.isShowScore == 1" class="appraise">{{data.shopInfo.miniV2ShopScore?data.shopInfo.miniV2ShopScore:0}}
|
|
|
|
- <span style='font-size: 26rpx; margin-left: 3rpx;'>分</span>
|
|
|
|
- </view>
|
|
|
|
- <view v-if="data.isShowScore == 1" class="line"></view>
|
|
|
|
- <view @click="goShopAppraiseList()" v-if="data.isShowEvaluate == 1" class="appraiseCount">评价数
|
|
|
|
- {{data.evaluateCount?data.evaluateCount:0}}
|
|
|
|
-
|
|
|
|
|
|
+ <view v-if="data.isShowScore == 1 && data.isShowEvaluate == 1" class="appraiseBg">
|
|
|
|
+ <view class="appraiseBox">
|
|
|
|
+ <view v-if="data.isShowScore == 1 && data.shopInfo.miniV2ShopScore" class="appraise">
|
|
|
|
+ {{data.shopInfo.miniV2ShopScore}}
|
|
|
|
+ <span style='font-size: 26rpx; margin-left: 3rpx;'>分</span>
|
|
|
|
+ </view>
|
|
|
|
+ <view v-if="data.isShowScore == 1 && !data.shopInfo.miniV2ShopScore" class="appraise"
|
|
|
|
+ style='font-size: 26rpx;'>暂无评分</span>
|
|
|
|
+ </view>
|
|
|
|
+ <view class="line"></view>
|
|
|
|
+ <view @click="goShopAppraiseList()" v-if="data.isShowEvaluate == 1 && data.evaluateCount"
|
|
|
|
+ class="appraiseCount">评价数
|
|
|
|
+ {{data.evaluateCount}}
|
|
|
|
+ <image class="rightArrow" src="../../static/timg/icon_arrow_right.png" mode=""></image>
|
|
|
|
+ </view>
|
|
|
|
+ <view v-if="data.isShowEvaluate == 1 && !data.evaluateCount"
|
|
|
|
+ class="appraiseCount">暂无评价</view>
|
|
</view>
|
|
</view>
|
|
- <image v-if="data.isShowEvaluate == 1" class="rightArrow" src="../../static/timg/icon_arrow_right.png" mode=""></image>
|
|
|
|
</view>
|
|
</view>
|
|
-
|
|
|
|
<view class="newshopDtime">
|
|
<view class="newshopDtime">
|
|
营业时间: <span>{{shopInfo.startTime}} - {{shopInfo.endTime}}</span>
|
|
营业时间: <span>{{shopInfo.startTime}} - {{shopInfo.endTime}}</span>
|
|
</view>
|
|
</view>
|
|
@@ -76,9 +83,9 @@
|
|
:class="{leftActive:leftIndex==index}">{{item.Name}}</view>
|
|
:class="{leftActive:leftIndex==index}">{{item.Name}}</view>
|
|
</view>
|
|
</view>
|
|
<view class="yuyueRight">
|
|
<view class="yuyueRight">
|
|
- <view class="yuyueRightTitle">{{rightTitle}}</view>
|
|
|
|
|
|
+ <!-- <view class="yuyueRightTitle">{{rightTitle}}</view> -->
|
|
<view v-for="(item,index) in rightData" @click="checkItem(item)"
|
|
<view v-for="(item,index) in rightData" @click="checkItem(item)"
|
|
- style="padding-top: 10rpx;padding-left: 24rpx;padding-right: 24rpx;">
|
|
|
|
|
|
+ style="padding-left: 24rpx;padding-right: 24rpx;">
|
|
<view class="yrTop">
|
|
<view class="yrTop">
|
|
<view class="ItemName">{{item.ItemName}}</view>
|
|
<view class="ItemName">{{item.ItemName}}</view>
|
|
<image src="../../static/timg/ickno.png" v-if="selectedItems.findIndex(i=>i.ID===item.ID)==-1"
|
|
<image src="../../static/timg/ickno.png" v-if="selectedItems.findIndex(i=>i.ID===item.ID)==-1"
|
|
@@ -204,8 +211,9 @@
|
|
shopId: this.naShopId,
|
|
shopId: this.naShopId,
|
|
}, 'GET').then(res => {
|
|
}, 'GET').then(res => {
|
|
this.shopInfo = res.data.shopInfo;
|
|
this.shopInfo = res.data.shopInfo;
|
|
- this.data = res.data;
|
|
|
|
|
|
+ this.data = res.data;
|
|
|
|
|
|
|
|
+
|
|
uni.setStorage({
|
|
uni.setStorage({
|
|
key: 'yyshopInfo',
|
|
key: 'yyshopInfo',
|
|
data: that.shopInfo,
|
|
data: that.shopInfo,
|
|
@@ -213,8 +221,8 @@
|
|
|
|
|
|
}
|
|
}
|
|
});
|
|
});
|
|
-
|
|
|
|
-
|
|
|
|
|
|
+
|
|
|
|
+
|
|
this.listBigTags()
|
|
this.listBigTags()
|
|
})
|
|
})
|
|
},
|
|
},
|
|
@@ -509,15 +517,15 @@
|
|
}
|
|
}
|
|
|
|
|
|
.yuyueleftLine {
|
|
.yuyueleftLine {
|
|
- font-size: 26rpx;
|
|
|
|
|
|
+ font-size: 24rpx;
|
|
padding: 30rpx 24rpx;
|
|
padding: 30rpx 24rpx;
|
|
color: #3C3C3C;
|
|
color: #3C3C3C;
|
|
- font-weight: 400;
|
|
|
|
|
|
+
|
|
}
|
|
}
|
|
|
|
|
|
.leftActive {
|
|
.leftActive {
|
|
background: #FFFFFF;
|
|
background: #FFFFFF;
|
|
- font-weight: 500;
|
|
|
|
|
|
+ font-weight: bold;
|
|
}
|
|
}
|
|
|
|
|
|
.yuyueRightTitle {
|
|
.yuyueRightTitle {
|
|
@@ -530,19 +538,23 @@
|
|
|
|
|
|
.yrTop {
|
|
.yrTop {
|
|
display: flex;
|
|
display: flex;
|
|
- justify-content: space-between;
|
|
|
|
|
|
+ justify-content: space-between;
|
|
|
|
+ align-items: center;
|
|
}
|
|
}
|
|
|
|
|
|
.ItemName {
|
|
.ItemName {
|
|
color: #3C3C3C;
|
|
color: #3C3C3C;
|
|
font-size: 28rpx;
|
|
font-size: 28rpx;
|
|
- width: 480rpx;
|
|
|
|
|
|
+ width: 480rpx;
|
|
|
|
+ font-weight: bold;
|
|
|
|
+ margin-top: 20rpx;
|
|
|
|
+ margin-bottom: 10rpx;
|
|
}
|
|
}
|
|
|
|
|
|
.itemSm {
|
|
.itemSm {
|
|
color: #999999;
|
|
color: #999999;
|
|
line-height: 33rpx;
|
|
line-height: 33rpx;
|
|
- font-size: 24rpx;
|
|
|
|
|
|
+ font-size: 22rpx;
|
|
text-overflow: -o-ellipsis-lastline;
|
|
text-overflow: -o-ellipsis-lastline;
|
|
overflow: hidden;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
text-overflow: ellipsis;
|
|
@@ -725,14 +737,17 @@
|
|
color: #FF3B30;
|
|
color: #FF3B30;
|
|
font-size: 32rpx;
|
|
font-size: 32rpx;
|
|
}
|
|
}
|
|
-
|
|
|
|
|
|
+ .appraiseBg{
|
|
|
|
+ display: flex;
|
|
|
|
+ align-items: center;
|
|
|
|
+ }
|
|
.appraiseBox {
|
|
.appraiseBox {
|
|
- padding: 5rpx 40rpx 5rpx 20rpx;
|
|
|
|
|
|
+ padding: 5rpx 20rpx;
|
|
|
|
+ padding-right: 30rpx;
|
|
margin-top: 10rpx;
|
|
margin-top: 10rpx;
|
|
height: 62rpx;
|
|
height: 62rpx;
|
|
background: rgba(255, 0, 0, 0.08);
|
|
background: rgba(255, 0, 0, 0.08);
|
|
- border-radius: 0 25rpx 70rpx 0;
|
|
|
|
- width: 320rpx;
|
|
|
|
|
|
+ border-radius: 0 15rpx 15rpx 0;
|
|
display: flex;
|
|
display: flex;
|
|
align-items: center;
|
|
align-items: center;
|
|
}
|
|
}
|
|
@@ -767,6 +782,6 @@
|
|
|
|
|
|
width: 7rpx;
|
|
width: 7rpx;
|
|
height: 15rpx;
|
|
height: 15rpx;
|
|
- margin-left: 32rpx;
|
|
|
|
|
|
+ margin-left: 16rpx;
|
|
}
|
|
}
|
|
</style>
|
|
</style>
|