You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

91 lines
2.5 KiB

<template>
<view class="merchant-info">
<view class="mi-list">
<view class="ml-item">
<view class="mi-title">{{storeInfo.name || '-'}}</view>
<view class="ml-line">
<view>微信商户号</view>
<view>{{storeInfo.pay_wechat_mch_id || '-'}}</view>
</view>
<view class="ml-line">
<view>公户名称</view>
<view>{{storeInfo.bank_account_name || '-'}}</view>
</view>
<view class="ml-line">
<view>银行账号</view>
<view>{{storeInfo.bank_account || '-'}}</view>
</view>
<view class="ml-line">
<view>开户银行</view>
<view>{{storeInfo.bank_name || '-'}}</view>
</view>
</view>
</view>
</view>
</template>
<script>
import { API } from '../../js/api'
import { servers } from '../../js/server'
export default {
data(){
return {
storeInfo: {}
}
},
onLoad(options){
this.getInfo(options.id)
},
methods: {
getInfo(id){
servers.get({
url: API.stadiumDetail + '/' + id,
data:{},
failMsg: '加载失败!'
})
.then(res=>{
console.log(res)
this.storeInfo = res;
})
}
}
}
</script>
<style lang="scss" scoped>
@import "../../style/public.scss";
.mi-list{
padding: 24upx;
}
.ml-item{
margin-bottom: 24upx;
padding: 32upx 24upx 22upx;
border-radius: 10upx;
background-color: #fff;
.mi-title{
margin-bottom: 30upx;
line-height: 44upx;
font-size: 32upx;
color: #1a1a1a;
@include textHide(1);
}
.ml-line{
margin-bottom: 10upx;
@include centerFlex(space-between);
>view{
font-size: 28upx;
color: #9c9c9f;
&:first-child{
margin-right: 10upx;
flex-shrink: 0;
line-height: 40upx;
}
&+view{
flex-grow: 1;
text-align: right;
@include textHide(1);
}
}
}
}
</style>