<template>
	<view class="wishlist_body">
		<view class="status_bar"></view>
		<uni-nav-bar  left-icon="left"  :rightText="isDelete?'Done':'Delete'" title="Favorites" color="#000000" @clickLeft="back" @clickRight="isDelete=!isDelete"/>
		<view class="wishlist">
			<view class="wishlist_item" v-for="(item,index) in 9" :key="index">
				<view class="wishlist_item_img">
					<image src="../../static/img/select.png" mode=""  class="select" v-show="isDelete"></image>
				</view>
				<view class="wishlist_item_bottom">
					<text>US$31234.00</text>
					<image src="../../static/img/like.png" mode="" class="wishlist_item_bottom_icon"></image>
				</view>
			</view>
		</view>
		<view class="wishlist_foot" v-show="isDelete">
			<view class="wishlist_foot_left">
				<image src="../../static/img/select2.png" mode=""></image>
				<text>All</text>
			</view>
			<view class="wishlist_foot_right">
				<button>DELETE</button>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				isDelete:false
			}
		},
		methods:{
			back(){
				uni.navigateBack()
			}
		}
	}
</script>

<style lang="scss" scoped>
	page{
		
	}
	.uni-navbar{
		font-size: 32rpx;
		font-weight: bold;
	}
	.wishlist_item_bottom{
		width: 220rpx;
		box-sizing: border-box;
	}
</style>