1
This commit is contained in:
parent
e704f5f1fc
commit
029eeac40f
@ -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",
|
||||
|
@ -5,6 +5,7 @@
|
||||
navbar="custom"
|
||||
:bgStyle="state.page"
|
||||
:navbarStyle="state.navigationBar"
|
||||
tabbar="/pages/index/page"
|
||||
onShareAppMessage
|
||||
showLeftButton
|
||||
>
|
||||
|
@ -1,9 +1,9 @@
|
||||
<!-- 个人中心:支持装修 -->
|
||||
<template>
|
||||
<s-layout
|
||||
title="我的"
|
||||
title=" "
|
||||
tabbar="/pages/index/user"
|
||||
navbar="custom"
|
||||
navbar="normal"
|
||||
:bgStyle="template.page"
|
||||
:navbarStyle="template.navigationBar"
|
||||
onShareAppMessage
|
||||
|
@ -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';
|
||||
/**
|
||||
* 用户卡片
|
||||
*
|
||||
|
BIN
static/images/default_avatar.png
Normal file
BIN
static/images/default_avatar.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 3.2 KiB |
Loading…
Reference in New Issue
Block a user