|
|
@@ -71,14 +71,10 @@
|
|
|
<div class="accounts-list">
|
|
|
退款原因
|
|
|
<div class="accounts-center">
|
|
|
- <div v-if="cause==0">
|
|
|
- <el-button type="primary" size="small" @click="cause=0">质量问题</el-button>
|
|
|
- <el-button @click="cause=1" size="small" style="margin-left:20px;">多开错开</el-button>
|
|
|
- </div>
|
|
|
- <div v-else>
|
|
|
- <el-button @click="cause=0" size="small">质量问题</el-button>
|
|
|
- <el-button type="primary" size="small" @click="cause=1" style="margin-left:20px;">多开错开</el-button>
|
|
|
- </div>
|
|
|
+ <el-button size="small" @click="cause=0" :class="[cause == 0 ? 'active-button' : '']">质量问题</el-button>
|
|
|
+ <el-button @click="cause=1" size="small" style="margin-left:20px;" :class="[cause == 1 ? 'active-button' : '']">多开错开</el-button>
|
|
|
+ <el-button @click="cause=2" size="small" style="margin-left:20px;" :class="[cause == 2 ? 'active-button' : '']">打包原因</el-button>
|
|
|
+ <el-button @click="cause=3" size="small" style="margin-left:20px;" :class="[cause == 3 ? 'active-button' : '']">物流原因</el-button>
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
@@ -309,6 +305,11 @@ export default {
|
|
|
}
|
|
|
</style>
|
|
|
<style lang="scss" scoped>
|
|
|
+.active-button{
|
|
|
+ color: #FFF;
|
|
|
+ background-color: #409EFF;
|
|
|
+ border-color: #409EFF;
|
|
|
+}
|
|
|
.order-draw-wrap {
|
|
|
.title-status-wrap {
|
|
|
@include disFlex(center, flex-start);
|