Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
mallapp
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
viitto
mallapp
Commits
6623d6a4
Commit
6623d6a4
authored
Mar 29, 2021
by
Mac
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
3cee774b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
9 deletions
+10
-9
editData.vue
pages/blindDate/editData.vue
+9
-8
persondetails.vue
pages/blindDate/persondetails.vue
+1
-1
No files found.
pages/blindDate/editData.vue
View file @
6623d6a4
...
...
@@ -21,22 +21,22 @@
<view
class=
"left"
>
<!-- 大照片 -->
<view
class=
"img1Box"
:style=
"
{'border-color': `${mainColor}`}" @click="chooseImg(0,'img1')">
<image
:src=
"data.AlbumList[0]"
mode=
"
widthFix
"
v-if=
"AlbumListShow.img1"
></image>
<image
:src=
"data.AlbumList[0]"
mode=
"
aspectFill
"
v-if=
"AlbumListShow.img1"
></image>
<image
:src=
"photoDemo"
mode=
"widthFix"
v-if=
"!AlbumListShow.img1"
class=
"imgDemo"
></image>
</view>
<view
class=
"subImgBox"
>
<!-- 下面三张照片 -->
<view
class=
"img2Box"
@
click=
"chooseImg(1,'img2')"
:style=
"
{'border-color': `${mainColor}`}">
<image
:src=
"data.AlbumList[1]"
mode=
"
widthFix
"
class=
"img2"
v-if=
"AlbumListShow.img2"
></image>
<image
:src=
"data.AlbumList[1]"
mode=
"
aspectFill
"
class=
"img2"
v-if=
"AlbumListShow.img2"
></image>
<image
:src=
"photoDemo"
mode=
"widthFix"
v-if=
"!AlbumListShow.img2"
class=
"imgDemo"
></image>
</view>
<view
class=
"img2Box"
@
click=
"chooseImg(2,'img3')"
:style=
"
{'border-color': `${mainColor}`}">
<image
:src=
"data.AlbumList[2]"
mode=
"
widthFix
"
class=
"img2"
v-if=
"AlbumListShow.img3"
></image>
<image
:src=
"data.AlbumList[2]"
mode=
"
aspectFill
"
class=
"img2"
v-if=
"AlbumListShow.img3"
></image>
<image
:src=
"photoDemo"
mode=
"widthFix"
v-if=
"!AlbumListShow.img3"
class=
"imgDemo"
></image>
</view>
<view
class=
"img2Box"
@
click=
"chooseImg(3,'img4')"
:style=
"
{'border-color': `${mainColor}`}">
<image
:src=
"data.AlbumList[3]"
mode=
"
widthFix
"
class=
"img2"
v-if=
"AlbumListShow.img4"
></image>
<image
:src=
"data.AlbumList[3]"
mode=
"
aspectFill
"
class=
"img2"
v-if=
"AlbumListShow.img4"
></image>
<image
:src=
"photoDemo"
mode=
"widthFix"
v-if=
"!AlbumListShow.img4"
class=
"imgDemo"
></image>
</view>
...
...
@@ -45,19 +45,19 @@
<view
class=
"right"
>
<!-- 右边四张照片 -->
<view
class=
"img2Box"
@
click=
"chooseImg(4,'img5')"
:style=
"
{'border-color': `${mainColor}`}">
<image
:src=
"data.AlbumList[4]"
mode=
"
widthFix
"
class=
"img2"
v-if=
"AlbumListShow.img5"
></image>
<image
:src=
"data.AlbumList[4]"
mode=
"
aspectFill
"
class=
"img2"
v-if=
"AlbumListShow.img5"
></image>
<image
:src=
"photoDemo"
mode=
"widthFix"
v-if=
"!AlbumListShow.img5"
class=
"imgDemo"
></image>
</view>
<view
class=
"img2Box"
@
click=
"chooseImg(5,'img6')"
:style=
"
{'border-color': `${mainColor}`}">
<image
:src=
"data.AlbumList[5]"
mode=
"
widthFix
"
class=
"img2"
v-if=
"AlbumListShow.img6"
></image>
<image
:src=
"data.AlbumList[5]"
mode=
"
aspectFill
"
class=
"img2"
v-if=
"AlbumListShow.img6"
></image>
<image
:src=
"photoDemo"
mode=
"widthFix"
v-if=
"!AlbumListShow.img6"
class=
"imgDemo"
></image>
</view>
<view
class=
"img2Box"
@
click=
"chooseImg(6,'img7')"
:style=
"
{'border-color': `${mainColor}`}">
<image
:src=
"data.AlbumList[6]"
mode=
"
widthFix
"
class=
"img2"
v-if=
"AlbumListShow.img7"
></image>
<image
:src=
"data.AlbumList[6]"
mode=
"
aspectFill
"
class=
"img2"
v-if=
"AlbumListShow.img7"
></image>
<image
:src=
"photoDemo"
mode=
"widthFix"
v-if=
"!AlbumListShow.img7"
class=
"imgDemo"
></image>
</view>
<view
class=
"img2Box"
@
click=
"chooseImg(7,'img8')"
:style=
"
{'border-color': `${mainColor}`}">
<image
:src=
"data.AlbumList[7]"
mode=
"
widthFix
"
class=
"img2"
v-if=
"AlbumListShow.img8"
></image>
<image
:src=
"data.AlbumList[7]"
mode=
"
aspectFill
"
class=
"img2"
v-if=
"AlbumListShow.img8"
></image>
<image
:src=
"photoDemo"
mode=
"widthFix"
v-if=
"!AlbumListShow.img8"
class=
"imgDemo"
></image>
</view>
</view>
...
...
@@ -630,6 +630,7 @@
}
.imgDemo
{
width
:
54rpx
;
height
:
auto
;
}
.itemBox
{
margin-bottom
:
40rpx
;
...
...
pages/blindDate/persondetails.vue
View file @
6623d6a4
...
...
@@ -170,7 +170,7 @@
<
template
>
<scroll-view
:scroll-y=
"true"
@
scroll=
"scrollHandler"
@
scrolltoupper=
"scrollTopHandler"
style=
"height: 100vh;position: relative;"
>
<view
class=
"persondetails"
>
<button
open-type=
"contact"
send-message-title=
"dataList.Name"
:send-message-path=
"path"
:send-message-img=
"dataList.Photo"
:show-message-card=
"true"
class=
"bwytBtn"
>
帮我
<br/>
约TA
</button>
<button
v-if=
"mall_UserInfo.UserId != dataList.Id"
open-type=
"contact"
send-message-title=
"dataList.Name"
:send-message-path=
"path"
:send-message-img=
"dataList.Photo"
:show-message-card=
"true"
class=
"bwytBtn"
>
帮我
<br/>
约TA
</button>
<view
class=
"headStatus"
v-if=
"scrollTop > 50"
:style=
"[headStyle,
{
...
...
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