Browse Source

Merge branch 'master' of https://gitee.com/sheepjs/shopro-uniapp

kele 2 years ago
parent
commit
d18e998923

+ 1 - 1
sheep/components/s-share-modal/canvas-poster/index.vue

@@ -48,7 +48,7 @@
 </template>
 
 <script setup>
-  import { computed, reactive, getCurrentInstance } from 'vue';
+  import { reactive, getCurrentInstance } from 'vue';
   import sheep from '@/sheep';
   import useCanvas from './useCanvas';
 

+ 2 - 1
sheep/components/s-share-modal/canvas-poster/poster/goods.js

@@ -47,7 +47,8 @@ const goods = (poster) => {
         val: poster.shareInfo.poster.title,
         x: width * 0.04,
         y: width * 1.18,
-        maxWidth: width * 0.92,
+        line: 2,
+        maxWidth: width * 0.91,
         lineHeight: 5,
         paintbrushProps: {
           fillStyle: '#333',

+ 2 - 1
sheep/components/s-share-modal/canvas-poster/poster/groupon.js

@@ -47,7 +47,8 @@ const groupon = (poster) => {
         val: poster.shareInfo.poster.title,
         x: width * 0.04,
         y: width * 1.18,
-        maxWidth: width * 0.92,
+        maxWidth: width * 0.91,
+        line: 2,
         lineHeight: 5,
         paintbrushProps: {
           fillStyle: '#333',