yanj 4 kuukautta sitten
vanhempi
commit
d9e5e2bc8c

+ 12 - 5
pages/activity/detail.vue

@@ -114,13 +114,12 @@
                 </view>
               </view>
             </view>
-            <!--          <view class="activity-schedule-image">
-                        <image src="https://www.productronicachina.com.cn/resources/files/0812/66b9c058eb46a/TGV.jpg"
-                               mode="aspectFit"/>
-                      </view>-->
           </view>
         </u-panel>
-
+        <view class="main-image">
+          <image :src="meetingInfo.main_image" :alt="meetingInfo.main_image_alt"
+                 mode="widthFix"/>
+        </view>
 
         <view class="activity-operation">
           <view class="activity-views">
@@ -230,6 +229,14 @@ export default {
 
 <style lang="scss">
 .activity-detail {
+  .main-image {
+    display: flex;
+    width: 100%;
+    image {
+      //height: auto;
+      //display: block;
+    }
+  }
   .activity-head {
     position: relative;
     font-weight: normal;

+ 2 - 1
pages/files/index.vue

@@ -60,14 +60,15 @@ export default {
     },
     downloadFile(url) {
       if (url) {
-        this.showLoading({title: '加载文件中'})
         let that= this
+        that.showLoading({title: '加载文件中'})
         uni.downloadFile({
           // 示例 url,并非真实存在
           url: url,
           success: function (res) {
             const filePath = res.tempFilePath
             if (that.isImageUrl(url)) {
+              console.log(filePath)
               uni.saveImageToPhotosAlbum({
                 filePath: filePath
               })

+ 3 - 2
static/style/pages/exhibitor-detail.scss

@@ -12,6 +12,7 @@
       display: flex;
       align-items: center;
       flex-wrap: wrap;
+      grid-gap: 9rpx 16rpx;
     }
 
     .exhibitor-tags-category {
@@ -28,10 +29,10 @@
       font-size: $fontSize1;
       background-color: #E3E9F1;
       border-radius: 4rpx;
-      margin-right: 16rpx;
+      //margin-right: 16rpx;
       color: #333333;
       white-space: nowrap;
-      margin-bottom: 9rpx;
+      //margin-top: 9rpx;
     }
   }
 

+ 2 - 2
static/style/pages/exhibitor.scss

@@ -6,7 +6,7 @@
 		font-size: $fontSize3;
 		color: #333333;
 		.exhibitor-filter-label{
-			font-family: Arial, Arial;
+			font-family: "Microsoft YaHei", sans-serif;
 			font-size: $fontSize3;
 			color: #333333;
 			margin-bottom: 8rpx;
@@ -28,4 +28,4 @@
 			width: 100%;
 		}
 	}
-}
+}