This website works better with JavaScript.
Home
Explore
帮助
返回水杉在线
登录水杉在线
登录水杉码园
10185101272
/
Personal-Collections-Website
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
url
master
=
4 years ago
parent
ee61035603
commit
439f2370a3
2 changed files
with
3 additions
and
2 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
APP/static/js/wsy.js
+2
-1
APP/templates/add.html
+ 1
- 1
APP/static/js/wsy.js
View File
@ -129,7 +129,7 @@ async function getWebName() {
dt
.
append
(
'url'
,
obj
[
'content'
]
)
;
sendRequest
(
'block/get_web_name'
,
dt
,
function
(
data
)
{
obj
[
'
content
'
]
=
data
.
name
;
obj
[
'
title
'
]
=
data
.
name
;
Vue
.
set
(
page
.
textList
,
obj
[
'order'
]
,
obj
)
;
}
)
;
}
)
(
i
)
;
+ 2
- 1
APP/templates/add.html
View File
@ -499,8 +499,9 @@
<
/
div
>
<
/
div
>
<
div
class
=
"widget-numbers"
>
<
span
v-if
=
"item.type
!='picture
'"
>
{{item.content}}
<
/
span
>
<
span
v-if
=
"item.type
=='text
'"
>
{{item.content}}
<
/
span
>
<
img
v-if
=
"item.type=='picture'"
v-bind:src
=
"item.content"
alt
=
""
>
<
a
v-if
=
"item.type=='url'"
v-bind:href
=
"item.content"
>
{{item.title}}
<
/
a
>
<
/
div
>
<
/
div
>
<
/
div
>
Write
Preview
Loading…
Cancel
Save