第一次提交
This commit is contained in:
109
package/user/notice/index.vue
Normal file
109
package/user/notice/index.vue
Normal file
@@ -0,0 +1,109 @@
|
||||
<template>
|
||||
<view class="partner">
|
||||
|
||||
<!-- 表单组件 -->
|
||||
<view class="form-wrapper" v-if="shopInfo">
|
||||
<!-- <u-form :model="form" ref="uForm" label-width="240rpx">
|
||||
<u-form-item>
|
||||
<view class="shop-box">
|
||||
<text class="shop-name">后台管理</text>
|
||||
<text>地址:https://dev.gxwebsoft.com/ylx-admin/</text>
|
||||
<text>账号:{{applyInfo.phone}}</text>
|
||||
<text>密码:默认为手机号码后6位</text>
|
||||
</view>
|
||||
</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)
|
||||
grade_id: 10004,
|
||||
company: '',
|
||||
real_name: '',
|
||||
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: {},
|
||||
applyInfo: {}
|
||||
|
||||
}
|
||||
},
|
||||
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 {
|
||||
padding-top: 20rpx;
|
||||
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;
|
||||
.shop-box{
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
.shop-name{
|
||||
font-weight: bold;
|
||||
font-size: 36rpx;
|
||||
}
|
||||
}
|
||||
.logo{
|
||||
width: 100rpx;
|
||||
}
|
||||
.shipin{
|
||||
width: 400rpx;
|
||||
}
|
||||
}
|
||||
.footer{
|
||||
width: 500rpx;
|
||||
margin: 20rpx auto;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
Reference in New Issue
Block a user