Browse Source

看评价

epass
mk 2 months ago
parent
commit
f8bfcb72bf
  1. 9
      pages/index/index.js
  2. 2
      subpages/mine/checkInEvaluate/checkInEvaluate.wxml
  3. 2
      subpages/mine/checkInRecord/checkInRecord.wxml

9
pages/index/index.js

@ -107,8 +107,15 @@ Page({
pageSize: 3 pageSize: 3
} }
getPolicyList(query).then(res => { getPolicyList(query).then(res => {
let policyList = [
{
coverImg:"https://hrss.qingdao.gov.cn/mzjwj/1751954217605_75881750735046145_8829微信图片_20250624111724.jpg"
},{coverImg:"https://hrss.qingdao.gov.cn/mzjwj/1751954194729_86821750650507376_5134微信图片_20250623114826.png"
},
]
this.setData({ this.setData({
policyList:res.data policyList
}) })
}).catch(err => { }).catch(err => {
console.log(err); console.log(err);

2
subpages/mine/checkInEvaluate/checkInEvaluate.wxml

@ -18,7 +18,7 @@
</view> --> </view> -->
<view></view> <view></view>
<van-button round plain size="small" bind:click="toEvaluate" wx:if="{{(item.status === '1' || item.status === '5' ) && item.evaluateLevel === null}}" data-item="{{item}}">去评价</van-button> <van-button round plain size="small" bind:click="toEvaluate" wx:if="{{(item.status === '1' || item.status === '5' ) && item.evaluateLevel === null}}" data-item="{{item}}">去评价</van-button>
<van-rate wx:if="{{item.evaluateLevel}}" value="{{ item.evaluateLevel }}" disabled="{{true}}" size="{{ 25 }}" color="#13c2c2" void-icon="star" void-color="#eee"/> <van-rate wx:if="{{item.evaluateLevel}}" value="{{ item.evaluateLevel }}" readonly size="{{ 25 }}" color="#13c2c2" void-icon="star" void-color="#13c2c2"/>
</view> </view>
</view> </view>

2
subpages/mine/checkInRecord/checkInRecord.wxml

@ -16,7 +16,7 @@
<!-- <van-button round type="info" plain size="small" color="#f0a652" wx:if="{{item.status === '1' && item.paymentStatus === '0'}}">待支付</van-button> --> <!-- <van-button round type="info" plain size="small" color="#f0a652" wx:if="{{item.status === '1' && item.paymentStatus === '0'}}">待支付</van-button> -->
<view></view> <view></view>
<van-button round plain size="small" bind:click="toEvaluate" wx:if="{{(item.status === '1' || item.status === '5' ) && item.evaluateLevel === null}}" data-item="{{item}}">去评价</van-button> <van-button round plain size="small" bind:click="toEvaluate" wx:if="{{(item.status === '1' || item.status === '5' ) && item.evaluateLevel === null}}" data-item="{{item}}">去评价</van-button>
<van-rate wx:if="{{item.evaluateLevel}}" value="{{ item.evaluateLevel }}" disabled="{{true}}" size="{{ 25 }}" color="#13c2c2" void-icon="star" void-color="#eee" bind:change="onChange" /> <van-rate wx:if="{{item.evaluateLevel}}" value="{{ item.evaluateLevel }}" readonly size="{{ 25 }}" color="#13c2c2" void-icon="star" void-color="#eee" bind:change="onChange" />
</view> </view>
</view> </view>

Loading…
Cancel
Save