<template>
	<view class="container my-collect-container">
		<CustomNavbar
			title="我的收藏"
			type="center"
			:isLeft="true"
			@handleLeft="handleLeft"
			bgColor="#fff"
		/>
		<!-- 内容区域 -->
		<view class="content pd-12">
			<view class="item">
				<view class="left">
					<text class="headline">标题</text>
					<text class="text">来自</text>
				</view>
				<view class="right">
					<image
						class=""
						src="https://q5.itc.cn/q_70/images03/20240810/c1e39030215d47a6b7c23f58992950ee.jpeg"
						mode="aspectFit|aspectFill|widthFix"
						lazy-load="false"
						binderror=""
						bindload=""
					/>
					<view class="right-bottom"
						><CustomIcon iconName="shoucang" color="#848D99" size="34rpx" />
						取消收藏</view
					>
				</view>
			</view>
		</view>
		<CustomLoadMore status="nomore" />
	</view>
</template>

<script lang="ts" setup>
import { ref, inject } from "vue";
import userApi from "@/api/user";

//显示提示
const $showToast: any = inject("$showToast");


//页面数据
const dateList = ref([
	{
		allocateTime: "2024-08-12T03:39:02.712Z",
		companyId: 0,
		createBy: "",
		delFlag: 0,
		firstLogin: 0,
		id: 0,
		loginDate: "2024-08-12T03:39:02.712Z",
		loginIp: "",
		openId: "",
		password: "",
		phone: "",
		realName: "",
		remark: "",
		roleId: 0,
		status: 0,
		updateBy: "",
		userImg: "",
		userName: "",
		userType: "",
	},
]);

/**
 * 返回上一页面
 */
const handleLeft = () => {
	uni.navigateBack({ delta: 1 });
};

/**
 * 跳转指定页面
 */
const toPage = (url: string) => {
	uni.navigateTo({ url });
};
</script>

<style lang="scss">
@import "./index.scss";
page {
	background-color: #f5f7fa;
}
</style>
