Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
G
gl_help
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
CI / CD Analytics
Repository Analytics
Value Stream Analytics
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Max
gl_help
Commits
3dca1b68
Commit
3dca1b68
authored
Aug 10, 2023
by
何毅恒
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
c
parent
65ebd0e7
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
2 deletions
+7
-2
src/components/ArticleItem.vue
src/components/ArticleItem.vue
+6
-1
src/utils/wxJssdk.ts
src/utils/wxJssdk.ts
+1
-1
No files found.
src/components/ArticleItem.vue
View file @
3dca1b68
<
template
>
<div
id=
"ArticleItem"
@
click=
"toDetails(props.row.id)"
>
<div
class=
"box"
>
<p
class=
"title"
>
{{
props
.
row
.
title
}}
</p>
<p
class=
"title"
>
{{
props
.
row
.
title
}}
</p>
<img
src=
"../assets/icon/rightArrow.png"
alt=
""
/>
</div>
</div>
...
...
@@ -36,6 +38,9 @@ const toDetails = (id): void => {
margin-right
:
6px
;
overflow
:
hidden
;
text-overflow
:
ellipsis
;
white-space
:
nowrap
;
font-size
:
14px
;
color
:
#333
;
}
img
{
width
:
17px
;
...
...
src/utils/wxJssdk.ts
View file @
3dca1b68
...
...
@@ -8,7 +8,7 @@ class wxJssdk{
}
// 初始化配置
async
wxConfig
(){
let
url
:
string
=
window
.
location
.
href
.
split
(
"
/
#
"
)[
0
];
let
url
:
string
=
window
.
location
.
href
.
split
(
"
#
"
)[
0
];
let
res
:
any
=
await
post
(
'
Information/getTicket
'
,{
url
})
if
(
res
.
code
==
0
)
{
wx
.
config
({
...
...
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