123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177 |
- <template>
- <view class="switch-roles">
- <nav-bar title="工作地址" color="#000"></nav-bar>
- <view class="roles-content">
- <view class="content">
- <view class="title">工作地址</view>
- <view class="title-desc">您需要拍摄该地址的工作环境,完成认证</view>
- <!-- <u-input
- placeholder="公司信息将被审核,请确保您输入的信息真实有效"
- v-model="companyMsg"
- type="textarea"
- clearable
- class="custom-textarea"
- >
- <template #prefix>
- <u-icon name="phone" size="36rpx" color="#999" marginRight="20rpx"></u-icon>
- </template>
- </u-input> -->
- <view class="form-item">
- <view class="item-label"> 工作地址 </view>
- <u-input
- placeholder="请输入办公大楼名称,例:碧桂园凤凰智谷"
- v-model="address"
- clearable
- class="custom-input"
- :customStyle="{ padding: '8rpx 24rpx ' }"
- >
- <template #prefix>
- <u-icon name="phone" size="36rpx" color="#999" marginRight="20rpx"></u-icon>
- </template>
- </u-input>
- </view>
- <view class="form-item">
- <view class="item-label"> 楼层/单元室 </view>
- <u-input
- placeholder="楼层/单元室/门牌号,例:3层302室"
- v-model="addressDetail"
- clearable
- class="custom-input"
- :customStyle="{ padding: '8rpx 24rpx ' }"
- >
- <template #prefix>
- <u-icon name="phone" size="36rpx" color="#999" marginRight="20rpx"></u-icon>
- </template>
- </u-input>
- </view>
- <view class="title-desc">注意事项:</view>
- <view class="title-desc">1.工作地址请精确到楼层或者门牌号;如:未来大厦A座601</view>
- <view class="title-desc">2.确保您本人已到达当前填写地址所在位置</view>
- <view class="title-desc">3.保持网络环境稳定</view>
- <view class="title-desc">4.若上述情况均满足无法进入认证环节,请重启手机后再试</view>
- </view>
- </view>
- <view class="submit-btn" @click="goBack">确定</view>
- </view>
- </template>
- <script>
- import navBar from "@/components/nav-bar/index.vue";
- export default {
- data() {
- return {
- address: "",
- addressDetail: "",
- companyMsg: "",
- companyName: "",
- };
- },
- components: {
- navBar,
- },
- onLoad(options) {
- if (options.text) {
- this.text = options.text;
- }
- },
- methods: {
- onInput(e) {
- // console.log(e);
- // 如果需要额外的输入控制
- // this.text = e.detail.value;
- },
- goBack() {
- uni.navigateBack();
- },
- },
- };
- </script>
- <style lang="scss" scoped>
- .switch-roles {
- background-color: #fff;
- position: absolute;
- left: 0;
- right: 0;
- top: 0;
- bottom: 0;
- display: flex;
- flex-direction: column;
- .roles-content {
- width: 100%;
- flex: 1;
- overflow: hidden;
- overflow-y: auto;
- .content {
- padding: 40rpx;
- box-sizing: border-box;
- display: flex;
- flex-direction: column;
- align-items: center;
- justify-content: center;
- .title {
- color: #333;
- width: 100%;
- font-family: DM Sans;
- font-size: 40rpx;
- font-weight: 600;
- }
- }
- }
- .submit-btn {
- flex-shrink: 0;
- border-radius: 999px;
- background: #FF6600;
- color: rgba(255, 255, 255, 1);
- font-family: DM Sans;
- font-size: 32rpx;
- font-weight: 400;
- line-height: 48rpx;
- display: flex;
- justify-content: center;
- align-items: center;
- padding: 16rpx 32rpx;
- box-sizing: border-box;
- margin: 60rpx 20rpx;
- }
- }
- .form-item {
- margin-bottom: 32rpx;
- width: 100%;
- }
- .title-desc{
- color: #666666;
- font-family: DM Sans;
- font-size: 24rpx;
- font-weight: 400;
- line-height: 32rpx;
- width: 100%;
- margin-top: 22rpx;
- }
- .item-label {
- color: rgba(18, 26, 44, 1);
- font-family: Roboto;
- font-size: 32rpx;
- font-weight: 400;
- line-height: 51.2rpx;
- letter-spacing: 0px;
- text-align: left;
- padding-bottom: 6rpx;
- padding: 10rpx 0;
- box-sizing: border-box;
- }
- .custom-input {
- box-sizing: border-box;
- border: 2rpx solid rgba(158, 161, 168, 1);
- border-radius: 100rpx;
- background: rgba(255, 255, 255, 1);
- padding: 8rpx 24rpx !important;
- }
- .custom-textarea {
- width: 100%;
- margin-top: 22rpx;
- }
- ::v-deep .u-input {
- text-align: left !important;
- }
- </style>
|