Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
孙龙
/
note-library
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
2053e8ab
authored
May 13, 2020
by
肖康
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
x
parent
4f6cd31d
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
9 additions
and
9 deletions
public/css/style.css
public/js/web/design.js
resources/views/web/design.blade.php
resources/views/web/prints.blade.php
public/css/style.css
View file @
2053e8ab
...
...
@@ -8791,7 +8791,7 @@ textarea{
resize
:
none
;
border
:
0px
;
overflow
:
hidden
;
line-height
:
2
2
px
;
line-height
:
2
6
px
;
color
:
#333
;
background
:
rgba
(
225
,
225
,
225
,
0
)
}
...
...
public/js/web/design.js
View file @
2053e8ab
...
...
@@ -75,6 +75,7 @@ var tag={
$
(
'#colorpicker'
).
colorpicker
();
//编辑画布渲染样式
var
gezilist
=
$
(
".tag-size"
).
val
().
split
(
"*"
);
var
gnum
=
(
Number
(
gezilist
[
0
])
/
20
)
*
(
Number
(
gezilist
[
1
])
/
20
);
var
html
=
""
;
...
...
@@ -104,7 +105,7 @@ var tag={
if
(
$
(
".tag-border"
).
val
()){
$
(
".edit-con"
).
css
({
"border"
:
$
(
".tag-border"
).
val
()})
}
else
{
$
(
".edit-con"
).
addClass
(
"init-border"
);
$
(
".edit-con"
).
css
({
"border"
:
"1px solid #ccc"
})
}
...
...
resources/views/web/design.blade.php
View file @
2053e8ab
...
...
@@ -6,7 +6,7 @@
<div
class=
"tips"
>
请拖动此处标签制作工具到下方编辑区域编辑!
</div>
<div
class=
"items yuan"
name=
"round"
><div
class=
"round zctem"
type=
"1"
w=
"45"
h=
"45"
name=
"round"
xtys=
"#333"
></div><span>
圆形
</span></div>
<div
class=
"items fang"
name=
"rectangle"
><div
class=
"rectangle zctem"
type=
"2"
w=
"70"
h=
"45"
name=
"rectangle"
xtys=
"#333"
></div><span>
矩形
</span></div>
<div
class=
"items text"
name=
"textarea"
><textarea
class=
"textarea zctem"
zhg=
"2
2"
wenben=
"测试文本"
zt=
"Microsoft YaHei"
type=
"3"
w=
"250"
h=
"24
"
ztys=
"#000000"
name=
"textarea"
placeholder=
"请输入文案"
>
测试文本
</textarea>
A
<span>
文本
</span></div>
<div
class=
"items text"
name=
"textarea"
><textarea
class=
"textarea zctem"
zhg=
"2
6"
zh=
"14"
wenben=
"测试文本"
zt=
"Microsoft YaHei"
type=
"3"
w=
"250"
h=
"26
"
ztys=
"#000000"
name=
"textarea"
placeholder=
"请输入文案"
>
测试文本
</textarea>
A
<span>
文本
</span></div>
<div
class=
"items line"
name=
"lineit"
><div
class=
"lineit zctem"
type=
"4"
w=
"70"
h=
"1"
name=
"lineit"
xtys=
"#333"
></div><span>
线
</span></div>
<div
class=
"items erweima"
name=
"erweimait"
style=
"background: url(http://img.ichunt.com/images/cms/201905/05/0998e54c5120aec61e6868943a67916e.png) no-repeat;background-size: 100% 100%;"
><div
class=
"zctem erweimait"
type=
"5"
w=
"45"
h=
"45"
name=
"erweimait"
style=
"background: url(http://img.ichunt.com/images/cms/201905/05/0998e54c5120aec61e6868943a67916e.png) no-repeat;background-size: 100% 100%;"
></div><span>
二维码
</span></div>
<div
class=
"items yiweima"
name=
"yiweimait"
style=
"background: url(http://sz.ichunt.com/v3/dist/res/home/images/about/yiweima.png) no-repeat;background-size: 100% 100%;"
><div
class=
"zctem yiweimait"
type=
"5"
w=
"87"
h=
"35"
name=
"yiweimait"
style=
"background: url(http://sz.ichunt.com/v3/dist/res/home/images/about/yiweima.png) no-repeat;background-size: 100% 100%;"
></div><span>
一维码
</span></div>
...
...
@@ -22,9 +22,7 @@
<div
class=
"seclect-group fl"
>
<span>
标签大小:
</span>
<select
class=
"tag-size"
>
<option
value=
"500*320"
>
500*320
</option>
<option
value=
"260*160"
>
260*160
</option>
<option
value=
"1000*640"
>
1000*640
</option>
<option
value=
"440*300"
>
90*60
</option>
</select>
</div>
<div
class=
"seclect-group fl"
>
...
...
@@ -53,7 +51,7 @@
</div>
</div>
<div
class=
"fztip"
>
每个辅助格子20px*20px,从左上角开始,横向为X轴,纵向为Y轴,标尺每个刻度10px,标尺实际像素需要刻度值*10
</div>
<div
class=
"fztip"
>
格子区域为画图区域,
每个辅助格子20px*20px,从左上角开始,横向为X轴,纵向为Y轴,标尺每个刻度10px,标尺实际像素需要刻度值*10
</div>
<div
class=
"fztip"
style=
"color:red;"
>
双击删除编辑区域内标签工具!!!!!!
</div>
<div
class=
"fztip"
><span
style=
"color:red;"
>
颜色选择器,复制此处颜色可用
</span><input
type=
"text"
id=
"colorpicker"
/></div>
...
...
@@ -130,8 +128,8 @@
<div
class=
"group-value clr"
>
<span
class=
"fl"
>
字体
</span>
<select
class=
"zt fl"
>
<option
value=
"SimSun"
>
宋体
</option>
<option
value=
"Microsoft YaHei"
>
微软雅黑
</option>
<option
value=
"SimSun"
>
宋体
</option>
<option
value=
"KaiTi"
>
楷体
</option>
<option
value=
"LiSu"
>
隶书
</option>
</select>
...
...
resources/views/web/prints.blade.php
View file @
2053e8ab
...
...
@@ -2,7 +2,8 @@
<style>
body
{
background
:
#fff
;}
body
{
background
:
#fff
;
margin
:
0px
;}
.edit-con
{
margin
:
10px
;}
.layui-btn
{
display
:
inline-block
;
height
:
38px
;
...
...
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