xiamen-sb-uniapp

408249787@qq.com 82315a14e1 refactor(upload): 优化图片上传组件数据同步和展示 1 일 전
.hbuilderx 5341477863 1 1 일 전
api f59ffac5a2 · 2 일 전
components 82315a14e1 refactor(upload): 优化图片上传组件数据同步和展示 1 일 전
constant c50546ff45 init: xiamen-uniapp 3 주 전
pages 82315a14e1 refactor(upload): 优化图片上传组件数据同步和展示 1 일 전
static c50546ff45 init: xiamen-uniapp 3 주 전
store c50546ff45 init: xiamen-uniapp 3 주 전
uni_modules c50546ff45 init: xiamen-uniapp 3 주 전
utils ad048eb8c4 更新移动端域名 2 주 전
uview-ui c50546ff45 init: xiamen-uniapp 3 주 전
.editorconfig c50546ff45 init: xiamen-uniapp 3 주 전
.eslintignore c50546ff45 init: xiamen-uniapp 3 주 전
.eslintrc.js c50546ff45 init: xiamen-uniapp 3 주 전
.gitignore c50546ff45 init: xiamen-uniapp 3 주 전
App.vue c50546ff45 init: xiamen-uniapp 3 주 전
alias.config.js c50546ff45 init: xiamen-uniapp 3 주 전
main.js c50546ff45 init: xiamen-uniapp 3 주 전
manifest.json ad048eb8c4 更新移动端域名 2 주 전
package.json c50546ff45 init: xiamen-uniapp 3 주 전
pages.json f59ffac5a2 · 2 일 전
readme.md c50546ff45 init: xiamen-uniapp 3 주 전
uni.scss c50546ff45 init: xiamen-uniapp 3 주 전

readme.md

加载更多配合滑动删除

:key="item.id" 必须唯一 不可使用 index
<template v-if="listData.length > 0">
	<u-swipe-action :show="item.show" @content-click='handleDetail' :index="index" v-for="(item, index) in listData" :key="item.id"
	 @click="handleDel" @open="open" :options="options">
		<view class="mx3 my2 p3 bg-color-white" style="border-radius: 16rpx">
			<view class="d-flex j-between">
				<view class="f-size-32 f-weight-bold text-color-3">订单结算</view>
				<view class="f-size-26 text-color-b">2020-10-26</view>
			</view>
			<view class="f-size-28 text-color-3 f-weight-4 mt-2">您的订单结算成功</view>
		</view>
	</u-swipe-action>
	<view class="py3">
		<u-loadmore :status="status" />
	</view>
</template>
// 给数组数据增加一个属性 show 默认为 false
data.forEach(item => {
	item.show = false
})