商家部分
This commit is contained in:
@@ -14,11 +14,11 @@
|
||||
<view>我的</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="top">
|
||||
<image></image>
|
||||
<view class="top" :style="{'background-image':'url(' + info.store_banner + ')'}">
|
||||
<image :src="info.store_avatar"></image>
|
||||
<view class="info">
|
||||
<view class="name u-line-1">小米官方旗舰店</view>
|
||||
<view class="num">粉丝数:234</view>
|
||||
<view class="name u-line-1">{{info.store_name}}</view>
|
||||
<view class="num">粉丝数:{{info.store_collect}}</view>
|
||||
</view>
|
||||
<view class="btn">
|
||||
<image></image>
|
||||
@@ -85,7 +85,8 @@ export default {
|
||||
cur: 0,
|
||||
list:[],
|
||||
indexlist:[],
|
||||
indextop:[]
|
||||
indextop:[],
|
||||
info:{}
|
||||
}
|
||||
},
|
||||
components:{
|
||||
@@ -111,6 +112,10 @@ export default {
|
||||
this.indextop = [res.data[0],res.data[1]]
|
||||
this.indexlist = res.data.slice(2,)
|
||||
})
|
||||
this.$u.api.getStoreInfo({id:1}).then((res)=>{
|
||||
console.log(res)
|
||||
this.info = res.data
|
||||
})
|
||||
}
|
||||
};
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user