Commit 113aeb49 by liuchuanming

设置canvas高度&二维码尺寸修改

1 parent 20393cdc
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
ENV = 'development' ENV = 'development'
# 仟微管理系统/开发环境 # 仟微管理系统/开发环境
VUE_APP_BASE_API = 'http://146.56.222.200' VUE_APP_BASE_API = 'http://106.13.236.58:8080'
# VUE_APP_BASE_API = 'http://n3rpzt.natappfree.cc' # VUE_APP_BASE_API = 'http://n3rpzt.natappfree.cc'
# 开发环境IP # 开发环境IP
......
No preview for this file type

853 KB | W: | H:

19.3 KB | W: | H:

linkwe-ui/src/assets/poster/img/qrCodeImage.png
linkwe-ui/src/assets/poster/img/qrCodeImage.png
linkwe-ui/src/assets/poster/img/qrCodeImage.png
linkwe-ui/src/assets/poster/img/qrCodeImage.png
  • 2-up
  • Swipe
  • Onion skin
<template> <template>
<div> <div>
<div ref="tuiImageEditor" style="width: 100%;height: 100%;"></div> <div ref="tuiImageEditor" style="width: 100%;height: 700px;"></div>
<select-material ref="selectMaterial" type="1" :showArr="[1]" :visible.sync="visible" @success="getMaterial" /> <select-material ref="selectMaterial" type="1" :showArr="[1]" :visible.sync="visible" @success="getMaterial" />
</div> </div>
</template> </template>
...@@ -17,8 +17,7 @@ const includeUIOptions = { ...@@ -17,8 +17,7 @@ const includeUIOptions = {
} }
}; };
const editorDefaultOptions = { const editorDefaultOptions = {
cssMaxWidth: 640, cssMaxHeight: 700
cssMaxHeight: 1136
}; };
export default { export default {
name: 'PosterPage', name: 'PosterPage',
......
...@@ -80,6 +80,9 @@ export default { ...@@ -80,6 +80,9 @@ export default {
// path: 'https://gimg2.baidu.com/image_search/src=http%3A%2F%2Fimg1.gtimg.com%2Fsports%2Fpics%2Fhv1%2F171%2F106%2F1472%2F95744001.jpg&refer=http%3A%2F%2Fimg1.gtimg.com&app=2002&size=f9999,10000&q=a80&n=0&g=0n&fmt=jpeg?sec=1612444990&t=6589254fe9669cc6a45fd3688f269612', // path: 'https://gimg2.baidu.com/image_search/src=http%3A%2F%2Fimg1.gtimg.com%2Fsports%2Fpics%2Fhv1%2F171%2F106%2F1472%2F95744001.jpg&refer=http%3A%2F%2Fimg1.gtimg.com&app=2002&size=f9999,10000&q=a80&n=0&g=0n&fmt=jpeg?sec=1612444990&t=6589254fe9669cc6a45fd3688f269612',
// name: "posterImage" // name: "posterImage"
// }, // },
uiSize: {
height: '700px' // 设置固定高度
},
usageStatistics: false, usageStatistics: false,
menuBarPosition: "right", menuBarPosition: "right",
menu: ['text'], // FIXME 因为借用了CANVAS的UI 所以需要使用TEXT,需要额外注释,后面创建自己的UI在去掉 menu: ['text'], // FIXME 因为借用了CANVAS的UI 所以需要使用TEXT,需要额外注释,后面创建自己的UI在去掉
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!