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

View File

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

View File

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

View File

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.2 KiB