wlcb-miniapp-syzl/pages/evaluate/evaluate.wxml

27 lines
2.0 KiB
Plaintext
Raw Normal View History

2022-08-19 14:28:03 +08:00
<view class="main">
<view class="evaluate">
<view class="evaluate-title">评价</view>
<view class="evaluate-text">
<textarea placeholder="请输入评价内容" bindinput="editEvaluate"></textarea>
</view>
<view class="evaluate-star-box">
处理效率:
<view class="star iconfont icon-star-fill {{handleScore >= 1 ? 'active': ''}}" data-score="1" data-type="handle" bindtap="evaluateScore"></view>
<view class="star iconfont icon-star-fill {{handleScore >= 2 ? 'active': ''}}" data-score="2" data-type="handle" bindtap="evaluateScore"></view>
<view class="star iconfont icon-star-fill {{handleScore >= 3 ? 'active': ''}}" data-score="3" data-type="handle" bindtap="evaluateScore"></view>
<view class="star iconfont icon-star-fill {{handleScore >= 4 ? 'active': ''}}" data-score="4" data-type="handle" bindtap="evaluateScore"></view>
<view class="star iconfont icon-star-fill {{handleScore >= 5 ? 'active': ''}}" data-score="5" data-type="handle" bindtap="evaluateScore"></view>
</view>
<view class="evaluate-star-box">
处理结果:
<view class="star iconfont icon-star-fill {{resultScore >= 1 ? 'active': ''}}" data-score="1" data-type="result" bindtap="evaluateScore"></view>
<view class="star iconfont icon-star-fill {{resultScore >= 2 ? 'active': ''}}" data-score="2" data-type="result" bindtap="evaluateScore"></view>
<view class="star iconfont icon-star-fill {{resultScore >= 3 ? 'active': ''}}" data-score="3" data-type="result" bindtap="evaluateScore"></view>
<view class="star iconfont icon-star-fill {{resultScore >= 4 ? 'active': ''}}" data-score="4" data-type="result" bindtap="evaluateScore"></view>
<view class="star iconfont icon-star-fill {{resultScore >= 5 ? 'active': ''}}" data-score="5" data-type="result" bindtap="evaluateScore"></view>
</view>
</view>
</view>
<view class="submit">
<view class="submit-btn" bindtap="submitEvaluate">提交评价</view>
</view>