Commit 7687318c authored by 郑秀明's avatar 郑秀明

Merge commit '0e462b3f' into develop

parents b0c13c2e 0e462b3f
...@@ -33,6 +33,7 @@ ...@@ -33,6 +33,7 @@
top: 0; top: 0;
width: 100%; width: 100%;
background-color: #fff; background-color: #fff;
z-index: 100;
.left_icon { .left_icon {
position: absolute; position: absolute;
left: 20rpx; left: 20rpx;
......
import Vue from 'vue' import Vue from 'vue'
import App from './App' import App from './App'
import store from './store/store.js'; import store from '@/store/store.js';
import { php, gp } from './common/host.js'; import { php, gp } from '@/common/host.js';
import { getNavigationBarTitle } from './common/util.js'; import { getNavigationBarTitle } from './common/util.js';
// 微信分享公共接口 // 微信分享公共接口
......
...@@ -62,7 +62,7 @@ ...@@ -62,7 +62,7 @@
"disableHostCheck": true, "disableHostCheck": true,
"proxy": { "proxy": {
"/uni/api": { "/uni/api": {
"target": "http://39.96.85.45:9093/", "target": "http://10.0.0.116:6564/",
"changeOrigin": true, "changeOrigin": true,
"secure": false, "secure": false,
"pathRewrite": { "pathRewrite": {
......
...@@ -14,52 +14,79 @@ ...@@ -14,52 +14,79 @@
<view class="apply_desc">请上传所在街道与企业门头清晰照片,以便顺利帮您认证</view> <view class="apply_desc">请上传所在街道与企业门头清晰照片,以便顺利帮您认证</view>
</view> </view>
<view class="apply_data_item"> <view class="apply_data_item">
<view class="apply_upload" @click="uploadImage()"> <view v-if="!params.business_street" class="apply_upload" @click="uploadImage('business_street')">
<text class="eosfont icons">&#xe60d;</text> <text class="eosfont icons">&#xe60d;</text>
<text class="upload_font">所在街道照片</text> <text class="upload_font">所在街道照片</text>
</view> </view>
<view class="apply_upload"> <view v-if="params.business_street" class="apply_upload">
<text class="close_icon" @click="clearParams('business_street')"></text>
<image class="preview_img" :src="params.business_street"></image>
</view>
<view v-if="!params.business_premises" class="apply_upload" @click="uploadImage('business_premises')">
<text class="eosfont icons">&#xe60d;</text> <text class="eosfont icons">&#xe60d;</text>
<text class="upload_font">企业门头照片</text> <text class="upload_font">企业门头照片</text>
</view> </view>
<view v-if="params.business_premises" class="apply_upload">
<text class="close_icon" @click="clearParams('business_premises')"></text>
<image class="preview_img" :src="params.business_premises"></image>
</view>
</view> </view>
<view :style="{'margin-top':'60rpx'}"> <view :style="{'margin-top':'60rpx'}">
<view class="apply_title">动物诊疗证/兽医证照片</view> <view class="apply_title">动物诊疗证/兽医证照片</view>
<view class="apply_desc">请上传动物诊疗证与兽医证照片清晰照片,以便顺利帮您认证</view> <view class="apply_desc">请上传动物诊疗证与兽医证照片清晰照片,以便顺利帮您认证</view>
</view> </view>
<view class="apply_data_item"> <view class="apply_data_item">
<view class="apply_upload"> <view v-if="!params.animal_certificate" class="apply_upload" @click="uploadImage('animal_certificate')">
<text class="eosfont icons">&#xe60d;</text> <text class="eosfont icons">&#xe60d;</text>
<text class="upload_font">动物诊疗证(含公章) 照片</text> <text class="upload_font">动物诊疗证(含公章) 照片</text>
</view> </view>
<view class="apply_upload"> <view v-if="params.animal_certificate" class="apply_upload">
<text class="close_icon" @click="clearParams('animal_certificate')"></text>
<image class="preview_img" :src="params.animal_certificate"></image>
</view>
<view v-if="!params.vet_certificate" class="apply_upload" @click="uploadImage('vet_certificate')">
<text class="eosfont icons">&#xe60d;</text> <text class="eosfont icons">&#xe60d;</text>
<text class="upload_font">兽医证(含公章) 照片</text> <text class="upload_font">兽医证(含公章) 照片</text>
</view> </view>
<view v-if="params.vet_certificate" class="apply_upload">
<text class="close_icon" @click="clearParams('vet_certificate')"></text>
<image class="preview_img" :src="params.vet_certificate"></image>
</view>
</view> </view>
<view :style="{'margin-top':'60rpx'}"> <view :style="{'margin-top':'60rpx'}">
<view class="apply_title">营业执照/经营场所证明照片</view> <view class="apply_title">营业执照/经营场所证明照片</view>
<view class="apply_desc">请上传营业执照与经营场所清晰照片,以便顺利帮您认证</view> <view class="apply_desc">请上传营业执照与经营场所清晰照片,以便顺利帮您认证</view>
</view> </view>
<view class="apply_data_item"> <view class="apply_data_item">
<view class="apply_upload"> <view v-if="!params.business_license" class="apply_upload" @click="uploadImage('business_license')">
<text class="eosfont icons">&#xe60d;</text> <text class="eosfont icons">&#xe60d;</text>
<text class="upload_font">营业执照(含公章) 照片</text> <text class="upload_font">营业执照(含公章) 照片</text>
</view> </view>
<view class="apply_upload"> <view v-if="params.business_license" class="apply_upload">
<text class="close_icon" @click="clearParams('business_license')"></text>
<image class="preview_img" :src="params.business_license"></image>
</view>
<view v-if="!params.certification_materials" class="apply_upload" @click="uploadImage('certification_materials')">
<text class="eosfont icons">&#xe60d;</text> <text class="eosfont icons">&#xe60d;</text>
<text class="upload_font">经营场所证明材料照片</text> <text class="upload_font">经营场所证明材料照片</text>
</view> </view>
<view v-if="params.certification_materials" class="apply_upload">
<text class="close_icon" @click="clearParams('certification_materials')"></text>
<image class="preview_img" :src="params.certification_materials"></image>
</view>
</view> </view>
<view :style="{'margin-top':'60rpx'}"> <view :style="{'margin-top':'60rpx'}">
<view class="apply_title">企业半年银行流水(需含户名)</view> <view class="apply_title">企业半年银行流水(需含户名)</view>
<view class="apply_desc">支持(zip/rar)格式</view> <view class="apply_desc">支持(zip/rar)格式</view>
</view> </view>
<view class="apply_data_item"> <view class="apply_data_item" @click="uploadZip('bank_card_record')">
<view class="apply_upload"> <view class="apply_upload" v-if="!params.bank_card_record">
<text class="eosfont icons">&#xe60d;</text> <text class="eosfont icons">&#xe60d;</text>
<text class="upload_font">企业半年银行流水</text> <text class="upload_font">企业半年银行流水</text>
</view> </view>
<view class="apply_upload" style="line-height: 200rpx;" v-if="params.bank_card_record">
<text class="upload_font">{{compressName}}</text>
</view>
</view> </view>
</view> </view>
<text class="next_step_btn">下一步</text> <text class="next_step_btn">下一步</text>
...@@ -71,15 +98,142 @@ ...@@ -71,15 +98,142 @@
export default { export default {
data() { data() {
return { return {
params: {
business_street: '', //所在街道
business_premises: '', //企业门头
animal_certificate: '' ,//动物诊疗证
vet_certificate: '', //兽医证
business_license: '', //营业执照
certification_materials: '', //经营场所
bank_card_record: '', //企业银行流水
},
compressName: ''
} }
}, },
onLoad() {
uni.request({
url: '/uni/app/userqualification/GetUserQualification',
method: 'GET',
success: (res) => {
console.log(res)
}
})
},
methods: { methods: {
uploadImage() { uploadImage(key) {
uni.chooseImage({ uni.chooseImage({
success: (res) => { success: (res) => {
console.log(res) const tempFilePaths = res.tempFilePaths;
uni.uploadFile({
url: '/uni/api/resources',
filePath: tempFilePaths[0],
name: 'file',
success: (uploadFileRes) => {
const data = JSON.parse(uploadFileRes.data)
this.params[key] = data.data;
}
});
}
})
},
uploadZip(key) {
// #ifdef H5
const _input = document.createElement('input');
_input.type = 'file';
_input.accept = 'application/x-zip-compressed,application/x-rar-compressed';
_input.click();
_input.onchange = (e) => {
let file = e.target.files[0];
let fileName = file.name;
let pos = fileName.lastIndexOf(".");
let lastName = fileName.substring(pos, fileName.length);
if ((lastName.toLowerCase() != ".zip" ) && (lastName.toLowerCase() != ".rar")) {
uni.showToast({
title: "文件必须为.zip或.rar类型",
icon: 'none',
duration: 2000
})
return;
}
let url = null;
if (window.createObjectURL != undefined) {
// basic
url = window.createObjectURL(file);
} else if (window.webkitURL != undefined) {
// webkit or chrome
url = window.webkitURL.createObjectURL(file);
} else if (window.URL != undefined) {
// mozilla(firefox)
url = window.URL.createObjectURL(file);
}
uni.uploadFile({
url: '/uni/api/resources',
filePath: url,
name: 'file',
success: (uploadFileRes) => {
const data = JSON.parse(uploadFileRes.data)
this.params[key] = data.data;
this.compressName = fileName;
}
});
}
// #endif
},
clearParams(key) {
this.params[key] = '';
},
submit() {
if(!this.params.business_street) {
uni.showToast({
title: '请上传所在街道照片',
icon: 'none'
});
return
} }
if(!this.params.business_premises) {
uni.showToast({
title: '请上传企业门头照片',
icon: 'none'
});
return
}
if(!this.params.animal_certificate) {
uni.showToast({
title: '请上传动物诊疗证照片',
icon: 'none'
});
return
}
if(!this.params.vet_certificate) {
uni.showToast({
title: '请上传兽医证照片',
icon: 'none'
});
return
}
if(!this.params.business_license) {
uni.showToast({
title: '请上传营业执照照片',
icon: 'none'
});
return
}
if(!this.params.business_premises) {
uni.showToast({
title: '请上传经营场所材料照片',
icon: 'none'
});
return
}
if(!this.params.bank_card_record) {
uni.showToast({
title: '请上传企业银行流水',
icon: 'none'
});
return
}
uni.request({
url: ''
}) })
} }
}, },
...@@ -139,6 +293,7 @@ ...@@ -139,6 +293,7 @@
height: 200rpx; height: 200rpx;
background: rgba(248,248,248,1); background: rgba(248,248,248,1);
border-radius: 16rpx; border-radius: 16rpx;
position: relative;
.icons { .icons {
width: 36rpx; width: 36rpx;
height: 36rpx; height: 36rpx;
...@@ -152,6 +307,20 @@ ...@@ -152,6 +307,20 @@
display: block; display: block;
text-align: center; text-align: center;
} }
.preview_img {
width: 100%;
height: 100%;
}
.close_icon {
width: 28rpx;
height: 28rpx;
position: absolute;
top: -14rpx;
right: -14rpx;
background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABwAAAAcCAMAAABF0y+mAAAAYFBMVEUhISFVSRlWSRlpWBZxXxWfgw6jhg30xAH38Ob38ef38ej49O369vH69vL7+PT8+/n+/v3+/v7/zQD/zQL/1Cb/2T7/4GT/43H/43L/54f/88P/9Mj/+eX//ff//v7///+7HAjXAAAA3ElEQVQoz4XSWRKDIAwAUKFW4tIqQS2uvf8tK4iAojZ/5DFMEhJ9byLyD9M4TufYy1ogilr2AQ4N2miGHc6dQC9ENzucWzxEO1vsMIhuw0GEKAaDupYkZmuaxYmuasVe5+KIaGUkinWi1yjRJJUyai6h1FijU2dYK5y2cpQSayimBUdb4aLOEMc/yP1n6eFZ7hVEGSO7gkrXCmW2I9NKYYdAtyE87BAyHozvaccH75vBQ1pdfxlAzi8/GwBel2sCSvnFgimEvHKr+fFWUyOkb3621GAiK0q+XOA+/gCtlj2I+YoKDQAAAABJRU5ErkJggg==') no-repeat;
background-size: 100% 100%;
z-index: 10;
}
} }
} }
} }
...@@ -161,7 +330,6 @@ ...@@ -161,7 +330,6 @@
line-height: 80rpx; line-height: 80rpx;
text-align: center; text-align: center;
background: #FFCD00; background: #FFCD00;
opacity: 0.2;
margin: 63rpx auto 42rpx; margin: 63rpx auto 42rpx;
display: block; display: block;
border-radius: 16rpx; border-radius: 16rpx;
......
<template> <template>
<view class="page2_content"> <view class="page2_content">
<TopBar title="金融分期"/>
<view class="apply_data_content"> <view class="apply_data_content">
<view :style="{'margin-top':'40rpx'}"> <view :style="{'margin-top':'40rpx'}">
<view class="apply_title">法人信息</view> <view class="apply_title">法人信息</view>
...@@ -10,37 +11,56 @@ ...@@ -10,37 +11,56 @@
<view class="apply_desc">请上传法人手持身份证清晰照片,以便顺利帮您认证</view> <view class="apply_desc">请上传法人手持身份证清晰照片,以便顺利帮您认证</view>
</view> </view>
<view class="apply_data_item"> <view class="apply_data_item">
<view class="apply_upload"> <view v-if="!params.card_positive" class="apply_upload" @click="uploadImage('card_positive')">
<text class="eosfont icons">&#xe60d;</text> <text class="eosfont icons">&#xe60d;</text>
<text class="upload_font">手持身份证 (人像面)</text> <text class="upload_font">手持身份证 (人像面)</text>
</view> </view>
<view class="apply_upload"> <view v-if="params.card_positive" class="apply_upload">
<text class="close_icon" @click="clearParams('card_positive')"></text>
<image class="preview_img" :src="params.card_positive"></image>
</view>
<view v-if="!params.card_reverse" class="apply_upload" @click="uploadImage('card_reverse')">
<text class="eosfont icons">&#xe60d;</text> <text class="eosfont icons">&#xe60d;</text>
<text class="upload_font">手持身份证 (国徽面)</text> <text class="upload_font">手持身份证 (国徽面)</text>
</view> </view>
<view v-if="params.card_reverse" class="apply_upload">
<text class="close_icon" @click="clearParams('card_reverse')"></text>
<image class="preview_img" :src="params.card_reverse"></image>
</view>
</view> </view>
<view :style="{'margin-top':'60rpx'}"> <view :style="{'margin-top':'60rpx'}">
<view class="apply_title">补充照片</view> <view class="apply_title">补充照片</view>
<view class="apply_desc">请上传企业法人相关证明清晰照片,以便顺利帮您认证</view> <view class="apply_desc">请上传企业法人相关证明清晰照片,以便顺利帮您认证</view>
</view> </view>
<view class="apply_data_item"> <view class="apply_data_item">
<view class="apply_upload"> <view v-if="!params.legal_business_img" class="apply_upload" @click="uploadImage('legal_business_img')">
<text class="eosfont icons">&#xe60d;</text> <text class="eosfont icons">&#xe60d;</text>
<text class="upload_font">法人在企业内照片</text> <text class="upload_font">法人在企业内照片</text>
</view> </view>
<view class="apply_upload"> <view v-if="params.legal_business_img" class="apply_upload">
<text class="close_icon" @click="clearParams('legal_business_img')"></text>
<image class="preview_img" :src="params.legal_business_img"></image>
</view>
<view v-if="!params.bank_credit_report" class="apply_upload" @click="uploadImage('bank_credit_report')">
<text class="eosfont icons">&#xe60d;</text> <text class="eosfont icons">&#xe60d;</text>
<text class="upload_font">法人银行征信报告</text> <text class="upload_font">法人银行征信报告</text>
</view> </view>
<view v-if="params.bank_credit_report" class="apply_upload">
<text class="close_icon" @click="clearParams('bank_credit_report')"></text>
<image class="preview_img" :src="params.bank_credit_report"></image>
</view>
</view> </view>
<view :style="{'margin-top':'60rpx'}"> <view :style="{'margin-top':'60rpx'}">
<view class="apply_title">法人半年银行流水(需含户名)</view> <view class="apply_title">法人半年银行流水(需含户名)</view>
<view class="apply_desc">支持(zip/rar)格式</view> <view class="apply_desc">支持(zip/rar)格式</view>
</view> </view>
<view class="apply_data_item"> <view class="apply_data_item">
<view class="apply_upload"> <view class="apply_upload" @click="uploadZip()">
<text class="eosfont icons">&#xe60d;</text> <text class="eosfont icons">&#xe60d;</text>
<text class="upload_font">企业半年银行流水</text> <text class="upload_font">法人半年银行流水</text>
</view>
<view class="apply_upload" style="line-height: 200rpx;">
<text class="upload_font">{{compressName}}</text>
</view> </view>
</view> </view>
<view class="apply_btn_box"> <view class="apply_btn_box">
...@@ -52,11 +72,123 @@ ...@@ -52,11 +72,123 @@
</template> </template>
<script> <script>
import TopBar from '@/components/TopBar/TopBar.vue';
export default { export default {
data() { data() {
return { return {
params: {
card_positive: '', //身份证正面
card_reverse: '', //身份证反面
legal_business_img: '', //在企业内照片
bank_credit_report: '', //征信报告
legal_card_record: '' //个人流水
},
compressName: ''
}
},
methods: {
uploadImage(key) {
uni.chooseImage({
success: (res) => {
const tempFilePaths = res.tempFilePaths
uni.uploadFile({
url: '/uni/api/resources',
filePath: tempFilePaths[0],
name: 'file',
success: (uploadFileRes) => {
const data = JSON.parse(uploadFileRes.data)
this.params[key] = data.data;
}
});
}
})
},
uploadZip() {
// #ifdef H5
const _input = document.createElement('input');
_input.type = 'file';
_input.accept = 'application/x-zip-compressed,application/x-rar-compressed';
_input.click();
_input.onchange = (e) => {
let file = e.target.files[0];
let fileName = file.name;
let pos = fileName.lastIndexOf(".");
let lastName = fileName.substring(pos, fileName.length);
if ((lastName.toLowerCase() != ".zip" ) && (lastName.toLowerCase() != ".rar")) {
uni.showToast({
title: "文件必须为.zip或.rar类型",
icon: 'none',
duration: 2000
})
return;
}
let url = null;
if (window.createObjectURL != undefined) {
// basic
url = window.createObjectURL(file);
} else if (window.webkitURL != undefined) {
// webkit or chrome
url = window.webkitURL.createObjectURL(file);
} else if (window.URL != undefined) {
// mozilla(firefox)
url = window.URL.createObjectURL(file);
}
uni.uploadFile({
url: '/uni/api/resources',
filePath: url,
name: 'file',
success: (uploadFileRes) => {
const data = JSON.parse(uploadFileRes.data)
this.params[key] = data.data;
this.compressName = fileName;
} }
});
}
// #endif
},
clearParams(key) {
this.params[key] = '';
},
submit() {
if(!this.params.card_positive) {
uni.showToast({
title: '请上传法人手持身份证正面',
icon: 'none'
});
return
}
if(!this.params.card_reverse) {
uni.showToast({
title: '请上传法人手持身份证反面',
icon: 'none'
});
return
}
if(!this.params.legal_business_img) {
uni.showToast({
title: '请上传法人在企业内照片',
icon: 'none'
});
return
}
if(!this.params.bank_credit_report) {
uni.showToast({
title: '请上传法人银行征信报告',
icon: 'none'
});
return
}
if(!this.params.legal_card_record) {
uni.showToast({
title: '请上传法人银行流水',
icon: 'none'
});
return
}
}
},
components: {
TopBar
} }
} }
</script> </script>
...@@ -64,6 +196,7 @@ ...@@ -64,6 +196,7 @@
<style lang="less" scoped> <style lang="less" scoped>
.page2_content { .page2_content {
background: #fff; background: #fff;
padding-top: 80rpx;
.apply_title { .apply_title {
font-size:32rpx; font-size:32rpx;
font-family:PingFangSC-Medium,PingFang SC; font-family:PingFangSC-Medium,PingFang SC;
...@@ -91,6 +224,7 @@ ...@@ -91,6 +224,7 @@
height: 200rpx; height: 200rpx;
background: rgba(248,248,248,1); background: rgba(248,248,248,1);
border-radius: 16rpx; border-radius: 16rpx;
position: relative;
.icons { .icons {
width: 36rpx; width: 36rpx;
height: 36rpx; height: 36rpx;
...@@ -104,6 +238,20 @@ ...@@ -104,6 +238,20 @@
display: block; display: block;
text-align: center; text-align: center;
} }
.preview_img {
width: 100%;
height: 100%;
}
.close_icon {
width: 28rpx;
height: 28rpx;
position: absolute;
top: -14rpx;
right: -14rpx;
background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABwAAAAcCAMAAABF0y+mAAAAYFBMVEUhISFVSRlWSRlpWBZxXxWfgw6jhg30xAH38Ob38ef38ej49O369vH69vL7+PT8+/n+/v3+/v7/zQD/zQL/1Cb/2T7/4GT/43H/43L/54f/88P/9Mj/+eX//ff//v7///+7HAjXAAAA3ElEQVQoz4XSWRKDIAwAUKFW4tIqQS2uvf8tK4iAojZ/5DFMEhJ9byLyD9M4TufYy1ogilr2AQ4N2miGHc6dQC9ENzucWzxEO1vsMIhuw0GEKAaDupYkZmuaxYmuasVe5+KIaGUkinWi1yjRJJUyai6h1FijU2dYK5y2cpQSayimBUdb4aLOEMc/yP1n6eFZ7hVEGSO7gkrXCmW2I9NKYYdAtyE87BAyHozvaccH75vBQ1pdfxlAzi8/GwBel2sCSvnFgimEvHKr+fFWUyOkb3621GAiK0q+XOA+/gCtlj2I+YoKDQAAAABJRU5ErkJggg==') no-repeat;
background-size: 100% 100%;
z-index: 10;
}
} }
} }
.apply_btn_box { .apply_btn_box {
......
<template> <template>
<view class="page3_content"> <view class="page3_content">
<TopBar title="金融分期"/>
<view class="page3_tips">其他补充信息(选填)</view> <view class="page3_tips">其他补充信息(选填)</view>
<view class="apply_data_content"> <view class="apply_data_content">
<view :style="{'margin-top':'40rpx'}"> <view :style="{'margin-top':'40rpx'}">
...@@ -7,31 +8,51 @@ ...@@ -7,31 +8,51 @@
<view class="apply_desc">上传更多的资产证明可以更快认证您的资质</view> <view class="apply_desc">上传更多的资产证明可以更快认证您的资质</view>
</view> </view>
<view class="apply_data_item"> <view class="apply_data_item">
<view class="apply_upload"> <view v-if="!params.house_property" class="apply_upload" @click="uploadImage('house_property')">
<text class="eosfont icons">&#xe60d;</text> <text class="eosfont icons">&#xe60d;</text>
<text class="upload_font">房产证明照片</text> <text class="upload_font">房产证明照片</text>
</view> </view>
<view class="apply_upload"> <view v-if="params.house_property" class="apply_upload">
<text class="close_icon" @click="clearParams('house_property')"></text>
<image class="preview_img" :src="params.house_property"></image>
</view>
<view v-if="!params.deposit_certificate" class="apply_upload" @click="uploadImage('deposit_certificate')">
<text class="eosfont icons">&#xe60d;</text> <text class="eosfont icons">&#xe60d;</text>
<text class="upload_font">存款或理财照片/截图</text> <text class="upload_font">存款或理财照片/截图</text>
</view> </view>
<view class="apply_upload"> <view v-if="params.deposit_certificate" class="apply_upload">
<text class="close_icon" @click="clearParams('deposit_certificate')"></text>
<image class="preview_img" :src="params.deposit_certificate"></image>
</view>
<view v-if="!params.user_sesame_level" class="apply_upload" @click="uploadImage('user_sesame_level')">
<text class="eosfont icons">&#xe60d;</text> <text class="eosfont icons">&#xe60d;</text>
<text class="upload_font">法人芝麻信用照片/截图</text> <text class="upload_font">法人芝麻信用照片/截图</text>
</view> </view>
<view class="apply_upload"> <view v-if="params.user_sesame_level" class="apply_upload">
<text class="close_icon" @click="clearParams('user_sesame_level')"></text>
<image class="preview_img" :src="params.user_sesame_level"></image>
</view>
<view v-if="!params.business_sesame_level" class="apply_upload" @click="uploadImage('business_sesame_level')">
<text class="eosfont icons">&#xe60d;</text> <text class="eosfont icons">&#xe60d;</text>
<text class="upload_font">企业芝麻信用照片/截图</text> <text class="upload_font">企业芝麻信用照片/截图</text>
</view> </view>
<view v-if="params.business_sesame_level" class="apply_upload">
<text class="close_icon" @click="clearParams('business_sesame_level')"></text>
<image class="preview_img" :src="params.business_sesame_level"></image>
</view>
</view> </view>
<view :style="{'margin-top':'60rpx'}"> <view :style="{'margin-top':'60rpx'}">
<view class="apply_title">其他补充证明</view> <view class="apply_title">其他补充证明</view>
</view> </view>
<view class="apply_data_item"> <view class="apply_data_item">
<view class="apply_upload"> <view v-if="!params.vehicle_license" class="apply_upload" @click="uploadImage('vehicle_license')">
<text class="eosfont icons">&#xe60d;</text> <text class="eosfont icons">&#xe60d;</text>
<text class="upload_font">机动车驾驶证照片</text> <text class="upload_font">机动车驾驶证照片</text>
</view> </view>
<view v-if="params.vehicle_license" class="apply_upload">
<text class="close_icon" @click="clearParams('vehicle_license')"></text>
<image class="preview_img" :src="params.vehicle_license"></image>
</view>
</view> </view>
<view class="apply_btn_box"> <view class="apply_btn_box">
<view class="apply_btn">上一步</view> <view class="apply_btn">上一步</view>
...@@ -42,11 +63,42 @@ ...@@ -42,11 +63,42 @@
</template> </template>
<script> <script>
import TopBar from '@/components/TopBar/TopBar.vue';
export default { export default {
data() { data() {
return { return {
params: {
house_property: '', //房产证
deposit_certificate: '', //存款理财
user_sesame_level: '', //法人芝麻信用
business_sesame_level: '', //企业芝麻信用
vehicle_license: '', //机动车
}
} }
},
methods: {
uploadImage(key) {
uni.chooseImage({
success: (res) => {
const tempFilePaths = res.tempFilePaths
uni.uploadFile({
url: '/uni/api/resources',
filePath: tempFilePaths[0],
name: 'file',
success: (uploadFileRes) => {
const data = JSON.parse(uploadFileRes.data)
this.params[key] = data.data;
}
});
}
})
},
clearParams(key) {
this.params[key] = '';
}
},
components: {
TopBar
} }
} }
</script> </script>
...@@ -54,6 +106,7 @@ ...@@ -54,6 +106,7 @@
<style lang="less" scoped> <style lang="less" scoped>
.page3_content { .page3_content {
background: #fff; background: #fff;
padding-top: 80rpx;
.apply_data_content { .apply_data_content {
background: #fff; background: #fff;
padding: 0 36rpx; padding: 0 36rpx;
...@@ -82,6 +135,20 @@ ...@@ -82,6 +135,20 @@
display: block; display: block;
text-align: center; text-align: center;
} }
.preview_img {
width: 100%;
height: 100%;
}
.close_icon {
width: 28rpx;
height: 28rpx;
position: absolute;
top: -14rpx;
right: -14rpx;
background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABwAAAAcCAMAAABF0y+mAAAAYFBMVEUhISFVSRlWSRlpWBZxXxWfgw6jhg30xAH38Ob38ef38ej49O369vH69vL7+PT8+/n+/v3+/v7/zQD/zQL/1Cb/2T7/4GT/43H/43L/54f/88P/9Mj/+eX//ff//v7///+7HAjXAAAA3ElEQVQoz4XSWRKDIAwAUKFW4tIqQS2uvf8tK4iAojZ/5DFMEhJ9byLyD9M4TufYy1ogilr2AQ4N2miGHc6dQC9ENzucWzxEO1vsMIhuw0GEKAaDupYkZmuaxYmuasVe5+KIaGUkinWi1yjRJJUyai6h1FijU2dYK5y2cpQSayimBUdb4aLOEMc/yP1n6eFZ7hVEGSO7gkrXCmW2I9NKYYdAtyE87BAyHozvaccH75vBQ1pdfxlAzi8/GwBel2sCSvnFgimEvHKr+fFWUyOkb3621GAiK0q+XOA+/gCtlj2I+YoKDQAAAABJRU5ErkJggg==') no-repeat;
background-size: 100% 100%;
z-index: 10;
}
} }
} }
.apply_btn_box { .apply_btn_box {
......
...@@ -29,7 +29,11 @@ ...@@ -29,7 +29,11 @@
if(this.type === 1) { if(this.type === 1) {
uni.navigateTo({ uni.navigateTo({
url: '/pages/apply/applypage1' url: '/pages/apply/applypage1'
}) });
} else {
uni.navigateTo({
url: '/pages/signcontract/signcontract'
});
} }
} }
}, },
......
<template> <template>
<view class="fin_content"> <view class="fin_content">
<SearchBar /> <SearchBar :isLogin="isLogin"/>
<view class="flex tab_bar"> <view class="tab_bar">
<text @click="jumpPhpPage()">首页</text> <text @click="jumpPhpPage()">首页</text>
<text @click="jumpPhpPage('app=promotion')">精彩活动</text> <!-- <text @click="jumpPhpPage('app=promotion')">精彩活动</text> -->
<text> <text>
<i class="credit_icon"></i> <i class="credit_icon"></i>
谛宝白条 谛宝白条
</text> </text>
<text class="act">采购分期</text> <text class="act">采购分期</text>
</view> </view>
<view class="flex_category"> <!-- <view class="flex_category">
<view class="cate_item1"></view> <view class="cate_item1"></view>
<view class="cate_item2"></view> <view class="cate_item2"></view>
<view class="cate_item3"></view> <view class="cate_item3"></view>
<view class="cate_item4"></view> <view class="cate_item4"></view>
</view> </view> -->
<view class="fin_banner"></view> <view class="fin_banner"></view>
<view class="fin_select"> <view class="fin_select" v-if="EquipmentHotList">
<view class="fin_select_label"> <view class="fin_select_label">
<text class="fin_limit">限时</text> <text class="fin_limit">限时</text>
<text class="fin_title">行业精选 限时免息!</text> <text class="fin_title">行业精选 限时免息!</text>
</view> </view>
<text class="fin_desc">各类搭配组合 满足中小型医院无忧开店</text> <text class="fin_desc">各类搭配组合 满足中小型医院无忧开店</text>
<swiper :style="{'margin-top': '36rpx'}"> <uni-swiper-dot :info="EquipmentHotList" mode="dot" :dotsStyles="{'width': 4,'height':4, 'bottom':0,'border':'none','selectedBorder':'none'}" :current="current">
<swiper-item> <swiper class="fin_swiper" :autoplay="true" @change="change" >
<view class="fin_goods"> <swiper-item class="fin_swiper_item" v-for="(val, index) in EquipmentHotList" :key="index">
<view class="fin_goods_item"> <view class="fin_goods" v-for="(vo, key) in val" :key="key">
<image src="https://dbc-static.oss-cn-beijing.aliyuncs.com/static/pic3%402x.png"></image> <view class="fin_goods_item" @click="jumpDetail(vo.equipment_id)">
<text class="fin_goods_name">测试</text> <image :src="vo.img_url"></image>
<text class="fin_goods_price">2222</text> <text class="fin_goods_name">{{vo.equipment_name}}</text>
<text class="fin_goods_price">¥{{vo.remaining_payment}}</text>
</view> </view>
</view> </view>
</swiper-item> </swiper-item>
</swiper> </swiper>
</uni-swiper-dot>
</view> </view>
<view class="fin_recommended"> <view class="fin_recommended" v-if="EquipmentRecommendList">
<view class="fin_recommended_label"> <view class="fin_recommended_label">
<i class="fin_icon"></i> <i class="fin_icon"></i>
<text class="fin_recommended_title">为您推荐</text> <text class="fin_recommended_title">为您推荐</text>
...@@ -46,16 +48,16 @@ ...@@ -46,16 +48,16 @@
<i></i> <i></i>
</view> </view>
<view class="fin_rec_goods"> <view class="fin_rec_goods">
<view class="fin_rec_goods_item"> <view class="fin_rec_goods_item" v-for="(val, index) in EquipmentRecommendList" :key="index">
<image src="https://dbc-static.oss-cn-beijing.aliyuncs.com/static/pic3%402x.png"></image> <image :src="val.img_url"></image>
<i class="fin_rec_label fin_rec_label1">限时</i> <i class="fin_rec_label fin_rec_label1">限时</i>
<i class="fin_rec_label fin_rec_label2">免息</i> <i class="fin_rec_label fin_rec_label2">免息</i>
<text class="fin_rec_goodsname">限量版宝璐天然粮</text> <text class="fin_rec_goodsname">{{val.equipment_name}}</text>
<text class="fin_rec_goodssubname">限量版宝璐天然粮</text> <text class="fin_rec_goodssubname">限量版宝璐天然粮</text>
<text class="fin_rec_goodprice"> <text class="fin_rec_goodprice">
<text></text>4800 <text></text>{{val.remaining_payment}}
</text> </text>
<text class="fin_rec_goodssubname">12期免息</text> <text class="fin_rec_goodssubname">{{val.periods_num}}期免息</text>
</view> </view>
</view> </view>
</view> </view>
...@@ -70,7 +72,48 @@ ...@@ -70,7 +72,48 @@
export default { export default {
data() { data() {
return { return {
tabIndex: 3 tabIndex: 3,
EquipmentRecommendList: [], //推荐
EquipmentHotList: [], //精选
isLogin: 0,
current: 0
}
},
onLoad() {
this.getData();
uni.showLoading({
title: '加载中'
});
},
methods: {
getData() {
uni.request({
url: '/uni/api/equipment_index/EquipmentIndex',
method: 'GET',
dataType: 'json',
success: (res) => {
this.EquipmentRecommendList = res.data.data.EquipmentRecommendList;
this.isLogin = res.data.login_flg;
if(res.data.data.EquipmentHotList instanceof Array) {
let array = [];
for (var i = 0, j = res.data.data.EquipmentHotList.length; i < j; i += 6) {
array.push(res.data.data.EquipmentHotList.slice(i, i + 6));
}
this.EquipmentHotList = array;
} else {
this.EquipmentHotList = res.data.data.EquipmentHotList;
}
uni.hideLoading();
}
});
},
change(e) {
this.current = e.detail.current;
},
jumpDetail(id) {
uni.navigateTo({
url: `/pages/installment/installmentinfo?id=${id}`,
});
} }
}, },
components: { components: {
...@@ -152,12 +195,23 @@ ...@@ -152,12 +195,23 @@
display: block; display: block;
margin-top: 6rpx; margin-top: 6rpx;
} }
.fin_goods { .fin_swiper {
box-shadow:0px 4px 16px 0px rgba(0,0,0,0.04);
width: 702rpx;
margin: 36rpx auto 0;
height: 580rpx;
padding: 0 46rpx; padding: 0 46rpx;
box-sizing: border-box;
.fin_swiper_item {
display: flex;
flex-wrap: wrap;
justify-content: space-between;
}
}
.fin_goods {
display: flex; display: flex;
flex-wrap: wrap; flex-wrap: wrap;
justify-content: space-between; justify-content: space-between;
box-shadow:0px 4px 16px 0px rgba(0,0,0,0.04);
.fin_goods_item { .fin_goods_item {
image { image {
width: 180rpx; width: 180rpx;
...@@ -177,12 +231,13 @@ ...@@ -177,12 +231,13 @@
color: #AE8A57; color: #AE8A57;
font-size: 26rpx; font-size: 26rpx;
line-height: 36rpx; line-height: 36rpx;
width: 180rpx;
overflow: hidden; overflow: hidden;
text-overflow: ellipsis; text-overflow: ellipsis;
white-space: nowrap; white-space: nowrap;
position: relative; font-weight: 500;
top: -12rpx; text-align: center;
width: 180rpx;
display: inline-block;
} }
} }
} }
...@@ -225,6 +280,9 @@ ...@@ -225,6 +280,9 @@
} }
} }
.fin_rec_goods { .fin_rec_goods {
display: flex;
justify-content: space-between;
flex-wrap: wrap;
.fin_rec_goods_item { .fin_rec_goods_item {
width: 346rpx; width: 346rpx;
height: 548rpx; height: 548rpx;
...@@ -233,6 +291,7 @@ ...@@ -233,6 +291,7 @@
border:1px solid rgba(236,236,236,1); border:1px solid rgba(236,236,236,1);
padding: 0 24rpx; padding: 0 24rpx;
box-sizing: border-box; box-sizing: border-box;
margin-bottom: 20rpx;
image { image {
width: 280rpx; width: 280rpx;
height: 280rpx; height: 280rpx;
...@@ -293,7 +352,6 @@ ...@@ -293,7 +352,6 @@
.tab_bar { .tab_bar {
padding: 0 24rpx; padding: 0 24rpx;
display: flex; display: flex;
justify-content: space-between;
align-items: center; align-items: center;
height: 88rpx; height: 88rpx;
.credit_icon { .credit_icon {
...@@ -303,20 +361,21 @@ ...@@ -303,20 +361,21 @@
background: url(../../static/index/2821581501269_.pic.jpg) no-repeat; background: url(../../static/index/2821581501269_.pic.jpg) no-repeat;
background-size: 100% 100%; background-size: 100% 100%;
vertical-align: bottom; vertical-align: bottom;
margin-right: 4rpx;
} }
} text {
.tab_bar text {
font-size: 28rpx; font-size: 28rpx;
color: #212121; color: #212121;
line-height: 40rpx; line-height: 40rpx;
margin-right: 72rpx;
} }
.tab_bar .act { .act {
font-family:PingFangSC-Medium,PingFang SC; font-family:PingFangSC-Medium,PingFang SC;
font-weight:500; font-weight:500;
font-size: 32rpx; font-size: 32rpx;
position: relative; position: relative;
} }
.tab_bar .act:after { .act:after {
position: absolute; position: absolute;
width: 60rpx; width: 60rpx;
height: 4rpx; height: 4rpx;
...@@ -327,4 +386,5 @@ ...@@ -327,4 +386,5 @@
margin-left: -30rpx; margin-left: -30rpx;
top: 48rpx; top: 48rpx;
} }
}
</style> </style>
This diff is collapsed.
<template> <template>
<view class="sign_content"> <view class="sign_content">
<TopBar title="金融分期"/>
<view :style="{'margin-top':'28rpx'}"> <view :style="{'margin-top':'28rpx'}">
<view class="apply_title">签署合同</view> <view class="apply_title">签署合同</view>
<view class="apply_desc">请填写合同内详细信息</view> <view class="apply_desc">请填写合同内详细信息</view>
...@@ -10,90 +11,12 @@ ...@@ -10,90 +11,12 @@
<view> <view>
<input type="text" class="sign_input"> <input type="text" class="sign_input">
</view> </view>
<view class="sign_title">联系方式</view>
<view>
<input type="text" class="sign_input">
</view>
<view class="sign_title">企业地址</view>
<view>
此处为地址picker
</view>
<view>
<textarea class="sign_textarea" placeholder="具体到企业所在街道号码"></textarea>
</view>
<view class="sign_title">邮编地址</view>
<view>
<input type="text" class="sign_input">
</view>
<view :style="{'margin-top':'28rpx'}">
<view class="apply_title">签收信息</view>
</view>
<view class="sign_flex">
<text class="sign_title" :style="{'margin-top':0}">交货地址</text>
<view>
<text class="sign_checkbox act"></text>
<text class="sign_title" :style="{'margin-top':0}">即为安装地址</text>
</view>
</view>
<view class="sign_title">企业地址</view>
<view>
此处为地址picker
</view>
<view>
<textarea class="sign_textarea" placeholder="具体到企业所在街道号码"></textarea>
</view>
<view class="sign_title">签收人</view>
<view>
<input type="text" class="sign_input">
</view>
<view class="sign_title">签收人电话</view>
<view>
<input type="text" class="sign_input">
</view>
</uni-collapse-item>
</uni-collapse>
<uni-collapse>
<uni-collapse-item title="买方信息" :open="true">
<view class="sign_flex">
<text class="sign_title" :style="{'margin-top':0}">买方代表</text>
<view>
<text class="sign_checkbox"></text>
<text class="sign_title" :style="{'margin-top':0}">委托代理人</text>
</view>
</view>
<view>
<input type="text" class="sign_input">
</view>
<view class="sign_title">买方法人</view>
<view>
<input type="text" class="sign_input">
</view>
<view :style="{'margin-top':'40rpx'}">
<view class="apply_title">签收信息</view>
</view>
<view class="sign_title">文书送达地址</view>
<view>
此处为地址picker
</view>
<view>
<textarea class="sign_textarea" placeholder="具体到企业所在街道号码"></textarea>
</view>
<view class="sign_title">签收人</view>
<view>
<input type="text" class="sign_input">
</view>
<view class="sign_title">签收人电话</view>
<view>
<input type="text" class="sign_input">
</view>
<view class="sign_title">签收人邮箱</view>
<view>
<input type="text" class="sign_input">
</view>
</uni-collapse-item> </uni-collapse-item>
</uni-collapse> </uni-collapse>
<view class="agreement"> <view class="agreement">
关于<text>《谛宝多多金融分期协议》</text><text>《xx产品分期采购合同》</text> 关于
<!-- <text>《谛宝多多金融分期协议》</text> -->
<text>《xx产品分期采购合同》</text>
</view> </view>
<view> <view>
<text class="sign_checkbox"></text> <text class="sign_checkbox"></text>
...@@ -109,8 +32,9 @@ ...@@ -109,8 +32,9 @@
</template> </template>
<script> <script>
import uniCollapse from '@/components/uni-collapse/uni-collapse.vue' import uniCollapse from '@/components/uni-collapse/uni-collapse.vue';
import uniCollapseItem from '@/components/uni-collapse-item/uni-collapse-item.vue' import uniCollapseItem from '@/components/uni-collapse-item/uni-collapse-item.vue';
import TopBar from '@/components/TopBar/TopBar.vue';
export default { export default {
data() { data() {
return { return {
...@@ -119,7 +43,8 @@ ...@@ -119,7 +43,8 @@
}, },
components: { components: {
uniCollapse, uniCollapse,
uniCollapseItem uniCollapseItem,
TopBar
} }
} }
</script> </script>
...@@ -127,7 +52,7 @@ ...@@ -127,7 +52,7 @@
<style lang="less" scoped> <style lang="less" scoped>
.sign_content { .sign_content {
background: #fff; background: #fff;
padding: 0 36rpx; padding: 80rpx 36rpx 0;
.apply_title { .apply_title {
font-size:32rpx; font-size:32rpx;
font-family:PingFangSC-Medium,PingFang SC; font-family:PingFangSC-Medium,PingFang SC;
...@@ -147,15 +72,6 @@ ...@@ -147,15 +72,6 @@
font-size:28rpx; font-size:28rpx;
margin-top: 32rpx; margin-top: 32rpx;
} }
.sign_textarea {
width: 100%;
height:200rpx;
background:rgba(248,248,248,1);
border-radius:16rpx;
padding: 20rpx;
margin-top: 40rpx;
font-size: 28rpx;
}
.sign_input { .sign_input {
width:100%; width:100%;
height:72rpx; height:72rpx;
...@@ -231,4 +147,5 @@ ...@@ -231,4 +147,5 @@
background-image:url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACQAAAAkCAMAAADW3miqAAACoFBMVEUhISEkIyArKR84Mx49Nh1cThhgURdiUxdqWRZwXhVzYBV+aROAahOihQ61kwu4lQu6lwq9mQrKpAjasAXwwQL3xgH9ywD/zQD/zQH/zQL/zgf/zgn/zwr/zxD/0BD/0BL/0BP/0RP/0RT/0RX/0h7/0x7/0x//0yP/1CT/1Cj/1Sf/1Sj/1Sr/1Sz/1jH/1zP/1zT/1zX/2Dn/2Dr/2T//2UD/2UL/2kH/2kT/2kX/20X/3E3/3E//3VL/3V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01ZQWFhcXltR0T569GKzCgRc+2dUvnTJ3Q3z9x2rxlm3afQBQ9AO0gCIzNUhSlAAAAAElFTkSuQmCC');
} }
} }
</style> </style>
@font-face {font-family: "eosfont"; @font-face {font-family: "eosfont";
src: url('https://at.alicdn.com/t/font_1682539_4kf2n8t4rub.ttf') format('truetype'); src: url('https://at.alicdn.com/t/font_1682539_n5w0owl8p69.ttf') format('truetype');
} }
.eosfont { .eosfont {
......
...@@ -3,16 +3,23 @@ import Vuex from 'vuex' ...@@ -3,16 +3,23 @@ import Vuex from 'vuex'
Vue.use(Vuex) Vue.use(Vuex)
const store = new Vuex.Store({ const store = new Vuex.Store({
state: { state: {
webviewUrl: '' webviewUrl: '',
installment: {} //采购分期存储的数据
}, },
mutations: { mutations: {
changeWebviewUrl(state, url) { changeWebviewUrl(state, url) {
state.webviewUrl = url; state.webviewUrl = url;
},
changeInstallment(state, data) {
state.installment = data;
} }
}, },
actions: { actions: {
changeWebviewUrl(context, url) { changeWebviewUrl(context, url) {
context.commit('changeWebviewUrl', url); context.commit('changeWebviewUrl', url);
},
changeInstallment(context, data) {
context.commit('changeInstallment', data);
} }
} }
}) })
......
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 to comment