Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
glsx
/
gl_tape
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
3
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 01a8718b
authored
Apr 08, 2024
by
胡悦
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'v1.0.1' of
http://192.168.3.233:8090/glsx/gl_tape
into v1.0.1
2 parents
baed7146
6411869d
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
501 additions
and
511 deletions
components/Canvas/color.vue
components/Canvas/wn-canvas.vue
pages/common/accountItems.vue
components/Canvas/color.vue
View file @
01a8718
...
@@ -22,456 +22,461 @@
...
@@ -22,456 +22,461 @@
return
{
return
{
colorArr
:
[
colorArr
:
[
{
{
color
:
'#
7f2a3f
'
,
color
:
'#
096
'
,
index
:
'01'
index
:
'01'
},
{
},
{
color
:
'
#e24187
'
,
color
:
'
red
'
,
index
:
'03'
index
:
'03'
},
{
},
{
color
:
'#
f5305d
'
,
color
:
'#
000
'
,
index
:
'04'
index
:
'04'
},
{
},
{
color
:
'
#de4156
'
,
color
:
'
blue
'
,
index
:
'05'
index
:
'05'
},
{
},
color
:
'#fe42cd'
,
{
color
:
'yellow'
,
index
:
'06'
index
:
'06'
},
{
},
color
:
'#f48b9a'
,
// {
index
:
'07'
// color: '#fe42cd',
},
{
// index: '06'
color
:
'#ec8191'
,
// }, {
index
:
'08'
// color: '#f48b9a',
},
{
// index: '07'
color
:
'#f9aeb5'
,
// }, {
index
:
'09'
// color: '#ec8191',
},
{
// index: '08'
color
:
'#f21d5f'
,
// }, {
index
:
'10'
// color: '#f9aeb5',
},
{
// index: '09'
color
:
'#cc3739'
,
// }, {
index
:
'11'
// color: '#f21d5f',
},
{
// index: '10'
color
:
'#dd5047'
,
// }, {
index
:
'12'
// color: '#cc3739',
},
{
// index: '11'
color
:
'#e24187'
,
// }, {
index
:
'13'
// color: '#dd5047',
},
{
// index: '12'
color
:
'#fa6449'
,
// }, {
index
:
'14'
// color: '#e24187',
},
{
// index: '13'
color
:
'#e8495b'
,
// }, {
index
:
'15'
// color: '#fa6449',
},
{
// index: '14'
color
:
'#fb7162'
,
// }, {
index
:
'16'
// color: '#e8495b',
},
{
// index: '15'
color
:
'#f6afd1'
,
// }, {
index
:
'17'
// color: '#fb7162',
},
{
// index: '16'
color
:
'#fbb6b9'
,
// }, {
index
:
'18'
// color: '#f6afd1',
},
{
// index: '17'
color
:
'#db6f27'
,
// }, {
index
:
'21'
// color: '#fbb6b9',
},
{
// index: '18'
color
:
'#ed702e'
,
// }, {
index
:
'22'
// color: '#db6f27',
},
{
// index: '21'
color
:
'#f99627'
,
// }, {
index
:
'23'
// color: '#ed702e',
},
{
// index: '22'
color
:
'#eb8926'
,
// }, {
index
:
'24'
// color: '#f99627',
},
{
// index: '23'
color
:
'#edc3aa'
,
// }, {
index
:
'25'
// color: '#eb8926',
},
{
// index: '24'
color
:
'#e1d8cf'
,
// }, {
index
:
'26'
// color: '#edc3aa',
},
{
// index: '25'
color
:
'#deebc5'
,
// }, {
index
:
'27'
// color: '#e1d8cf',
},
{
// index: '26'
color
:
'#fccdc7'
,
// }, {
index
:
'28'
// color: '#deebc5',
},
{
// index: '27'
color
:
'#dbbdd2'
,
// }, {
index
:
'29'
// color: '#fccdc7',
},
{
// index: '28'
color
:
'#e8a321'
,
// }, {
index
:
'31'
// color: '#dbbdd2',
},
{
// index: '29'
color
:
'#db6f27'
,
// }, {
index
:
'32'
// color: '#e8a321',
},
{
// index: '31'
color
:
'#edb74b'
,
// }, {
index
:
'33'
// color: '#db6f27',
},
{
// index: '32'
color
:
'#e8b741'
,
// }, {
index
:
'34'
// color: '#edb74b',
},
{
// index: '33'
color
:
'#fef052'
,
// }, {
index
:
'35'
// color: '#e8b741',
},
{
// index: '34'
color
:
'#ffd684'
,
// }, {
index
:
'36'
// color: '#fef052',
},
{
// index: '35'
color
:
'#e2d958'
,
// }, {
index
:
'37'
// color: '#ffd684',
},
{
// index: '36'
color
:
'#e2e5d0'
,
// }, {
index
:
'38'
// color: '#e2d958',
},
{
// index: '37'
color
:
'#ba9431'
,
// }, {
index
:
'41'
// color: '#e2e5d0',
},
{
// index: '38'
color
:
'#797f5d'
,
// }, {
index
:
'42'
// color: '#ba9431',
},
{
// index: '41'
color
:
'#536d50'
,
// }, {
index
:
'43'
// color: '#797f5d',
},
{
// index: '42'
color
:
'#d8b53f'
,
// }, {
index
:
'44'
// color: '#536d50',
},
{
// index: '43'
color
:
'#d4c172'
,
// }, {
index
:
'45'
// color: '#d8b53f',
},
{
// index: '44'
color
:
'#32b75c'
,
// }, {
index
:
'46'
// color: '#d4c172',
},
{
// index: '45'
color
:
'#90D15B'
,
// }, {
index
:
'47'
// color: '#32b75c',
},
{
// index: '46'
color
:
'#c5d52a'
,
// }, {
index
:
'48'
// color: '#90D15B',
},
{
// index: '47'
color
:
'#e8e098'
,
// }, {
index
:
'49'
// color: '#c5d52a',
},
{
// index: '48'
color
:
'#1b6661'
,
// }, {
index
:
'50'
// color: '#e8e098',
},
{
// index: '49'
color
:
'#3b4f4d'
,
// }, {
index
:
'51'
// color: '#1b6661',
},
{
// index: '50'
color
:
'#336559'
,
// }, {
index
:
'52'
// color: '#3b4f4d',
},
{
// index: '51'
color
:
'#01776e'
,
// }, {
index
:
'53'
// color: '#336559',
},
{
// index: '52'
color
:
'#2e7662'
,
// }, {
index
:
'54'
// color: '#01776e',
},
{
// index: '53'
color
:
'#439877'
,
// }, {
index
:
'55'
// color: '#2e7662',
},
{
// index: '54'
color
:
'#0ba066'
,
// }, {
index
:
'56'
// color: '#439877',
},
{
// index: '55'
color
:
'#318488'
,
// }, {
index
:
'57'
// color: '#0ba066',
},
{
// index: '56'
color
:
'#6fd3c9'
,
// }, {
index
:
'58'
// color: '#318488',
},
{
// index: '57'
color
:
'#b9d3ac'
,
// }, {
index
:
'59'
// color: '#6fd3c9',
},
{
// index: '58'
color
:
'#0e898e'
,
// }, {
index
:
'61'
// color: '#b9d3ac',
},
{
// index: '59'
color
:
'#317194'
,
// }, {
index
:
'62'
// color: '#0e898e',
},
{
// index: '61'
color
:
'#029bc7'
,
// }, {
index
:
'63'
// color: '#317194',
},
{
// index: '62'
color
:
'#2a8ec9'
,
// }, {
index
:
'64'
// color: '#029bc7',
},
{
// index: '63'
color
:
'#57c9d3'
,
// }, {
index
:
'65'
// color: '#2a8ec9',
},
{
// index: '64'
color
:
'#65b3df'
,
// }, {
index
:
'67'
// color: '#57c9d3',
},
{
// index: '65'
color
:
'#8bd0d7'
,
// }, {
index
:
'68'
// color: '#65b3df',
},
{
// index: '67'
color
:
'#4B4881'
,
// }, {
index
:
'69'
// color: '#8bd0d7',
},
{
// index: '68'
color
:
'#77A1CB'
,
// }, {
index
:
'70'
// color: '#4B4881',
},
{
// index: '69'
color
:
'#3051BB'
,
// }, {
index
:
'71'
// color: '#77A1CB',
},
{
// index: '70'
color
:
'#2E41A7'
,
// }, {
index
:
'72'
// color: '#3051BB',
},
{
// index: '71'
color
:
'#704CAE'
,
// }, {
index
:
'73'
// color: '#2E41A7',
},
{
// index: '72'
color
:
'#385BD1'
,
// }, {
index
:
'74'
// color: '#704CAE',
},
{
// index: '73'
color
:
'#E0DFED'
,
// }, {
index
:
'75'
// color: '#385BD1',
},
{
// index: '74'
color
:
'#A6BDE9'
,
// }, {
index
:
'76'
// color: '#E0DFED',
},
{
// index: '75'
color
:
'#B3B9DD'
,
// }, {
index
:
'77'
// color: '#A6BDE9',
},
{
// index: '76'
color
:
'#7942A8'
,
// }, {
index
:
'81'
// color: '#B3B9DD',
},
{
// index: '77'
color
:
'#8F52BA'
,
// }, {
index
:
'82'
// color: '#7942A8',
},
{
// index: '81'
color
:
'#9680C0'
,
// }, {
index
:
'83'
// color: '#8F52BA',
},
{
// index: '82'
color
:
'#CD82BB'
,
// }, {
index
:
'84'
// color: '#9680C0',
},
{
// index: '83'
color
:
'#8E2A80'
,
// }, {
index
:
'85'
// color: '#CD82BB',
},
{
// index: '84'
color
:
'#E24CB0'
,
// }, {
index
:
'86'
// color: '#8E2A80',
},
{
// index: '85'
color
:
'#CC2A75'
,
// }, {
index
:
'87'
// color: '#E24CB0',
},
{
// index: '86'
color
:
'#ED89D2'
,
// }, {
index
:
'88'
// color: '#CC2A75',
},
{
// index: '87'
color
:
'#F562B6'
,
// }, {
index
:
'89'
// color: '#ED89D2',
},
{
// index: '88'
color
:
'#8B3B32'
,
// }, {
index
:
'91'
// color: '#F562B6',
},
{
// index: '89'
color
:
'#593A35'
,
// }, {
index
:
'92'
// color: '#8B3B32',
},
{
// index: '91'
color
:
'#7A3C2D'
,
// }, {
index
:
'93'
// color: '#593A35',
},
{
// index: '92'
color
:
'#7D2E21'
,
// }, {
index
:
'94'
// color: '#7A3C2D',
},
{
// index: '93'
color
:
'#935A47'
,
// }, {
index
:
'95'
// color: '#7D2E21',
},
{
// index: '94'
color
:
'#A05047'
,
// }, {
index
:
'96'
// color: '#935A47',
},
{
// index: '95'
color
:
'#E39476'
,
// }, {
index
:
'97'
// color: '#A05047',
},
{
// index: '96'
color
:
'#4E3F3C'
,
// }, {
index
:
'98'
// color: '#E39476',
},
{
// index: '97'
color
:
'#5A4939'
,
// }, {
index
:
'99'
// color: '#4E3F3C',
},
{
// index: '98'
color
:
'#EDE8EC'
,
// }, {
index
:
'100'
// color: '#5A4939',
},
{
// index: '99'
color
:
'#C0813A'
,
// }, {
index
:
'101'
// color: '#EDE8EC',
},
{
// index: '100'
color
:
'#77432E'
,
// }, {
index
:
'102'
// color: '#C0813A',
},
{
// index: '101'
color
:
'#C17748'
,
// }, {
index
:
'103'
// color: '#77432E',
},
{
// index: '102'
color
:
'#C7AC39'
,
// }, {
index
:
'104'
// color: '#C17748',
},
{
// index: '103'
color
:
'#DBA179'
,
// }, {
index
:
'107'
// color: '#C7AC39',
},
{
// index: '104'
color
:
'#D8D3D0'
,
// }, {
index
:
'109'
// color: '#DBA179',
},
{
// index: '107'
color
:
'#091A22'
,
// }, {
index
:
'120'
// color: '#D8D3D0',
},
{
// index: '109'
color
:
'#CA3A32'
,
// }, {
index
:
'121'
// color: '#091A22',
},
{
// index: '120'
color
:
'#FAAB60'
,
// }, {
index
:
'122'
// color: '#CA3A32',
},
{
// index: '121'
color
:
'#CADEAD'
,
// }, {
index
:
'123'
// color: '#FAAB60',
},
{
// index: '122'
color
:
'#C7D858'
,
// }, {
index
:
'124'
// color: '#CADEAD',
},
{
// index: '123'
color
:
'#F264D0'
,
// }, {
index
:
'125'
// color: '#C7D858',
},
{
// index: '124'
color
:
'#F77ADC'
,
// }, {
index
:
'126'
// color: '#F264D0',
},
{
// index: '125'
color
:
'#FAE7D9'
,
// }, {
index
:
'131'
// color: '#F77ADC',
},
{
// index: '126'
color
:
'#E6D9D1'
,
// }, {
index
:
'132'
// color: '#FAE7D9',
},
{
// index: '131'
color
:
'#EBCDB1'
,
// }, {
index
:
'133'
// color: '#E6D9D1',
},
{
// index: '132'
color
:
'#E2DCCC'
,
// }, {
index
:
'134'
// color: '#EBCDB1',
},
{
// index: '133'
color
:
'#FAD9D2'
,
// }, {
index
:
'135'
// color: '#E2DCCC',
},
{
// index: '134'
color
:
'#E1C2BD'
,
// }, {
index
:
'136'
// color: '#FAD9D2',
},
{
// index: '135'
color
:
'#E5BBCF'
,
// }, {
index
:
'137'
// color: '#E1C2BD',
},
{
// index: '136'
color
:
'#F7BACC'
,
// }, {
index
:
'138'
// color: '#E5BBCF',
},
{
// index: '137'
color
:
'#E9CBC1'
,
// }, {
index
:
'139'
// color: '#F7BACC',
},
{
// index: '138'
color
:
'#EBB89F'
,
// }, {
index
:
'140'
// color: '#E9CBC1',
},
{
// index: '139'
color
:
'#E6D09E'
,
// }, {
index
:
'141'
// color: '#EBB89F',
},
{
// index: '140'
color
:
'#E2B78D'
,
// }, {
index
:
'142'
// color: '#E6D09E',
},
{
// index: '141'
color
:
'#D1E4EB'
,
// }, {
index
:
'143'
// color: '#E2B78D',
},
{
// index: '142'
color
:
'#B9D9EE'
,
// }, {
index
:
'144'
// color: '#D1E4EB',
},
{
// index: '143'
color
:
'#CFD0E2'
,
// }, {
index
:
'145'
// color: '#B9D9EE',
},
{
// index: '144'
color
:
'#CECFF0'
,
// }, {
index
:
'146'
// color: '#CFD0E2',
},
{
// index: '145'
color
:
'#D6C3E3'
,
// }, {
index
:
'147'
// color: '#CECFF0',
},
{
// index: '146'
color
:
'#E3F0C5'
,
// }, {
index
:
'163'
// color: '#D6C3E3',
},
{
// index: '147'
color
:
'#DAD792'
,
// }, {
index
:
'164'
// color: '#E3F0C5',
},
{
// index: '163'
color
:
'#D4D4BC'
,
// }, {
index
:
'166'
// color: '#DAD792',
},
{
// index: '164'
color
:
'#C0D0AB'
,
// }, {
index
:
'167'
// color: '#D4D4BC',
},
{
// index: '166'
color
:
'#D7C6A8'
,
// }, {
index
:
'169'
// color: '#C0D0AB',
},
{
// index: '167'
color
:
'#D9E9E8'
,
// }, {
index
:
'171'
// color: '#D7C6A8',
},
{
// index: '169'
color
:
'#B4E0C7'
,
// }, {
index
:
'172'
// color: '#D9E9E8',
},
{
// index: '171'
color
:
'#D6E2BA'
,
// }, {
index
:
'173'
// color: '#B4E0C7',
},
{
// index: '172'
color
:
'#E3E5D0'
,
// }, {
index
:
'174'
// color: '#D6E2BA',
},
{
// index: '173'
color
:
'#C1D39A'
,
// }, {
index
:
'175'
// color: '#E3E5D0',
},
{
// index: '174'
color
:
'#AFE4E6'
,
// }, {
index
:
'178'
// color: '#C1D39A',
},
{
// index: '175'
color
:
'#92DDE2'
,
// }, {
index
:
'179'
// color: '#AFE4E6',
},
{
// index: '178'
color
:
'#DBE0E6'
,
// }, {
index
:
'182'
// color: '#92DDE2',
},
{
// index: '179'
color
:
'#8FBFF0'
,
// }, {
index
:
'183'
// color: '#DBE0E6',
},
{
// index: '182'
color
:
'#9DCDE1'
,
// }, {
index
:
'185'
// color: '#8FBFF0',
},
{
// index: '183'
color
:
'#BBC4BF'
,
// }, {
index
:
'196'
// color: '#9DCDE1',
},
{
// index: '185'
color
:
'#E484A9'
,
// }, {
index
:
'198'
// color: '#BBC4BF',
},
{
// index: '196'
color
:
'#BBC4BF'
,
// }, {
index
:
'GG3'
// color: '#E484A9',
},
{
// index: '198'
color
:
'#494A4C'
,
// }, {
index
:
'CG9'
// color: '#BBC4BF',
},
{
// index: 'GG3'
color
:
'#C2CEDA'
,
// }, {
index
:
'BG1'
// color: '#494A4C',
},
{
// index: 'CG9'
color
:
'#C1C3D3'
,
// }, {
index
:
'BG3'
// color: '#C2CEDA',
},
{
// index: 'BG1'
color
:
'#8696A3'
,
// }, {
index
:
'BG5'
// color: '#C1C3D3',
},
{
// index: 'BG3'
color
:
'#646A76'
,
// }, {
index
:
'BG7'
// color: '#8696A3',
},
{
// index: 'BG5'
color
:
'#415361'
,
// }, {
index
:
'BG9'
// color: '#646A76',
},
{
// index: 'BG7'
color
:
'#DFDEE3'
,
// }, {
index
:
'WG.5'
// color: '#415361',
},
{
// index: 'BG9'
color
:
'#CBC6CC'
,
// }, {
index
:
'WG1'
// color: '#DFDEE3',
},
{
// index: 'WG.5'
color
:
'#B6B0B2'
,
// }, {
index
:
'WG2'
// color: '#CBC6CC',
},
{
// index: 'WG1'
color
:
'#C5BBBA'
,
// }, {
index
:
'WG3'
// color: '#B6B0B2',
},
{
// index: 'WG2'
color
:
'#958A92'
,
// }, {
index
:
'WG4'
// color: '#C5BBBA',
},
{
// index: 'WG3'
color
:
'#837477'
,
// }, {
index
:
'WG5'
// color: '#958A92',
},
{
// index: 'WG4'
color
:
'#8A7E7E'
,
// }, {
index
:
'WG6'
// color: '#837477',
},
{
// index: 'WG5'
color
:
'#4D4342'
,
// }, {
index
:
'WG9'
// color: '#8A7E7E',
}
// index: 'WG6'
// }, {
// color: '#4D4342',
// index: 'WG9'
// }
]
]
}
}
},
},
...
@@ -485,7 +490,7 @@
...
@@ -485,7 +490,7 @@
<
style
lang=
"scss"
>
<
style
lang=
"scss"
>
.color
{
.color
{
position
:
absolute
;
position
:
fixed
;
left
:
0
;
left
:
0
;
bottom
:
0
;
bottom
:
0
;
right
:
0
;
right
:
0
;
...
@@ -493,9 +498,15 @@
...
@@ -493,9 +498,15 @@
display
:
none
;
display
:
none
;
z-index
:
10
;
z-index
:
10
;
width
:
100vw
;
width
:
100vw
;
height
:
100vh
;
overflow
:
scroll
;
.color-section
{
.color-section
{
width
:
100%
;
height
:
100%
;
display
:
flex
;
display
:
flex
;
flex-wrap
:
wrap
;
flex-wrap
:
wrap
;
align-items
:
center
;
justify-content
:
center
;
.color-item
{
.color-item
{
width
:
10%
;
width
:
10%
;
aspect-ratio
:
1
;
aspect-ratio
:
1
;
...
...
components/Canvas/wn-canvas.vue
View file @
01a8718
...
@@ -71,12 +71,12 @@
...
@@ -71,12 +71,12 @@
url
:
require
(
"./img/back.png"
),
url
:
require
(
"./img/back.png"
),
activeUrl
:
require
(
"./img/back.png"
)
activeUrl
:
require
(
"./img/back.png"
)
},
},
{
//
{
title
:
"橡皮"
,
//
title: "橡皮",
key
:
"eraser"
,
//
key: "eraser",
url
:
require
(
"./img/eraser.png"
),
//
url: require("./img/eraser.png"),
activeUrl
:
require
(
"./img/eraser-active.png"
)
//
activeUrl: require("./img/eraser-active.png")
},
//
},
{
{
title
:
"颜色"
,
title
:
"颜色"
,
key
:
"color"
,
key
:
"color"
,
...
@@ -90,36 +90,36 @@
...
@@ -90,36 +90,36 @@
activeUrl
:
require
(
"./img/pen-active.png"
),
activeUrl
:
require
(
"./img/pen-active.png"
),
active
:
true
active
:
true
},
},
{
//
{
title
:
"直线"
,
//
title: "直线",
key
:
"line"
,
//
key: "line",
url
:
require
(
"./img/line.png"
),
//
url: require("./img/line.png"),
activeUrl
:
require
(
"./img/line-active.png"
)
//
activeUrl: require("./img/line-active.png")
},
//
},
{
//
{
title
:
"圆形"
,
//
title: "圆形",
key
:
"circle"
,
//
key: "circle",
url
:
require
(
"./img/circle.png"
),
//
url: require("./img/circle.png"),
activeUrl
:
require
(
"./img/circle-active.png"
)
//
activeUrl: require("./img/circle-active.png")
},
//
},
{
//
{
title
:
"方形"
,
//
title: "方形",
key
:
"rect"
,
//
key: "rect",
url
:
require
(
"./img/rect.png"
),
//
url: require("./img/rect.png"),
activeUrl
:
require
(
"./img/rect-active.png"
)
//
activeUrl: require("./img/rect-active.png")
},
//
},
{
//
{
title
:
"实圆"
,
//
title: "实圆",
key
:
"circle-fill"
,
//
key: "circle-fill",
url
:
require
(
"./img/circle-fill.png"
),
//
url: require("./img/circle-fill.png"),
activeUrl
:
require
(
"./img/circle-fill-active.png"
)
//
activeUrl: require("./img/circle-fill-active.png")
},
//
},
{
//
{
title
:
"实方"
,
//
title: "实方",
key
:
"rect-fill"
,
//
key: "rect-fill",
url
:
require
(
"./img/rect-fill.png"
),
//
url: require("./img/rect-fill.png"),
activeUrl
:
require
(
"./img/rect-fill-active.png"
)
//
activeUrl: require("./img/rect-fill-active.png")
},
//
},
{
{
title
:
"下载"
,
title
:
"下载"
,
...
@@ -127,12 +127,12 @@
...
@@ -127,12 +127,12 @@
url
:
require
(
"./img/download.png"
),
url
:
require
(
"./img/download.png"
),
activeUrl
:
require
(
"./img/download.png"
)
activeUrl
:
require
(
"./img/download.png"
)
},
},
{
//
{
title
:
"分享"
,
//
title: "分享",
key
:
"share"
,
//
key: "share",
url
:
require
(
"./img/share.png"
),
//
url: require("./img/share.png"),
activeUrl
:
require
(
"./img/share.png"
)
//
activeUrl: require("./img/share.png")
}
//
}
],
],
toolsShow
:
true
,
toolsShow
:
true
,
isLandScape
:
false
,
//是否横屏
isLandScape
:
false
,
//是否横屏
...
@@ -216,6 +216,7 @@
...
@@ -216,6 +216,7 @@
penBegin
(
x
,
y
)
{
penBegin
(
x
,
y
)
{
this
.
begin
=
true
;
this
.
begin
=
true
;
this
.
drawContext
.
beginPath
()
this
.
drawContext
.
beginPath
()
this
.
drawContext
.
setStrokeStyle
(
this
.
currentColor
);
this
.
startX
=
x
;
this
.
startX
=
x
;
this
.
startY
=
y
;
this
.
startY
=
y
;
this
.
drawContext
.
moveTo
(
this
.
startX
,
this
.
startY
)
this
.
drawContext
.
moveTo
(
this
.
startX
,
this
.
startY
)
...
@@ -790,7 +791,7 @@
...
@@ -790,7 +791,7 @@
width
:
1.8rem
;
width
:
1.8rem
;
height
:
1.8rem
;
height
:
1.8rem
;
box-sizing
:
border-box
;
box-sizing
:
border-box
;
position
:
fixed
;
position
:
absolute
;
right
:
0.1rem
;
right
:
0.1rem
;
top
:
0.5rem
;
top
:
0.5rem
;
z-index
:
10
;
z-index
:
10
;
...
@@ -889,12 +890,13 @@
...
@@ -889,12 +890,13 @@
/* 横屏 */
/* 横屏 */
@media
screen
and
(
orientation
:
landscape
)
{
@media
screen
and
(
orientation
:
landscape
)
{
.tools-box
{
.tools-box
{
position
:
fixed
;
position
:
absolute
;
height
:
80vh
;
height
:
80vh
;
z-index
:
10
;
z-index
:
10
;
overflow
:
auto
;
overflow
:
auto
;
right
:
0
;
right
:
0
;
top
:
50%
;
transform
:
translateY
(
-50%
);
.tools
{
.tools
{
width
:
1.8rem
;
width
:
1.8rem
;
flex-direction
:
column
;
flex-direction
:
column
;
...
...
pages/common/accountItems.vue
View file @
01a8718
...
@@ -71,17 +71,6 @@
...
@@ -71,17 +71,6 @@
</template>
</template>
<view
class=
"scrollSpase"
></view>
<view
class=
"scrollSpase"
></view>
</scroll-view>
</scroll-view>
<view
class=
"content"
style=
"width:100%;height:800px;"
>
<!-- <wnCanvas
saveImageType="3"
@saveImage="saveImage"
:drawImage="drawImage"
:isUnderBkg="true"
@dowmloadErr='dowmloadErr'
@dowmloadSuc="dowmloadSuc"
></wnCanvas> -->
</view>
</view>
</view>
</template>
</template>
...
@@ -205,18 +194,6 @@ export default {
...
@@ -205,18 +194,6 @@ export default {
},
},
midle
(
item
)
{
midle
(
item
)
{
return
item
.
isSuper
==
true
?
'midle_1'
:
item
.
userType
==
1
?
'midle_2'
:
(
item
.
loginRole
==
3
?
'midle_3'
:
item
.
loginRole
==
4
?
'midle_4'
:
'midle_5'
)
return
item
.
isSuper
==
true
?
'midle_1'
:
item
.
userType
==
1
?
'midle_2'
:
(
item
.
loginRole
==
3
?
'midle_3'
:
item
.
loginRole
==
4
?
'midle_4'
:
'midle_5'
)
},
saveImage
(
url
)
{
//画板返回的图片地址
console
.
log
(
url
);
},
dowmloadErr
(
err
)
{
//下载图片失败时的回调
console
.
log
(
err
);
},
dowmloadSuc
(
res
)
{
//下载图片成功时的回调
console
.
log
(
res
);
}
}
}
}
}
}
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment