tianyi 3 weeks ago
parent
commit
8c4343f03d
  1. 8
      package2/shop/shopInfo.vue

8
package2/shop/shopInfo.vue

@ -28,11 +28,11 @@
<input type="text" placeholder="请输入副标题" v-model="shop.subtitle" style="height: 100rpx;line-height: 100rpx;" /> <input type="text" placeholder="请输入副标题" v-model="shop.subtitle" style="height: 100rpx;line-height: 100rpx;" />
</view> </view>
</view> </view>
<view class="list-1"> <view class="list-1" style="height: auto;">
<view class="list-name"> <view class="list-name">
店铺地址 店铺地址
</view> </view>
<view class="list-right"> <view class="list-right" style="line-height: 20px;margin-top: 15px;">
{{shop.shopAddress}} {{shop.shopAddress}}
</view> </view>
</view> </view>
@ -103,7 +103,7 @@
} }
}, },
onLoad() { onLoad() {
this.shop = JSON.parse(uni.getStorageSync('shop')); this.shop = uni.getStorageSync('schoolShop')[0];
this.shopImages = this.shop.shopImages.split('@@') this.shopImages = this.shop.shopImages.split('@@')
this.huanjing = JSON.parse(this.shopImages[3])[0] this.huanjing = JSON.parse(this.shopImages[3])[0]
@ -149,7 +149,7 @@
let that = this; let that = this;
let hiver_token = uni.getStorageSync("hiver_token") let hiver_token = uni.getStorageSync("hiver_token")
await uni.uploadFile({ await uni.uploadFile({
url: getApp().globalData.mainurl + '/upload/file', url: that.tui.interfaceUrl() + '/upload/file',
filePath: path, filePath: path,
name: 'file', name: 'file',
header: { header: {

Loading…
Cancel
Save