bding 1 týždeň pred
rodič
commit
59e6af9599
1 zmenil súbory, kde vykonal 32 pridanie a 26 odobranie
  1. 32 26
      activityPages/activityDetail/activityDetail.vue

+ 32 - 26
activityPages/activityDetail/activityDetail.vue

@@ -221,7 +221,11 @@
                   </view>
                   <blcok v-else>
                     <text class="default text_zoom" :style="{ color: detailData.IsZoom != 1 ? '#376cbb' : '#333' }">{{ detailData.LinkParticipants }}</text>
-                    <view class="click-copy"> 点击<view class="default copy-link copy-zoom" @click="copyLink(1)">复制链接</view> <view>在手机浏览器打开</view> </view>
+                    <view class="click-copy">
+                      点击
+                      <view :class="['dustrial-li', 'dustrial-item','copy-link']" @click="copyLink(1)">复制链接 </view>
+                      <view>在手机浏览器打开</view>
+                    </view>
                   </blcok>
                 </view>
               </view>
@@ -237,7 +241,7 @@
               <view class="item-right">{{ detailData.ActivityTypeName == "公司调研电话会" && detailData.IsLimitPeople && !detailData.IsSignup ? "请报名获取" : detailData.MeetingId }}</view>
             </view>
             <view v-if="detailData.ConferencePassword && isUserBindingPhoneNumber && haveAuth == 1" class="content-item">
-              <view class="item-left">{{detailData.IsZoom == 1?'会议密码' :'拨入密码'}}:</view>
+              <view class="item-left">{{ detailData.IsZoom == 1 ? "会议密码" : "拨入密码" }}:</view>
               <view class="item-right">{{ detailData.ActivityTypeName == "公司调研电话会" && detailData.IsLimitPeople && !detailData.IsSignup ? "请报名获取" : detailData.ConferencePassword }}</view>
             </view>
             <view v-if="detailData.Address && isUserBindingPhoneNumber && haveAuth == 1" class="content-item">
@@ -690,8 +694,6 @@ export default {
 
     // 复制的操作
     copyLink(type) {
-      console.log(11);
-      
       uni.setClipboardData({
         data: type == 1 ? this.detailData.LinkParticipants || this.detailData.OnlineParticipation : this.detailData.TencentConferenceNumber,
         success: function () {
@@ -700,7 +702,7 @@ export default {
             icon: "none",
             duration: 2000,
           });
-        },
+        }
       });
     },
     // 跳转产业标签
@@ -860,8 +862,6 @@ export default {
     this.id = option.id || "";
     this.isSendWx = option.IsSendWx || "";
     this.sourceType = option.sourceType || "";
-    console.log(option.detailDataShare);
-
     this.detailDataShare = option.detailDataShare ? JSON.parse(decodeURIComponent(option.detailDataShare) || {}) : "";
     // 详情页面不写路径
   },
@@ -897,8 +897,6 @@ export default {
       theme: this.detailData.ThemeText,
     };
     let detailDataShare = JSON.stringify(shaerObj).replace(/%/g, "%25");
-    console.log(detailDataShare, "--");
-
     return {
       title: this.detailData.ActivityName,
       query: "id=" + this.id + "&sourceType=微信分享&shareImag=" + this.detailData.MomentsImg + "&detailDataShare=" + encodeURIComponent(detailDataShare),
@@ -1040,23 +1038,6 @@ export default {
           padding-left: 0;
           margin-left: 0;
         }
-        .dustrial-li {
-          display: flex;
-          align-items: center;
-          font-size: 22rpx;
-          height: 40rpx;
-          padding: 0 13rpx;
-          margin: 0 20rpx 10rpx 0;
-          background-color: #f0f1f3;
-        }
-        .dustrial-item {
-          padding: 0 20rpx;
-          background: #e5efff;
-          border-radius: 4rpx;
-          color: $uni-color-new;
-          border-radius: 4rpx;
-          font-weight: 600;
-        }
       }
       .content-item-link {
         display: flex;
@@ -1134,6 +1115,23 @@ export default {
     overflow: hidden;
   }
 }
+.dustrial-li {
+  display: flex;
+  align-items: center;
+  font-size: 22rpx;
+  height: 40rpx;
+  padding: 0 13rpx;
+  margin: 0 20rpx 10rpx 0;
+  background-color: #f0f1f3;
+}
+.dustrial-item {
+  padding: 0 20rpx;
+  background: #e5efff;
+  border-radius: 4rpx;
+  color: $uni-color-new;
+  border-radius: 4rpx;
+  font-weight: 600;
+}
 .product-introduction-box {
   background-color: #f7f7f7;
   padding: 10rpx 0;
@@ -1268,5 +1266,13 @@ export default {
     margin-left: 10rpx;
     display: inline-block !important;
   }
+  .copy-link {
+    margin-right: 0;
+  }
+}
+.text_zoom {
+  max-width: 80%;
+  word-wrap: break-word; /* 强制英文数字在边界处换行 */
+  overflow-wrap: break-word; /* 对于兼容性更好的情况 */
 }
 </style>