LGX 5 months ago
parent b6ac9f9a0a
commit f87b3ca2ee
  1. 7
      pages/goods/detail.vue
  2. 2
      pages/news/caigou/notice1.vue
  3. 1
      pages/news/caigou/notice2.vue

@ -73,18 +73,17 @@
</view> </view>
</view> </view>
<view class="pro" v-if="userInfo.user_type==10"> <view class="pro" v-if="userInfo.user_type==10">
<view class="proMem"> <!-- <view class="proMem">
<text v-if="userInfo.user_type==10">Plus</text> <text v-if="userInfo.user_type==10">Plus</text>
<!-- <text v-if="userInfo.user_type==30">分销</text> -->
<view>会员</view> <view>会员</view>
</view> </view>
<view class="proInfo"> <view class="proInfo">
开通<text v-if="userInfo.user_type==10">Plus</text> 开通<text v-if="userInfo.user_type==10">Plus</text>会员预计再省<text style="color: #FF1D1D;">30</text>
<!-- <text v-if="userInfo.user_type==30">分销</text> -->会员预计再省<text style="color: #FF1D1D;">30</text>
</view> </view>
<view class="proBtn" @click="goMember()"> <view class="proBtn" @click="goMember()">
立即开通 立即开通
</view> </view>
-->
</view> </view>
<view class="goodsDetail"> <view class="goodsDetail">
<view class="goodsContent"> <view class="goodsContent">

@ -79,7 +79,7 @@
}) })
.then(result => { .then(result => {
if (result.data.detail && result.data.detail.content) { if (result.data.detail && result.data.detail.content) {
app.info = app.formatRichText(result.data.detail.content) app.info = result.data.detail.content
}else{ }else{
app.info = "" app.info = ""
} }

@ -66,6 +66,7 @@
sourceType: ['album', 'camera'], // sourceType: ['album', 'camera'], //
success(res) { success(res) {
console.log(res) console.log(res)
console.log('uni.getStorageSync',uni.getStorageSync('Store'));
uni.uploadFile({ uni.uploadFile({
url: (Config.get('apiUrl')+'upload/image').replace("index.php?s=/",""), // url: (Config.get('apiUrl')+'upload/image').replace("index.php?s=/",""), //
filePath: res.tempFiles[0].path, filePath: res.tempFiles[0].path,

Loading…
Cancel
Save