Commit a999f76a by 杨明

fixed

1 parent 3c3fdbd9
...@@ -1655,7 +1655,7 @@ export default { ...@@ -1655,7 +1655,7 @@ export default {
this.handleMusicChange(this.musicList.length - 1) this.handleMusicChange(this.musicList.length - 1)
} }
} }
info.couponList.forEach(item => { this.editForm.couponList.forEach(item => {
item.id = item.couponId item.id = item.couponId
item.anticipatedCost = item.couponAnticipatedCost item.anticipatedCost = item.couponAnticipatedCost
}) })
......
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
<el-button :size="size" type="primary" @click="handleEdit('add')" v-if="loginpath">创建活动链接</el-button> <el-button :size="size" type="primary" @click="handleEdit('add')" v-if="loginpath">创建活动链接</el-button>
</div> </div>
<GLTable ref="classifyRef" :getListApi="getListApi" :hasNum="false" :noDataImg="url" :searchForm="tableSearchForm" :tableParams="tableParams" :pageConf="pageConf" :beforeSearchFn="beforeSearchFn" @setTableFinishFun="setTableFinishFun"> <GLTable ref="classifyRef" :getListApi="getListApi" :hasNum="false" :noDataImg="url" :searchForm="tableSearchForm" :tableParams="tableParams" :pageConf="pageConf" :beforeSearchFn="beforeSearchFn" @setTableFinishFun="setTableFinishFun">
<div slot="giftInfo" slot-scope="scope"> <div class="sub-tabel" slot="giftInfo" slot-scope="scope">
<div class="gift-detail flex-wrap"> <div class="gift-detail flex-wrap">
<div class="gift-item" v-for="(item, index) in scope.scope.couponList" :key="index"> <div class="gift-item" v-for="(item, index) in scope.scope.couponList" :key="index">
<img :src="require(`@/assets/coupon/icon-${attrToIcon[item.discountType]}.png`)" /> <img :src="require(`@/assets/coupon/icon-${attrToIcon[item.discountType]}.png`)" />
...@@ -478,6 +478,50 @@ export default { ...@@ -478,6 +478,50 @@ export default {
} }
</script> </script>
<style lang="scss" scoped> <style lang="scss" scoped>
.link-main {
/deep/ {
.expanded {
& + tr:hover td {
background: none !important;
}
}
.el-table__expand-icon {
width: 14px;
height: 14px;
background: rgba(88, 80, 255, 0.3);
border-radius: 2px;
position: relative;
&.el-table__expand-icon--expanded {
transform: rotate(0deg);
}
&::after {
top: -2px;
left: 0px;
content: '+';
position: absolute;
color: #5850ff;
width: 14px;
height: 14px;
font-size: 14px;
}
i {
display: none;
}
&.el-table__expand-icon--expanded {
&::after {
top: -2px;
left: 0px;
content: '-';
position: absolute;
color: #5850ff;
width: 14px;
height: 14px;
font-size: 14px;
}
}
}
}
}
.live-table-header { .live-table-header {
display: flex; display: flex;
justify-content: space-between; justify-content: space-between;
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!