Commit 4286343e authored by 罗林杰's avatar 罗林杰

修改图片显示

parent b2e9be9f
<template> <template>
<view> <view>
<z-paging ref="paging" v-model="blackList" @query="getBlackList" :fixed="true" :auto-show-back-to-top="true" :back-to-top-with-animate="false"> <z-paging ref="paging" v-model="dataList" @query="getBlackList" :fixed="true" :auto-show-back-to-top="true" :back-to-top-with-animate="false">
<u-swipe-action> <u-swipe-action>
<u-swipe-action-item <u-swipe-action-item
:options="options" :options="options"
v-for="(item, index) in blackList" v-for="(item, index) in dataList"
:key="index" :key="index"
@click="handleDelete(item.businessId)" @click="handleDelete(item.businessId)"
> >
<view <view
class="swipe-action u-border-top" class="swipe-action u-border-top"
:class="[index === blackList.length - 1 && 'u-border-bottom']" :class="[index === dataList.length - 1 && 'u-border-bottom']"
> >
<view class="swipe-action__content"> <view class="swipe-action__content">
<view class="avatar"> <view class="avatar">
...@@ -46,6 +46,7 @@ export default { ...@@ -46,6 +46,7 @@ export default {
}, },
], ],
blackList: [], blackList: [],
dataList: [],
//图片路径 //图片路径
baseUrl: this.$IMG_URL, baseUrl: this.$IMG_URL,
}; };
......
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