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}\"",
|
"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",
|
||||||
|
@ -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
|
||||||
>
|
>
|
||||||
|
@ -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
|
||||||
|
@ -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';
|
||||||
/**
|
/**
|
||||||
* 用户卡片
|
* 用户卡片
|
||||||
*
|
*
|
||||||
|
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