Forráskód Böngészése

2024-05-17 名片海报

codeMan 1 éve
szülő
commit
fb56b1a27f
2 módosított fájl, 2 hozzáadás és 6 törlés
  1. 0 3
      cloud/businessCard/index.vue
  2. 2 3
      cloud/businessCard/share.vue

+ 0 - 3
cloud/businessCard/index.vue

@@ -144,9 +144,6 @@ export default {
                     })
                 }
             });
-        },
-        shareWx () {
-
         }
     },
     onShareAppMessage(res) {

+ 2 - 3
cloud/businessCard/share.vue

@@ -1,8 +1,8 @@
 <template>
     <view class="card-box">
         <lPainter ref="painter" css="position:relative;">
-            <lPainterView :css="'background:#ffffff;width:'+tovw(280)+';height:'+tovw(463)">
-                <lPainterImage :src="imageUrl" :css="'width:'+tovw(280)+';height:'+tovw(200)" object-fit="fill" />
+            <lPainterView :css="'background:#ffffff;border-radius:'+tovw(8)+';width:'+tovw(280)+';height:'+tovw(463)">
+                <lPainterImage :src="imageUrl" :css="'width:'+tovw(280)+';height:'+tovw(200)+';border-radius:'+tovw(8)" object-fit="fill" />
 
                 <lPainterView :css="'display: flex;flex-direction: column;margin:auto;align-items: center;position: absolute;bottom: '+tovw(25)+';width:'+tovw(140)">
                     <lPainterView :css="'width:'+tovw(56)+';height:'+tovw(56)+';border-radius:50%;background:#ffffff'">
@@ -151,7 +151,6 @@ export default {
 .card-box {
     width:280px;
     height: 463px;
-    background: #ffffff;
     margin: 20px auto 0 auto;
     box-sizing: border-box;
     .bottom {