Browse Source

1111

master
liupopo 2 years ago
parent
commit
319d793e1a
  1. 3
      pages/card/card.vue
  2. 2
      pages/card/card_detail.vue
  3. 2
      pages/good/goodsDetail.vue

3
pages/card/card.vue

@ -47,8 +47,7 @@
<view style="flex: 1;display: flex;flex-direction: column;">
<text class="_ellipsis"
style="font-size: 13px;color: #333;width: calc(100vw - 190px);">
{{item.name}}</text>
style="font-size: 13px;color: #333;width: calc(100vw - 190px);">卡号: {{item.serialNumber}}</text>
<text lass="_ellipsis"
style="font-size: 12px;color: #999;margin-top: 5px;width: calc(100vw - 182px);">
{{item.time}}</text>

2
pages/card/card_detail.vue

@ -73,7 +73,7 @@
</view>
<view v-for="(item,index) in data.orderCardVoList" :key="index" @click="itemClick(item.goodsSid)"
<view v-for="(item,index) in data.orderCardVoList" :key="index"
style="display: flex;flex-direction: row;background-color: #fff;padding-left: 10px;padding-right: 10px;">
<view style="display: flex;flex-direction: column;background-color: #fff;

2
pages/good/goodsDetail.vue

@ -110,7 +110,7 @@
});
newContent = newContent.replace(/<br[^>]*\/>/gi, '');
newContent = newContent.replace(/\<img/gi,
'<img style="max-width:100%;height:auto;display:inline-block;margin:10rpx auto;"');
'<img style="max-width:100%;height:auto;display:block;margin:10rpx auto;"');
return newContent;
} else {
return '暂无商品详情';

Loading…
Cancel
Save