123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398 |
- <template>
- <view>
- <u-navbar back-text="实名认证" back-icon-size="28" back-icon-color="#ffffff"
- :background="{backgroundColor: '#2795FD',}" :back-text-style="{color: '#ffffff'}"></u-navbar>
- <!-- 标签 -->
- <view class="tabs">
- <u-tabs :list="list" :is-scroll="false" :current="current" @change="change"></u-tabs>
- </view>
- <view class="personal-box" v-if="current==0">
- <!-- 个人认证 -->
- <view class="personal-authentication" v-if="authentication">
- <view class="headline">
- 您的信息将会被严格保密,请放心填写
- </view>
- <!-- 信息 -->
- <view class="infos-group">
- <view class="item">
- <view class="title">
- 手机号码
- </view>
- <view class="value">
- <input type="text" placeholder="15500001111">
- </view>
- </view>
- <view class="item">
- <view class="title">
- 真实姓名
- </view>
- <view class="value">
- <input type="text" placeholder="请填写真实姓名">
- </view>
- </view>
- <view class="item">
- <view class="title">
- 身份证号
- </view>
- <view class="value">
- <input type="text" placeholder="请填写18位身份证号">
- </view>
- </view>
- </view>
- <button class="save" @click="authentication=false">保存</button>
-
- </view>
- <!-- 认证成功 -->
- <view class="success" v-if="!authentication">
- <view class="img-box">
- <img src="@/assets/img/success.png" alt="">
- </view>
- <!-- 信息 -->
- <view class="infos-box">
- <view class="item">
- <view class="title">
- 手机号码
- </view>
- <view class="title">
- 15500001111
- </view>
- </view>
- <view class="item">
- <view class="title">
- 姓名
- </view>
- <view class="title">
- 李*宵
- </view>
- </view>
- <view class="item">
- <view class="title">
- 身份证号
- </view>
- <view class="title">
- 4****************1
- </view>
- </view>
- </view>
-
-
-
- </view>
- <!-- 提示 -->
- <view class="tips" v-if="!authentication" >
- <view class="tips-item">
- <view class="icon">
- <img src="@/assets/img/shield-user-line.png" alt="">
- </view>
- <view class="text">
- 信息安全保护中,认证信息将用于创建信息等功能,与账号为已绑定,未经您允许不对外提供
- </view>
- </view>
- <view class="tips-item">
- <view class="icon">
- <u-icon name="info-circle"></u-icon>
- </view>
- <view class="text">
- 每个账号只能进行一次实名认证,认证成功不支持修改
- </view>
- </view>
- </view>
- </view>
- <!-- 企业认证 -->
- <view class="enterprise-box" v-if="current==1" >
-
- <view class="enterprise-authentication" v-if="enterprise">
- <view class="headline">
- 您的信息将会被严格保密,请放心填写
- </view>
- <!-- 企业信息 -->
- <view class="enterprise-infos">
- <view class="infos-input">
- <view class="item">
- <view class="title">
- 企业全称
- </view>
- <view class="input">
- <input type="text" placeholder="请填写企业全称">
- </view>
- </view>
- </view>
- <!-- 营业执照 -->
- <view class="business-license">
- <view class="title">
- <view class="title-left">
- 营业执照
- </view>
- <view class="title-right">
- 请保证图中文字、印章等清晰可辨识
- </view>
- </view>
-
- <u-upload width="686" max-count="1" ></u-upload>
-
- </view>
- </view>
- <button class="save" @click="enterprise=false">保存</button>
- </view>
- <!-- 企业认证成功 -->
- <view class="success" v-if="!enterprise">
- <view class="img-box">
- <img src="@/assets/img/success.png" alt="">
- </view>
- <!-- 信息 -->
- <view class="infos-box">
- <view class="item">
- <view class="title">
- 企业全称
- </view>
- <view class="value">
- 湖北荆鹏软件开发有限公司
- </view>
- </view>
- <view class="item">
- <view class="title">
- 营业执照
- </view>
-
- </view>
- <view class="img-box">
- <img src="@/assets/img/business-license.png" alt="">
- </view>
-
- </view>
-
- </view>
- <!-- 提示 -->
- <view class="tips" v-if="!enterprise" >
- <view class="tips-item">
- <view class="icon">
- <img src="@/assets/img/shield-user-line.png" alt="">
- </view>
- <view class="text">
- 信息安全保护中,认证信息将用于创建信息等功能,与账号为已绑定,未经您允许不对外提供
- </view>
- </view>
- <view class="tips-item">
- <view class="icon">
- <u-icon name="info-circle"></u-icon>
- </view>
- <view class="text">
- 每个账号只能进行一次实名认证,认证成功不支持修改
- </view>
- </view>
- </view>
- </view>
-
-
-
- </view>
- </template>
- <script>
- export default {
- data() {
- return {
- authentication:true,
- enterprise:true,
- list: [{
- name: '个人认证'
- }, {
- name: '企业认证'
- }],
- current: 0,
-
- }
- },
- methods: {
- change(index) {
- this.current = index;
- }
- }
- }
- </script>
- <style>
- page {
- background: #F0F0F2;
- padding-bottom: 150px;
- }
- </style>
- <style lang="scss" scoped>
- .headline{
- color: rgba(51, 51, 51, 1);
- padding-left: 32rpx;
- margin-top: 32rpx;
- }
- .personal-box{
- // 信息
- .infos-group{
- background-color: #fff;
- margin-top: 16rpx;
- .item{
- display: flex;
- align-items: center;
- padding: 24rpx 32rpx;
-
- .title{
- color: rgba(51, 51, 51, 1);
- font-size: 32rpx;
- width: 180rpx;
- }
- .value{
- /deep/.uni-input-input{
- color: rgba(51, 51, 51, 1);
- font-size: 32rpx;
- }
- }
- }
- .img-box{
- display: flex;
- justify-content: center;
- img{
- width: 100%;
- height:440rpx;
- }
- }
-
- }
- }
- // 企业认证
- .enterprise-box{
-
- .enterprise-authentication{
-
-
- .enterprise-infos{
- background-color: #fff;
- padding: 24rpx 32rpx;
- margin-top: 16rpx;
- }
- .infos-input{
- padding:0 0 24rpx 0;
- border-bottom: 1px solid #e6e6e6;
- }
- .item{
- display: flex;
- align-items: center;
- .title{
- color: rgba(51, 51, 51, 1);
- font-size: 32rpx;
- width: 180rpx;
- }
- .value{
- /deep/.uni-input-input{
- color: rgba(51, 51, 51, 1);
- font-size: 32rpx;
- }
- }
- }
- }
- .business-license{
-
- .title{
- display: flex;
- justify-content: space-between;
- padding: 24rpx 0 20rpx ;
- .title1{
- color: rgba(51, 51, 51, 1);
- font-size: 32rpx;
- }
- .title2{
- color: #999999;
- }
-
- }
- // 上传
- /deep/.u-list-item {
- width: 686rpx;
- height: 360rpx !important;
- }
- /deep/.u-add-btn {
- color: #ACBAC9;
- font-size: 96rpx
- }
- /deep/.uicon-plus[data-v-2ee87dc9]:before {
- font-size: 72rpx;
- }
- }
- }
- //认证成功
- .success{
- background-color: #fff;
- .img-box{
- display: flex;
- justify-content: center;
- width: 686rpx;
- height: 596rpx;
- margin: 0 auto;
- padding: 48rpx;
- img{
- width: 100%;
- height: 100%;
-
- }
- }
- // 信息
- .infos-box{
-
- .item{
- display: flex;
- align-items: center;
- padding:24rpx ;
- margin:0 32rpx;
- border-bottom:1px solid #e3e3e3;
- .title{
- color: rgba(119, 119, 119, 1);
- font-size: 16px;
- width: 180rpx;
- }
- .value{
- color: rgba(51, 51, 51, 1);
- font-size: 16px;
- }
- }
- }
-
- }
- //提示
- .tips{
- padding: 24rpx 32rpx;
- .tips-item{
- display: flex;
- margin-bottom: 24rpx;
- font-size: 24rpx;
- line-height: 34rpx;
- .icon{
- width: 32rpx;
- height: 32rpx;
- img{
- width: 100%;
- height: 100%;
- vertical-align: middle;
- }
- }
- .text{
- flex:1;
- margin-left: 8rpx;
- }
- }
- }
- // 保存
- .save{
- background-color: rgba(34, 149, 255, 1);
- color: rgba(241, 241, 241, 1);
- font-size: 36rpx;
- height: 96rpx;
- margin: 40rpx 32rpx;
- border-radius: 50px;}
- </style>
|