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
915c39bc
Commit
915c39bc
authored
Aug 02, 2024
by
张伯涛
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bug修改
parent
d1d43d2c
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
32 deletions
+12
-32
package-lock.json
package-lock.json
+0
-25
index.vue
pages/myArticle/index.vue
+7
-4
index.vue
pages/myVedio/index.vue
+5
-3
No files found.
package-lock.json
View file @
915c39bc
...
...
@@ -4,21 +4,6 @@
"lockfileVersion"
:
1
,
"requires"
:
true
,
"dependencies"
:
{
"@vant/popperjs"
:
{
"version"
:
"1.3.0"
,
"resolved"
:
"https://registry.npmmirror.com/@vant/popperjs/-/popperjs-1.3.0.tgz"
,
"integrity"
:
"sha512-hB+czUG+aHtjhaEmCJDuXOep0YTZjdlRR+4MSmIFnkCQIxJaXLQdSsR90XWvAI2yvKUI7TCGqR8pQg2RtvkMHw=="
},
"@vant/use"
:
{
"version"
:
"1.6.0"
,
"resolved"
:
"https://registry.npmmirror.com/@vant/use/-/use-1.6.0.tgz"
,
"integrity"
:
"sha512-PHHxeAASgiOpSmMjceweIrv2AxDZIkWXyaczksMoWvKV2YAYEhoizRuk/xFnKF+emUIi46TsQ+rvlm/t2BBCfA=="
},
"@vue/shared"
:
{
"version"
:
"3.4.29"
,
"resolved"
:
"https://registry.npmmirror.com/@vue/shared/-/shared-3.4.29.tgz"
,
"integrity"
:
"sha512-hQ2gAQcBO/CDpC82DCrinJNgOHI2v+FA7BDW4lMSPeBpQ7sRe2OLHWe5cph1s7D8DUQAwRt18dBDfJJ220APEA=="
},
"call-bind"
:
{
"version"
:
"1.0.7"
,
"resolved"
:
"https://registry.npmmirror.com/call-bind/-/call-bind-1.0.7.tgz"
,
...
...
@@ -152,16 +137,6 @@
"object-inspect"
:
"^1.13.1"
}
},
"vant"
:
{
"version"
:
"4.9.1"
,
"resolved"
:
"https://registry.npmmirror.com/vant/-/vant-4.9.1.tgz"
,
"integrity"
:
"sha512-p7iAKJyACYVwrmrkf3COmbuvzjHrFJ+FAmlyOWbxTS2ovkRs+tNKYjX2iibAl4XnHXBQD+qpX0ogUqE3jE7Isg=="
,
"requires"
:
{
"@vant/popperjs"
:
"^1.3.0"
,
"@vant/use"
:
"^1.6.0"
,
"@vue/shared"
:
"^3.4.27"
}
},
"vue-i18n"
:
{
"version"
:
"8.20.0"
,
"resolved"
:
"https://registry.npmjs.org/vue-i18n/-/vue-i18n-8.20.0.tgz"
,
...
...
pages/myArticle/index.vue
View file @
915c39bc
...
...
@@ -57,13 +57,16 @@
'nomore'
:
'loadmore'
this
.
unitList
=
this
.
vuex_unit
if
(
this
.
unitList
&&
this
.
unitList
.
length
>
0
)
{
this
.
unitId
=
this
.
unitList
[
0
].
businessId
this
.
userId
=
this
.
unitList
[
0
].
userId
if
(
this
.
unitList
[
0
].
businessId
===
null
)
{
this
.
unitId
=
''
}
else
{
this
.
unitId
=
this
.
unitList
[
0
].
businessId
}
}
else
{
this
.
unitId
=
''
this
.
userId
=
''
}
this
.
$u
.
get
(
'cmsnews/miniProgram/listByClassification?page='
+
this
.
page
+
'&rows='
+
this
.
rows
+
'&unitId='
+
this
.
unitId
+
'&
userId='
+
this
.
userId
+
'&
source=2'
).
then
(
res
=>
{
this
.
$u
.
get
(
'cmsnews/miniProgram/listByClassification?page='
+
this
.
page
+
'&rows='
+
this
.
rows
+
'&unitId='
+
this
.
unitId
+
'&source=2'
).
then
(
res
=>
{
if
(
this
.
page
===
1
)
{
let
list
=
res
.
records
;
this
.
hotList
=
list
;
...
...
pages/myVedio/index.vue
View file @
915c39bc
...
...
@@ -61,11 +61,13 @@
'nomore'
:
'loadmore'
this
.
unitList
=
this
.
vuex_unit
if
(
this
.
unitList
&&
this
.
unitList
.
length
>
0
)
{
this
.
unitId
=
this
.
unitList
[
0
].
businessId
this
.
userId
=
this
.
unitList
[
0
].
userId
if
(
this
.
unitList
[
0
].
businessId
===
null
)
{
this
.
unitId
=
''
}
else
{
this
.
unitId
=
this
.
unitList
[
0
].
businessId
}
}
else
{
this
.
unitId
=
''
this
.
userId
=
''
}
this
.
$u
.
get
(
'cmsvideo/miniProgram/listByClassification?page=1&rows=10&unitId='
+
this
.
unitId
+
'&userId='
+
this
.
userId
).
then
(
res
=>
{
if
(
this
.
page
===
1
)
{
...
...
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