Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
marketing
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
陈玉桐
marketing
Commits
0b6bc21d
Commit
0b6bc21d
authored
Dec 19, 2019
by
陈玉桐
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix fuck
parent
193223ec
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
6 deletions
+14
-6
tool.vue
src/views/tool.vue
+14
-6
No files found.
src/views/tool.vue
View file @
0b6bc21d
...
@@ -212,8 +212,8 @@ export default {
...
@@ -212,8 +212,8 @@ export default {
original
:
false
,
// 上传图片是否显示原始宽高
original
:
false
,
// 上传图片是否显示原始宽高
canMoveBox
:
true
,
// 能否拖动截图框
canMoveBox
:
true
,
// 能否拖动截图框
autoCrop
:
true
,
// 是否默认生成截图框
autoCrop
:
true
,
// 是否默认生成截图框
autoCropWidth
:
150
,
autoCropWidth
:
200
,
autoCropHeight
:
150
,
autoCropHeight
:
150
,
fixedBox
:
false
// 截图框固定大小
fixedBox
:
false
// 截图框固定大小
},
},
cropperShow
:
false
,
cropperShow
:
false
,
...
@@ -314,9 +314,17 @@ export default {
...
@@ -314,9 +314,17 @@ export default {
this
.
guideStatus
=
response
.
data
.
guideStatus
this
.
guideStatus
=
response
.
data
.
guideStatus
if
(
this
.
days
!=
60
){
if
(
this
.
days
==
60
){
var
deviceW
=
document
.
documentElement
.
clientWidth
;
this
.
option
.
autoCropWidth
=
document
.
documentElement
.
clientWidth
var
deviceH
=
document
.
documentElement
.
clientHeight
;
this
.
option
.
autoCropHeight
=
document
.
documentElement
.
clientWidth
/
1.364
}
else
{
this
.
option
.
autoCropWidth
=
document
.
documentElement
.
clientWidth
this
.
option
.
autoCropHeight
=
document
.
documentElement
.
clientWidth
/
0.883
}
// if(this.days!=60){
// var deviceW = document.documentElement.clientWidth;
// var deviceH = document.documentElement.clientHeight;
// alert(deviceW+','+deviceH)
// alert(deviceW+','+deviceH)
// let pic = document.getElementById("posterOutAddpicBox")
// let pic = document.getElementById("posterOutAddpicBox")
...
@@ -338,7 +346,7 @@ export default {
...
@@ -338,7 +346,7 @@ export default {
// pic.style.width = '230px'
// pic.style.width = '230px'
// pic.style.height = '230px'
// pic.style.height = '230px'
// }
// }
}
//
}
})
})
},
},
methods
:
{
methods
:
{
...
...
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