Commit 555ec268 by wenyang

1、付款成功页面有底部菜单栏,可以回到首页(如果没有登录时需要自动获取用户信息)

2、开户行支持自定义与下拉框选择
3、上传个人证件时描述语句调整
parent 66b86aba
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
@focus="showDropdown = true" @focus="showDropdown = true"
style="text-align: right;" style="text-align: right;"
:disabled="isClick" :disabled="isClick"
placeholder="请输入关键词" placeholder="请选择开户行"
/> />
<uni-icons @click="openDropdown" type="right" size="20" ></uni-icons> <uni-icons @click="openDropdown" type="right" size="20" ></uni-icons>
</view> </view>
......
...@@ -55,7 +55,7 @@ ...@@ -55,7 +55,7 @@
background: #fff; background: #fff;
color: #333; color: #333;
font-size: 24rpx; font-size: 24rpx;
padding-bottom: 80rpx; padding-bottom: 50rpx;
transform: translateX(-50%); transform: translateX(-50%);
.menu_content{ .menu_content{
display: flex; display: flex;
......
...@@ -33,13 +33,15 @@ ...@@ -33,13 +33,15 @@
<view class="photo" v-if="!cardForm.idFrontPageOssPath" @click="upLoadPhoto('front')"> <view class="photo" v-if="!cardForm.idFrontPageOssPath" @click="upLoadPhoto('front')">
<image v-if="cardForm.idType == '身份证'" src="../../static/front.png" alt="身份证正面" mode="widthFix"></image> <image v-if="cardForm.idType == '身份证'" src="../../static/front.png" alt="身份证正面" mode="widthFix"></image>
<text class="iconfont icon-weibiaoti553"></text> <text class="iconfont icon-weibiaoti553"></text>
<view class="choseBtn">点击添加{{cardForm.idType}}正面</view> <view v-if="cardForm.idType == '身份证'" class="choseBtn">点击添加{{cardForm.idType}}正面</view>
<view v-else class="choseBtn">点击添加({{cardForm.idType}})图1</view>
</view> </view>
<!-- <view class="content_w" v-if="cardForm.idFrontPageOssPath"> --> <!-- <view class="content_w" v-if="cardForm.idFrontPageOssPath"> -->
<image class="picImg" v-if="cardForm.idFrontPageOssPath" :src="cardForm.idFrontPageOssPath" @click="upLoadPhoto('front')" mode="widthFix"></image> <image class="picImg" v-if="cardForm.idFrontPageOssPath" :src="cardForm.idFrontPageOssPath" @click="upLoadPhoto('front')" mode="widthFix"></image>
<!-- </view> --> <!-- </view> -->
<view class="tips"> <view class="tips">
<view>(正确示例:{{cardForm.idType}}正面,字体清晰)</view> <view v-if="cardForm.idType == '身份证'">(正确示例:{{cardForm.idType}}正面,字体清晰)</view>
<view v-else >(正确示例:{{cardForm.idType}}图1,字体清晰)</view>
<view>(jpg,png 文件大小不大于1mb)</view> <view>(jpg,png 文件大小不大于1mb)</view>
</view> </view>
</view> </view>
...@@ -47,13 +49,15 @@ ...@@ -47,13 +49,15 @@
<view class="photo" v-if="!cardForm.idBackPageOssPath" @click="upLoadPhoto('back')"> <view class="photo" v-if="!cardForm.idBackPageOssPath" @click="upLoadPhoto('back')">
<image v-if="cardForm.idType == '身份证'" src="../../static/back.png" alt="身份证反面" mode="widthFix"></image> <image v-if="cardForm.idType == '身份证'" src="../../static/back.png" alt="身份证反面" mode="widthFix"></image>
<text class="iconfont icon-weibiaoti553"></text> <text class="iconfont icon-weibiaoti553"></text>
<view class="choseBtn">点击添加{{cardForm.idType}}反面</view> <view v-if="cardForm.idType == '身份证'" class="choseBtn">点击添加{{cardForm.idType}}反面</view>
<view v-else class="choseBtn">点击添加({{cardForm.idType}})图2</view>
</view> </view>
<!-- <view class="content_w" v-if="cardForm.idBackPageOssPath"> --> <!-- <view class="content_w" v-if="cardForm.idBackPageOssPath"> -->
<image class="picImg" v-if="cardForm.idBackPageOssPath" :src="cardForm.idBackPageOssPath" @click="upLoadPhoto('back')" mode="widthFix"></image> <image class="picImg" v-if="cardForm.idBackPageOssPath" :src="cardForm.idBackPageOssPath" @click="upLoadPhoto('back')" mode="widthFix"></image>
<!-- </view> --> <!-- </view> -->
<view class="tips"> <view class="tips">
<view>(正确示例:{{cardForm.idType}}反面,字体清晰)</view> <view v-if="cardForm.idType == '身份证'">(正确示例:{{cardForm.idType}}反面,字体清晰)</view>
<view v-else >(正确示例:{{cardForm.idType}}图2,字体清晰)</view>
<view>(jpg,png 文件大小不大于1mb)</view> <view>(jpg,png 文件大小不大于1mb)</view>
</view> </view>
</view> </view>
......
...@@ -29,14 +29,17 @@ ...@@ -29,14 +29,17 @@
</view> </view>
</view> </view>
</view> </view>
<tabBar :currentPage="currentPage"></tabBar>
</view> </view>
</template> </template>
<script> <script>
import api from "@/api/api"; import api from "@/api/api";
import {apiURL} from "@/environments/environment";
import courseItem from "@/components/courseItem/courseItem.vue"; import courseItem from "@/components/courseItem/courseItem.vue";
import tabBar from '../../components/tabBar/tabBar.vue';
export default { export default {
components:{courseItem}, components:{tabBar,courseItem},
data() { data() {
return { return {
cffpCourseInfos:[], cffpCourseInfos:[],
...@@ -44,7 +47,8 @@ ...@@ -44,7 +47,8 @@
orderId:'', orderId:'',
orderStatus:'2', orderStatus:'2',
userId:'', userId:'',
isRedirect:'' isRedirect:'',
currentPage: '',
}; };
}, },
methods:{ methods:{
...@@ -92,15 +96,30 @@ ...@@ -92,15 +96,30 @@
} }
}, },
onLoad(options) { onLoad(options) {
if(options.userId != "undefined"){
this.userId = options.userId;
uni.setStorageSync('cffp_userId', this.userId)
};
this.isRedirect = options.isRedirect this.isRedirect = options.isRedirect
this.orderId = options.orderId; this.orderId = options.orderId;
this.orderStatus = options.orderStatus; this.orderStatus = options.orderStatus;
this.fileId = options.fileId; this.fileId = options.fileId;
this.courseList() if(options.userId && options.userId != "undefined"){
this.userId = options.userId;
uni.setStorageSync('cffp_userId', this.userId)
uni.request({
url: `${apiURL}/authorize/obtainToken`,
method: 'POST',
data: {ticket:'uni-app', loginId:options.userId},
success: (res) => {
if (res.statusCode === 200) {
uni.setStorageSync('uni-token', res.data['data']['token']);
uni.setStorageSync('cffp_userId', options.userId);
uni.setStorageSync('isLogin','1');
uni.setStorageSync('isH5', 1);
this.courseList()
}
}
});
}else{
this.courseList()
}
} }
} }
</script> </script>
......
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