feat: logo调整

This commit is contained in:
苟川东 2025-04-25 10:23:41 +08:00
parent 1e96041d1c
commit b76ef9b937
4 changed files with 8 additions and 8 deletions

View File

@ -6,7 +6,7 @@ import api from "./api/api";
// //
const globalData = reactive({ const globalData = reactive({
appName: '超邦手工单系统', appName: '超邦手工单系统',
appIcon: 'https://jl-td.oss-cn-chengdu.aliyuncs.com/uploads/20250325/77e65857af564c0dda57e1a195da19c3.png', appIcon: '/static/img/logo.png',
statusBarH: '', statusBarH: '',
customBarH: '' customBarH: ''
}) })

View File

@ -37,8 +37,8 @@ const props = defineProps({
position: absolute; position: absolute;
left: 0; left: 0;
.icon { .icon {
width: 80%; width: 100%;
height: 80%; height: 100%;
border-radius: 50%; border-radius: 50%;
} }
} }

View File

@ -3,7 +3,7 @@
<view class="info"> <view class="info">
<view class="top flex-c"> <view class="top flex-c">
<view class="icon-container flex-c"> <view class="icon-container flex-c">
<image class="img" mode="aspectFill" src="https://jl-td.oss-cn-chengdu.aliyuncs.com/uploads/20250325/77e65857af564c0dda57e1a195da19c3.png"></image> <image class="img" mode="aspectFill" :src="inject('globalData').appIcon"></image>
</view> </view>
</view> </view>
<view class="bottom">超邦手工单系统</view> <view class="bottom">超邦手工单系统</view>
@ -36,7 +36,7 @@
<script setup> <script setup>
import MeIcon from "../../components/me-icon/me-icon.vue"; import MeIcon from "../../components/me-icon/me-icon.vue";
import { ref } from 'vue' import { ref, inject } from 'vue'
import helpers from "../../utils/helpers"; import helpers from "../../utils/helpers";
import api from "../../api/api"; import api from "../../api/api";
import {throttle} from "../../utils/throttle"; import {throttle} from "../../utils/throttle";
@ -167,9 +167,9 @@ page {
border-radius: 80rpx; border-radius: 80rpx;
border: 1px solid #E9F1FE; border: 1px solid #E9F1FE;
.img { .img {
width: 140rpx; width: 160rpx;
height: 140rpx; height: 160rpx;
border-radius: 70rpx; border-radius: 80rpx;
} }
} }
} }

BIN
static/img/logo.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB