|
|
|
@ -1,8 +1,8 @@ |
|
|
|
<template> |
|
|
|
<view> |
|
|
|
<view class="lf-row-center lf-flex-column head"> |
|
|
|
<image :src="supplier.logo"></image> |
|
|
|
<view class="lf-m-t-20 lf-font-32 lf-font-bold lf-color-black">{{ supplier.subject_name }}</view> |
|
|
|
<image :src="supplier.avatar"></image> |
|
|
|
<view class="lf-m-t-20 lf-font-32 lf-font-bold lf-color-black">{{ supplier.name }}</view> |
|
|
|
</view> |
|
|
|
<view class="list"> |
|
|
|
<view class="lf-row-between list-item" hover-class="lf-opacity" |
|
|
|
@ -61,7 +61,8 @@ |
|
|
|
this.$http(this.API.API_SUPPLIER_INDEX).then(res => { |
|
|
|
this.supplier = res.data.supplier; |
|
|
|
this.block_list = res.data.block; |
|
|
|
getApp().globalData.supplier_id = res.data.supplier.id; |
|
|
|
// 不用存supplier_id |
|
|
|
// getApp().globalData.supplier_id = res.data.supplier.id; |
|
|
|
}); |
|
|
|
} |
|
|
|
} |
|
|
|
|