mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-mobile.git
synced 2025-12-09 02:46:46 +08:00
提交修改
This commit is contained in:
@@ -156,7 +156,7 @@
|
||||
<view class="desrow">
|
||||
<view style="display: flex;">
|
||||
<text class="desrow-name">课程评分:</text>
|
||||
<u-rate v-if="scoreInfo.score>0" :count="5" color="#FB7303" :size="16" v-model="scoreInfo.score"></u-rate>
|
||||
<u-rate v-if="scoreInfo.score>0" :count="5" activeColor="#F37101" :size="16" v-model="scoreInfo.score"></u-rate>
|
||||
<text class="score">{{toScore(scoreInfo.score)}}</text>
|
||||
</view>
|
||||
</view>
|
||||
@@ -356,14 +356,23 @@
|
||||
</view>
|
||||
</u-popup>
|
||||
<!-- 评分,赞和踩 -->
|
||||
<u-popup :show="scoreInfo.dlgShow" mode="center" @close="closeScore" @open="openScore">
|
||||
<view style="text-align: center;padding: 50upx 100upx;">
|
||||
<view style="text-align: center;">给课程打分</view>
|
||||
<view style="padding-top: 100upx;display: flex;justify-content: center;">
|
||||
<u-rate :count="5" :size="25" v-model="scoreInfo.score"></u-rate>
|
||||
<u-popup :show="scoreInfo.dlgShow" mode="center" :closeable="false" :closeOnClickOverlay="false" :round="14" @close="closeScore" @open="openScore">
|
||||
<view>
|
||||
<view style="text-align: center;padding: 50upx 100upx 0upx 100upx;">
|
||||
<view style="text-align: center;font-size: 36upx;">课程评价</view>
|
||||
<view style="text-align: center;color: #999999;font-size: 24upx;padding-top: 10upx;">对课程进行评分吧!</view>
|
||||
<view style="padding-top: 40upx;display: flex;justify-content: center;">
|
||||
<u-rate :count="5" :size="35" activeColor="#F37101" v-model="scoreInfo.score"></u-rate>
|
||||
</view>
|
||||
</view>
|
||||
<view style="padding-top: 100upx;height: 100upx;">
|
||||
<u-button type="primary" @click="addScore()" text="提交评分"></u-button>
|
||||
<view style="margin-top: 60upx;height: 100upx;display: flex;justify-content: center;border-top: 1px solid rgba(153,153,153,0.14);">
|
||||
<view style="text-align: center;width: 49%;border-right:1px solid rgba(153,153,153,0.14);line-height: 100upx;">
|
||||
<text @click="closeScore" style="color: #666666;">取消</text>
|
||||
</view>
|
||||
<view style="text-align: center;width: 50%;line-height: 100upx;">
|
||||
<text @click="addScore()" style="color: #387DF7;">提交</text>
|
||||
</view>
|
||||
<!-- <u-button type="primary" @click="addScore()" text="提交评分"></u-button> -->
|
||||
</view>
|
||||
</view>
|
||||
</u-popup>
|
||||
|
||||
Reference in New Issue
Block a user