第一次提交

This commit is contained in:
gxwebsoft
2023-08-04 13:04:21 +08:00
commit 7a73b38bd5
764 changed files with 166417 additions and 0 deletions

View File

@@ -0,0 +1,122 @@
<template>
<view class="partner">
<!-- 表单组件 -->
<view class="form-wrapper" v-if="shopInfo">
<u-form :model="form" ref="uForm" label-width="240rpx">
<u-form-item label="商户名称" prop="name">
{{shopInfo.shopName}}
</u-form-item>
<u-form-item label="联系人" prop="name">
{{shopInfo.linkman}}
</u-form-item>
<u-form-item label="联系方式" prop="name">
{{shopInfo.phone}}
</u-form-item>
<u-form-item label="站点地址" prop="name">
{{shopInfo.address}}
</u-form-item>
<u-form-item label="法定代表人身份" prop="name">
<image :src="applyInfo.sfz_image1" mode="widthFix" class="shipin"></image>
<image :src="applyInfo.sfz_image2" mode="widthFix" class="shipin"></image>
</u-form-item>
<u-form-item label="门脸照" prop="name">
<image :src="applyInfo.shop_image" mode="widthFix" class="shipin"></image>
</u-form-item>
<u-form-item label="微信号" prop="name">
{{applyInfo.weixin}}
</u-form-item>
<u-form-item label="食品经营许可证" prop="name">
<image :src="applyInfo.shipin_card_image" mode="widthFix" class="shipin"></image>
</u-form-item>
<u-form-item label="支付宝姓名" prop="name" v-if="shopInfo.alipayName">
{{shopInfo.alipayName}}
</u-form-item>
<u-form-item label="支付宝账号" prop="name" v-if="shopInfo.alipayAccount">
{{shopInfo.alipayAccount}}
</u-form-item>
</u-form>
</view>
<!-- 操作按钮 -->
<!-- <view class="footer">
<view class="btn">
<u-button type="primary" shape="circle">更新资料</u-button>
</view>
</view> -->
</view>
</template>
<script>
// 表单字段元素
const form = {
// 入驻类型 合伙人10001,配送员10002,社区门店10003,省代10004
gradeId: 10004,
company: '',
realName: '',
phone: '',
mobile: '',
region: [],
detail: '',
}
import * as UserApi from '@/api/user'
import SelectRegion from '@/components/select-region/select-region'
export default {
components: {
SelectRegion
},
data() {
return {
form,
disabled: false,
imageList: [],
shopInfo: null,
applyInfo: null
}
},
onLoad() {
this.getUserInfo()
},
methods: {
// 获取当前用户信息
getUserInfo() {
const app = this
UserApi.info().then(result => {
app.shopInfo = result.data.shopInfo
app.applyInfo = result.data.applyInfo
})
},
groupChange(){
}
}
}
</script>
<style lang="less">
.partner {
.banner {
width: 100%;
}
.form-wrapper {
margin: 20rpx auto 20rpx auto;
padding: 0 40rpx;
width: 94%;
box-shadow: 0 1rpx 5rpx 0px rgba(0, 0, 0, 0.05);
border-radius: 16rpx;
background: #fff;
.logo{
width: 100rpx;
}
.shipin{
width: 200rpx;
}
}
.footer{
width: 500rpx;
margin: 20rpx auto;
}
}
</style>