Commit 574a0fd0 authored by rookie0701's avatar rookie0701

feat: fix

parent c1905f8c
...@@ -15,29 +15,31 @@ ...@@ -15,29 +15,31 @@
(点击号码可以删除) (点击号码可以删除)
</span> </span>
</div> </div>
<div <el-scrollbar class="cc-container" :wrap-style="'max-height:700px;'">
v-for="(item, index) in resultList" <div
:key="index" v-for="(item, index) in resultList"
class="listrow" :key="index"
> class="listrow"
<span class="name" :class="{ 'is-empty': item.value && item.value.length === 0 }"> >
{{ item.name }} <span class="name" :class="{ 'is-empty': item.value && item.value.length === 0 }">
</span> {{ item.name }}
<div class="value">
<span v-if="item.value && item.value.length === 0">
暂未抽奖
</span> </span>
<div <div class="value">
class="card" <span v-if="item.value && item.value.length === 0">
v-for="(data, j) in item.value" 暂未抽奖
:key="j" </span>
@click="deleteRes(data.index, item)" <div
> class="card"
{{ data.name || data.index }} v-for="(data, j) in item.value"
<img src="~@/assets/delete-icon.svg" /> :key="j"
@click="deleteRes(data.index, item)"
>
{{ data.name || data.index }}
<img src="~@/assets/delete-icon.svg" />
</div>
</div> </div>
</div> </div>
</div> </el-scrollbar>
</art-dialog> </art-dialog>
</template> </template>
<script> <script>
...@@ -108,9 +110,15 @@ export default { ...@@ -108,9 +110,15 @@ export default {
</script> </script>
<style lang="scss"> <style lang="scss">
.c-Result { .c-Result {
.el-dialog__body { .cc-container {
max-height: 500px; .el-scrollbar__bar.is-horizontal {
overflow-y: auto; display: none;
::-webkit-scrollbar {
background-color: transparent;
display: none;
}
}
} }
.listrow { .listrow {
display: flex; display: flex;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment