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
b6b87dd5
Commit
b6b87dd5
authored
Sep 03, 2021
by
Damon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 图片未上传完处理
parent
2114792f
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
5 deletions
+7
-5
XhFiles.vue
src/components/createCom/XhFiles.vue
+1
-1
list.vue
src/pages/photo/list.vue
+6
-4
No files found.
src/components/createCom/XhFiles.vue
View file @
b6b87dd5
...
...
@@ -17,7 +17,7 @@
@
click
.
stop=
"prviewImage(item, index)"
fade
lazy-load
></u-image>
><
view
slot=
"error"
style=
"font-size: 24rpx;"
>
上传中
</view><
/u-image>
<view
class=
"icon-del-box"
v-if=
"!disabled"
...
...
src/pages/photo/list.vue
View file @
b6b87dd5
...
...
@@ -23,8 +23,10 @@
<!--
<text
class=
"rightContent u-m-t-14 u-m-l-30 u-p-b-30"
>
{{
item
.
describe
}}
</text>
-->
</view>
<view
class=
"rightImageView"
v-if=
"item.orderImages && item.orderImages.length > 0"
>
<image
class=
"rightImage"
v-for=
"(image, index) in item.orderImages"
:src=
"image"
:key=
"index"
@
click
.
stop=
"handleClickImage(item, index)"
mode=
"aspectFill"
></image>
<u-image
class=
"rightImage"
v-for=
"(image, index) in item.orderImages"
:src=
"image + '?imageView2/1/w/100/h/100/q/75'"
:key=
"index"
@
tap
.
stop=
"handleClickImage(item, index)"
width=
"116"
height=
"116"
>
<view
slot=
"error"
style=
"font-size: 24rpx;"
>
上传中
</view>
</u-image>
</view>
</view>
</
template
>
...
...
@@ -419,8 +421,8 @@
.rightImage
{
background-color
:
#F3F3F3
;
width
:
116
rpx
;
height
:
116
rpx
;
/*
width: 116rpx;
height: 116rpx;
*/
margin
:
0
rpx
12
rpx
12
rpx
0
rpx
;
}
...
...
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