refactor: 更新项目图标和配置并优化界面布局
- 将favicon从png格式替换为ico格式,并更新相关引用 - 修改项目标题从"借还柜"变为"智柜通" - 优化产品绑定弹窗样式,增加标题和边距 - 调整个人中心网格布局,隐藏商品管理入口 - 为ProductList组件添加scss支持
This commit is contained in:
parent
bd0cce7aab
commit
2c2ca7745c
2
.env
2
.env
|
@ -1,7 +1,7 @@
|
||||||
# 所有环境的环境变量(命名必须以 VITE_ 开头)
|
# 所有环境的环境变量(命名必须以 VITE_ 开头)
|
||||||
|
|
||||||
## 项目标题
|
## 项目标题
|
||||||
VITE_APP_TITLE = 借还柜
|
VITE_APP_TITLE = 智柜通
|
||||||
|
|
||||||
## 路由模式 hash 或 html5
|
## 路由模式 hash 或 html5
|
||||||
VITE_ROUTER_HISTORY = hash
|
VITE_ROUTER_HISTORY = hash
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
<div align="center">
|
<div align="center">
|
||||||
<img alt="logo" width="120" height="120" src="./public/favicon.png">
|
<img alt="logo" width="120" height="120" src="./public/favicon.ico">
|
||||||
<h1>Mobile + Vue = MobVue</h1>
|
<h1>Mobile + Vue = MobVue</h1>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
<div align="center">
|
<div align="center">
|
||||||
<img alt="logo" width="120" height="120" src="./public/favicon.png">
|
<img alt="logo" width="120" height="120" src="./public/favicon.ico">
|
||||||
<h1>Mobile + Vue = MobVue</h1>
|
<h1>Mobile + Vue = MobVue</h1>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
name="viewport"
|
name="viewport"
|
||||||
content="width=device-width, initial-scale=1, minimum-scale=1, maximum-scale=1, user-scalable=no, viewport-fit=cover"
|
content="width=device-width, initial-scale=1, minimum-scale=1, maximum-scale=1, user-scalable=no, viewport-fit=cover"
|
||||||
/>
|
/>
|
||||||
<link rel="icon" href="/favicon.png" type="image/png" />
|
<link rel="icon" href="/favicon.ico" type="image/png" />
|
||||||
<link rel="stylesheet" href="/app-loading.css" />
|
<link rel="stylesheet" href="/app-loading.css" />
|
||||||
<title>%VITE_APP_TITLE%</title>
|
<title>%VITE_APP_TITLE%</title>
|
||||||
</head>
|
</head>
|
||||||
|
|
BIN
public/c63.jpg
BIN
public/c63.jpg
Binary file not shown.
Before Width: | Height: | Size: 367 KiB |
BIN
public/c63.png
BIN
public/c63.png
Binary file not shown.
Before Width: | Height: | Size: 1.6 MiB |
Binary file not shown.
After Width: | Height: | Size: 11 KiB |
Binary file not shown.
Before Width: | Height: | Size: 32 KiB |
|
@ -11,7 +11,7 @@ const props = withDefaults(defineProps<Props>(), {
|
||||||
<template>
|
<template>
|
||||||
<div>
|
<div>
|
||||||
<h1 un-flex-y-center>
|
<h1 un-flex-y-center>
|
||||||
<img src="/favicon.png" un-w-38px un-h-38px>
|
<img src="/favicon.ico" un-w-38px un-h-38px>
|
||||||
<span un-ml-16px un-text-32px un-fw400>MobVue</span>
|
<span un-ml-16px un-text-32px un-fw400>MobVue</span>
|
||||||
</h1>
|
</h1>
|
||||||
<h2 un-color-hex-969799 un-text-14px un-fw400>
|
<h2 un-color-hex-969799 un-text-14px un-fw400>
|
||||||
|
|
|
@ -84,25 +84,25 @@ wxStore.refreshBalance();
|
||||||
<van-col span="24">
|
<van-col span="24">
|
||||||
<div class="section-title text-sm font-bold pb-2">个人中心</div>
|
<div class="section-title text-sm font-bold pb-2">个人中心</div>
|
||||||
</van-col>
|
</van-col>
|
||||||
<van-col span="6">
|
<van-col span="8">
|
||||||
<div class="custom-btn" @click="router.push('/order-list')">
|
<div class="custom-btn" @click="router.push('/order-list')">
|
||||||
<van-icon name="orders-o" size="20px" />
|
<van-icon name="orders-o" size="20px" />
|
||||||
<span>订单列表</span>
|
<span>订单列表</span>
|
||||||
</div>
|
</div>
|
||||||
</van-col>
|
</van-col>
|
||||||
<van-col span="6">
|
<!-- <van-col span="6">
|
||||||
<div v-if="wxStore.isCabinetAdmin" class="custom-btn" @click="router.push('/manage/goods')">
|
<div v-if="wxStore.isCabinetAdmin" class="custom-btn" @click="router.push('/manage/goods')">
|
||||||
<van-icon name="comment-o" size="20px" />
|
<van-icon name="comment-o" size="20px" />
|
||||||
<span>商品管理</span>
|
<span>商品管理</span>
|
||||||
</div>
|
</div>
|
||||||
</van-col>
|
</van-col> -->
|
||||||
<van-col span="6">
|
<van-col span="8">
|
||||||
<div v-if="wxStore.isCabinetAdmin" class="custom-btn" @click="router.push('/cabinet')">
|
<div v-if="wxStore.isCabinetAdmin" class="custom-btn" @click="router.push('/cabinet')">
|
||||||
<van-icon name="manager-o" size="20px" />
|
<van-icon name="manager-o" size="20px" />
|
||||||
<span>柜机管理</span>
|
<span>柜机管理</span>
|
||||||
</div>
|
</div>
|
||||||
</van-col>
|
</van-col>
|
||||||
<van-col span="6">
|
<van-col span="8">
|
||||||
<div v-if="wxStore.isCabinetAdmin" class="custom-btn" @click="router.push('/approval/list')">
|
<div v-if="wxStore.isCabinetAdmin" class="custom-btn" @click="router.push('/approval/list')">
|
||||||
<van-icon name="comment-o" size="20px" />
|
<van-icon name="comment-o" size="20px" />
|
||||||
<span>审批中心</span>
|
<span>审批中心</span>
|
||||||
|
|
|
@ -256,7 +256,8 @@ async function handleAb98Bind() {
|
||||||
<VanPopup v-model:show="showCartPopup" position="bottom" :style="{ height: '80%' }" round>
|
<VanPopup v-model:show="showCartPopup" position="bottom" :style="{ height: '80%' }" round>
|
||||||
<Cart class="detail-container" @cart-close="showCartPopup = false" />
|
<Cart class="detail-container" @cart-close="showCartPopup = false" />
|
||||||
</VanPopup>
|
</VanPopup>
|
||||||
<VanPopup v-model:show="showAb98BindPopup" position="center" round>
|
<VanPopup v-model:show="showAb98BindPopup" position="center" :style="{ padding: '12px' }" round>
|
||||||
|
<div style="text-align: center; font-size: 16px; font-weight: bold; margin-bottom: 16px;">请绑定汇邦云账号</div>
|
||||||
<van-form @submit="handleAb98Bind">
|
<van-form @submit="handleAb98Bind">
|
||||||
<van-cell-group inset>
|
<van-cell-group inset>
|
||||||
<van-field
|
<van-field
|
||||||
|
@ -281,7 +282,7 @@ async function handleAb98Bind() {
|
||||||
</VanPopup>
|
</VanPopup>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<style scoped>
|
<style scoped lang="scss">
|
||||||
.product-container {
|
.product-container {
|
||||||
display: flex;
|
display: flex;
|
||||||
height: 100vh;
|
height: 100vh;
|
||||||
|
|
Loading…
Reference in New Issue