张文飞 3 роки тому
батько
коміт
0c57b71403
2 змінених файлів з 8 додано та 6 видалено
  1. 6 3
      pages/homePage/homePage.vue
  2. 2 3
      pages/shareCardPage/shareCardPage.vue

+ 6 - 3
pages/homePage/homePage.vue

@@ -412,6 +412,10 @@
 				}
 			},
 			toShareCard(projectId,type){
+				let href = location.origin+location.pathname;
+				uni.navigateTo({
+					url:'../shareCardPage/shareCardPage?page='+href+"&projectId="+projectId+"&type="+type
+				})
 				if(this.userInfo.userId){
 					let href = location.origin+location.pathname;
 					uni.navigateTo({
@@ -627,7 +631,6 @@
 						font-weight: 400;
 						text-align: left;
 						color: #b1b1b1;
-						font-style: italic;
 						position: absolute;
 						left: 50%;
 						top: 30rpx;
@@ -716,12 +719,12 @@
 				align-items: center;
 			
 				.title_txt {
-					font-size: 24rpx;
+					font-size: 32rpx;
 					font-family: FontName, FontName-Regular;
 					font-weight: 400;
 					text-align: left;
 					color: #b1b1b1;
-					font-style: italic;
+					
 				}
 			
 				.title_right_cion {

+ 2 - 3
pages/shareCardPage/shareCardPage.vue

@@ -8,11 +8,11 @@
 			<view class="share_desc">
 				{{shareRemark}}
 			</view>
-			<view class="share_copy" @click="copy">
+			<view class="share_copy" @click="copy" v-if="shareRemark">
 				<image class="icon_share_copy" src="../../static/icons/icon_copy.png" mode=""></image>
 				<text class="share_txt">复制发圈</text>
 			</view>
-			<image class="shareCard" :src="shareUrl" mode=""></image>
+			<image class="shareCard" :src="shareUrl" mode="widthFix"></image>
 			
 		</view>
 		
@@ -166,7 +166,6 @@
 		
 		.shareCard{
 			width: 490rpx;
-			height: 872rpx;
 			margin-top: 10rpx;
 			margin-bottom: 30rpx;
 		}