评价修复
This commit is contained in:
@@ -1,11 +1,14 @@
|
||||
<template>
|
||||
<section class="AiEvaluation">
|
||||
<AiPagePicker v-if="type=='submit'&&!hasEvaluated" type="custom" :ops="ops" nodeKey="">
|
||||
<div v-if="type=='submit'">
|
||||
<AiPagePicker v-if="!hasEvaluated" type="custom" :ops="ops" nodeKey="">
|
||||
<slot v-if="$slots.default"/>
|
||||
<div v-else v-text="placeholder"/>
|
||||
</AiPagePicker>
|
||||
<div v-if="type=='show'">
|
||||
<slot v-if="$slots.default"/>
|
||||
<slot name="finish" v-else-if="$slots.finish"/>
|
||||
</div>
|
||||
<div v-else-if="type=='show'">
|
||||
<slot v-if="$slots.default" :evaluation="detail"/>
|
||||
<AiGroup description no-border labelColor="#999" v-else>
|
||||
<AiItem label="评级分数">
|
||||
<u-rate v-model="detail.score" disabled inactive-icon="star-fill" active-color="#F8B425"/>
|
||||
@@ -19,7 +22,6 @@
|
||||
</AiItem>
|
||||
</AiGroup>
|
||||
</div>
|
||||
<slot name="finish" v-if="$slots.finish"/>
|
||||
</section>
|
||||
</template>
|
||||
|
||||
|
||||
@@ -114,7 +114,7 @@ export default {
|
||||
return false
|
||||
}
|
||||
|
||||
this.current = this.current + 1
|
||||
this.current += 1
|
||||
} else {
|
||||
uni.hideLoading()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user