浏览代码

新增弹窗咨询1

JXDS18FUJT 1 年之前
父节点
当前提交
55013a125b
共有 2 个文件被更改,包括 16 次插入5 次删除
  1. 16 5
      src/components/m-more-alert/m-more-alert.vue
  2. 0 0
      src/static/icon/green_ask_popup_bg@2x.png

+ 16 - 5
src/components/m-more-alert/m-more-alert.vue

@@ -1,12 +1,22 @@
 <template>
     <div>
         <van-popup custom-style="background-color: transparent;" :show="qrCodeVisable">
-            <image class="more" mode="widthFix" src="/static/icon/green_more_popup_bg@2x.png"></image>
-            <image class="" :src="codeImg"></image>
-            <view style="text-align: center;">
-                <image style="width: 64rpx;margin-top: 50rpx;" mode="widthFix" src="/static/icon/green_cha@2x.png"></image>
+            <view :style="{
+                backgroundImage: 'url(/static/icon/green_ask_popup_bg@2x.png' + ')',
+                width: '580rpx',
+                height: '865rpx',
+                backgroundSize: '100% 100%'
+
+            }">
+
+                <image style="width: 220rpx;position: absolute;top:365rpx;left: 180rpx;" mode="widthFix" :src="codeImg">
+                </image>
+            </view>
+            <view style="text-align: center;margin-top: 50rpx;">
+                <image style="width:64rpx" mode="widthFix" class="code" src="/static/icon/green_cha@2x.png"></image>
             </view>
 
+
         </van-popup>
         <div @click="() => {
             qrCodeVisable = true
@@ -75,4 +85,5 @@ export default {
         margin-left: 26rpx;
         margin-top: 6rpx;
     }
-}</style>
+}
+</style>

+ 0 - 0
src/static/icon/green_more_popup_bg@2x.png → src/static/icon/green_ask_popup_bg@2x.png