Commit 36783d93 authored by youjie's avatar youjie

no message

parent d7ec9568
...@@ -2,10 +2,10 @@ ...@@ -2,10 +2,10 @@
<view class="setComments-box"> <view class="setComments-box">
<view class="setComments-add"> <view class="setComments-add">
<van-icon name="plus" /><text>创建评价</text> </view> <van-icon name="plus" /><text>创建评价</text> </view>
<view class="index-student-information" v-if="dataList.length>0"> <view class="index-student-information">
<view class="setComments-content-box"> <view class="setComments-content-box" v-if="dataList.length>0">
<template v-for="(item,index) in dataList"> <template v-for="(item,index) in dataList">
<view class="setComments-content"> <view class="setComments-content" @click="goComment(item)">
<view class="center-line"></view> <view class="center-line"></view>
<view class="setComments-title flex"> <view class="setComments-title flex">
<text class="setComments-title-left">{{item.Times}}次评价</text> <text class="setComments-title-left">{{item.Times}}次评价</text>
...@@ -31,7 +31,7 @@ ...@@ -31,7 +31,7 @@
</view> </view>
</template> </template>
</view> </view>
<view class="noData" v-esle> <view class="noData" v-else>
<image src="https://viitto-1301420277.cos.ap-chengdu.myqcloud.com/Test/Upload/Goods/1653902791000_806.png" mode="widthFix"></image> <image src="https://viitto-1301420277.cos.ap-chengdu.myqcloud.com/Test/Upload/Goods/1653902791000_806.png" mode="widthFix"></image>
<view>暂无评价规则数据</view> <view>暂无评价规则数据</view>
</view> </view>
...@@ -80,6 +80,11 @@ ...@@ -80,6 +80,11 @@
delta: 1 delta: 1
}) })
}, },
goComment(item){
uni.navigateTo({
url: '/pages/setComments/commentDetails'
})
},
clickOptionsShow(item) { clickOptionsShow(item) {
item.optionsShow = !item.optionsShow; item.optionsShow = !item.optionsShow;
}, },
...@@ -237,6 +242,7 @@ ...@@ -237,6 +242,7 @@
padding: 21rpx 27rpx 0 22rpx; padding: 21rpx 27rpx 0 22rpx;
box-shadow: 0rpx 6rpx 29rpx 0rpx rgba(76, 76, 76, 0.09); box-shadow: 0rpx 6rpx 29rpx 0rpx rgba(76, 76, 76, 0.09);
border-radius: 30rpx; border-radius: 30rpx;
margin-bottom: 40rpx;
} }
.setComments-content-box{ .setComments-content-box{
padding: 0 50rpx; padding: 0 50rpx;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment