Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
N
NFT
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
hanfeng zhang
NFT
Commits
eb41f8d5
Commit
eb41f8d5
authored
Jul 20, 2021
by
hanfeng zhang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
321
parent
62f13b1b
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
2 deletions
+10
-2
main.ts
src/main.ts
+2
-1
index.vue
src/view/Mine/index.vue
+8
-1
No files found.
src/main.ts
View file @
eb41f8d5
...
...
@@ -8,6 +8,7 @@ import './style.less'
import
Util
from
'./util'
import
service
from
'./service'
import
{
Plugin
}
from
'vue-fragment'
import
{
Image
as
VanImage
}
from
'vant'
;
import
{
Toast
,
Empty
,
Dialog
}
from
'vant'
import
VConsole
from
'vconsole'
;
...
...
@@ -16,7 +17,7 @@ const vconsole = process.env.VUE_APP_ENV === 'TEST'?new VConsole():''
// window.console.log(vconsole,'移动console');
Vue
.
use
(
VanImage
);
Vue
.
use
(
Dialog
);
Vue
.
use
(
Empty
)
Vue
.
use
(
Toast
)
...
...
src/view/Mine/index.vue
View file @
eb41f8d5
...
...
@@ -2,7 +2,14 @@
<Layout-Main
class=
'page-scroll'
>
<div
class=
'user-info w-11/12 mx-auto flex text-font-white items-center py-8 overflow-y-scroll'
>
<div
class=
'w-3/12 pr-5'
>
<img
:src=
'getUserInfo.avatar?getUserInfo.avatar:"/img/mokeImg/avatar.png"'
class=
'rounded-full w-18 object-fill'
>
<van-image
width=
"80"
height=
"80"
round
fit=
"cover"
:src=
'getUserInfo.avatar?getUserInfo.avatar:"/img/mokeImg/avatar.png"'
/>
</div>
<div
class=
'w-9/12 info flex-grow'
>
<div
class=
'name-box flex justify-between'
>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment