Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
cust-app
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
李伟
cust-app
Commits
e640e509
Commit
e640e509
authored
Mar 06, 2025
by
罗林杰
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改发动态图片问题
parent
14302ad2
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
6 deletions
+5
-6
List.vue
pages/components/article/List.vue
+0
-3
publishArticle.vue
pagesArticle/publishArticle.vue
+1
-0
u-upload.vue
uni_modules/uview-ui/components/u-upload/u-upload.vue
+4
-3
No files found.
pages/components/article/List.vue
View file @
e640e509
...
...
@@ -194,9 +194,7 @@
//处理动态照片
if
(
item
.
pictureId
!=
null
){
const
urlArray
=
JSON
.
parse
(
item
.
pictureId
)
console
.
log
(
'urlArray.id:'
,
urlArray
.
id
)
if
(
urlArray
.
id
.
length
>
0
){
console
.
log
(
'11111111111111'
)
let
arr
=
[]
urlArray
.
id
.
forEach
(
item
=>
{
getOssUrl
(
item
).
then
(
imgRes
=>
{
...
...
@@ -228,7 +226,6 @@
}
})
this
.
$refs
.
paging
.
completeByTotal
(
list
,
res
.
data
.
total
);
console
.
log
(
'22222222'
,
this
.
dataList
)
})
// 组件加载时会自动触发此方法,因此默认页面加载时会自动触发,无需手动调用
...
...
pagesArticle/publishArticle.vue
View file @
e640e509
...
...
@@ -117,6 +117,7 @@
// 删除图片
deletePic
(
event
)
{
this
[
`fileList
${
event
.
name
}
`
].
splice
(
event
.
index
,
1
)
this
.
uploadImgJSON
.
id
.
splice
(
event
.
index
,
1
)
},
// 新增图片
afterRead
(
event
)
{
...
...
uni_modules/uview-ui/components/u-upload/u-upload.vue
View file @
e640e509
...
...
@@ -61,7 +61,7 @@
<u-icon
name=
"close"
color=
"#ffffff"
size=
"1
0
"
size=
"1
6
"
></u-icon>
</view>
</view>
...
...
@@ -452,8 +452,8 @@
top
:
$u-upload-deletable-top
;
right
:
$u-upload-deletable-right
;
background-color
:
$u-upload-deletable-bgColor
;
height
:
$u-upload-deletable-height
;
width
:
$u-upload-deletable-width
;
height
:
32rpx
;
width
:
32rpx
;
@include
flex
;
border-bottom-left-radius
:
$u-upload-deletable-boder-bottom-left-radius
;
align-items
:
center
;
...
...
@@ -463,6 +463,7 @@
&
__icon
{
position
:
absolute
;
transform
:
scale
(
0
.7
);
line-height
:
14px
;
top
:
$u-upload-icon-top
;
right
:
$u-upload-icon-right
;
/* #ifdef H5 */
...
...
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