|
@@ -62,7 +62,7 @@
|
|
|
<view class="lineRgiht">
|
|
|
<view class="goodsName">{{item.name}} {{item.specificationModel}}</view>
|
|
|
<view class="goodsMs">{{item.factoryNumber}}</view>
|
|
|
- <view class="goodsMs">{{item.carmodelremark}}</view>
|
|
|
+ <view class="goodsMs modelRemark" @click.stop="modelRemarkFn(item.modelRemark)">{{item.carmodelremark}}</view>
|
|
|
</view>
|
|
|
|
|
|
</view>
|
|
@@ -88,7 +88,11 @@
|
|
|
</view>
|
|
|
|
|
|
|
|
|
-
|
|
|
+<uni-popup ref="popup" background-color="#fff">
|
|
|
+<!-- <uni-popup-message type="center" :message="messageText" :duration="2000"></uni-popup-message> -->
|
|
|
+ <view class="popup-content" ><text
|
|
|
+ class="text">{{messageText}}</text></view>
|
|
|
+</uni-popup>
|
|
|
</view>
|
|
|
</template>
|
|
|
|
|
@@ -117,6 +121,7 @@
|
|
|
{name:'火花塞',componentCode:'003003'},
|
|
|
],
|
|
|
leftIndex:0,
|
|
|
+ messageText:'',
|
|
|
}
|
|
|
},
|
|
|
onLoad(opt) {
|
|
@@ -145,6 +150,10 @@
|
|
|
//this.queryOilInfoByGroupID()
|
|
|
},
|
|
|
methods: {
|
|
|
+ modelRemarkFn(txt){
|
|
|
+ this.messageText=txt
|
|
|
+ this.$refs.popup.open('center')
|
|
|
+ },
|
|
|
queryCarModelGroupInfo(){
|
|
|
uni.showLoading({ title: '加载中'});
|
|
|
this.$http('matchingByOpen/queryCarModelGroupInfo', {
|
|
@@ -524,4 +533,18 @@ color: #E60006;
|
|
|
width: 170rpx;text-align: center;
|
|
|
font-size: 26rpx;
|
|
|
}
|
|
|
+.modelRemark{
|
|
|
+ overflow: hidden;
|
|
|
+ text-overflow: ellipsis;
|
|
|
+ white-space: nowrap; /* 防止文本换行 */
|
|
|
+ width: 430rpx;
|
|
|
+}
|
|
|
+.popup-content {
|
|
|
+ display: flex;
|
|
|
+ align-items: center;
|
|
|
+ justify-content: center;
|
|
|
+ padding: 15px;
|
|
|
+ height: 50px;
|
|
|
+ background-color: #fff;
|
|
|
+ }
|
|
|
</style>
|