This commit is contained in:
77 2024-09-19 11:27:49 +08:00
parent e704f5f1fc
commit 029eeac40f
5 changed files with 7 additions and 4 deletions

View File

@ -8,7 +8,6 @@
"prettier": "prettier --write \"{pages,sheep}/**/*.{js,json,tsx,css,less,scss,vue,html,md}\"",
"build:prod": "vue-cli-service build --mode prod",
"build:dev": "vue-cli-service build --mode dev"
},
"repository": "https://github.com/sheepjs/shop.git",
"keywords": [
@ -93,6 +92,7 @@
"dependencies": {
"dayjs": "^1.11.7",
"lodash": "^4.17.21",
"lodash-es": "^4.17.21",
"luch-request": "^3.0.8",
"pinia": "^2.0.33",
"pinia-plugin-persist-uni": "^1.2.0",

View File

@ -5,6 +5,7 @@
navbar="custom"
:bgStyle="state.page"
:navbarStyle="state.navigationBar"
tabbar="/pages/index/page"
onShareAppMessage
showLeftButton
>

View File

@ -1,9 +1,9 @@
<!-- 个人中心支持装修 -->
<template>
<s-layout
title="我的"
title=" "
tabbar="/pages/index/user"
navbar="custom"
navbar="normal"
:bgStyle="template.page"
:navbarStyle="template.navigationBar"
onShareAppMessage

View File

@ -9,7 +9,7 @@
:src="
isLogin
? sheep.$url.cdn(userInfo.avatar)
: sheep.$url.static('/static/img/shop/default_avatar.png')
: defaultAvatar
"
mode="aspectFill"
@tap="sheep.$router.go('/pages/user/info')"
@ -43,6 +43,8 @@
</template>
<script setup>
// 使
import defaultAvatar from '@/static/images/default_avatar.png';
/**
* 用户卡片
*

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.2 KiB