Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
I
intel_promotion_uniapp
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
刘怀志
intel_promotion_uniapp
Commits
4c673a25
Commit
4c673a25
authored
Aug 24, 2024
by
张伯涛
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
图片根据变量调整
parent
d745776d
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
24 additions
and
4 deletions
+24
-4
profile.vue
pages/user/profile.vue
+24
-4
wode_logo_default.png
static/img/image/wode_logo_default.png
+0
-0
wode_pic_bg1.png
static/img/image/wode_pic_bg1.png
+0
-0
wode_pic_bg1@2x.png
static/img/image/wode_pic_bg1@2x.png
+0
-0
wode_pic_bg2.png
static/img/image/wode_pic_bg2.png
+0
-0
No files found.
pages/user/profile.vue
View file @
4c673a25
...
...
@@ -3,14 +3,17 @@
<u-navbar
title=
"我的"
:is-back=
"false"
:border-bottom=
"false"
>
</u-navbar>
<view
class=
"top"
:style=
"
{marginTop:-(statusBarHeight) + 'px'}">
<image
class=
"topimageurl"
src=
"../../static/img/image/wode_pic_bg@2x.png"
></image>
<image
v-if=
"showType === 'HZY'"
class=
"topimageurl"
src=
"../../static/img/image/wode_pic_bg@2x.png"
></image>
<image
v-else
class=
"topimageurlTwo"
src=
"../../static/img/image/wode_pic_bg1.png"
></image>
</view>
<view
class=
"bottomcard"
:style=
"
{top: -(topHeight) + 'px','height':' calc(100vh - 40rpx - '+statusBarHeight + 'px'+' - '+topHeight+'px'+')'}">
<view
class=
"u-flex user-box
"
>
<view
:class=
"[showType === 'HZY' ? 'u-flex user-box' : 'u-flex user-boxTwo']
"
>
<view
class=
"u-m-r-10"
>
<!--
<u-avatar
v-if=
"vuex_user.nickName == '未登录'"
size=
"140"
></u-avatar>
-->
<image
src=
"../../static/img/image/wode_logo_default@2x.png"
<image
v-if=
"showType === 'HZY'"
src=
"../../static/img/image/wode_logo_default@2x.png"
class=
"avaterimage"
></image>
<image
v-else
src=
"../../static/img/image/wode_logo_default.png"
class=
"avaterimage"
></image>
<!--
<u-avatar
v-if=
"vuex_user.nickName !== '未登录'"
:src=
"vuex_avatar"
size=
"140"
></u-avatar>
-->
<!--
<image
v-if=
"vuex_user.nickName !== '未登录'"
:src=
"vuex_avatar"
class=
"avaterimage"
></image>
-->
</view>
...
...
@@ -119,6 +122,7 @@ import projectName from "../../common/projectName";
export
default
{
data
()
{
return
{
showType
:
''
,
profileName
:
''
,
show
:
true
,
src
:
'http://pic2.sc.chinaz.com/Files/pic/pic9/202002/hpic2119_s.jpg'
,
...
...
@@ -132,6 +136,7 @@ import projectName from "../../common/projectName";
}
},
onLoad
()
{
this
.
showType
=
this
.
$global
.
appName
this
.
profileName
=
projectName
[
this
.
$global
.
appName
].
profileName
},
onShow
()
{
...
...
@@ -272,12 +277,23 @@ import projectName from "../../common/projectName";
height
:
224rpx
;
padding
:
30rpx
0
0
44rpx
;
// background-color: #fff;
//background: linear-gradient(270deg, #3497CE 0%, #2AADA2 27%, #5BB647 100%);
background
:
linear-gradient
(
270deg
,
#3497CE
0%
,
#2AADA2
27%
,
#5BB647
100%
);
border-radius
:
18px
18px
18px
18px
;
margin
:
40rpx
30rpx
0
30rpx
;
z-index
:
999
;
}
.user-boxTwo
{
height
:
224rpx
;
padding
:
30rpx
0
0
44rpx
;
//width: 100%;
// background-color: #fff;
//background: linear-gradient(270deg, #3497CE 0%, #2AADA2 27%, #5BB647 100%);
background-image
:
url("/static/img/image/wode_pic_bg2.png")
;
border-radius
:
18px
18px
18px
18px
;
margin
:
40rpx
30rpx
0
30rpx
;
z-index
:
999
;
}
.avaterimage
{
width
:
136rpx
;
height
:
136rpx
;
...
...
@@ -415,6 +431,10 @@ import projectName from "../../common/projectName";
width
:
100%
;
height
:
100%
;
}
.topimageurlTwo
{
width
:
157%
;
height
:
100%
;
}
/
deep
/
.u-navbar-fixed
{
position
:
fixed
;
left
:
0
;
...
...
static/img/image/wode_logo_default.png
0 → 100644
View file @
4c673a25
1.93 KB
static/img/image/wode_pic_bg1.png
0 → 100644
View file @
4c673a25
157 KB
static/img/image/wode_pic_bg1@2x.png
0 → 100644
View file @
4c673a25
463 KB
static/img/image/wode_pic_bg2.png
0 → 100644
View file @
4c673a25
3.79 KB
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