1
Showing
3 changed files
with
3 additions
and
2 deletions
... | @@ -7,7 +7,7 @@ | ... | @@ -7,7 +7,7 @@ |
7 | <!-- <meta name="viewport" content="width=device-width,initial-scale=1.0"> --> | 7 | <!-- <meta name="viewport" content="width=device-width,initial-scale=1.0"> --> |
8 | <meta name="viewport" | 8 | <meta name="viewport" |
9 | content="width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no"> | 9 | content="width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no"> |
10 | <link rel="icon" href="<%= BASE_URL %>favicon.ico"> | 10 | <!-- <link rel="icon" href="<%= BASE_URL %>favicon.ico"> --> |
11 | <title></title> | 11 | <title></title> |
12 | </head> | 12 | </head> |
13 | 13 | ... | ... |
... | @@ -192,7 +192,7 @@ export default { | ... | @@ -192,7 +192,7 @@ export default { |
192 | // clipperWidth = 250 | 192 | // clipperWidth = 250 |
193 | // } | 193 | // } |
194 | 194 | ||
195 | clipperWidth = clipperClientRect.width; | 195 | clipperWidth = clipperClientRect.width * 0.85; |
196 | clipperHeight = clipperWidth / 1.96875; | 196 | clipperHeight = clipperWidth / 1.96875; |
197 | 197 | ||
198 | // if (clipperHeight < 0 || clipperHeight > clipperClientRect.height) { | 198 | // if (clipperHeight < 0 || clipperHeight > clipperClientRect.height) { | ... | ... |
... | @@ -10,6 +10,7 @@ module.exports = { | ... | @@ -10,6 +10,7 @@ module.exports = { |
10 | //baseUrl 从 Vue CLI 3.3 起已弃用,请使用publicPath | 10 | //baseUrl 从 Vue CLI 3.3 起已弃用,请使用publicPath |
11 | //baseUrl: process.env.NODE_ENV === "production" ? "./" : "/", | 11 | //baseUrl: process.env.NODE_ENV === "production" ? "./" : "/", |
12 | publicPath: process.env.NODE_ENV === "dev" ? "/" : "https://kd.cdn.xyiyang.com/app/f2mb/", | 12 | publicPath: process.env.NODE_ENV === "dev" ? "/" : "https://kd.cdn.xyiyang.com/app/f2mb/", |
13 | // publicPath: process.env.NODE_ENV === "dev" ? "/" : "./", | ||
13 | 14 | ||
14 | // outputDir: 在npm run build 或 yarn build 时 ,生成文件的目录名称(要和baseUrl的生产环境路径一致) | 15 | // outputDir: 在npm run build 或 yarn build 时 ,生成文件的目录名称(要和baseUrl的生产环境路径一致) |
15 | outputDir: webpack_public_path, | 16 | outputDir: webpack_public_path, | ... | ... |
-
Please register or sign in to post a comment