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