htc 11 часов назад
Родитель
Сommit
876dad4235
1 измененных файлов с 18 добавлено и 1 удалено
  1. 18 1
      pagesHome/weixin.vue

+ 18 - 1
pagesHome/weixin.vue

@@ -1,7 +1,9 @@
 <template>
 	<view class="page adffc" :style="{'min-height':h+'px', 'padding-top':mt+'px'}">
 		<cus-header title='专业支持'></cus-header>
-		<image src="https://oss.familydaf.cn/sxsnfile/20260123/c8fe42bed88b43f3be27628a7eedf94a.png" mode="widthFix" @click="handleBuy"></image>
+		<image src="https://oss.familydaf.cn/sxsnfile/20260123/bd3eb4445fcb4e1ba01a35572359b622.png" mode="widthFix" @click="handleQrCodeLongPress"></image>
+		<image src="https://oss.familydaf.cn/sxsnfile/20260123/656593e80a1344f8b4eab990bfa03cde.png" mode="widthFix" @click="handleGzg"></image>
+		<image src="https://oss.familydaf.cn/sxsnfile/20260123/b3cd19089c184bfa8bc181bda62a898e.png" mode="widthFix" @click="handleBuy"></image>
 	</view>
 </template>
 
@@ -13,6 +15,20 @@
 			}
 		},
 		methods:{
+			handleQrCodeLongPress() {
+				const imgUrl = 'https://oss.familydaf.cn/sxsnfile/20260123/8cf81d71eaae4a7a9f1fcd1e90934d75.png';
+				uni.previewImage({
+					current: imgUrl, // 当前显示图片的链接
+					urls: [imgUrl], // 需要预览的图片链接列表
+					// 禁用预览图的保存等功能,只保留识别二维码
+					enableSaveToPhotoAlbum: false
+				});
+			},
+			handleGzg(){
+				uni.navigateTo({
+					url:'/pages/webView?src=https://mp.weixin.qq.com/s/KTm7E8QS3tPOTQUs2wGtRw'
+				})
+			},
 			handleBuy(){
 				uni.navigateToMiniProgram({
 					appId:'wx3d545d3ff0c1164d'
@@ -24,6 +40,7 @@
 
 <style scoped lang="scss">
 	.page{
+		background: #002846;
 		box-sizing: border-box;
 		image{
 			width: 100%;