Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
self-support
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
李俊赕
self-support
Commits
2ec0da18
Commit
2ec0da18
authored
Apr 30, 2021
by
李超鹏
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/master'
parents
87325864
00c56ae2
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
13 deletions
+18
-13
XhFiles.vue
src/components/createCom/XhFiles.vue
+18
-13
No files found.
src/components/createCom/XhFiles.vue
View file @
2ec0da18
...
@@ -7,14 +7,14 @@
...
@@ -7,14 +7,14 @@
</view>
-->
</view>
-->
<view
class=
"pics u-flex u-flex-wrap"
>
<view
class=
"pics u-flex u-flex-wrap"
>
<view
class=
"img-list"
v-for=
"(item,index) in imgList"
:key=
"index"
>
<view
class=
"img-list"
v-for=
"(item,index) in imgList"
:key=
"index"
>
<u-image
class=
"pic"
width=
"170"
height=
"170"
:src=
"item.path"
@
click
.
stop=
"prviewImage(item.path,index)"
></u-image>
<u-image
class=
"pic"
width=
"170"
height=
"170"
:src=
"item.path"
:border-radius=
"10"
@
click
.
stop=
"prviewImage(item.path,index)"
></u-image>
<view
class=
"icon-del-box"
@
click
.
stop=
"delFile(index)"
>
<view
class=
"icon-del-box"
@
click
.
stop=
"delFile(index)"
>
<view
class=
"icon-del"
></view>
<view
class=
"icon-del"
></view>
<view
class=
"icon-del rotate"
></view>
<view
class=
"icon-del rotate"
></view>
</view>
</view>
</view>
</view>
<view
class=
"img-list"
>
<view
class=
"img-list"
>
<u-image
class=
"pic"
width=
"170rpx"
height=
"170
"
@
click=
"selectUpload"
src=
"https://gitee.com/xuqu/uView/blob/master/static/uview/example/min_button.png
"
></u-image>
<u-image
class=
"pic"
width=
"170rpx"
height=
"170
rpx"
:border-radius=
"10"
@
click=
"selectUpload"
:src=
"uploadImage
"
></u-image>
</view>
</view>
<!--
<u-image
class=
"pic"
v-for=
"item in 6"
width=
"170rpx"
height=
"170"
src=
"'https://cdn.uviewui.com/uview/example/fade.jpg"
></u-image>
-->
<!--
<u-image
class=
"pic"
v-for=
"item in 6"
width=
"170rpx"
height=
"170"
src=
"'https://cdn.uviewui.com/uview/example/fade.jpg"
></u-image>
-->
</view>
</view>
...
@@ -52,7 +52,10 @@
...
@@ -52,7 +52,10 @@
computed
:
{
computed
:
{
settings
()
{
settings
()
{
return
this
.
item
.
settings
||
[]
return
this
.
item
.
settings
||
[]
}
},
uploadImage
()
{
return
process
.
uniEnv
.
qn_base_url
+
'upload-file.png'
},
},
},
watch
:
{
watch
:
{
'takeStatus'
:
function
(
val
,
oldVal
){
'takeStatus'
:
function
(
val
,
oldVal
){
...
@@ -135,6 +138,14 @@
...
@@ -135,6 +138,14 @@
}
}
</
script
>
</
script
>
<
style
lang=
"scss"
scoped
>
<
style
lang=
"scss"
scoped
>
.img-list
{
position
:
relative
;
margin
:
8rpx
;
width
:
170rpx
;
height
:
170rpx
;
.pic
{
.pic
{
// margin-right: 15rpx;
// margin-right: 15rpx;
// margin-bottom: 15rpx;
// margin-bottom: 15rpx;
...
@@ -143,12 +154,6 @@
...
@@ -143,12 +154,6 @@
}
}
}
}
.img-list
{
position
:
relative
;
margin
:
8rpx
;
border
:
1px
solid
#eee
;
width
:
170rpx
;
height
:
170rpx
;
.icon-del-box
{
.icon-del-box
{
/* #ifndef APP-NVUE */
/* #ifndef APP-NVUE */
display
:
flex
;
display
:
flex
;
...
...
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