Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
html
/
zhufuyuCommon
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Wiki
Members
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
badcf62e
authored
Nov 18, 2019
by
mamingqun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
特殊字体,还没有完成
parent
792639e6
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
52 additions
and
6 deletions
+52
-6
public/index.html
+2
-0
src/example/keyFrame.vue
+0
-1
src/example/specialFont.vue
+42
-0
src/views/Detail.vue
+1
-1
src/views/Home.vue
+7
-4
No files found.
public/index.html
View file @
badcf62e
...
@@ -12,6 +12,8 @@
...
@@ -12,6 +12,8 @@
<script
src=
"./libs/preloadjs.min.js"
></script>
<script
src=
"./libs/preloadjs.min.js"
></script>
<!-- jquery -->
<!-- jquery -->
<script
src=
"https://apps.bdimg.com/libs/jquery/1.6.4/jquery.min.js"
></script>
<script
src=
"https://apps.bdimg.com/libs/jquery/1.6.4/jquery.min.js"
></script>
<!-- 特殊字体 -->
<script
type=
"text/javascript"
src=
"https://cdn.webfont.youziku.com/wwwroot/js/wf/youziku.client.min.js"
></script>
</head>
</head>
<body>
<body>
<noscript>
<noscript>
...
...
src/example/keyFrame.vue
View file @
badcf62e
...
@@ -47,7 +47,6 @@ export default {
...
@@ -47,7 +47,6 @@ export default {
var
src
=
_this
.
keyFramesURL
+
idxstr
+
'.jpg'
var
src
=
_this
.
keyFramesURL
+
idxstr
+
'.jpg'
PRELOADARR
.
push
(
src
)
PRELOADARR
.
push
(
src
)
}
}
var
loadingpro
=
$
(
'#loading .progress'
)
_this
.
loadnum
=
0
_this
.
loadnum
=
0
_this
.
preloadImages
(
PRELOADARR
)
_this
.
preloadImages
(
PRELOADARR
)
...
...
src/example/specialFont.vue
0 → 100644
View file @
badcf62e
<
template
>
<div>
<h6>
特殊字体输入
</h6>
<input
type=
"text"
/>
</div>
</
template
>
<
script
>
export
default
{
mounted
()
{
console
.
log
(
$youzikuClient
);
// this.show('0c72070490f34f07b97bdd1a19064531', e.target.value, '#text_zi')
},
methods
:
{
show
:
function
(
accesskey
,
content
,
Tag
)
{
var
data
=
{
Tags
:
[]
}
data
.
Tags
.
push
({
AccessKey
:
accesskey
,
Content
:
content
,
Tag
:
Tag
})
Dassesskey
=
accesskey
$youzikuClient
.
getBatchFontFace
(
data
,
function
(
result
)
{
var
length
=
result
.
FontfaceList
.
length
for
(
var
i
=
0
;
i
<
length
;
i
++
)
{
console
.
log
(
'Tag:'
+
result
.
FontfaceList
[
i
].
Tag
)
console
.
log
(
'AccessKey:'
+
result
.
FontfaceList
[
i
].
AccessKey
)
console
.
log
(
'FontFamily:'
+
result
.
FontfaceList
[
i
].
FontFamily
)
console
.
log
(
'ErrorMessage:'
+
result
.
FontfaceList
[
i
].
ErrorMessage
)
console
.
log
(
'Code:'
+
result
.
FontfaceList
[
i
].
Code
)
}
})
},
}
}
</
script
>
<
style
lang=
"less"
scoped
>
</
style
>
\ No newline at end of file
src/views/Detail.vue
View file @
badcf62e
<
template
>
<
template
>
<div
class=
"detail-wrap"
>
<div
class=
"detail-wrap"
>
<h1>
{{
detailId
}}
</h1>
<h1>
detailId
{{
detailId
}}
</h1>
<div>
Detail页面
</div>
<div>
Detail页面
</div>
<html2canvas
/>
<html2canvas
/>
</div>
</div>
...
...
src/views/Home.vue
View file @
badcf62e
<
template
>
<
template
>
<div
class=
"home-wrap"
>
<div
class=
"home-wrap"
>
<h6
class=
"gangbi"
>
home页
{{
msg
}}
</h6>
<h6
class=
"gangbi"
>
钢笔字体~home页
{{
msg
}}
</h6>
<h6
class=
"gangbi"
>
钢笔字体
</h6>
<ul>
<ul>
<li>
<li>
<button
@
click=
"testJump"
>
跳转详情生成海报
</button>
<button
@
click=
"testJump"
>
跳转详情生成海报
</button>
...
@@ -15,6 +14,7 @@
...
@@ -15,6 +14,7 @@
</ul>
</ul>
<Music
/>
<Music
/>
<ossExample
/>
<ossExample
/>
<specialFont
/>
</div>
</div>
</
template
>
</
template
>
...
@@ -22,6 +22,7 @@
...
@@ -22,6 +22,7 @@
// @ is an alias to /src
// @ is an alias to /src
import
Music
from
'@/components/Music.vue'
import
Music
from
'@/components/Music.vue'
import
ossExample
from
'@/example/ossExample.vue'
import
ossExample
from
'@/example/ossExample.vue'
import
specialFont
from
'@/example/specialFont.vue'
export
default
{
export
default
{
name
:
'home'
,
name
:
'home'
,
...
@@ -43,7 +44,8 @@ export default {
...
@@ -43,7 +44,8 @@ export default {
},
},
components
:
{
components
:
{
Music
,
Music
,
ossExample
ossExample
,
specialFont
}
}
}
}
</
script
>
</
script
>
...
@@ -54,7 +56,7 @@ export default {
...
@@ -54,7 +56,7 @@ export default {
font-family
:
"gangbi"
;
font-family
:
"gangbi"
;
}
}
.home-wrap
{
.home-wrap
{
background
:
rgba
(
0
,
0
,
0
,
0.2
);
background
:
rgba
(
0
,
0
,
0
,
0.2
);
}
}
</
style
>
</
style
>
\ No newline at end of file
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