Commit 49431632 by 前端

咨询二维码

1 parent 1f1dd645
...@@ -8,7 +8,9 @@ Component({ ...@@ -8,7 +8,9 @@ Component({
* 组件的属性列表 * 组件的属性列表
*/ */
properties: { properties: {
qrCode: {
type: String,
}
}, },
/** /**
......
...@@ -18,6 +18,14 @@ ...@@ -18,6 +18,14 @@
height: 800rpx; height: 800rpx;
} }
.qrcode-icon {
position: absolute;
top: 548rpx;
right: 190rpx;
width: 374rpx;
height: 374rpx;
}
.tip-icon { .tip-icon {
position: absolute; position: absolute;
top: 500rpx; top: 500rpx;
......
...@@ -2,6 +2,7 @@ ...@@ -2,6 +2,7 @@
<block> <block>
<view class="model"> <view class="model">
<image class="bg-icon" webp src="{{IMGURL}}home/QR_code_bg.png?v={{img_version}}"></image> <image class="bg-icon" webp src="{{IMGURL}}home/QR_code_bg.png?v={{img_version}}"></image>
<image webp class="qrcode-icon" show-menu-by-longpress src="{{qrCode}}"></image>
<image class="tip-icon" webp src="{{IMGURL}}home/QR_code_tip.png?v={{img_version}}"></image> <image class="tip-icon" webp src="{{IMGURL}}home/QR_code_tip.png?v={{img_version}}"></image>
<image class="close-icon" bindtap="closeQR" webp src="{{IMGURL}}home/close_icon.png?v={{img_version}}"></image> <image class="close-icon" bindtap="closeQR" webp src="{{IMGURL}}home/close_icon.png?v={{img_version}}"></image>
</view> </view>
......
...@@ -9,6 +9,9 @@ Page({ ...@@ -9,6 +9,9 @@ Page({
data: { data: {
}, },
toIndex() {
wx.$router.go("/pages/tab/index/index");
},
/** /**
* 生命周期函数--监听页面加载 * 生命周期函数--监听页面加载
......
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
<view class="apply-tip">您的申请已提交,</view> <view class="apply-tip">您的申请已提交,</view>
<view class="apply-tip">请耐心等待顾问专员与您联系。</view> <view class="apply-tip">请耐心等待顾问专员与您联系。</view>
</view> </view>
<view class="back-text">返回名片</view> <view class="back-text" bindtap="toIndex">返回名片</view>
<view class="jump-box"> <view class="jump-box">
<view class="jump-box-item" bindtap="toBusinessMiniProgram"> <view class="jump-box-item" bindtap="toBusinessMiniProgram">
<view> <view>
......
...@@ -36,4 +36,4 @@ ...@@ -36,4 +36,4 @@
</view> </view>
<phone-number type="{{'home'}}" bindtoApplication="toApplication" hasPhoneNumber="{{hasPhoneNumber}}"></phone-number> <phone-number type="{{'home'}}" bindtoApplication="toApplication" hasPhoneNumber="{{hasPhoneNumber}}"></phone-number>
<!-- 客服咨询 --> <!-- 客服咨询 -->
<customer wx:if="{{showCustomer}}" bindcloseQR="closeQR"></customer>
\ No newline at end of file \ No newline at end of file
<customer wx:if="{{showCustomer}}" qrCode="{{cardInfo.qrCode}}" bindcloseQR="closeQR"></customer>
\ No newline at end of file \ No newline at end of file
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!