Просмотр исходного кода

轮播图点样式调整;专业支持优化

htc 13 часов назад
Родитель
Сommit
2c09c3b18b
2 измененных файлов с 24 добавлено и 17 удалено
  1. 6 6
      pages/home.vue
  2. 18 11
      pagesHome/weixin.vue

+ 6 - 6
pages/home.vue

@@ -268,16 +268,16 @@
 		border-radius: 24rpx !important;
 	}
 	::v-deep .indicator__dot{
-		width: 12rpx;
-		height: 12rpx;
+		width: 10rpx;
+		height: 10rpx;
 		background: transparent;
 		border: 2rpx solid #FFFFFF;
-		border-radius: 6rpx;
-		margin: 0 8rpx;
+		border-radius: 50%;
+		margin: 0 7rpx;
 	}
 	::v-deep .indicator__dot--active{
-		width: 12rpx;
-		height: 12rpx;
+		width: 10rpx;
+		height: 10rpx;
 		background: #FFFFFF;
 	}
 	

+ 18 - 11
pagesHome/weixin.vue

@@ -1,9 +1,12 @@
 <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/bd3eb4445fcb4e1ba01a35572359b622.png" mode="widthFix" @click="handleQrCodeLongPress"></image>
+		<image src="https://oss.familydaf.cn/sxsnfile/20260123/bd3eb4445fcb4e1ba01a35572359b622.png" mode="widthFix" @click="show=true"></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>
+		<div class="dialog adffcacjc" v-if="show" @click="show=false">
+			<image src="https://oss.familydaf.cn/sxsnfile/20260123/8cf81d71eaae4a7a9f1fcd1e90934d75.png" mode="widthFix" show-menu-by-longpress></image>
+		</div>
 	</view>
 </template>
 
@@ -11,19 +14,10 @@
 	export default {
 		data(){
 			return {
-				
+				show:false
 			}
 		},
 		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'
@@ -45,5 +39,18 @@
 		image{
 			width: 100%;
 		}
+		
+		.dialog{
+			position: fixed;
+			left: 0;
+			right: 0;
+			top: 0;
+			bottom: 0;
+			z-index: 1001;
+			background: #000000;
+			image{
+				width: 100%;
+			}
+		}
 	}
 </style>