Commit 5d68629e by LJM

企业专享

parent 363ab24a
.page-zqsx {
.back {
position: fixed;
top: 22rpx;
left: 32rpx;
.iconfont {
font-size: 44rpx;
color: #ffffff;
}
}
.bg {
height: 760rpx;
background: url('https://img.ichunt.com/images/ichunt/202305/20/037958d4bfd087998ada3fbeb60f5eb0.png') no-repeat center;
background-size: cover;
}
.bg1 {
height: 760rpx;
background: url('https://img.ichunt.com/images/ichunt/202305/27/8ba5b044f4d5584e13759b8167c4640a.png') no-repeat center;
background-size: cover;
}
.form-box {
position: relative;
top: -128rpx;
......
......@@ -244,6 +244,12 @@
"style": {
"navigationBarTitleText": "FAE技术支持申请"
}
},
{
"path": "pages/mine/enterprise",
"style": {
"navigationBarTitleText": "企业专享"
}
}
],
"globalStyle": {
......
<template>
<view class="page-user">账期服务</view>
<view class="page-user">关于我们</view>
</template>
<script>
......
<template>
<view class="page-zqsx">
<view class="back" v-back><text class="iconfont icon-arrleft"></text></view>
<view class="bg1"></view>
<view class="form-box">
<view class="kefu row verCenter">
<text class="iconfont icon-a-juxingbeifen141"></text>
<text class="tt">企业专线对接</text>
</view>
<view class="input-box column">
<view class="text">
<text class="t1">*</text>
<text class="t2">公司名称:</text>
</view>
<view><input type="text" placeholder="请输入公司名称" class="uni-input" v-model="formParams.com_name" /></view>
</view>
<view class="input-box column">
<view class="text">
<text class="t1">*</text>
<text class="t2">联系人:</text>
</view>
<view><input type="text" placeholder="请输入联系人" class="uni-input" v-model="formParams.linkman" /></view>
</view>
<view class="input-box column">
<view class="text">
<text class="t1">*</text>
<text class="t2">联系电话:</text>
</view>
<view><input type="text" placeholder="请输入联系电话" class="uni-input" v-model="formParams.mobile" /></view>
</view>
<view class="input-box column">
<view class="text">
<text class="t1">*</text>
<text class="t2">邮箱:</text>
</view>
<view><input type="text" placeholder="请输入邮箱" class="uni-input" v-model="formParams.email" /></view>
</view>
<view class="btn row rowCenter verCenter" @click="submit()">提交</view>
</view>
<!-- 提交成功 -->
<uni-popup ref="popup" type="center">
<view class="layer-box">
<text class="iconfont icon-xxx colose" @click="close()"></text>
<view class="success row">
<text class="iconfont icon-huaban"></text>
<view class="success-text column">
<text class="t1">提交成功</text>
<text class="t2">正在为您安排专人对接,请注意接听预留电话</text>
</view>
</view>
<view class="btn row rowCenter verCenter" @click="reload()">确定</view>
</view>
</uni-popup>
</view>
</template>
<script>
import { Api_Url } from '@/util/api.js';
import navElement from '@/components/nav.vue';
export default {
components: {
navElement
},
data() {
return {
formParams: {
com_name: '',
linkman: '',
mobile: '',
email: '',
com_nature: '',
business_license_src: ''
}
};
},
onShow() {},
methods: {
open() {
this.$refs.popup.open('center');
},
close() {
this.$refs.popup.close();
},
reload() {
window.location.reload();
},
submit() {
if (!this.formParams.com_name) {
uni.showToast({
title: '请填写公司名称',
icon: 'none'
});
return false;
}
if (!this.formParams.linkman) {
uni.showToast({
title: '请填写联系人',
icon: 'none'
});
return false;
}
if (!this.formParams.mobile) {
uni.showToast({
title: '请填写电话',
icon: 'none'
});
return false;
}
if (!this.formParams.email) {
uni.showToast({
title: '请填写邮箱',
icon: 'none'
});
return false;
}
if (!this.formParams.com_nature) {
uni.showToast({
title: '请选择公司性质',
icon: 'none'
});
return false;
}
this.formParams.business_license_src = this.image_list[0];
this.request(Api_Url + '/help/help/addCreditApply', 'POST', this.formParams, true, true).then(res => {
if (res.err_code === 0) {
this.open();
} else {
uni.showModal({
itle: '提示',
content: res.err_msg,
showCancel: false
});
}
});
}
}
};
</script>
<style lang="scss">
@import '@/assets/css/mine/zqsx.scss';
</style>
......@@ -328,6 +328,14 @@ const router = new Router({
title: 'FAE技术支持申请',
auth: false
}
},
{
path: '/pages/mine/enterprise',
aliasPath: '/enterprise',
meta: {
title: '企业专享',
auth: false
}
}
]
});
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment