代码提交
parent
02627d6b8a
commit
196e51f25d
@ -0,0 +1,11 @@
|
||||
import request from '@/utils/request'
|
||||
|
||||
// api地址
|
||||
const api = {
|
||||
list: 'clientApi/store/detail',
|
||||
}
|
||||
|
||||
// 帮助中心列表
|
||||
export const listDetil = (param) => {
|
||||
return request.get(api.list, param)
|
||||
}
|
@ -0,0 +1,7 @@
|
||||
{
|
||||
"name": "身份证/数字键盘/密码键盘/支付键盘",
|
||||
"version": "1.0.3",
|
||||
"lockfileVersion": 2,
|
||||
"requires": true,
|
||||
"packages": {}
|
||||
}
|
@ -0,0 +1,12 @@
|
||||
{
|
||||
"name": "身份证/数字键盘/密码键盘/支付键盘",
|
||||
"version": "1.0.3",
|
||||
"lockfileVersion": 2,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "身份证/数字键盘/密码键盘/支付键盘",
|
||||
"version": "1.0.3"
|
||||
}
|
||||
}
|
||||
}
|
@ -0,0 +1,80 @@
|
||||
<template>
|
||||
<view class="company-info-container">
|
||||
<img style="width: 100%;height: 400rpx;" :src="'http://192.168.10.110:8999' + list.logo" />
|
||||
<view class="section">
|
||||
<view class="label">公司简介</view>
|
||||
<view class="content">
|
||||
{{ list.name }}
|
||||
</view>
|
||||
</view>
|
||||
<view class="divider"></view>
|
||||
<view class="section">
|
||||
<view class="label">公司地址</view>
|
||||
<view class="content">{{ list.address }}</view>
|
||||
</view>
|
||||
<view class="section">
|
||||
<view class="label">联系电话</view>
|
||||
<view class="content">{{ list.phone }}</view>
|
||||
</view>
|
||||
</view>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import * as Api from '@/api/indexDeil'
|
||||
import Empty from '@/components/empty'
|
||||
export default {
|
||||
components: {
|
||||
Empty
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
mtDetails: '',
|
||||
list: {},
|
||||
}
|
||||
},
|
||||
onLoad(options) {
|
||||
Api.listDetil({ id: options.storeId })
|
||||
.then(result => {
|
||||
console.log(result);
|
||||
this.mtDetails = result.data.storeInfo.mtDetails
|
||||
this.list = result.data.storeInfo
|
||||
})
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style scoped>
|
||||
.company-info-container {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
.section {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
padding: 20rpx;
|
||||
}
|
||||
|
||||
.label {
|
||||
font-size: 32rpx;
|
||||
font-weight: bold;
|
||||
color: #333;
|
||||
min-width: 180rpx;
|
||||
text-align: center;
|
||||
border-right: 2rpx solid #ccc;
|
||||
}
|
||||
|
||||
.content {
|
||||
margin-left: 20rpx;
|
||||
flex: 1;
|
||||
font-size: 14px;
|
||||
color: #666;
|
||||
}
|
||||
|
||||
.divider {
|
||||
height: 2rpx;
|
||||
background-color: #ccc;
|
||||
margin: 30rpx 0;
|
||||
}
|
||||
</style>
|
Binary file not shown.
After Width: | Height: | Size: 1.6 KiB |
Loading…
Reference in New Issue