Browse Source

文字居中 图片放大

bding 1 year ago
parent
commit
aa208ef70c

+ 1 - 0
pages-message/activityTemplate/activityTemplate.vue

@@ -63,6 +63,7 @@ export default {
     line-height: 60rpx;
     color: #333333;
     margin-bottom: 50rpx;
+    text-align: center;
   }
   .lable-title {
     height: 60rpx;

+ 6 - 1
pages-message/applyFor/applyFor.vue

@@ -20,7 +20,7 @@
       <view class="item-content">
         <text class="item-key"> 名片:</text>
       </view>
-      <image class="card-box" :src="detaList.BusinessCardUrl"></image>
+      <image class="card-box" :src="detaList.BusinessCardUrl" @click="lookImage"></image>
     </blcok>
   </view>
 </template>
@@ -44,6 +44,11 @@ export default {
         this.detaList = Data.Detail || {};
       }
     },
+    lookImage() {
+      uni.previewImage({
+        urls: [this.detaList.BusinessCardUrl], //查看图片的数组
+      });
+    },
   },
   onLoad(options) {
     console.log(options);