yanj 2 месяцев назад
Родитель
Сommit
63e4fc2431
3 измененных файлов с 7 добавлено и 3 удалено
  1. 3 1
      main.js
  2. 2 2
      pages/exhibitor/detail.vue
  3. 2 0
      static/style/pages/exhibitor-item.scss

+ 3 - 1
main.js

@@ -121,7 +121,9 @@ Vue.prototype.showLoading = function(options) {
 	}
 	uni.showLoading(options)
 }
-
+Vue.prototype.handleImageError = function(callback) {
+	callback('https://onlinecatelogue.productronicachina.com.cn/assets/image/normal-logo.jpg')
+}
 Vue.prototype.hideLoading = function() {
 	uni.hideLoading()
 }

+ 2 - 2
pages/exhibitor/detail.vue

@@ -279,13 +279,13 @@ export default {
 
   .exhibitor-title {
     flex: 1;
-
+    min-width: 1rpx;
     font-size: $fontSize5;
     color: #000000;
     line-height: 40rpx;
     padding-left: 19rpx;
     padding-right: 24rpx;
-
+    word-break: break-word;
     .exhibitor-title-1 {
       font-weight: bold;
     }

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

@@ -35,6 +35,8 @@
 			font-size: $fontSize4;
 			margin-left: 12rpx;
 			margin-right: 28rpx;
+			min-width: 1px;
+			word-break: break-word;
 			&>view{
 				width: 100%;
 				@include text-ellipsis-line;