图片修改

version/0412
syt 8 months ago
parent 98924d53ad
commit db9e77940d
  1. 1
      pages/goods/detail.vue
  2. 8
      pages/order/detail.vue
  3. 2
      pages/user/index.vue

@ -758,6 +758,7 @@
} }
info.content = info.content info.content = info.content
.replace(/style=""/g, '') .replace(/style=""/g, '')
.replace(/<img " src=/g, '<img src=')
.replace(/<img src=/g, '<img style="width: 100%; display:block" src=') .replace(/<img src=/g, '<img style="width: 100%; display:block" src=')
// that.goods = info; // that.goods = info;
Object.keys(info).forEach(item => { Object.keys(info).forEach(item => {

@ -321,7 +321,7 @@
@click="handleTargetComment(order.order_id)"> @click="handleTargetComment(order.order_id)">
评价 评价
</view> --> </view> -->
<view class="buyAgain" @click="onCopyOrderInfo(order)" <view class="buyAgain" v-if="userInfo.user_type == 40" @click="onCopyOrderInfo(order)"
style="width: 200rpx;color:#fff;background: linear-gradient( 180deg, #FD5D06 0%, #F3211A 100%);" style="width: 200rpx;color:#fff;background: linear-gradient( 180deg, #FD5D06 0%, #F3211A 100%);"
> >
复制订单详情 复制订单详情
@ -408,7 +408,8 @@
canReset: false, canReset: false,
cdDia: false, cdDia: false,
menushow: false, menushow: false,
Store:'' Store:'',
userInfo: {}
} }
}, },
/** /**
@ -421,7 +422,8 @@
this.orderId = orderId this.orderId = orderId
// //
this.getOrderDetail() this.getOrderDetail()
this.Store=uni.getStorageSync('Store') this.Store=uni.getStorageSync('Store')
this.userInfo = uni.getStorageSync("userInfo")
// : // :
uni.$on('syncRefresh', (val, isCur) => { uni.$on('syncRefresh', (val, isCur) => {
if (!isCur) { if (!isCur) {

@ -492,7 +492,7 @@
数据统计 数据统计
</view> </view>
</view> </view>
<view class="serveIcon" @click="goManagementHandle('/pages/news/user/vip','会员管理')" <view class="serveIcon" @click="goManagementHandle('/pages/news/user/vip?type=1','会员管理')"
v-if="userInfo.user_type == 40"> v-if="userInfo.user_type == 40">
<image :src="$picUrl+'/static/user/hygl.png'" class="icons"></image> <image :src="$picUrl+'/static/user/hygl.png'" class="icons"></image>
<view class="serveInfo"> <view class="serveInfo">

Loading…
Cancel
Save