feige996 3c09e54b9a refactor: 移除用户相关页面和组件并更新UI组件库
- 删除所有用户相关的页面(登录、个人中心、修改密码等)
- 移除隐私协议弹窗组件及相关样式
- 将wd-button组件替换为sar-button组件
- 更新页面配置和路由,移除用户相关路由
- 修改首页显示的分支名称
```

这个提交消息简明扼要地概括了主要变更:
1. 类型使用refactor表示这是代码重构
2. 描述了主要的变更内容:
   - 移除了用户相关功能
   - 更新了UI组件库
   - 修改了配置和路由
3. 保持了简洁的格式,符合提交消息规范
2025-06-03 13:26:20 +08:00

31 lines
731 B
Vue
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<route lang="json5" type="page">
{
layout: 'default',
style: {
navigationBarTitleText: '上传-状态一体化',
},
}
</route>
<template>
<view class="p-4 text-center">
<sar-button @click="run">选择图片并上传</sar-button>
<view v-if="loading" class="text-blue h-10">上传...</view>
<template v-else>
<view class="m-2">上传后返回的接口数据</view>
<view class="m-2">{{ data }}</view>
<view class="h-80 w-full">
<image v-if="data" :src="data || data" mode="scaleToFill" />
</view>
</template>
</view>
</template>
<script lang="ts" setup>
const { loading, data, run } = useUpload({ user: '菲鸽' })
</script>
<style lang="scss" scoped>
//
</style>