正在显示
108 个修改的文件
包含
683 行增加
和
60 行删除
| @@ -56,7 +56,7 @@ | @@ -56,7 +56,7 @@ | ||
| 56 | "minified" : true | 56 | "minified" : true |
| 57 | }, | 57 | }, |
| 58 | "usingComponents" : true, | 58 | "usingComponents" : true, |
| 59 | - "lazyCodeLoading": "requiredComponents" | 59 | + "lazyCodeLoading" : "requiredComponents" |
| 60 | }, | 60 | }, |
| 61 | "mp-alipay" : { | 61 | "mp-alipay" : { |
| 62 | "usingComponents" : true | 62 | "usingComponents" : true |
| 1 | { | 1 | { |
| 2 | "pages": [ //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages | 2 | "pages": [ //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages |
| 3 | { | 3 | { |
| 4 | + "path" : "pages/realName/realName", | ||
| 5 | + "style" : | ||
| 6 | + { | ||
| 7 | + "navigationBarTitleText" : "实名页面", | ||
| 8 | + "navigationStyle": "custom" | ||
| 9 | + } | ||
| 10 | + }, | ||
| 11 | + { | ||
| 4 | "path" : "pages/login/login", | 12 | "path" : "pages/login/login", |
| 5 | "style" : | 13 | "style" : |
| 6 | { | 14 | { |
| 7 | - "navigationBarTitleText" : "", | 15 | + "navigationBarTitleText" : "登录页面", |
| 8 | "navigationStyle": "custom" | 16 | "navigationStyle": "custom" |
| 9 | } | 17 | } |
| 10 | }, | 18 | }, |
| 11 | { | 19 | { |
| 12 | "path": "pages/index/index", | 20 | "path": "pages/index/index", |
| 13 | "style": { | 21 | "style": { |
| 14 | - "navigationBarTitleText": "", | 22 | + "navigationBarTitleText": "客户首页", |
| 15 | "navigationStyle": "custom" | 23 | "navigationStyle": "custom" |
| 16 | } | 24 | } |
| 17 | }, | 25 | }, |
| @@ -19,7 +27,7 @@ | @@ -19,7 +27,7 @@ | ||
| 19 | "path" : "pages/my/my", | 27 | "path" : "pages/my/my", |
| 20 | "style" : | 28 | "style" : |
| 21 | { | 29 | { |
| 22 | - "navigationBarTitleText" : "", | 30 | + "navigationBarTitleText" : "客户信息", |
| 23 | "navigationStyle": "custom" | 31 | "navigationStyle": "custom" |
| 24 | } | 32 | } |
| 25 | }, | 33 | }, |
| @@ -42,7 +50,7 @@ | @@ -42,7 +50,7 @@ | ||
| 42 | "path" : "pages/companyHome/companyHome", | 50 | "path" : "pages/companyHome/companyHome", |
| 43 | "style" : | 51 | "style" : |
| 44 | { | 52 | { |
| 45 | - "navigationBarTitleText" : "", | 53 | + "navigationBarTitleText" : "公司员工首页", |
| 46 | "navigationStyle": "custom" | 54 | "navigationStyle": "custom" |
| 47 | } | 55 | } |
| 48 | }, | 56 | }, |
| @@ -50,7 +58,7 @@ | @@ -50,7 +58,7 @@ | ||
| 50 | "path" : "pages/companyMy/companyMy", | 58 | "path" : "pages/companyMy/companyMy", |
| 51 | "style" : | 59 | "style" : |
| 52 | { | 60 | { |
| 53 | - "navigationBarTitleText" : "", | 61 | + "navigationBarTitleText" : "公司员工信息", |
| 54 | "navigationStyle": "custom" | 62 | "navigationStyle": "custom" |
| 55 | } | 63 | } |
| 56 | }, | 64 | }, |
| @@ -58,7 +66,7 @@ | @@ -58,7 +66,7 @@ | ||
| 58 | "path" : "pages/ownerDetail/ownerDetail", | 66 | "path" : "pages/ownerDetail/ownerDetail", |
| 59 | "style" : | 67 | "style" : |
| 60 | { | 68 | { |
| 61 | - "navigationBarTitleText" : "", | 69 | + "navigationBarTitleText" : "车主信息", |
| 62 | "navigationStyle": "custom" | 70 | "navigationStyle": "custom" |
| 63 | } | 71 | } |
| 64 | }, | 72 | }, |
| @@ -66,7 +74,7 @@ | @@ -66,7 +74,7 @@ | ||
| 66 | "path" : "pages/societyHome/societyHome", | 74 | "path" : "pages/societyHome/societyHome", |
| 67 | "style" : | 75 | "style" : |
| 68 | { | 76 | { |
| 69 | - "navigationBarTitleText" : "", | 77 | + "navigationBarTitleText" : "协会员工首页", |
| 70 | "navigationStyle": "custom" | 78 | "navigationStyle": "custom" |
| 71 | } | 79 | } |
| 72 | }, | 80 | }, |
| @@ -74,7 +82,7 @@ | @@ -74,7 +82,7 @@ | ||
| 74 | "path" : "pages/societyMy/societyMy", | 82 | "path" : "pages/societyMy/societyMy", |
| 75 | "style" : | 83 | "style" : |
| 76 | { | 84 | { |
| 77 | - "navigationBarTitleText" : "", | 85 | + "navigationBarTitleText" : "协会员工信息", |
| 78 | "navigationStyle": "custom" | 86 | "navigationStyle": "custom" |
| 79 | } | 87 | } |
| 80 | } | 88 | } |
| @@ -85,6 +85,9 @@ const submit = () => { | @@ -85,6 +85,9 @@ const submit = () => { | ||
| 85 | logFormRef.value.validate().then(async valid => { | 85 | logFormRef.value.validate().then(async valid => { |
| 86 | if (valid) { | 86 | if (valid) { |
| 87 | uni.$u.toast('登录成功') | 87 | uni.$u.toast('登录成功') |
| 88 | + uni.navigateTo({ | ||
| 89 | + url: '/pages/companyHome/companyHome' | ||
| 90 | + }) | ||
| 88 | } else { | 91 | } else { |
| 89 | uni.$u.toast('校验失败') | 92 | uni.$u.toast('校验失败') |
| 90 | } | 93 | } |
| @@ -4,7 +4,10 @@ | @@ -4,7 +4,10 @@ | ||
| 4 | <view class="car_list"> | 4 | <view class="car_list"> |
| 5 | <view class="line_title"> | 5 | <view class="line_title"> |
| 6 | <text class="left_title" style="color: #fff;">我的信息</text> | 6 | <text class="left_title" style="color: #fff;">我的信息</text> |
| 7 | - <text style="color: #fff;">去实名认证</text> | 7 | + <view style="display: flex;align-items: center;"> |
| 8 | + <u-icon name="checkmark-circle" size="16" color="#fff"></u-icon> | ||
| 9 | + <text style="color: #fff;margin-left: 10rpx;">更新实名信息</text> | ||
| 10 | + </view> | ||
| 8 | </view> | 11 | </view> |
| 9 | <view class="user-box"> | 12 | <view class="user-box"> |
| 10 | <up-form :model="userForm" ref="userFormRef"> | 13 | <up-form :model="userForm" ref="userFormRef"> |
pages/realName/realName.vue
0 → 100644
| 1 | +<template> | ||
| 2 | + <view class="login-container"> | ||
| 3 | + <view class="title">实名认证</view> | ||
| 4 | + <view class="line"></view> | ||
| 5 | + <view class="login-box"> | ||
| 6 | + <up-form :model="logForm" ref="logFormRef"> | ||
| 7 | + <up-form-item prop="name"> | ||
| 8 | + <up-input v-model="logForm.name" shape="circle" border="none" fontSize="28rpx" color="#bbb" :placeholderStyle="placeholderStyle" :customStyle="customStyle" placeholder="请输入真实姓名"> | ||
| 9 | + <template #prefix> | ||
| 10 | + <image style="width: 32rpx;margin-right: 18rpx;margin-top: 10rpx;" src="@/static/commonImage/user.png" mode="widthFix"></image> | ||
| 11 | + </template> | ||
| 12 | + </up-input> | ||
| 13 | + </up-form-item> | ||
| 14 | + <up-form-item prop="identificationNumber"> | ||
| 15 | + <up-input v-model="logForm.identificationNumber" shape="circle" border="none" fontSize="28rpx" color="#bbb" :placeholderStyle="placeholderStyle" :customStyle="customStyle" placeholder="请输入身份证号"> | ||
| 16 | + <template #prefix> | ||
| 17 | + <image style="width: 32rpx;margin-right: 18rpx;margin-top: 10rpx;" src="@/static/commonImage/IdCard.png" mode="widthFix"></image> | ||
| 18 | + </template> | ||
| 19 | + </up-input> | ||
| 20 | + </up-form-item> | ||
| 21 | + <up-form-item prop="phone"> | ||
| 22 | + <up-input v-model="logForm.phone" shape="circle" border="none" fontSize="28rpx" color="#bbb" :placeholderStyle="placeholderStyle" :customStyle="customStyle" placeholder="请输入手机号码"> | ||
| 23 | + <template #prefix> | ||
| 24 | + <image style="width: 32rpx;margin-right: 18rpx;margin-top: 10rpx;" src="@/static/commonImage/phone.png" mode="widthFix"></image> | ||
| 25 | + </template> | ||
| 26 | + </up-input> | ||
| 27 | + </up-form-item> | ||
| 28 | + </up-form> | ||
| 29 | + </view> | ||
| 30 | + | ||
| 31 | + <view class="tip"> | ||
| 32 | + 未注册或绑定该车型平台的身份证号,将帮你注册新账号,点击登录即代表你同意<text style="color: #3680FE;" @click="goPrivacy">《隐私政策》</text> | ||
| 33 | + </view> | ||
| 34 | + <view class="log-btn" @click="submit">登录</view> | ||
| 35 | + </view> | ||
| 36 | +</template> | ||
| 37 | + | ||
| 38 | +<script setup> | ||
| 39 | +import { reactive, ref } from 'vue'; | ||
| 40 | +import { onReady } from '@dcloudio/uni-app' | ||
| 41 | +// 登录参数 | ||
| 42 | +const logForm = ref({ | ||
| 43 | + name: '', | ||
| 44 | + identificationNumber: '', | ||
| 45 | + phone: '' | ||
| 46 | +}) | ||
| 47 | +// 表单引用 | ||
| 48 | +const logFormRef = ref(null) | ||
| 49 | +// 校验规则 | ||
| 50 | +const rules = { | ||
| 51 | + name: [ | ||
| 52 | + { required: true, message: '请输入姓名', trigger: ['blur', 'change'] }, | ||
| 53 | + { min: 2, max: 6, message: '名字应在2到6个字', trigger: ['blur', 'change'] }, | ||
| 54 | + { validator: (rule, value, callback) => { | ||
| 55 | + return uni.$u.test.chinese(value) | ||
| 56 | + }, | ||
| 57 | + message: '请输入中文', | ||
| 58 | + // 触发器可以同时用blur和change | ||
| 59 | + trigger: ['change','blur'], | ||
| 60 | + } | ||
| 61 | + ], | ||
| 62 | + identificationNumber: [ | ||
| 63 | + { required: true, message: '请输入身份证号', trigger: ['blur', 'change'] }, | ||
| 64 | + { validator: (rule, value, callback) => { | ||
| 65 | + return uni.$u.test.idCard(value) | ||
| 66 | + }, | ||
| 67 | + message: '身份证号码不正确', | ||
| 68 | + // 触发器可以同时用blur和change | ||
| 69 | + trigger: ['change','blur'], | ||
| 70 | + } | ||
| 71 | + ], | ||
| 72 | + phone: [ | ||
| 73 | + { required: true, message: '请输入手机号', trigger: ['blur', 'change'] }, | ||
| 74 | + { validator: (rule, value, callback) => { | ||
| 75 | + return uni.$u.test.mobile(value) | ||
| 76 | + }, | ||
| 77 | + message: '手机号码不正确', | ||
| 78 | + // 触发器可以同时用blur和change | ||
| 79 | + trigger: ['change','blur'], | ||
| 80 | + } | ||
| 81 | + ] | ||
| 82 | +} | ||
| 83 | +const customStyle = { | ||
| 84 | + height: '80rpx', | ||
| 85 | + backgroundColor: '#F9F9F9', | ||
| 86 | + paddingLeft: '40rpx' | ||
| 87 | +} | ||
| 88 | +const placeholderStyle = { | ||
| 89 | + color: '#bbb', | ||
| 90 | + fontSize: '28rpx' | ||
| 91 | +} | ||
| 92 | +// 微信小程序需要在此注册校验规则 | ||
| 93 | +onReady(() => { | ||
| 94 | + logFormRef.value.setRules(rules) | ||
| 95 | +}) | ||
| 96 | + | ||
| 97 | +const goPrivacy = () => { | ||
| 98 | + uni.navigateTo({ | ||
| 99 | + url: '/pages/privacy/privacy' | ||
| 100 | + }) | ||
| 101 | +} | ||
| 102 | +// 提交方法 | ||
| 103 | +const submit = () => { | ||
| 104 | + logFormRef.value.validate().then(async valid => { | ||
| 105 | + if (valid) { | ||
| 106 | + uni.$u.toast('登录成功') | ||
| 107 | + uni.switchTab({ | ||
| 108 | + url: '/pages/index/index' | ||
| 109 | + }) | ||
| 110 | + } else { | ||
| 111 | + uni.$u.toast('校验失败') | ||
| 112 | + } | ||
| 113 | + }).catch(() => { | ||
| 114 | + // 处理验证错误 | ||
| 115 | + uni.$u.toast('校验失败') | ||
| 116 | + }); | ||
| 117 | +} | ||
| 118 | +</script> | ||
| 119 | + | ||
| 120 | +<style lang="scss" scoped> | ||
| 121 | +.login-container{ | ||
| 122 | + position: relative; | ||
| 123 | + width: 100%; | ||
| 124 | + height: 100vh; | ||
| 125 | + background: url('http://bxhd.crgx.net/profile/avatar/2024/09/25/bg-login_20240925112841A003.png') no-repeat; | ||
| 126 | + background-size: 100% 100%; | ||
| 127 | + overflow: hidden; | ||
| 128 | + .title{ | ||
| 129 | + position: absolute; | ||
| 130 | + top: 232rpx; | ||
| 131 | + left: 30rpx; | ||
| 132 | + font-size: 48rpx; | ||
| 133 | + line-height: 64rpx; | ||
| 134 | + color: #fff; | ||
| 135 | + font-weight: 500; | ||
| 136 | + } | ||
| 137 | + .line{ | ||
| 138 | + position: absolute; | ||
| 139 | + top: 326rpx; | ||
| 140 | + left: 30rpx; | ||
| 141 | + width: 40rpx; | ||
| 142 | + height: 6rpx; | ||
| 143 | + background: #FFFFFF; | ||
| 144 | + } | ||
| 145 | + .login-box{ | ||
| 146 | + width: 690rpx; | ||
| 147 | + padding: 40rpx 44rpx; | ||
| 148 | + background-color: #fff; | ||
| 149 | + z-index: 10; | ||
| 150 | + margin: 442rpx auto 40rpx; | ||
| 151 | + box-shadow: 0rpx 8rpx 40rpx 0rpx rgba(10,22,44,0.06); | ||
| 152 | + border-radius: 40rpx; | ||
| 153 | + .employeeStatus{ | ||
| 154 | + display: flex; | ||
| 155 | + align-items: center; | ||
| 156 | + gap: 40rpx; | ||
| 157 | + margin-top: 30rpx; | ||
| 158 | + .btn{ | ||
| 159 | + flex: 1; | ||
| 160 | + height: 80rpx; | ||
| 161 | + background: #FFFFFF; | ||
| 162 | + border-radius: 200rpx; | ||
| 163 | + border: 2rpx solid #BBBBBB; | ||
| 164 | + font-size: 28rpx; | ||
| 165 | + text-align: center; | ||
| 166 | + line-height: 80rpx; | ||
| 167 | + color: #999; | ||
| 168 | + &.active{ | ||
| 169 | + background: #75A8FF; | ||
| 170 | + color: #fff; | ||
| 171 | + } | ||
| 172 | + } | ||
| 173 | + } | ||
| 174 | + } | ||
| 175 | + .tip{ | ||
| 176 | + color: #666; | ||
| 177 | + font-size: 24rpx; | ||
| 178 | + line-height: 28rpx; | ||
| 179 | + padding: 0 40rpx; | ||
| 180 | + margin-bottom: 20rpx; | ||
| 181 | + } | ||
| 182 | + .log-btn{ | ||
| 183 | + width: 690rpx; | ||
| 184 | + height: 80rpx; | ||
| 185 | + line-height: 80rpx; | ||
| 186 | + text-align: center; | ||
| 187 | + background: #3680FE; | ||
| 188 | + font-size: 28rpx; | ||
| 189 | + margin: 0 auto; | ||
| 190 | + color: #fff; | ||
| 191 | + box-shadow: 0rpx 8rpx 40rpx 0rpx rgba(10,22,44,0.06); | ||
| 192 | + border-radius: 200rpx; | ||
| 193 | + } | ||
| 194 | +} | ||
| 195 | +</style> |
| 1 | { | 1 | { |
| 2 | "pages": [ | 2 | "pages": [ |
| 3 | + "pages/realName/realName", | ||
| 3 | "pages/login/login", | 4 | "pages/login/login", |
| 4 | "pages/index/index", | 5 | "pages/index/index", |
| 5 | "pages/my/my", | 6 | "pages/my/my", |
| 6 | - "pages/carDetail/carDetail" | 7 | + "pages/carDetail/carDetail", |
| 8 | + "pages/privacy/privacy", | ||
| 9 | + "pages/companyHome/companyHome", | ||
| 10 | + "pages/companyMy/companyMy", | ||
| 11 | + "pages/ownerDetail/ownerDetail", | ||
| 12 | + "pages/societyHome/societyHome", | ||
| 13 | + "pages/societyMy/societyMy" | ||
| 7 | ], | 14 | ], |
| 8 | "window": { | 15 | "window": { |
| 9 | "navigationBarTextStyle": "black", | 16 | "navigationBarTextStyle": "black", |
| @@ -15,7 +22,7 @@ | @@ -15,7 +22,7 @@ | ||
| 15 | "color": "#707070", | 22 | "color": "#707070", |
| 16 | "selectedColor": "#3680FE", | 23 | "selectedColor": "#3680FE", |
| 17 | "borderStyle": "black", | 24 | "borderStyle": "black", |
| 18 | - "backgroundColor": "#fff", | 25 | + "backgroundColor": "#ffffff", |
| 19 | "list": [ | 26 | "list": [ |
| 20 | { | 27 | { |
| 21 | "pagePath": "pages/index/index", | 28 | "pagePath": "pages/index/index", |
| @@ -31,5 +38,6 @@ | @@ -31,5 +38,6 @@ | ||
| 31 | } | 38 | } |
| 32 | ] | 39 | ] |
| 33 | }, | 40 | }, |
| 41 | + "lazyCodeLoading": "requiredComponents", | ||
| 34 | "usingComponents": {} | 42 | "usingComponents": {} |
| 35 | } | 43 | } |
| 1 | -"use strict";exports._imports_0="/static/commonImage/user.png",exports._imports_0$1="/static/commonImage/big-car.png",exports._imports_1="/static/commonImage/IdCard.png"; | 1 | +"use strict";exports._imports_0="/static/commonImage/user.png",exports._imports_0$1="/static/tabbarIcon/my-active.png",exports._imports_0$2="/static/commonImage/big-car.png",exports._imports_1="/static/commonImage/IdCard.png",exports._imports_1$1="/static/tabbarIcon/my.png",exports._imports_2="/static/commonImage/phone.png"; |
此 diff 太大无法显示。
| 1 | -"use strict";const t=require("../common/vendor.js"),e={__name:"carCard",props:{carInfo:{type:Object,require:!0},tipContent:{type:String,default:""}},setup(e){const o=e,n=t.computed((()=>({0:"#D5E5FF",1:"#DED5FF",2:"#FFD5D5"}[o.carInfo.status]||"#D5E5FF"))),a=t.computed((()=>({0:"#3680FE",1:"#7F36FE",2:"#C81515"}[o.carInfo.status]||"#3680FE"))),r=t.computed((()=>({0:"已提交",1:"等待修改",2:"已作废"}[o.carInfo.status]||"")));return(o,c)=>({a:t.t(""===e.tipContent?r.value:e.tipContent),b:n.value,c:a.value})}},o=t._export_sfc(e,[["__scopeId","data-v-0081f100"]]);wx.createComponent(o); | 1 | +"use strict";const t=require("../common/vendor.js"),e={__name:"carCard",props:{carInfo:{type:Object,require:!0},tipContent:{type:String,default:""}},emits:["onSkip"],setup(e,{emit:o}){const a=e,n=o,c=t.computed((()=>({0:"#D5E5FF",1:"#DED5FF",2:"#FFD5D5"}[a.carInfo.status||99]||"#D5E5FF"))),r=t.computed((()=>({0:"#3680FE",1:"#7F36FE",2:"#C81515"}[a.carInfo.status||99]||"#3680FE"))),p=t.computed((()=>({0:"已提交",1:"等待修改",2:"已作废"}[a.carInfo.status||99]||""))),s=()=>{n("onSkip",a.carInfo.carId)};return(o,a)=>({a:t.t(""===e.tipContent?p.value:e.tipContent),b:c.value,c:r.value,d:t.o(s)})}},o=t._export_sfc(e,[["__scopeId","data-v-aa887c84"]]);wx.createComponent(o); |
| 1 | -<view class="carCard data-v-0081f100"><slot name="header"></slot><slot name="center"></slot><view class="rowLine data-v-0081f100"></view><slot name="footer"></slot><view class="tip data-v-0081f100" style="{{'background-color:' + b + ';' + ('color:' + c)}}">{{a}}</view></view> | ||
| 1 | +<view class="carCard data-v-aa887c84" bindtap="{{d}}"><slot name="header"></slot><slot name="center"></slot><view class="rowLine data-v-aa887c84"></view><slot name="footer"></slot><view class="tip data-v-aa887c84" style="{{'background-color:' + b + ';' + ('color:' + c)}}">{{a}}</view></view> |
| 1 | -.carCard.data-v-0081f100{position:relative;padding:20rpx 30rpx 34rpx;box-shadow:0 8rpx 40rpx rgba(10,22,44,.06);background:#fff;border-radius:20rpx}.carCard .rowLine.data-v-0081f100{width:100%;height:2rpx;background-color:#eee;margin:20rpx 0}.carCard .tip.data-v-0081f100{position:absolute;top:0;right:0;width:120rpx;height:40rpx;text-align:center;font-size:20rpx;line-height:40rpx;border-radius:0rpx 20rpx;color:#3680fe;background-color:#d5e5ff} | 1 | +.carCard.data-v-aa887c84{position:relative;padding:20rpx 30rpx 34rpx;box-shadow:0 8rpx 40rpx rgba(10,22,44,.06);background:#fff;border-radius:20rpx}.carCard .rowLine.data-v-aa887c84{width:100%;height:2rpx;background-color:#eee;margin:20rpx 0}.carCard .tip.data-v-aa887c84{position:absolute;top:0;right:0;width:120rpx;height:40rpx;text-align:center;font-size:20rpx;line-height:40rpx;border-radius:0rpx 20rpx;color:#3680fe;background-color:#d5e5ff} |
| 1 | +"use strict";const e=require("../common/vendor.js"),o={};if(!Array){e.resolveComponent("u-icon")()}Math;const r=e._export_sfc(o,[["render",function(o,r){return{a:e.p({name:"clock",color:"#231F20",size:"18"}),b:e.p({name:"order",color:"#231F20",size:"18"})}}],["__scopeId","data-v-58ebe74f"]]);wx.createComponent(r); |
| 1 | +<view class="commentCard data-v-58ebe74f"><view class="u-line-1 title data-v-58ebe74f">客户对产品意向很高,希望价格优惠...</view><view class="line-row data-v-58ebe74f"><view class="line-item data-v-58ebe74f"><u-icon wx:if="{{a}}" class="data-v-58ebe74f" u-i="58ebe74f-0" bind:__l="__l" u-p="{{a}}"></u-icon><text class="content data-v-58ebe74f">2024-09-09</text></view><view class="line-item data-v-58ebe74f"><u-icon wx:if="{{b}}" class="data-v-58ebe74f" u-i="58ebe74f-1" bind:__l="__l" u-p="{{b}}"></u-icon><text class="content data-v-58ebe74f">admin</text></view></view></view> |
| 1 | +.commentCard.data-v-58ebe74f{padding:30rpx 22rpx 40rpx;background:#eff1ff;border-radius:12rpx}.commentCard .title.data-v-58ebe74f{color:#3d3d3d;font-size:28rpx;line-height:38rpx}.commentCard .line-row.data-v-58ebe74f{display:flex;align-items:center;justify-content:space-between;margin-top:20rpx}.commentCard .line-row .line-item.data-v-58ebe74f{display:flex;align-items:center}.commentCard .line-row .line-item .content.data-v-58ebe74f{color:#3d3d3d;font-size:24rpx;line-height:32rpx;margin-left:20rpx} |
| 1 | -"use strict";const e=require("../common/vendor.js"),t=require("../common/assets.js"),o={__name:"navTop",props:{carNum:{type:String,default:"桂A·66666"}},setup:o=>(r,s)=>({a:t._imports_0$1,b:e.t(o.carNum)})},r=e._export_sfc(o,[["__scopeId","data-v-ee0dd3c3"]]);wx.createComponent(r); | 1 | +"use strict";const e=require("../common/vendor.js"),t=require("../common/assets.js"),o={__name:"navTop",props:{carNum:{type:String,default:"桂A·66666"}},setup:o=>(r,s)=>({a:t._imports_0$2,b:e.t(o.carNum)})},r=e._export_sfc(o,[["__scopeId","data-v-ee0dd3c3"]]);wx.createComponent(r); |
| 1 | +"use strict";const e=require("../common/vendor.js"),a={__name:"operateList",setup(a){const o=e.ref(9),t=()=>{o.value=0},u=()=>{o.value=1},r=()=>{o.value=2},v=()=>{o.value=3};return(a,s)=>({a:0===o.value?1:"",b:e.o(t),c:1===o.value?1:"",d:e.o(u),e:2===o.value?1:"",f:e.o(r),g:3===o.value?1:"",h:e.o(v)})}},o=e._export_sfc(a,[["__scopeId","data-v-f26b6543"]]);wx.createComponent(o); |
| 1 | +<view class="operate data-v-f26b6543"><view class="operate_list data-v-f26b6543"><view class="operate_item data-v-f26b6543"><text class="{{['operate_btn', 'data-v-f26b6543', a && 'active']}}" bindtap="{{b}}">退回</text></view><view class="operate_item data-v-f26b6543"><text class="{{['operate_btn', 'data-v-f26b6543', c && 'active']}}" bindtap="{{d}}">作废</text></view><view class="operate_item data-v-f26b6543"><text class="{{['operate_btn', 'data-v-f26b6543', e && 'active']}}" bindtap="{{f}}">修改</text></view><view class="operate_item data-v-f26b6543"><text class="{{['operate_btn', 'data-v-f26b6543', g && 'active']}}" bindtap="{{h}}">流转</text></view></view></view> |
| 1 | +.operate .operate_list.data-v-f26b6543{display:flex;align-items:center}.operate .operate_list .operate_item.data-v-f26b6543{display:flex;align-items:center;justify-content:center;flex:1;height:40rpx;border-right:2rpx solid #3680FE}.operate .operate_list .operate_item.data-v-f26b6543:last-child{border-right:0}.operate .operate_list .operate_item .operate_btn.data-v-f26b6543{width:100rpx;height:40rpx;line-height:40rpx;font-size:24rpx;text-align:center;border-radius:8rpx}.operate .operate_list .operate_item .operate_btn.active.data-v-f26b6543{background:#3680fe;color:#fff} |
| 1 | +"use strict";const e={};const n=require("../common/vendor.js")._export_sfc(e,[["render",function(e,n){return{}}],["__scopeId","data-v-3b1ddd08"]]);wx.createComponent(n); |
| 1 | +<view class="ownerInfo data-v-3b1ddd08"><view class="info_item data-v-3b1ddd08">车主:张三</view><view class="info_item data-v-3b1ddd08">客户来源:客户介绍</view><view class="info_item data-v-3b1ddd08">车辆类型:奔驰C级</view><view class="info_item data-v-3b1ddd08">客户归属:admin</view><view class="info_item data-v-3b1ddd08">下次跟进:2024-09-08</view><view class="info_item data-v-3b1ddd08">创建日期:2024-09-01</view></view> |
| 1 | +.ownerInfo.data-v-3b1ddd08{display:flex;flex-wrap:wrap}.ownerInfo .info_item.data-v-3b1ddd08{width:50%;font-size:20rpx;line-height:26rpx;color:#999;margin-bottom:10rpx} |
| 1 | +"use strict";const e=require("../common/vendor.js"),t={__name:"wordInfo",props:{carType:{type:String,default:""},userName:{type:String,default:""},applyTime:{type:String,default:""}},setup:t=>(a,p)=>({a:e.t(t.userName),b:e.t(t.carType),c:e.t(t.applyTime)})},a=e._export_sfc(t,[["__scopeId","data-v-8e0a9992"]]);wx.createComponent(a); |
| 1 | +<view class="wordInfo data-v-8e0a9992"><text class="data-v-8e0a9992" style="min-width:160rpx">车主:{{a}}</text><text class="data-v-8e0a9992">车辆类型:{{b}}</text><text class="applyTime data-v-8e0a9992">{{c}}</text></view> |
| 1 | +.wordInfo.data-v-8e0a9992{position:relative;display:flex;align-items:center;line-height:26rpx;color:#999;font-size:20rpx}.wordInfo .applyTime.data-v-8e0a9992{position:absolute;top:-20rpx;right:0} |
| 1 | -"use strict";const e=require("../../common/vendor.js");if(!Array){(e.resolveComponent("up-input")+e.resolveComponent("up-form-item")+e.resolveComponent("up-form")+e.resolveComponent("up-picker")+e.resolveComponent("up-popup"))()}Math||(o+(()=>"../../uni_modules/uview-plus/components/u-input/u-input.js")+(()=>"../../uni_modules/uview-plus/components/u-form-item/u-form-item.js")+(()=>"../../uni_modules/uview-plus/components/u-form/u-form.js")+(()=>"../../uni_modules/uview-plus/components/u-picker/u-picker.js")+(()=>"../../uni_modules/uview-plus/components/u-popup/u-popup.js"))();const o=()=>"../../components/navTop.js",l={__name:"carDetail",setup(o){const l=e.ref(!1),r=e.ref(!0),n=e.ref([]),a={fontSize:"28rpx",lineHeight:"38rpx",color:"#3D3D3D"},p=e.ref("arrow-down"),i=e.ref({name:"",identificationNumber:"",sysDeptName:"",licensePlateNumber:"",lincensePlateType:"",frameNumber:"",engineNumber:"",vehicleType:"",vehicleNature:"",passengersNumber:"",passengerCapacity:"",emissions:"",vehicleModel:"",vehicleBrand:"",tractionMass:"",requirements:""});e.onLoad((e=>{}));const u=e=>{n.value=[],n.value.push(e),l.value=!0,p.value="arrow-up"},t=()=>{l.value=!1,p.value="arrow-down"},s=()=>{e.index.showModal({title:"删除车辆提示",content:"删除车辆后将无法及时收到投保方案解答与最新优惠,且无法恢复车辆信息。是否继续删除?",success:function(e){e.confirm?console.log("用户点击确定"):e.cancel&&console.log("用户点击取消")}})};return(o,c)=>({a:e.p({carNum:"桂A·66666"}),b:e.o((e=>i.value.sysDeptName=e)),c:e.p({fontSize:"28rpx",color:"#999",placeholder:"请输入上年承保公司",border:"none",inputAlign:"right",modelValue:i.value.sysDeptName}),d:e.p({label:"上年承保公司",prop:"sysDeptName"}),e:e.o((e=>i.value.name=e)),f:e.p({fontSize:"28rpx",color:"#999",placeholder:"请输入真实姓名",border:"none",inputAlign:"right",modelValue:i.value.name}),g:e.p({label:"车主姓名",prop:"name"}),h:e.o((e=>i.value.identificationNumber=e)),i:e.p({fontSize:"28rpx",color:"#999",placeholder:"请输入身份证号",border:"none",inputAlign:"right",modelValue:i.value.identificationNumber}),j:e.p({label:"身份证号",prop:"identificationNumber"}),k:e.o((e=>i.value.licensePlateNumber=e)),l:e.p({fontSize:"28rpx",color:"#999",placeholder:"请输入车牌号码",border:"none",inputAlign:"right",modelValue:i.value.licensePlateNumber}),m:e.p({label:"车牌号码",prop:"licensePlateNumber"}),n:e.o((e=>u(["黄色车牌","绿色车牌","白色车牌","蓝色车牌"]))),o:e.o((e=>i.value.lincensePlateType=e)),p:e.p({fontSize:"28rpx",color:"#999",placeholder:"请选择号牌种类",suffixIcon:p.value,suffixIconStyle:"font-size: 28rpx",border:"none",inputAlign:"right",modelValue:i.value.lincensePlateType}),q:e.p({label:"号牌种类",prop:"lincensePlateType"}),r:e.o((e=>i.value.frameNumber=e)),s:e.p({fontSize:"28rpx",color:"#999",placeholder:"请输入车架号",border:"none",inputAlign:"right",modelValue:i.value.frameNumber}),t:e.p({label:"车架号",prop:"frameNumber"}),v:e.o((e=>i.value.engineNumber=e)),w:e.p({fontSize:"28rpx",color:"#999",placeholder:"请输入发动机号",border:"none",inputAlign:"right",modelValue:i.value.engineNumber}),x:e.p({label:"发动机号",prop:"engineNumber"}),y:e.o((e=>u(["小轿车","大货车","两厢车"]))),z:e.o((e=>i.value.vehicleType=e)),A:e.p({fontSize:"28rpx",color:"#999",placeholder:"请选择车辆类型",suffixIcon:p.value,suffixIconStyle:"font-size: 28rpx",border:"none",inputAlign:"right",modelValue:i.value.vehicleType}),B:e.p({label:"车辆类型",prop:"vehicleType"}),C:e.o((e=>u(["运营车辆","私家车","公务车"]))),D:e.o((e=>i.value.vehicleNature=e)),E:e.p({fontSize:"28rpx",color:"#999",placeholder:"请选择车辆使用性质",suffixIcon:p.value,suffixIconStyle:"font-size: 28rpx",border:"none",inputAlign:"right",modelValue:i.value.vehicleNature}),F:e.p({label:"车辆使用性质",prop:"vehicleNature"}),G:e.o((e=>i.value.passengersNumber=e)),H:e.p({fontSize:"28rpx",color:"#999",placeholder:"请输入核载人数",border:"none",inputAlign:"right",modelValue:i.value.passengersNumber}),I:e.p({label:"核定客载数(人)",prop:"passengersNumber"}),J:e.o((e=>i.value.passengerCapacity=e)),K:e.p({fontSize:"28rpx",color:"#999",placeholder:"请输入核载重量",border:"none",inputAlign:"right",modelValue:i.value.passengerCapacity}),L:e.p({label:"核定载质量(千克)",prop:"passengerCapacity"}),M:e.o((e=>i.value.emissions=e)),N:e.p({fontSize:"28rpx",color:"#999",placeholder:"请输入排放量",border:"none",inputAlign:"right",modelValue:i.value.emissions}),O:e.p({label:"排量毫升",prop:"emissions"}),P:e.o((e=>i.value.vehicleModel=e)),Q:e.p({fontSize:"28rpx",color:"#999",placeholder:"请填写车辆型号",border:"none",inputAlign:"right",modelValue:i.value.vehicleModel}),R:e.p({label:"车辆型号",prop:"vehicleModel"}),S:e.o((e=>u(["宝马","奔驰","劳斯莱斯"]))),T:e.o((e=>i.value.vehicleBrand=e)),U:e.p({fontSize:"28rpx",color:"#999",placeholder:"请选择车辆品牌",suffixIcon:p.value,suffixIconStyle:"font-size: 28rpx",border:"none",inputAlign:"right",modelValue:i.value.vehicleBrand}),V:e.p({label:"中文品牌",prop:"vehicleBrand"}),W:e.o((e=>i.value.tractionMass=e)),X:e.p({fontSize:"28rpx",color:"#999",placeholder:"请填写准牵引准质量",border:"none",inputAlign:"right",modelValue:i.value.tractionMass}),Y:e.p({label:"准牵引质量",prop:"tractionMass"}),Z:e.o((e=>u(["强险","商险"]))),aa:e.o((e=>i.value.requirements=e)),ab:e.p({fontSize:"28rpx",color:"#999",placeholder:"请选择保险需求",suffixIcon:p.value,suffixIconStyle:"font-size: 28rpx",border:"none",inputAlign:"right",modelValue:i.value.requirements}),ac:e.p({label:"保险需求",prop:"requirements"}),ad:e.o(s),ae:e.sr("uFormRef","76b78bde-0"),af:e.p({model:i.value,"label-width":"130",labelStyle:a}),ag:e.o(t),ah:e.o(t),ai:e.o((e=>l.value=!1)),aj:e.p({show:l.value,columns:n.value,closeOnClickOverlay:!0}),ak:e.o((e=>r.value=!1)),al:e.o((e=>r.value=!1)),am:e.p({show:r.value,mode:"center",safeAreaInsetBottom:!1,round:"20"}),an:l.value?"100vh":"",ao:l.value?"hidden":""})}},r=e._export_sfc(l,[["__scopeId","data-v-76b78bde"]]);wx.createPage(r); | 1 | +"use strict";const e=require("../../common/vendor.js");if(!Array){(e.resolveComponent("up-input")+e.resolveComponent("up-form-item")+e.resolveComponent("up-transition")+e.resolveComponent("up-form")+e.resolveComponent("up-picker")+e.resolveComponent("up-popup"))()}Math||(o+(()=>"../../uni_modules/uview-plus/components/u-input/u-input.js")+(()=>"../../uni_modules/uview-plus/components/u-form-item/u-form-item.js")+(()=>"../../uni_modules/uview-plus/components/u-transition/u-transition.js")+(()=>"../../uni_modules/uview-plus/components/u-form/u-form.js")+(()=>"../../uni_modules/uview-plus/components/u-picker/u-picker.js")+(()=>"../../uni_modules/uview-plus/components/u-popup/u-popup.js"))();const o=()=>"../../components/navTop.js",l={__name:"carDetail",setup(o){const l=e.ref(!1),n=e.ref(!0),r=e.ref([]),a={fontSize:"28rpx",lineHeight:"38rpx",color:"#3D3D3D"},p=e.ref(!1),i=e.ref("arrow-down"),u=e.ref({name:"",identificationNumber:"",sysDeptName:"",licensePlateNumber:"",lincensePlateType:"",frameNumber:"",engineNumber:"",vehicleType:"",vehicleNature:"",passengersNumber:"",passengerCapacity:"",emissions:"",vehicleModel:"",vehicleBrand:"",tractionMass:"",requirements:""});e.onLoad((e=>{}));const t=o=>{e.index.$u.trim(o)?p.value=!0:p.value=!1},s=e=>{r.value=[],r.value.push(e),l.value=!0,i.value="arrow-up"},c=()=>{l.value=!1,i.value="arrow-down"},m=()=>{e.index.showModal({title:"删除车辆提示",content:"删除车辆后将无法及时收到投保方案解答与最新优惠,且无法恢复车辆信息。是否继续删除?",success:function(e){e.confirm?console.log("用户点击确定"):e.cancel&&console.log("用户点击取消")}})};return(o,v)=>({a:e.p({carNum:"桂A·66666"}),b:e.o((e=>u.value.sysDeptName=e)),c:e.p({fontSize:"28rpx",color:"#999",placeholder:"请输入上年承保公司",border:"none",inputAlign:"right",modelValue:u.value.sysDeptName}),d:e.p({label:"上年承保公司",prop:"sysDeptName"}),e:e.o((e=>u.value.name=e)),f:e.p({fontSize:"28rpx",color:"#999",placeholder:"请输入真实姓名",border:"none",inputAlign:"right",modelValue:u.value.name}),g:e.p({label:"车主姓名",prop:"name"}),h:e.o((e=>u.value.identificationNumber=e)),i:e.p({fontSize:"28rpx",color:"#999",placeholder:"请输入身份证号",border:"none",inputAlign:"right",modelValue:u.value.identificationNumber}),j:e.p({label:"身份证号",prop:"identificationNumber"}),k:e.o((e=>u.value.licensePlateNumber=e)),l:e.p({fontSize:"28rpx",color:"#999",placeholder:"请输入车牌号码",border:"none",inputAlign:"right",modelValue:u.value.licensePlateNumber}),m:e.p({label:"车牌号码",prop:"licensePlateNumber"}),n:e.o((e=>s(["黄色车牌","绿色车牌","白色车牌","蓝色车牌"]))),o:e.o((e=>u.value.lincensePlateType=e)),p:e.p({fontSize:"28rpx",color:"#999",placeholder:"请选择号牌种类",suffixIcon:i.value,suffixIconStyle:"font-size: 28rpx",border:"none",inputAlign:"right",modelValue:u.value.lincensePlateType}),q:e.p({label:"号牌种类",prop:"lincensePlateType"}),r:e.o((e=>u.value.frameNumber=e)),s:e.p({fontSize:"28rpx",color:"#999",placeholder:"请输入车架号",border:"none",inputAlign:"right",modelValue:u.value.frameNumber}),t:e.p({label:"车架号",prop:"frameNumber"}),v:e.o((e=>u.value.engineNumber=e)),w:e.p({fontSize:"28rpx",color:"#999",placeholder:"请输入发动机号",border:"none",inputAlign:"right",modelValue:u.value.engineNumber}),x:e.p({label:"发动机号",prop:"engineNumber"}),y:e.o((e=>s(["小轿车","大货车","两厢车"]))),z:e.o((e=>u.value.vehicleType=e)),A:e.p({fontSize:"28rpx",color:"#999",placeholder:"请选择车辆类型",suffixIcon:i.value,suffixIconStyle:"font-size: 28rpx",border:"none",inputAlign:"right",modelValue:u.value.vehicleType}),B:e.p({label:"车辆类型",prop:"vehicleType"}),C:e.o((e=>s(["运营车辆","私家车","公务车"]))),D:e.o((e=>u.value.vehicleNature=e)),E:e.p({fontSize:"28rpx",color:"#999",placeholder:"请选择车辆使用性质",suffixIcon:i.value,suffixIconStyle:"font-size: 28rpx",border:"none",inputAlign:"right",modelValue:u.value.vehicleNature}),F:e.p({label:"车辆使用性质",prop:"vehicleNature"}),G:e.o((e=>u.value.passengersNumber=e)),H:e.p({fontSize:"28rpx",color:"#999",placeholder:"请输入核载人数",border:"none",inputAlign:"right",modelValue:u.value.passengersNumber}),I:e.p({label:"核定客载数(人)",prop:"passengersNumber"}),J:e.o((e=>u.value.passengerCapacity=e)),K:e.p({fontSize:"28rpx",color:"#999",placeholder:"请输入核载重量",border:"none",inputAlign:"right",modelValue:u.value.passengerCapacity}),L:e.p({label:"核定载质量(千克)",prop:"passengerCapacity"}),M:e.o((e=>u.value.emissions=e)),N:e.p({fontSize:"28rpx",color:"#999",placeholder:"请输入排放量",border:"none",inputAlign:"right",modelValue:u.value.emissions}),O:e.p({label:"排量毫升",prop:"emissions"}),P:e.o(t),Q:e.o((e=>u.value.vehicleModel=e)),R:e.p({fontSize:"28rpx",color:"#999",placeholder:"请填写车辆型号",border:"none",inputAlign:"right",modelValue:u.value.vehicleModel}),S:e.p({show:p.value}),T:e.o((e=>s(["宝马","奔驰","劳斯莱斯"]))),U:e.o((e=>u.value.vehicleBrand=e)),V:e.p({fontSize:"28rpx",color:"#999",placeholder:"请选择车辆品牌",suffixIcon:i.value,suffixIconStyle:"font-size: 28rpx",border:"none",inputAlign:"right",modelValue:u.value.vehicleBrand}),W:e.p({label:"中文品牌",prop:"vehicleBrand"}),X:e.o((e=>u.value.tractionMass=e)),Y:e.p({fontSize:"28rpx",color:"#999",placeholder:"请填写准牵引准质量",border:"none",inputAlign:"right",modelValue:u.value.tractionMass}),Z:e.p({label:"准牵引质量",prop:"tractionMass"}),aa:e.o((e=>s(["强险","商险"]))),ab:e.o((e=>u.value.requirements=e)),ac:e.p({fontSize:"28rpx",color:"#999",placeholder:"请选择保险需求",suffixIcon:i.value,suffixIconStyle:"font-size: 28rpx",border:"none",inputAlign:"right",modelValue:u.value.requirements}),ad:e.p({label:"保险需求",prop:"requirements"}),ae:e.o(m),af:e.sr("uFormRef","06942e84-0"),ag:e.p({model:u.value,"label-width":"130",labelStyle:a}),ah:e.o(c),ai:e.o(c),aj:e.o((e=>l.value=!1)),ak:e.p({show:l.value,columns:r.value,closeOnClickOverlay:!0}),al:e.o((e=>n.value=!1)),am:e.o((e=>n.value=!1)),an:e.p({show:n.value,mode:"center",safeAreaInsetBottom:!1,round:"20"}),ao:l.value?"100vh":"",ap:l.value?"hidden":""})}},n=e._export_sfc(l,[["__scopeId","data-v-06942e84"]]);wx.createPage(n); |
| @@ -4,6 +4,7 @@ | @@ -4,6 +4,7 @@ | ||
| 4 | "usingComponents": { | 4 | "usingComponents": { |
| 5 | "up-input": "../../uni_modules/uview-plus/components/u-input/u-input", | 5 | "up-input": "../../uni_modules/uview-plus/components/u-input/u-input", |
| 6 | "up-form-item": "../../uni_modules/uview-plus/components/u-form-item/u-form-item", | 6 | "up-form-item": "../../uni_modules/uview-plus/components/u-form-item/u-form-item", |
| 7 | + "up-transition": "../../uni_modules/uview-plus/components/u-transition/u-transition", | ||
| 7 | "up-form": "../../uni_modules/uview-plus/components/u-form/u-form", | 8 | "up-form": "../../uni_modules/uview-plus/components/u-form/u-form", |
| 8 | "up-picker": "../../uni_modules/uview-plus/components/u-picker/u-picker", | 9 | "up-picker": "../../uni_modules/uview-plus/components/u-picker/u-picker", |
| 9 | "up-popup": "../../uni_modules/uview-plus/components/u-popup/u-popup", | 10 | "up-popup": "../../uni_modules/uview-plus/components/u-popup/u-popup", |
| 1 | -<view class="carDetail data-v-76b78bde" style="{{'height:' + an + ';' + ('overflow:' + ao)}}"><up-form wx:if="{{af}}" class="r data-v-76b78bde" u-s="{{['d']}}" u-r="uFormRef" u-i="76b78bde-0" bind:__l="__l" u-p="{{af}}"><view class="carInfo data-v-76b78bde"><nav-top wx:if="{{a}}" class="data-v-76b78bde" u-i="76b78bde-1,76b78bde-0" bind:__l="__l" u-p="{{a}}"/><view class="centerContent data-v-76b78bde"><view class="carBand data-v-76b78bde">梅赛德斯奔驰</view><view class="carModel data-v-76b78bde">2024 1.6L双离合变速器 两厢 双离合 舒适型 国IV 5座</view></view><view class="rowLine data-v-76b78bde"></view><up-form-item wx:if="{{d}}" class="data-v-76b78bde" u-s="{{['d']}}" u-i="76b78bde-2,76b78bde-0" bind:__l="__l" u-p="{{d}}"><up-input wx:if="{{c}}" class="data-v-76b78bde" u-i="76b78bde-3,76b78bde-2" bind:__l="__l" bindupdateModelValue="{{b}}" u-p="{{c}}"/></up-form-item></view><view class="carInfo data-v-76b78bde"><view class="card_title data-v-76b78bde">车主信息</view><up-form-item wx:if="{{g}}" class="data-v-76b78bde" u-s="{{['d']}}" u-i="76b78bde-4,76b78bde-0" bind:__l="__l" u-p="{{g}}"><up-input wx:if="{{f}}" class="data-v-76b78bde" u-i="76b78bde-5,76b78bde-4" bind:__l="__l" bindupdateModelValue="{{e}}" u-p="{{f}}"/></up-form-item><up-form-item wx:if="{{j}}" class="data-v-76b78bde" u-s="{{['d']}}" u-i="76b78bde-6,76b78bde-0" bind:__l="__l" u-p="{{j}}"><up-input wx:if="{{i}}" class="data-v-76b78bde" u-i="76b78bde-7,76b78bde-6" bind:__l="__l" bindupdateModelValue="{{h}}" u-p="{{i}}"/></up-form-item></view><view class="carInfo data-v-76b78bde"><view class="card_title data-v-76b78bde">行驶证信息</view><up-form-item wx:if="{{m}}" class="data-v-76b78bde" u-s="{{['d']}}" u-i="76b78bde-8,76b78bde-0" bind:__l="__l" u-p="{{m}}"><up-input wx:if="{{l}}" class="data-v-76b78bde" u-i="76b78bde-9,76b78bde-8" bind:__l="__l" bindupdateModelValue="{{k}}" u-p="{{l}}"/></up-form-item><up-form-item wx:if="{{q}}" class="data-v-76b78bde" u-s="{{['d']}}" u-i="76b78bde-10,76b78bde-0" bind:__l="__l" u-p="{{q}}"><up-input wx:if="{{p}}" class="data-v-76b78bde" bindfocus="{{n}}" u-i="76b78bde-11,76b78bde-10" bind:__l="__l" bindupdateModelValue="{{o}}" u-p="{{p}}"/></up-form-item><up-form-item wx:if="{{t}}" class="data-v-76b78bde" u-s="{{['d']}}" u-i="76b78bde-12,76b78bde-0" bind:__l="__l" u-p="{{t}}"><up-input wx:if="{{s}}" class="data-v-76b78bde" u-i="76b78bde-13,76b78bde-12" bind:__l="__l" bindupdateModelValue="{{r}}" u-p="{{s}}"/></up-form-item><up-form-item wx:if="{{x}}" class="data-v-76b78bde" u-s="{{['d']}}" u-i="76b78bde-14,76b78bde-0" bind:__l="__l" u-p="{{x}}"><up-input wx:if="{{w}}" class="data-v-76b78bde" u-i="76b78bde-15,76b78bde-14" bind:__l="__l" bindupdateModelValue="{{v}}" u-p="{{w}}"/></up-form-item><up-form-item wx:if="{{B}}" class="data-v-76b78bde" u-s="{{['d']}}" u-i="76b78bde-16,76b78bde-0" bind:__l="__l" u-p="{{B}}"><up-input wx:if="{{A}}" class="data-v-76b78bde" bindfocus="{{y}}" u-i="76b78bde-17,76b78bde-16" bind:__l="__l" bindupdateModelValue="{{z}}" u-p="{{A}}"/></up-form-item><up-form-item wx:if="{{F}}" class="data-v-76b78bde" u-s="{{['d']}}" u-i="76b78bde-18,76b78bde-0" bind:__l="__l" u-p="{{F}}"><up-input wx:if="{{E}}" class="data-v-76b78bde" bindfocus="{{C}}" u-i="76b78bde-19,76b78bde-18" bind:__l="__l" bindupdateModelValue="{{D}}" u-p="{{E}}"/></up-form-item><up-form-item wx:if="{{I}}" class="data-v-76b78bde" u-s="{{['d']}}" u-i="76b78bde-20,76b78bde-0" bind:__l="__l" u-p="{{I}}"><up-input wx:if="{{H}}" class="data-v-76b78bde" u-i="76b78bde-21,76b78bde-20" bind:__l="__l" bindupdateModelValue="{{G}}" u-p="{{H}}"/></up-form-item><up-form-item wx:if="{{L}}" class="data-v-76b78bde" u-s="{{['d']}}" u-i="76b78bde-22,76b78bde-0" bind:__l="__l" u-p="{{L}}"><up-input wx:if="{{K}}" class="data-v-76b78bde" u-i="76b78bde-23,76b78bde-22" bind:__l="__l" bindupdateModelValue="{{J}}" u-p="{{K}}"/></up-form-item><up-form-item wx:if="{{O}}" class="data-v-76b78bde" u-s="{{['d']}}" u-i="76b78bde-24,76b78bde-0" bind:__l="__l" u-p="{{O}}"><up-input wx:if="{{N}}" class="data-v-76b78bde" u-i="76b78bde-25,76b78bde-24" bind:__l="__l" bindupdateModelValue="{{M}}" u-p="{{N}}"/></up-form-item><up-form-item wx:if="{{R}}" class="data-v-76b78bde" u-s="{{['d']}}" u-i="76b78bde-26,76b78bde-0" bind:__l="__l" u-p="{{R}}"><up-input wx:if="{{Q}}" class="data-v-76b78bde" u-i="76b78bde-27,76b78bde-26" bind:__l="__l" bindupdateModelValue="{{P}}" u-p="{{Q}}"/></up-form-item><up-form-item wx:if="{{V}}" class="data-v-76b78bde" u-s="{{['d']}}" u-i="76b78bde-28,76b78bde-0" bind:__l="__l" u-p="{{V}}"><up-input wx:if="{{U}}" class="data-v-76b78bde" bindfocus="{{S}}" u-i="76b78bde-29,76b78bde-28" bind:__l="__l" bindupdateModelValue="{{T}}" u-p="{{U}}"/></up-form-item><up-form-item wx:if="{{Y}}" class="data-v-76b78bde" u-s="{{['d']}}" u-i="76b78bde-30,76b78bde-0" bind:__l="__l" u-p="{{Y}}"><up-input wx:if="{{X}}" class="data-v-76b78bde" u-i="76b78bde-31,76b78bde-30" bind:__l="__l" bindupdateModelValue="{{W}}" u-p="{{X}}"/></up-form-item><up-form-item wx:if="{{ac}}" class="data-v-76b78bde" u-s="{{['d']}}" u-i="76b78bde-32,76b78bde-0" bind:__l="__l" u-p="{{ac}}"><up-input wx:if="{{ab}}" class="data-v-76b78bde" bindfocus="{{Z}}" u-i="76b78bde-33,76b78bde-32" bind:__l="__l" bindupdateModelValue="{{aa}}" u-p="{{ab}}"/></up-form-item></view><view class="tip data-v-76b78bde">请认真核实车辆信息,实际投保车辆信息以保险公司确认为准</view><view class="btn delBtn data-v-76b78bde" bindtap="{{ad}}">删除车辆</view><view class="btn confirmBtn data-v-76b78bde">确认</view></up-form><up-picker wx:if="{{aj}}" class="data-v-76b78bde" bindclose="{{ag}}" bindcancel="{{ah}}" bindconfirm="{{ai}}" u-i="76b78bde-34" bind:__l="__l" u-p="{{aj}}"></up-picker><up-popup wx:if="{{am}}" class="data-v-76b78bde" u-s="{{['d']}}" bindclose="{{al}}" u-i="76b78bde-35" bind:__l="__l" u-p="{{am}}"><view class="notice data-v-76b78bde"><view class="notice_title data-v-76b78bde">温馨提示</view><view class="notice_content data-v-76b78bde"> 本平台仅供出租租赁车辆提供登记服务 </view><view class="btn data-v-76b78bde" bindtap="{{ak}}">我已认真阅读并同意以上内容</view></view></up-popup></view> | ||
| 1 | +<view class="carDetail data-v-06942e84" style="{{'height:' + ao + ';' + ('overflow:' + ap)}}"><up-form wx:if="{{ag}}" class="r data-v-06942e84" u-s="{{['d']}}" u-r="uFormRef" u-i="06942e84-0" bind:__l="__l" u-p="{{ag}}"><view class="carInfo data-v-06942e84"><nav-top wx:if="{{a}}" class="data-v-06942e84" u-i="06942e84-1,06942e84-0" bind:__l="__l" u-p="{{a}}"/><view class="centerContent data-v-06942e84"><view class="carBand data-v-06942e84">梅赛德斯奔驰</view><view class="carModel data-v-06942e84">2024 1.6L双离合变速器 两厢 双离合 舒适型 国IV 5座</view></view><view class="rowLine data-v-06942e84"></view><up-form-item wx:if="{{d}}" class="data-v-06942e84" u-s="{{['d']}}" u-i="06942e84-2,06942e84-0" bind:__l="__l" u-p="{{d}}"><up-input wx:if="{{c}}" class="data-v-06942e84" u-i="06942e84-3,06942e84-2" bind:__l="__l" bindupdateModelValue="{{b}}" u-p="{{c}}"/></up-form-item></view><view class="carInfo data-v-06942e84"><view class="card_title data-v-06942e84">车主信息</view><up-form-item wx:if="{{g}}" class="data-v-06942e84" u-s="{{['d']}}" u-i="06942e84-4,06942e84-0" bind:__l="__l" u-p="{{g}}"><up-input wx:if="{{f}}" class="data-v-06942e84" u-i="06942e84-5,06942e84-4" bind:__l="__l" bindupdateModelValue="{{e}}" u-p="{{f}}"/></up-form-item><up-form-item wx:if="{{j}}" class="data-v-06942e84" u-s="{{['d']}}" u-i="06942e84-6,06942e84-0" bind:__l="__l" u-p="{{j}}"><up-input wx:if="{{i}}" class="data-v-06942e84" u-i="06942e84-7,06942e84-6" bind:__l="__l" bindupdateModelValue="{{h}}" u-p="{{i}}"/></up-form-item></view><view class="carInfo data-v-06942e84"><view class="card_title data-v-06942e84">行驶证信息</view><up-form-item wx:if="{{m}}" class="data-v-06942e84" u-s="{{['d']}}" u-i="06942e84-8,06942e84-0" bind:__l="__l" u-p="{{m}}"><up-input wx:if="{{l}}" class="data-v-06942e84" u-i="06942e84-9,06942e84-8" bind:__l="__l" bindupdateModelValue="{{k}}" u-p="{{l}}"/></up-form-item><up-form-item wx:if="{{q}}" class="data-v-06942e84" u-s="{{['d']}}" u-i="06942e84-10,06942e84-0" bind:__l="__l" u-p="{{q}}"><up-input wx:if="{{p}}" class="data-v-06942e84" bindfocus="{{n}}" u-i="06942e84-11,06942e84-10" bind:__l="__l" bindupdateModelValue="{{o}}" u-p="{{p}}"/></up-form-item><up-form-item wx:if="{{t}}" class="data-v-06942e84" u-s="{{['d']}}" u-i="06942e84-12,06942e84-0" bind:__l="__l" u-p="{{t}}"><up-input wx:if="{{s}}" class="data-v-06942e84" u-i="06942e84-13,06942e84-12" bind:__l="__l" bindupdateModelValue="{{r}}" u-p="{{s}}"/></up-form-item><up-form-item wx:if="{{x}}" class="data-v-06942e84" u-s="{{['d']}}" u-i="06942e84-14,06942e84-0" bind:__l="__l" u-p="{{x}}"><up-input wx:if="{{w}}" class="data-v-06942e84" u-i="06942e84-15,06942e84-14" bind:__l="__l" bindupdateModelValue="{{v}}" u-p="{{w}}"/></up-form-item><up-form-item wx:if="{{B}}" class="data-v-06942e84" u-s="{{['d']}}" u-i="06942e84-16,06942e84-0" bind:__l="__l" u-p="{{B}}"><up-input wx:if="{{A}}" class="data-v-06942e84" bindfocus="{{y}}" u-i="06942e84-17,06942e84-16" bind:__l="__l" bindupdateModelValue="{{z}}" u-p="{{A}}"/></up-form-item><up-form-item wx:if="{{F}}" class="data-v-06942e84" u-s="{{['d']}}" u-i="06942e84-18,06942e84-0" bind:__l="__l" u-p="{{F}}"><up-input wx:if="{{E}}" class="data-v-06942e84" bindfocus="{{C}}" u-i="06942e84-19,06942e84-18" bind:__l="__l" bindupdateModelValue="{{D}}" u-p="{{E}}"/></up-form-item><up-form-item wx:if="{{I}}" class="data-v-06942e84" u-s="{{['d']}}" u-i="06942e84-20,06942e84-0" bind:__l="__l" u-p="{{I}}"><up-input wx:if="{{H}}" class="data-v-06942e84" u-i="06942e84-21,06942e84-20" bind:__l="__l" bindupdateModelValue="{{G}}" u-p="{{H}}"/></up-form-item><up-form-item wx:if="{{L}}" class="data-v-06942e84" u-s="{{['d']}}" u-i="06942e84-22,06942e84-0" bind:__l="__l" u-p="{{L}}"><up-input wx:if="{{K}}" class="data-v-06942e84" u-i="06942e84-23,06942e84-22" bind:__l="__l" bindupdateModelValue="{{J}}" u-p="{{K}}"/></up-form-item><up-form-item wx:if="{{O}}" class="data-v-06942e84" u-s="{{['d']}}" u-i="06942e84-24,06942e84-0" bind:__l="__l" u-p="{{O}}"><up-input wx:if="{{N}}" class="data-v-06942e84" u-i="06942e84-25,06942e84-24" bind:__l="__l" bindupdateModelValue="{{M}}" u-p="{{N}}"/></up-form-item><view class="carModelBox data-v-06942e84"><view class="model_line data-v-06942e84"><text class="leftContent data-v-06942e84">车辆型号</text><up-input wx:if="{{R}}" class="data-v-06942e84" bindchange="{{P}}" u-i="06942e84-26,06942e84-0" bind:__l="__l" bindupdateModelValue="{{Q}}" u-p="{{R}}"/></view><up-transition wx:if="{{S}}" class="data-v-06942e84" u-s="{{['d']}}" u-i="06942e84-27,06942e84-0" bind:__l="__l" u-p="{{S}}"><view class="searchList data-v-06942e84"><view class="searchItem data-v-06942e84">123</view><view class="searchItem data-v-06942e84">123</view><view class="searchItem data-v-06942e84">123</view><view class="searchItem data-v-06942e84">123</view></view></up-transition></view><up-form-item wx:if="{{W}}" class="data-v-06942e84" u-s="{{['d']}}" u-i="06942e84-28,06942e84-0" bind:__l="__l" u-p="{{W}}"><up-input wx:if="{{V}}" class="data-v-06942e84" bindfocus="{{T}}" u-i="06942e84-29,06942e84-28" bind:__l="__l" bindupdateModelValue="{{U}}" u-p="{{V}}"/></up-form-item><up-form-item wx:if="{{Z}}" class="data-v-06942e84" u-s="{{['d']}}" u-i="06942e84-30,06942e84-0" bind:__l="__l" u-p="{{Z}}"><up-input wx:if="{{Y}}" class="data-v-06942e84" u-i="06942e84-31,06942e84-30" bind:__l="__l" bindupdateModelValue="{{X}}" u-p="{{Y}}"/></up-form-item><up-form-item wx:if="{{ad}}" class="data-v-06942e84" u-s="{{['d']}}" u-i="06942e84-32,06942e84-0" bind:__l="__l" u-p="{{ad}}"><up-input wx:if="{{ac}}" class="data-v-06942e84" bindfocus="{{aa}}" u-i="06942e84-33,06942e84-32" bind:__l="__l" bindupdateModelValue="{{ab}}" u-p="{{ac}}"/></up-form-item></view><view class="tip data-v-06942e84">请认真核实车辆信息,实际投保车辆信息以保险公司确认为准</view><view class="btn delBtn data-v-06942e84" bindtap="{{ae}}">删除车辆</view><view class="btn confirmBtn data-v-06942e84">确认</view></up-form><up-picker wx:if="{{ak}}" class="data-v-06942e84" bindclose="{{ah}}" bindcancel="{{ai}}" bindconfirm="{{aj}}" u-i="06942e84-34" bind:__l="__l" u-p="{{ak}}"></up-picker><up-popup wx:if="{{an}}" class="data-v-06942e84" u-s="{{['d']}}" bindclose="{{am}}" u-i="06942e84-35" bind:__l="__l" u-p="{{an}}"><view class="notice data-v-06942e84"><view class="notice_title data-v-06942e84">温馨提示</view><view class="notice_content data-v-06942e84"> 本平台仅供出租租赁车辆提供登记服务 </view><view class="btn data-v-06942e84" bindtap="{{al}}">我已认真阅读并同意以上内容</view></view></up-popup></view> |
| 1 | -.carDetail.data-v-76b78bde{padding:20rpx 30rpx 40rpx;background:#f8f9ff}.carDetail .carInfo.data-v-76b78bde{padding:22rpx 30rpx;background:#fff;border-radius:20rpx;margin-bottom:20rpx}.carDetail .carInfo .card_title.data-v-76b78bde{color:#3d3d3d;font-size:28rpx;line-height:38rpx;font-weight:500}.carDetail .carInfo .carBand.data-v-76b78bde{font-size:24rpx;color:#333;margin-bottom:10rpx}.carDetail .carInfo .carModel.data-v-76b78bde{font-size:20rpx;color:#999}.carDetail .carInfo .rowLine.data-v-76b78bde{width:100%;height:2rpx;background-color:#eee;margin:16rpx 0 20rpx}.carDetail .tip.data-v-76b78bde{color:#999;font-size:20rpx;line-height:26rpx;margin:20px 0}.carDetail .btn.data-v-76b78bde{height:80rpx;line-height:80rpx;text-align:center;font-size:28rpx;box-shadow:0 8rpx 40rpx rgba(10,22,44,.06);border-radius:20rpx}.carDetail .delBtn.data-v-76b78bde{color:#999;background:#fff;margin-bottom:20rpx}.carDetail .confirmBtn.data-v-76b78bde{color:#fff;background:#3680fe}.notice.data-v-76b78bde{position:relative;width:690rpx;height:360rpx;background:#fff;padding:40rpx 30rpx 0;border-radius:20rpx;overflow:hidden}.notice .notice_title.data-v-76b78bde{text-align:center;font-size:36rpx;line-height:48rpx;color:#3d3d3d;margin-bottom:40rpx}.notice .notice_content.data-v-76b78bde{text-align:center;font-size:28rpx;line-height:38rpx;color:#999}.notice .btn.data-v-76b78bde{position:absolute;bottom:0;left:0;width:100%;line-height:100rpx;text-align:center;height:100rpx;color:#3680fe;font-size:28rpx;border-top:2rpx solid #eee} | 1 | +.carDetail.data-v-06942e84{padding:20rpx 30rpx 40rpx;background:#f8f9ff}.carDetail .carInfo.data-v-06942e84{padding:22rpx 30rpx;background:#fff;border-radius:20rpx;margin-bottom:20rpx}.carDetail .carInfo .card_title.data-v-06942e84{color:#3d3d3d;font-size:28rpx;line-height:38rpx;font-weight:500}.carDetail .carInfo .carBand.data-v-06942e84{font-size:24rpx;color:#333;margin-bottom:10rpx}.carDetail .carInfo .carModel.data-v-06942e84{font-size:20rpx;color:#999}.carDetail .carInfo .rowLine.data-v-06942e84{width:100%;height:2rpx;background-color:#eee;margin:16rpx 0 20rpx}.carDetail .tip.data-v-06942e84{color:#999;font-size:20rpx;line-height:26rpx;margin:20px 0}.carDetail .btn.data-v-06942e84{height:80rpx;line-height:80rpx;text-align:center;font-size:28rpx;box-shadow:0 8rpx 40rpx rgba(10,22,44,.06);border-radius:20rpx}.carDetail .delBtn.data-v-06942e84{color:#999;background:#fff;margin-bottom:20rpx}.carDetail .confirmBtn.data-v-06942e84{color:#fff;background:#3680fe}.notice.data-v-06942e84{position:relative;width:690rpx;height:360rpx;background:#fff;padding:40rpx 30rpx 0;border-radius:20rpx;overflow:hidden}.notice .notice_title.data-v-06942e84{text-align:center;font-size:36rpx;line-height:48rpx;color:#3d3d3d;margin-bottom:40rpx}.notice .notice_content.data-v-06942e84{text-align:center;font-size:28rpx;line-height:38rpx;color:#999}.notice .btn.data-v-06942e84{position:absolute;bottom:0;left:0;width:100%;line-height:100rpx;text-align:center;height:100rpx;color:#3680fe;font-size:28rpx;border-top:2rpx solid #eee}.carModelBox.data-v-06942e84{position:relative;padding:20rpx 0}.carModelBox .model_line.data-v-06942e84{display:flex;align-items:center}.carModelBox .model_line .leftContent.data-v-06942e84{width:130px;font-size:28rpx;line-height:38rpx;color:#3d3d3d}.carModelBox .searchList.data-v-06942e84{position:absolute;bottom:200%;left:0;width:100%;background-color:#fff;box-shadow:rgba(100,100,111,.2) 0 7px 29px;z-index:9;border-radius:20rpx;padding:20rpx 30rpx;transition:all .5s}.carModelBox .searchList.data-v-06942e84:after{position:absolute;bottom:-50rpx;left:20rpx;content:"";width:0px;height:0px;border:30rpx solid transparent;border-top-color:#fff} |
| 1 | +"use strict";const e=require("../../common/vendor.js"),a=require("../../common/assets.js"),r=require("../../store/modules/tabbar.js");if(!Array){(e.resolveComponent("up-navbar")+e.resolveComponent("up-tabbar-item")+e.resolveComponent("up-tabbar"))()}Math||((()=>"../../uni_modules/uview-plus/components/u-navbar/u-navbar.js")+t+n+o+c+m+(()=>"../../uni_modules/uview-plus/components/u-tabbar-item/u-tabbar-item.js")+(()=>"../../uni_modules/uview-plus/components/u-tabbar/u-tabbar.js"))();const c=()=>"../../components/carCard.js",o=()=>"../../components/centerLine.js",n=()=>"../../components/wordInfo.js",t=()=>"../../components/navTop.js",m=()=>"../../components/ownerInfo.js",u={__name:"companyHome",setup(c){const o=r.useTabbarStore(),n=e.ref([{carId:1,carNum:"桂A·66666",carType:"奔驰C级",name:"张三",createTime:"2024-09-08 10:12"},{carId:2,carNum:"桂A·77777",carType:"奔驰C级",name:"李四",createTime:"2024-09-08 10:12"},{carId:3,carNum:"桂A·77777",carType:"梅赛德斯奔驰",name:"王五",createTime:"2024-09-08 10:12"},{carId:4,carNum:"桂A·77777",carType:"梅赛德斯奔驰",name:"王五",createTime:"2024-09-08 10:12"},{carId:5,carNum:"桂A·77777",carType:"梅赛德斯奔驰",name:"王五",createTime:"2024-09-08 10:12"},{carId:6,carNum:"桂A·77777",carType:"梅赛德斯奔驰",name:"王五",createTime:"2024-09-08 10:12"},{carId:7,carNum:"桂A·77777",carType:"梅赛德斯奔驰",name:"王五",createTime:"2024-09-08 10:12"},{carId:8,carNum:"桂A·77777",carType:"梅赛德斯奔驰",name:"王五",createTime:"2024-09-08 10:12"},{carId:9,carNum:"桂A·77777",carType:"梅赛德斯奔驰",name:"王五",createTime:"2024-09-08 10:12"},{carId:10,carNum:"桂A·77777",carType:"梅赛德斯奔驰",name:"王五",createTime:"2024-09-08 10:12"},{carId:11,carNum:"桂A·77777",carType:"梅赛德斯奔驰",name:"王五",createTime:"2024-09-08 10:12"}]),t=e.ref(0),m=e=>{var a;t.value=null==(a=e.detail)?void 0:a.current},u=a=>{o.employeeCurrent=a,e.index.redirectTo({url:"/pages/companyMy/companyMy"})},p=()=>{e.index.navigateTo({url:"/pages/ownerDetail/ownerDetail"})};return(r,c)=>({a:e.p({placeholder:!0,leftIconSize:0,bgColor:"transparent"}),b:0===t.value?1:"",c:e.o((e=>t.value=0)),d:1===t.value?1:"",e:e.o((e=>t.value=1)),f:e.f(n.value,((a,r,c)=>({a:"6c80a5ea-2-"+c+",6c80a5ea-1-"+c,b:e.p({carNum:a.carNum}),c:"6c80a5ea-3-"+c+",6c80a5ea-1-"+c,d:e.p({carType:a.carType,userName:a.name,applyTime:a.createTime}),e:"6c80a5ea-4-"+c+",6c80a5ea-1-"+c,f:a.carId,g:"6c80a5ea-1-"+c,h:e.p({tipContent:"待办",carInfo:a})}))),g:e.f(n.value,((a,r,c)=>({a:"6c80a5ea-6-"+c+",6c80a5ea-5-"+c,b:e.p({carNum:a.carNum}),c:"6c80a5ea-7-"+c+",6c80a5ea-5-"+c,d:e.o((r=>(a.carId,void e.index.showModal({title:"删除车主信息",content:"是否删除车主信息,该操作不可逆?",success:function(a){a.confirm?e.index.$u.toast("删除成功"):a.cancel&&console.log("用户点击取消")}}))),a.carId),e:a.carId,f:e.o(p,a.carId),g:"6c80a5ea-5-"+c,h:e.p({tipContent:"查看详情",carInfo:a})}))),h:t.value,i:e.o(m),j:e.p({text:"主页",icon:"home",badge:"11"}),k:a._imports_0$1,l:a._imports_1$1,m:e.o(u),n:e.p({text:"我的",icon:"account"}),o:e.p({value:e.unref(o).employeeCurrent,activeColor:"#3680FE",inactiveColor:"#707070"})})}},p=e._export_sfc(u,[["__scopeId","data-v-6c80a5ea"]]);wx.createPage(p); |
| 1 | +{ | ||
| 2 | + "navigationBarTitleText": "", | ||
| 3 | + "navigationStyle": "custom", | ||
| 4 | + "usingComponents": { | ||
| 5 | + "up-navbar": "../../uni_modules/uview-plus/components/u-navbar/u-navbar", | ||
| 6 | + "up-tabbar-item": "../../uni_modules/uview-plus/components/u-tabbar-item/u-tabbar-item", | ||
| 7 | + "up-tabbar": "../../uni_modules/uview-plus/components/u-tabbar/u-tabbar", | ||
| 8 | + "car-card": "../../components/carCard", | ||
| 9 | + "center-line": "../../components/centerLine", | ||
| 10 | + "word-info": "../../components/wordInfo", | ||
| 11 | + "nav-top": "../../components/navTop", | ||
| 12 | + "owner-info": "../../components/ownerInfo" | ||
| 13 | + } | ||
| 14 | +} |
| 1 | +<view class="company_container data-v-6c80a5ea"><up-navbar wx:if="{{a}}" class="data-v-6c80a5ea" u-i="6c80a5ea-0" bind:__l="__l" u-p="{{a}}"/><view class="work_box data-v-6c80a5ea"><view class="nav_header data-v-6c80a5ea"><view class="{{['nav_item', 'data-v-6c80a5ea', b && 'active']}}" bindtap="{{c}}">待办事项</view><view class="colLine data-v-6c80a5ea"></view><view class="{{['nav_item', 'data-v-6c80a5ea', d && 'active']}}" bindtap="{{e}}">车主信息</view></view><view class="expert_content data-v-6c80a5ea"><swiper class="swiper data-v-6c80a5ea" circular current="{{h}}" bindanimationfinish="{{i}}"><swiper-item class="data-v-6c80a5ea"><view class="swiper-item data-v-6c80a5ea"><scroll-view scroll-y="true" class="scroll-history data-v-6c80a5ea"><view class="work_list data-v-6c80a5ea"><car-card wx:for="{{f}}" wx:for-item="carItem" wx:key="f" class="data-v-6c80a5ea" u-s="{{['header','center','footer']}}" u-i="{{carItem.g}}" bind:__l="__l" u-p="{{carItem.h}}"><nav-top class="data-v-6c80a5ea" u-i="{{carItem.a}}" bind:__l="__l" u-p="{{carItem.b}}" slot="header"/><word-info class="data-v-6c80a5ea" u-i="{{carItem.c}}" bind:__l="__l" u-p="{{carItem.d}}" slot="center"/><center-line class="data-v-6c80a5ea" u-i="{{carItem.e}}" bind:__l="__l" slot="footer"></center-line></car-card></view></scroll-view></view></swiper-item><swiper-item class="data-v-6c80a5ea"><view class="swiper-item data-v-6c80a5ea"><scroll-view scroll-y="true" class="scroll-history data-v-6c80a5ea"><view class="work_list data-v-6c80a5ea"><car-card wx:for="{{g}}" wx:for-item="carItem" wx:key="e" class="data-v-6c80a5ea" u-s="{{['header','center','footer']}}" bindonSkip="{{carItem.f}}" u-i="{{carItem.g}}" bind:__l="__l" u-p="{{carItem.h}}"><nav-top class="data-v-6c80a5ea" u-i="{{carItem.a}}" bind:__l="__l" u-p="{{carItem.b}}" slot="header"/><owner-info class="data-v-6c80a5ea" u-i="{{carItem.c}}" bind:__l="__l" slot="center"/><view class="delInfo data-v-6c80a5ea" slot="footer"><text class="data-v-6c80a5ea" bindtap="{{carItem.d}}">删除车主信息</text></view></car-card></view></scroll-view></view></swiper-item></swiper></view></view><up-tabbar wx:if="{{o}}" class="data-v-6c80a5ea" u-s="{{['d']}}" u-i="6c80a5ea-8" bind:__l="__l" u-p="{{o}}"><up-tabbar-item wx:if="{{j}}" class="data-v-6c80a5ea" u-i="6c80a5ea-9,6c80a5ea-8" bind:__l="__l" u-p="{{j}}"></up-tabbar-item><up-tabbar-item wx:if="{{n}}" class="data-v-6c80a5ea" u-s="{{['active-icon','inactive-icon']}}" bindclick="{{m}}" u-i="6c80a5ea-10,6c80a5ea-8" bind:__l="__l" u-p="{{n}}"><image style="width:48rpx" class="u-page__item__slot-icon data-v-6c80a5ea" src="{{k}}" mode="widthFix" slot="active-icon"></image><image style="width:48rpx" class="u-page__item__slot-icon data-v-6c80a5ea" src="{{l}}" mode="widthFix" slot="inactive-icon"></image></up-tabbar-item></up-tabbar></view> |
| 1 | +.company_container.data-v-6c80a5ea{width:100%;height:100vh;background:url(http://bxhd.crgx.net/profile/avatar/2024/09/25/bg-index_20240925113012A004.png) no-repeat;background-size:100% 100%;overflow:hidden}.company_container .work_box.data-v-6c80a5ea{height:calc(100vh - 88rpx);background-color:#f8f9ff}.company_container .work_box .nav_header.data-v-6c80a5ea{display:flex;align-items:center;width:100%;height:80rpx;background:#fff}.company_container .work_box .nav_header .nav_item.data-v-6c80a5ea{flex:1;text-align:center;height:80rpx;line-height:80rpx;font-size:28rpx;color:#999}.company_container .work_box .nav_header .nav_item.active.data-v-6c80a5ea{font-weight:500;color:#333}.company_container .work_box .nav_header .colLine.data-v-6c80a5ea{width:2rpx;height:40rpx;background:#d8d8d8}.company_container .work_box .work_list.data-v-6c80a5ea{padding:20rpx 30rpx 200rpx;display:flex;flex-direction:column;gap:20rpx}.delInfo.data-v-6c80a5ea{font-size:20rpx;line-height:26rpx;color:#3680fe}.scroll-history.data-v-6c80a5ea,.swiper.data-v-6c80a5ea{height:calc(100vh - 256rpx)} |
| 1 | +"use strict";const e=require("../../common/vendor.js"),o=require("../../common/assets.js"),r=require("../../store/modules/tabbar.js");if(!Array){(e.resolveComponent("up-navbar")+e.resolveComponent("up-input")+e.resolveComponent("up-form-item")+e.resolveComponent("up-form")+e.resolveComponent("up-tabbar-item")+e.resolveComponent("up-tabbar"))()}Math||((()=>"../../uni_modules/uview-plus/components/u-navbar/u-navbar.js")+(()=>"../../uni_modules/uview-plus/components/u-input/u-input.js")+(()=>"../../uni_modules/uview-plus/components/u-form-item/u-form-item.js")+(()=>"../../uni_modules/uview-plus/components/u-form/u-form.js")+(()=>"../../uni_modules/uview-plus/components/u-tabbar-item/u-tabbar-item.js")+(()=>"../../uni_modules/uview-plus/components/u-tabbar/u-tabbar.js"))();const n={__name:"companyMy",setup(n){const a=r.useTabbarStore(),t=e.ref(0);e.ref(!0);const u=e.ref({name:"",identificationNumber:"",phone:""}),l={height:"80rpx",backgroundColor:"#F9F9F9",paddingLeft:"40rpx"},i={color:"#bbb",fontSize:"28rpx"},s=e.ref(null),p={name:[{required:!0,message:"请输入姓名",trigger:["blur","change"]},{min:2,max:6,message:"名字应在2到6个字",trigger:["blur","change"]},{validator:(o,r,n)=>e.index.$u.test.chinese(r),message:"请输入中文",trigger:["change","blur"]}],identificationNumber:[{required:!0,message:"请输入身份证号",trigger:["blur","change"]},{validator:(o,r,n)=>e.index.$u.test.idCard(r),message:"身份证号码不正确",trigger:["change","blur"]}],phone:[{required:!0,message:"请输入手机号",trigger:["blur","change"]},{validator:(o,r,n)=>e.index.$u.test.mobile(r),message:"手机号码不正确",trigger:["change","blur"]}]};e.onReady((()=>{s.value.setRules(p)}));const m=()=>{},c=o=>{a.employeeCurrent=o,e.index.redirectTo({url:"/pages/companyHome/companyHome"})};return(r,n)=>({a:e.p({placeholder:!0,leftIconSize:0,bgColor:"transparent"}),b:o._imports_0,c:e.o((e=>u.value.name=e)),d:e.p({shape:"circle",border:"none",fontSize:"28rpx",color:"#bbb",placeholderStyle:i,customStyle:l,placeholder:"请输入真实姓名",modelValue:u.value.name}),e:e.p({prop:"name"}),f:o._imports_1,g:e.o((e=>u.value.identificationNumber=e)),h:e.p({shape:"circle",border:"none",fontSize:"28rpx",color:"#bbb",placeholderStyle:i,customStyle:l,placeholder:"请输入身份证号",modelValue:u.value.identificationNumber}),i:e.p({prop:"identificationNumber"}),j:o._imports_2,k:e.o((e=>u.value.phone=e)),l:e.p({shape:"circle",border:"none",fontSize:"28rpx",color:"#bbb",placeholderStyle:i,customStyle:l,placeholder:"请输入手机号码",modelValue:u.value.phone}),m:e.p({prop:"phone"}),n:e.sr(s,"a3ec610d-1",{k:"userFormRef"}),o:e.p({model:u.value}),p:0===t.value?1:"",q:e.o((e=>t.value=0)),r:1===t.value?1:"",s:e.o((e=>t.value=1)),t:e.o(m),v:e.o(c),w:e.p({text:"主页",icon:"home"}),x:e.p({text:"我的",icon:"account"}),y:e.p({value:e.unref(a).employeeCurrent,activeColor:"#3680FE",inactiveColor:"#707070"})})}},a=e._export_sfc(n,[["__scopeId","data-v-a3ec610d"]]);wx.createPage(a); |
| 1 | +{ | ||
| 2 | + "navigationBarTitleText": "", | ||
| 3 | + "navigationStyle": "custom", | ||
| 4 | + "usingComponents": { | ||
| 5 | + "up-navbar": "../../uni_modules/uview-plus/components/u-navbar/u-navbar", | ||
| 6 | + "up-input": "../../uni_modules/uview-plus/components/u-input/u-input", | ||
| 7 | + "up-form-item": "../../uni_modules/uview-plus/components/u-form-item/u-form-item", | ||
| 8 | + "up-form": "../../uni_modules/uview-plus/components/u-form/u-form", | ||
| 9 | + "up-tabbar-item": "../../uni_modules/uview-plus/components/u-tabbar-item/u-tabbar-item", | ||
| 10 | + "up-tabbar": "../../uni_modules/uview-plus/components/u-tabbar/u-tabbar" | ||
| 11 | + } | ||
| 12 | +} |
| 1 | +<view class="app-container data-v-a3ec610d"><up-navbar wx:if="{{a}}" class="data-v-a3ec610d" u-i="a3ec610d-0" bind:__l="__l" u-p="{{a}}"/><view class="car_list data-v-a3ec610d"><view class="line_title data-v-a3ec610d"><text class="left_title data-v-a3ec610d" style="color:#fff">我的信息</text><text class="data-v-a3ec610d" style="color:#fff">更新实名信息</text></view><view class="user-box data-v-a3ec610d"><up-form wx:if="{{o}}" class="r data-v-a3ec610d" u-s="{{['d']}}" u-r="userFormRef" u-i="a3ec610d-1" bind:__l="__l" u-p="{{o}}"><up-form-item wx:if="{{e}}" class="data-v-a3ec610d" u-s="{{['d']}}" u-i="a3ec610d-2,a3ec610d-1" bind:__l="__l" u-p="{{e}}"><up-input wx:if="{{d}}" class="data-v-a3ec610d" u-s="{{['prefix']}}" u-i="a3ec610d-3,a3ec610d-2" bind:__l="__l" bindupdateModelValue="{{c}}" u-p="{{d}}"><image class="data-v-a3ec610d" style="width:32rpx;margin-right:18rpx;margin-top:10rpx" src="{{b}}" mode="widthFix" slot="prefix"></image></up-input></up-form-item><up-form-item wx:if="{{i}}" class="data-v-a3ec610d" u-s="{{['d']}}" u-i="a3ec610d-4,a3ec610d-1" bind:__l="__l" u-p="{{i}}"><up-input wx:if="{{h}}" class="data-v-a3ec610d" u-s="{{['prefix']}}" u-i="a3ec610d-5,a3ec610d-4" bind:__l="__l" bindupdateModelValue="{{g}}" u-p="{{h}}"><image class="data-v-a3ec610d" style="width:32rpx;margin-right:18rpx;margin-top:10rpx" src="{{f}}" mode="widthFix" slot="prefix"></image></up-input></up-form-item><up-form-item wx:if="{{m}}" class="data-v-a3ec610d" u-s="{{['d']}}" u-i="a3ec610d-6,a3ec610d-1" bind:__l="__l" u-p="{{m}}"><up-input wx:if="{{l}}" class="data-v-a3ec610d" u-s="{{['prefix']}}" u-i="a3ec610d-7,a3ec610d-6" bind:__l="__l" bindupdateModelValue="{{k}}" u-p="{{l}}"><image class="data-v-a3ec610d" style="width:32rpx;margin-right:18rpx;margin-top:10rpx" src="{{j}}" mode="widthFix" slot="prefix"></image></up-input></up-form-item></up-form></view><view class="line_title data-v-a3ec610d"><text class="left_title data-v-a3ec610d">状态设置</text></view><view class="status data-v-a3ec610d"><view class="{{['statusBtn', 'data-v-a3ec610d', p && 'active']}}" bindtap="{{q}}">在岗</view><view class="{{['statusBtn', 'data-v-a3ec610d', r && 'active']}}" bindtap="{{s}}">离岗</view></view><view class="loginBtn data-v-a3ec610d" bindtap="{{t}}">退出登录</view></view><up-tabbar wx:if="{{y}}" class="data-v-a3ec610d" u-s="{{['d']}}" u-i="a3ec610d-8" bind:__l="__l" u-p="{{y}}"><up-tabbar-item wx:if="{{w}}" class="data-v-a3ec610d" bindclick="{{v}}" u-i="a3ec610d-9,a3ec610d-8" bind:__l="__l" u-p="{{w}}"></up-tabbar-item><up-tabbar-item wx:if="{{x}}" class="data-v-a3ec610d" u-i="a3ec610d-10,a3ec610d-8" bind:__l="__l" u-p="{{x}}"></up-tabbar-item></up-tabbar></view> |
| 1 | +.app-container.data-v-a3ec610d{width:100%;height:100vh;padding:0 30rpx;background:url(http://bxhd.crgx.net/profile/avatar/2024/09/25/bg-index_20240925113012A004.png) no-repeat;background-size:100% 100%;overflow:hidden}.app-container .user-box.data-v-a3ec610d{width:690rpx;padding:40rpx 44rpx;background-color:#fff;z-index:10;margin:0 auto 40rpx;box-shadow:0 8rpx 40rpx rgba(10,22,44,.06);border-radius:40rpx}.app-container .car_list.data-v-a3ec610d{display:flex;flex-direction:column;gap:20rpx}.app-container .car_list .line_title.data-v-a3ec610d{display:flex;justify-content:space-between;font-size:24rpx;color:#999;line-height:32rpx}.app-container .car_list .line_title .left_title.data-v-a3ec610d{font-size:32rpx;line-height:42rpx;color:#333}.app-container .car_list .car_data.data-v-a3ec610d{padding:0 30rpx;background:#fff;box-shadow:0 8rpx 40rpx rgba(10,22,44,.06);border-radius:40rpx;margin-bottom:60rpx}.app-container .car_list .car_data .car_item.data-v-a3ec610d{padding:30rpx 0;border-bottom:2rpx solid #eee}.app-container .car_list .car_data .car_item.data-v-a3ec610d:last-child{border-bottom:0}.app-container .car_list .loginBtn.data-v-a3ec610d{width:100%;height:80rpx;line-height:80rpx;text-align:center;font-size:28rpx;color:#fff;font-weight:500;background:#3680fe;box-shadow:0 8rpx 40rpx rgba(10,22,44,.06);border-radius:40rpx;margin-top:40rpx}.status.data-v-a3ec610d{display:flex;align-items:center;justify-content:space-between;padding:40rpx 46rpx;background:#fff;box-shadow:0 8rpx 40rpx rgba(10,22,44,.06);border-radius:40rpx}.status .statusBtn.data-v-a3ec610d{width:280rpx;height:80rpx;text-align:center;line-height:80rpx;color:#999;background:#fff;border-radius:200rpx;border:2rpx solid #BBBBBB}.status .statusBtn.active.data-v-a3ec610d{color:#fff;background:#75a8ff} |
| 1 | -"use strict";const a=require("../../common/vendor.js");if(!Array){(a.resolveComponent("up-navbar")+a.resolveComponent("up-popup"))()}Math||((()=>"../../uni_modules/uview-plus/components/u-navbar/u-navbar.js")+o+r+e+(()=>"../../uni_modules/uview-plus/components/u-popup/u-popup.js"))();const e=()=>"../../components/carCard.js",r=()=>"../../components/centerLine.js",o=()=>"../../components/navTop.js",n={__name:"index",setup(e){const r=a.ref(!0),o=a.ref([{carId:1,carNum:"桂A·66666",carBrand:"梅赛德斯奔驰",address:"广西壮族自治区 南宁市 兴宁区投保",status:0},{carId:2,carNum:"桂A·77777",carBrand:"梅赛德斯奔驰",address:"广西壮族自治区 南宁市 兴宁区投保",status:1},{carId:3,carNum:"桂A·77777",carBrand:"梅赛德斯奔驰",address:"广西壮族自治区 南宁市 兴宁区投保",status:2}]),n=()=>{a.index.navigateTo({url:"/pages/carDetail/carDetail"})};return(e,s)=>({a:a.p({placeholder:!0,leftIconSize:0,bgColor:"transparent"}),b:a.f(o.value,((e,r,o)=>({a:"038a6a7f-2-"+o+",038a6a7f-1-"+o,b:a.p({carNum:e.carNum}),c:"038a6a7f-3-"+o+",038a6a7f-1-"+o,d:a.p({leftContent:e.carBrand,fontColor:"#999",rightContent:e.address}),e:"038a6a7f-4-"+o+",038a6a7f-1-"+o,f:e.carId,g:"038a6a7f-1-"+o,h:a.p({carInfo:e})}))),c:a.o(n),d:a.o((a=>r.value=!1)),e:a.o((a=>r.value=!1)),f:a.p({show:r.value,mode:"center",safeAreaInsetBottom:!1,round:"20"})})}},s=a._export_sfc(n,[["__scopeId","data-v-038a6a7f"]]);wx.createPage(s); | 1 | +"use strict";const e=require("../../common/vendor.js");if(!Array){(e.resolveComponent("up-navbar")+e.resolveComponent("up-popup"))()}Math||((()=>"../../uni_modules/uview-plus/components/u-navbar/u-navbar.js")+o+r+a+(()=>"../../uni_modules/uview-plus/components/u-popup/u-popup.js"))();const a=()=>"../../components/carCard.js",r=()=>"../../components/centerLine.js",o=()=>"../../components/navTop.js",n={__name:"index",setup(a){const r=e.ref(!0),o=e.ref([{carId:1,carNum:"桂A·66666",carBrand:"梅赛德斯奔驰",address:"广西壮族自治区 南宁市 兴宁区投保",status:0},{carId:2,carNum:"桂A·77777",carBrand:"梅赛德斯奔驰",address:"广西壮族自治区 南宁市 兴宁区投保",status:1},{carId:3,carNum:"桂A·77777",carBrand:"梅赛德斯奔驰",address:"广西壮族自治区 南宁市 兴宁区投保",status:2}]),n=()=>{e.index.navigateTo({url:"/pages/carDetail/carDetail"})};return(a,s)=>({a:e.p({placeholder:!0,leftIconSize:0,bgColor:"transparent"}),b:e.f(o.value,((a,r,o)=>({a:"29637f37-2-"+o+",29637f37-1-"+o,b:e.p({carNum:a.carNum}),c:"29637f37-3-"+o+",29637f37-1-"+o,d:e.p({leftContent:a.carBrand,fontColor:"#999",rightContent:a.address}),e:"29637f37-4-"+o+",29637f37-1-"+o,f:a.carId,g:"29637f37-1-"+o,h:e.p({carInfo:a})}))),c:e.o(n),d:e.o((e=>r.value=!1)),e:e.o((e=>r.value=!1)),f:e.p({show:r.value,mode:"center",safeAreaInsetBottom:!1,round:"20"})})}},s=e._export_sfc(n,[["__scopeId","data-v-29637f37"]]);wx.createPage(s); |
| 1 | -<view class="app-container data-v-038a6a7f"><up-navbar wx:if="{{a}}" class="data-v-038a6a7f" u-i="038a6a7f-0" bind:__l="__l" u-p="{{a}}"/><view class="car_list data-v-038a6a7f"><view class="title data-v-038a6a7f">车辆管理</view><car-card wx:for="{{b}}" wx:for-item="carItem" wx:key="f" class="data-v-038a6a7f" u-s="{{['header','center','footer']}}" u-i="{{carItem.g}}" bind:__l="__l" u-p="{{carItem.h}}"><nav-top class="data-v-038a6a7f" u-i="{{carItem.a}}" bind:__l="__l" u-p="{{carItem.b}}" slot="header"/><center-line class="data-v-038a6a7f" u-i="{{carItem.c}}" bind:__l="__l" u-p="{{carItem.d}}" slot="center"></center-line><center-line class="data-v-038a6a7f" u-i="{{carItem.e}}" bind:__l="__l" slot="footer"></center-line></car-card><view class="addBtn data-v-038a6a7f" bindtap="{{c}}">登记车辆保险信息</view></view><up-popup wx:if="{{f}}" class="data-v-038a6a7f" u-s="{{['d']}}" bindclose="{{e}}" u-i="038a6a7f-5" bind:__l="__l" u-p="{{f}}"><view class="notice data-v-038a6a7f"><view class="notice_title data-v-038a6a7f">通知公告</view><view class="notice_content data-v-038a6a7f"> 1.我是公告我是公告我是公告我是公告我是公告我是公告我是公告我是公告我是公告 2.我是公告我是公告我是公告我是公告我是公告我是公告我是公告我是公告我是公告我是公告我是公告我是公告我是公告 3.我是公告我是公告我是公告我是公告 </view><view class="btn data-v-038a6a7f" bindtap="{{d}}">确认</view></view></up-popup></view> | ||
| 1 | +<view class="app-container data-v-29637f37"><up-navbar wx:if="{{a}}" class="data-v-29637f37" u-i="29637f37-0" bind:__l="__l" u-p="{{a}}"/><view class="car_list data-v-29637f37"><view class="title data-v-29637f37">车辆管理</view><car-card wx:for="{{b}}" wx:for-item="carItem" wx:key="f" class="data-v-29637f37" u-s="{{['header','center','footer']}}" u-i="{{carItem.g}}" bind:__l="__l" u-p="{{carItem.h}}"><nav-top class="data-v-29637f37" u-i="{{carItem.a}}" bind:__l="__l" u-p="{{carItem.b}}" slot="header"/><center-line class="data-v-29637f37" u-i="{{carItem.c}}" bind:__l="__l" u-p="{{carItem.d}}" slot="center"></center-line><center-line class="data-v-29637f37" u-i="{{carItem.e}}" bind:__l="__l" slot="footer"></center-line></car-card><view class="addBtn data-v-29637f37" bindtap="{{c}}">登记车辆保险信息</view></view><up-popup wx:if="{{f}}" class="data-v-29637f37" u-s="{{['d']}}" bindclose="{{e}}" u-i="29637f37-5" bind:__l="__l" u-p="{{f}}"><view class="notice data-v-29637f37"><view class="notice_title data-v-29637f37">通知公告</view><view class="notice_content data-v-29637f37"> 1.我是公告我是公告我是公告我是公告我是公告我是公告我是公告我是公告我是公告 2.我是公告我是公告我是公告我是公告我是公告我是公告我是公告我是公告我是公告我是公告我是公告我是公告我是公告 3.我是公告我是公告我是公告我是公告 </view><view class="btn data-v-29637f37" bindtap="{{d}}">确认</view></view></up-popup></view> |
| 1 | -.app-container.data-v-038a6a7f{width:100%;height:100vh;padding:0 30rpx;background:url(http://bxhd.crgx.net/profile/avatar/2024/09/25/bg-index_20240925113012A004.png) no-repeat;background-size:100% 100%;overflow:hidden}.app-container .car_list.data-v-038a6a7f{display:flex;flex-direction:column;gap:20rpx}.app-container .car_list .title.data-v-038a6a7f{font-size:32rpx;line-height:42rpx;color:#fff}.app-container .car_list .addBtn.data-v-038a6a7f{width:100%;height:80rpx;line-height:80rpx;text-align:center;font-size:28rpx;color:#3d3d3d;font-weight:500;background:#fff;box-shadow:0 8rpx 40rpx rgba(10,22,44,.06);border-radius:20rpx}.notice.data-v-038a6a7f{position:relative;width:690rpx;height:600rpx;background:#fff;padding:40rpx 30rpx 0;border-radius:20rpx;overflow:hidden}.notice .notice_title.data-v-038a6a7f{text-align:center;font-size:36rpx;line-height:48rpx;color:#3d3d3d;margin-bottom:40rpx}.notice .notice_content.data-v-038a6a7f{font-size:28rpx;line-height:38rpx;color:#999}.notice .btn.data-v-038a6a7f{position:absolute;bottom:0;left:0;width:100%;line-height:100rpx;text-align:center;height:100rpx;color:#3680fe;font-size:28rpx;border-top:2rpx solid #eee} | 1 | +.app-container.data-v-29637f37{width:100%;height:100vh;padding:0 30rpx;background:url(http://bxhd.crgx.net/profile/avatar/2024/09/25/bg-index_20240925113012A004.png) no-repeat;background-size:100% 100%;overflow:hidden}.app-container .car_list.data-v-29637f37{display:flex;flex-direction:column;gap:20rpx}.app-container .car_list .title.data-v-29637f37{font-size:32rpx;line-height:42rpx;color:#fff}.app-container .car_list .addBtn.data-v-29637f37{width:100%;height:80rpx;line-height:80rpx;text-align:center;font-size:28rpx;color:#3d3d3d;font-weight:500;background:#fff;box-shadow:0 8rpx 40rpx rgba(10,22,44,.06);border-radius:20rpx}.notice.data-v-29637f37{position:relative;width:690rpx;height:600rpx;background:#fff;padding:40rpx 30rpx 0;border-radius:20rpx;overflow:hidden}.notice .notice_title.data-v-29637f37{text-align:center;font-size:36rpx;line-height:48rpx;color:#3d3d3d;margin-bottom:40rpx}.notice .notice_content.data-v-29637f37{font-size:28rpx;line-height:38rpx;color:#999}.notice .btn.data-v-29637f37{position:absolute;bottom:0;left:0;width:100%;line-height:100rpx;text-align:center;height:100rpx;color:#3680fe;font-size:28rpx;border-top:2rpx solid #eee} |
| 1 | -"use strict";const e=require("../../common/vendor.js"),o=require("../../common/assets.js");if(!Array){(e.resolveComponent("up-input")+e.resolveComponent("up-form-item")+e.resolveComponent("up-form"))()}Math||((()=>"../../uni_modules/uview-plus/components/u-input/u-input.js")+(()=>"../../uni_modules/uview-plus/components/u-form-item/u-form-item.js")+(()=>"../../uni_modules/uview-plus/components/u-form/u-form.js"))();const r={__name:"login",setup(r){const n=e.ref({name:"",identificationNumber:""}),t=e.ref(null),i={name:[{required:!0,message:"请输入姓名",trigger:["blur","change"]},{min:2,max:6,message:"名字应在2到6个字",trigger:["blur","change"]},{validator:(o,r,n)=>e.index.$u.test.chinese(r),message:"请输入中文",trigger:["change","blur"]}],identificationNumber:[{required:!0,message:"请输入身份证号",trigger:["blur","change"]},{validator:(o,r,n)=>e.index.$u.test.idCard(r),message:"身份证号码不正确",trigger:["change","blur"]}]},a={height:"80rpx",backgroundColor:"#F9F9F9",paddingLeft:"40rpx"},u={color:"#bbb",fontSize:"28rpx"};e.onReady((()=>{t.value.setRules(i)}));const s=()=>{t.value.validate().then((async o=>{o?(e.index.$u.toast("登录成功"),e.index.switchTab({url:"/pages/index/index"})):e.index.$u.toast("校验失败")})).catch((()=>{e.index.$u.toast("校验失败")}))};return(r,i)=>({a:o._imports_0,b:e.o((e=>n.value.name=e)),c:e.p({shape:"circle",border:"none",fontSize:"28rpx",color:"#bbb",placeholderStyle:u,customStyle:a,placeholder:"请输入真实姓名",modelValue:n.value.name}),d:e.p({prop:"name"}),e:o._imports_1,f:e.o((e=>n.value.identificationNumber=e)),g:e.p({shape:"circle",border:"none",fontSize:"28rpx",color:"#bbb",placeholderStyle:u,customStyle:a,placeholder:"请输入身份证号",modelValue:n.value.identificationNumber}),h:e.p({prop:"identificationNumber"}),i:e.sr(t,"46020ae0-0",{k:"logFormRef"}),j:e.p({model:n.value}),k:e.o(s)})}},n=e._export_sfc(r,[["__scopeId","data-v-46020ae0"]]);wx.createPage(n); | 1 | +"use strict";const e=require("../../common/vendor.js"),o=require("../../common/assets.js");if(!Array){(e.resolveComponent("up-input")+e.resolveComponent("up-form-item")+e.resolveComponent("up-form"))()}Math||((()=>"../../uni_modules/uview-plus/components/u-input/u-input.js")+(()=>"../../uni_modules/uview-plus/components/u-form-item/u-form-item.js")+(()=>"../../uni_modules/uview-plus/components/u-form/u-form.js"))();const r={__name:"login",setup(r){const n=e.ref({name:"",identificationNumber:""}),i=e.ref(null),t={name:[{required:!0,message:"请输入姓名",trigger:["blur","change"]},{min:2,max:6,message:"名字应在2到6个字",trigger:["blur","change"]},{validator:(o,r,n)=>e.index.$u.test.chinese(r),message:"请输入中文",trigger:["change","blur"]}],identificationNumber:[{required:!0,message:"请输入身份证号",trigger:["blur","change"]},{validator:(o,r,n)=>e.index.$u.test.idCard(r),message:"身份证号码不正确",trigger:["change","blur"]}]},a={height:"80rpx",backgroundColor:"#F9F9F9",paddingLeft:"40rpx"},u={color:"#bbb",fontSize:"28rpx"};e.onReady((()=>{i.value.setRules(t)}));const s=()=>{e.index.navigateTo({url:"/pages/privacy/privacy"})},l=()=>{i.value.validate().then((async o=>{o?(e.index.$u.toast("登录成功"),e.index.navigateTo({url:"/pages/companyHome/companyHome"})):e.index.$u.toast("校验失败")})).catch((()=>{e.index.$u.toast("校验失败")}))};return(r,t)=>({a:o._imports_0,b:e.o((e=>n.value.name=e)),c:e.p({shape:"circle",border:"none",fontSize:"28rpx",color:"#bbb",placeholderStyle:u,customStyle:a,placeholder:"请输入真实姓名",modelValue:n.value.name}),d:e.p({prop:"name"}),e:o._imports_1,f:e.o((e=>n.value.identificationNumber=e)),g:e.p({shape:"circle",border:"none",fontSize:"28rpx",color:"#bbb",placeholderStyle:u,customStyle:a,placeholder:"请输入身份证号",modelValue:n.value.identificationNumber}),h:e.p({prop:"identificationNumber"}),i:e.sr(i,"d82b9310-0",{k:"logFormRef"}),j:e.p({model:n.value}),k:e.o(s),l:e.o(l)})}},n=e._export_sfc(r,[["__scopeId","data-v-d82b9310"]]);wx.createPage(n); |
| 1 | -<view class="login-container data-v-46020ae0"><view class="login-box data-v-46020ae0"><up-form wx:if="{{j}}" class="r data-v-46020ae0" u-s="{{['d']}}" u-r="logFormRef" u-i="46020ae0-0" bind:__l="__l" u-p="{{j}}"><up-form-item wx:if="{{d}}" class="data-v-46020ae0" u-s="{{['d']}}" u-i="46020ae0-1,46020ae0-0" bind:__l="__l" u-p="{{d}}"><up-input wx:if="{{c}}" class="data-v-46020ae0" u-s="{{['prefix']}}" u-i="46020ae0-2,46020ae0-1" bind:__l="__l" bindupdateModelValue="{{b}}" u-p="{{c}}"><image class="data-v-46020ae0" style="width:32rpx;margin-right:18rpx;margin-top:10rpx" src="{{a}}" mode="widthFix" slot="prefix"></image></up-input></up-form-item><up-form-item wx:if="{{h}}" class="data-v-46020ae0" u-s="{{['d']}}" u-i="46020ae0-3,46020ae0-0" bind:__l="__l" u-p="{{h}}"><up-input wx:if="{{g}}" class="data-v-46020ae0" u-s="{{['prefix']}}" u-i="46020ae0-4,46020ae0-3" bind:__l="__l" bindupdateModelValue="{{f}}" u-p="{{g}}"><image class="data-v-46020ae0" style="width:32rpx;margin-right:18rpx;margin-top:10rpx" src="{{e}}" mode="widthFix" slot="prefix"></image></up-input></up-form-item></up-form></view><view class="tip data-v-46020ae0"> 未注册或绑定该车型平台的身份证号,将帮你注册新账号,点击登录即代表你同意<text class="data-v-46020ae0" style="color:#3680FE">《隐私政策》</text></view><view class="log-btn data-v-46020ae0" bindtap="{{k}}">登录</view></view> | ||
| 1 | +<view class="login-container data-v-d82b9310"><view class="login-box data-v-d82b9310"><up-form wx:if="{{j}}" class="r data-v-d82b9310" u-s="{{['d']}}" u-r="logFormRef" u-i="d82b9310-0" bind:__l="__l" u-p="{{j}}"><up-form-item wx:if="{{d}}" class="data-v-d82b9310" u-s="{{['d']}}" u-i="d82b9310-1,d82b9310-0" bind:__l="__l" u-p="{{d}}"><up-input wx:if="{{c}}" class="data-v-d82b9310" u-s="{{['prefix']}}" u-i="d82b9310-2,d82b9310-1" bind:__l="__l" bindupdateModelValue="{{b}}" u-p="{{c}}"><image class="data-v-d82b9310" style="width:32rpx;margin-right:18rpx;margin-top:10rpx" src="{{a}}" mode="widthFix" slot="prefix"></image></up-input></up-form-item><up-form-item wx:if="{{h}}" class="data-v-d82b9310" u-s="{{['d']}}" u-i="d82b9310-3,d82b9310-0" bind:__l="__l" u-p="{{h}}"><up-input wx:if="{{g}}" class="data-v-d82b9310" u-s="{{['prefix']}}" u-i="d82b9310-4,d82b9310-3" bind:__l="__l" bindupdateModelValue="{{f}}" u-p="{{g}}"><image class="data-v-d82b9310" style="width:32rpx;margin-right:18rpx;margin-top:10rpx" src="{{e}}" mode="widthFix" slot="prefix"></image></up-input></up-form-item></up-form></view><view class="tip data-v-d82b9310"> 未注册或绑定该车型平台的身份证号,将帮你注册新账号,点击登录即代表你同意<text class="data-v-d82b9310" style="color:#3680FE" bindtap="{{k}}">《隐私政策》</text></view><view class="log-btn data-v-d82b9310" bindtap="{{l}}">登录</view></view> |
| 1 | -.login-container.data-v-46020ae0{width:100%;height:100vh;background:url(http://bxhd.crgx.net/profile/avatar/2024/09/25/bg-login_20240925112841A003.png) no-repeat;background-size:100% 100%;overflow:hidden}.login-container .login-box.data-v-46020ae0{width:690rpx;padding:40rpx 44rpx;background-color:#fff;z-index:10;margin:442rpx auto 40rpx;box-shadow:0 8rpx 40rpx rgba(10,22,44,.06);border-radius:40rpx}.login-container .tip.data-v-46020ae0{color:#666;font-size:24rpx;line-height:28rpx;padding:0 40rpx;margin-bottom:20rpx}.login-container .log-btn.data-v-46020ae0{width:690rpx;height:80rpx;line-height:80rpx;text-align:center;background:#3680fe;font-size:28rpx;margin:0 auto;color:#fff;box-shadow:0 8rpx 40rpx rgba(10,22,44,.06);border-radius:200rpx} | 1 | +.login-container.data-v-d82b9310{width:100%;height:100vh;background:url(http://bxhd.crgx.net/profile/avatar/2024/09/25/bg-login_20240925112841A003.png) no-repeat;background-size:100% 100%;overflow:hidden}.login-container .login-box.data-v-d82b9310{width:690rpx;padding:40rpx 44rpx;background-color:#fff;z-index:10;margin:442rpx auto 40rpx;box-shadow:0 8rpx 40rpx rgba(10,22,44,.06);border-radius:40rpx}.login-container .login-box .employeeStatus.data-v-d82b9310{display:flex;align-items:center;gap:40rpx;margin-top:30rpx}.login-container .login-box .employeeStatus .btn.data-v-d82b9310{flex:1;height:80rpx;background:#fff;border-radius:200rpx;border:2rpx solid #BBBBBB;font-size:28rpx;text-align:center;line-height:80rpx;color:#999}.login-container .login-box .employeeStatus .btn.active.data-v-d82b9310{background:#75a8ff;color:#fff}.login-container .tip.data-v-d82b9310{color:#666;font-size:24rpx;line-height:28rpx;padding:0 40rpx;margin-bottom:20rpx}.login-container .log-btn.data-v-d82b9310{width:690rpx;height:80rpx;line-height:80rpx;text-align:center;background:#3680fe;font-size:28rpx;margin:0 auto;color:#fff;box-shadow:0 8rpx 40rpx rgba(10,22,44,.06);border-radius:200rpx} |
| 1 | -"use strict";const e=require("../../common/vendor.js"),r=require("../../common/assets.js");if(!Array){(e.resolveComponent("up-navbar")+e.resolveComponent("up-input")+e.resolveComponent("up-form-item")+e.resolveComponent("up-form"))()}Math||((()=>"../../uni_modules/uview-plus/components/u-navbar/u-navbar.js")+(()=>"../../uni_modules/uview-plus/components/u-input/u-input.js")+(()=>"../../uni_modules/uview-plus/components/u-form-item/u-form-item.js")+(()=>"../../uni_modules/uview-plus/components/u-form/u-form.js")+a+o)();const o=()=>"../../components/centerLine.js",a=()=>"../../components/navTop.js",n={__name:"my",setup(o){e.ref(!0);const a=e.ref([{carId:1,carNum:"桂A·66666",carBrand:"梅赛德斯奔驰",address:"广西壮族自治区 南宁市 兴宁区投保",status:0},{carId:2,carNum:"桂A·77777",carBrand:"梅赛德斯奔驰",address:"广西壮族自治区 南宁市 兴宁区投保",status:1},{carId:3,carNum:"桂A·77777",carBrand:"梅赛德斯奔驰",address:"广西壮族自治区 南宁市 兴宁区投保",status:2}]),n=e.ref({name:"",identificationNumber:"",phone:""}),t={height:"80rpx",backgroundColor:"#F9F9F9",paddingLeft:"40rpx"},s={color:"#bbb",fontSize:"28rpx"},u=e.ref(null),i={name:[{required:!0,message:"请输入姓名",trigger:["blur","change"]},{min:2,max:6,message:"名字应在2到6个字",trigger:["blur","change"]},{validator:(r,o,a)=>e.index.$u.test.chinese(o),message:"请输入中文",trigger:["change","blur"]}],identificationNumber:[{required:!0,message:"请输入身份证号",trigger:["blur","change"]},{validator:(r,o,a)=>e.index.$u.test.idCard(o),message:"身份证号码不正确",trigger:["change","blur"]}],phone:[{required:!0,message:"请输入手机号",trigger:["blur","change"]},{validator:(r,o,a)=>e.index.$u.test.mobile(o),message:"手机号码不正确",trigger:["change","blur"]}]};e.onReady((()=>{u.value.setRules(i)}));const l=()=>{e.index.navigateTo({url:"/pages/carDetail/carDetail"})};return(o,i)=>({a:e.p({placeholder:!0,leftIconSize:0,bgColor:"transparent"}),b:r._imports_0,c:e.o((e=>n.value.name=e)),d:e.p({shape:"circle",border:"none",fontSize:"28rpx",color:"#bbb",placeholderStyle:s,customStyle:t,placeholder:"请输入真实姓名",modelValue:n.value.name}),e:e.p({prop:"name"}),f:r._imports_1,g:e.o((e=>n.value.identificationNumber=e)),h:e.p({shape:"circle",border:"none",fontSize:"28rpx",color:"#bbb",placeholderStyle:s,customStyle:t,placeholder:"请输入身份证号",modelValue:n.value.identificationNumber}),i:e.p({prop:"identificationNumber"}),j:r._imports_1,k:e.o((e=>n.value.phone=e)),l:e.p({shape:"circle",border:"none",fontSize:"28rpx",color:"#bbb",placeholderStyle:s,customStyle:t,placeholder:"请输入身份证号",modelValue:n.value.phone}),m:e.p({prop:"phone"}),n:e.sr(u,"43c548c7-1",{k:"userFormRef"}),o:e.p({model:n.value}),p:e.f(a.value,((r,o,a)=>({a:"43c548c7-8-"+a,b:e.p({carNum:r.carNum}),c:"43c548c7-9-"+a,d:e.p({leftContent:r.carBrand,fontColor:"#999",rightContent:r.address}),e:r.carId}))),q:e.o(l)})}},t=e._export_sfc(n,[["__scopeId","data-v-43c548c7"]]);wx.createPage(t); | 1 | +"use strict";const e=require("../../common/vendor.js"),r=require("../../common/assets.js");if(!Array){(e.resolveComponent("up-navbar")+e.resolveComponent("u-icon")+e.resolveComponent("up-input")+e.resolveComponent("up-form-item")+e.resolveComponent("up-form"))()}Math||((()=>"../../uni_modules/uview-plus/components/u-navbar/u-navbar.js")+(()=>"../../uni_modules/uview-plus/components/u-icon/u-icon.js")+(()=>"../../uni_modules/uview-plus/components/u-input/u-input.js")+(()=>"../../uni_modules/uview-plus/components/u-form-item/u-form-item.js")+(()=>"../../uni_modules/uview-plus/components/u-form/u-form.js")+n+o)();const o=()=>"../../components/centerLine.js",n=()=>"../../components/navTop.js",a={__name:"my",setup(o){e.ref(!0);const n=e.ref([{carId:1,carNum:"桂A·66666",carBrand:"梅赛德斯奔驰",address:"广西壮族自治区 南宁市 兴宁区投保",status:0},{carId:2,carNum:"桂A·77777",carBrand:"梅赛德斯奔驰",address:"广西壮族自治区 南宁市 兴宁区投保",status:1},{carId:3,carNum:"桂A·77777",carBrand:"梅赛德斯奔驰",address:"广西壮族自治区 南宁市 兴宁区投保",status:2}]),a=e.ref({name:"",identificationNumber:"",phone:""}),t={height:"80rpx",backgroundColor:"#F9F9F9",paddingLeft:"40rpx"},s={color:"#bbb",fontSize:"28rpx"},u=e.ref(null),i={name:[{required:!0,message:"请输入姓名",trigger:["blur","change"]},{min:2,max:6,message:"名字应在2到6个字",trigger:["blur","change"]},{validator:(r,o,n)=>e.index.$u.test.chinese(o),message:"请输入中文",trigger:["change","blur"]}],identificationNumber:[{required:!0,message:"请输入身份证号",trigger:["blur","change"]},{validator:(r,o,n)=>e.index.$u.test.idCard(o),message:"身份证号码不正确",trigger:["change","blur"]}],phone:[{required:!0,message:"请输入手机号",trigger:["blur","change"]},{validator:(r,o,n)=>e.index.$u.test.mobile(o),message:"手机号码不正确",trigger:["change","blur"]}]};e.onReady((()=>{u.value.setRules(i)}));const l=()=>{e.index.navigateTo({url:"/pages/carDetail/carDetail"})};return(o,i)=>({a:e.p({placeholder:!0,leftIconSize:0,bgColor:"transparent"}),b:e.p({name:"checkmark-circle",size:"16",color:"#fff"}),c:r._imports_0,d:e.o((e=>a.value.name=e)),e:e.p({shape:"circle",border:"none",fontSize:"28rpx",color:"#bbb",placeholderStyle:s,customStyle:t,placeholder:"请输入真实姓名",modelValue:a.value.name}),f:e.p({prop:"name"}),g:r._imports_1,h:e.o((e=>a.value.identificationNumber=e)),i:e.p({shape:"circle",border:"none",fontSize:"28rpx",color:"#bbb",placeholderStyle:s,customStyle:t,placeholder:"请输入身份证号",modelValue:a.value.identificationNumber}),j:e.p({prop:"identificationNumber"}),k:r._imports_1,l:e.o((e=>a.value.phone=e)),m:e.p({shape:"circle",border:"none",fontSize:"28rpx",color:"#bbb",placeholderStyle:s,customStyle:t,placeholder:"请输入身份证号",modelValue:a.value.phone}),n:e.p({prop:"phone"}),o:e.sr(u,"4f11383f-2",{k:"userFormRef"}),p:e.p({model:a.value}),q:e.f(n.value,((r,o,n)=>({a:"4f11383f-9-"+n,b:e.p({carNum:r.carNum}),c:"4f11383f-10-"+n,d:e.p({leftContent:r.carBrand,fontColor:"#999",rightContent:r.address}),e:r.carId}))),r:e.o(l)})}},t=e._export_sfc(a,[["__scopeId","data-v-4f11383f"]]);wx.createPage(t); |
| @@ -3,6 +3,7 @@ | @@ -3,6 +3,7 @@ | ||
| 3 | "navigationStyle": "custom", | 3 | "navigationStyle": "custom", |
| 4 | "usingComponents": { | 4 | "usingComponents": { |
| 5 | "up-navbar": "../../uni_modules/uview-plus/components/u-navbar/u-navbar", | 5 | "up-navbar": "../../uni_modules/uview-plus/components/u-navbar/u-navbar", |
| 6 | + "u-icon": "../../uni_modules/uview-plus/components/u-icon/u-icon", | ||
| 6 | "up-input": "../../uni_modules/uview-plus/components/u-input/u-input", | 7 | "up-input": "../../uni_modules/uview-plus/components/u-input/u-input", |
| 7 | "up-form-item": "../../uni_modules/uview-plus/components/u-form-item/u-form-item", | 8 | "up-form-item": "../../uni_modules/uview-plus/components/u-form-item/u-form-item", |
| 8 | "up-form": "../../uni_modules/uview-plus/components/u-form/u-form", | 9 | "up-form": "../../uni_modules/uview-plus/components/u-form/u-form", |
| 1 | -<view class="app-container data-v-43c548c7"><up-navbar wx:if="{{a}}" class="data-v-43c548c7" u-i="43c548c7-0" bind:__l="__l" u-p="{{a}}"/><view class="car_list data-v-43c548c7"><view class="line_title data-v-43c548c7"><text class="left_title data-v-43c548c7" style="color:#fff">我的信息</text><text class="data-v-43c548c7" style="color:#fff">去实名认证</text></view><view class="user-box data-v-43c548c7"><up-form wx:if="{{o}}" class="r data-v-43c548c7" u-s="{{['d']}}" u-r="userFormRef" u-i="43c548c7-1" bind:__l="__l" u-p="{{o}}"><up-form-item wx:if="{{e}}" class="data-v-43c548c7" u-s="{{['d']}}" u-i="43c548c7-2,43c548c7-1" bind:__l="__l" u-p="{{e}}"><up-input wx:if="{{d}}" class="data-v-43c548c7" u-s="{{['prefix']}}" u-i="43c548c7-3,43c548c7-2" bind:__l="__l" bindupdateModelValue="{{c}}" u-p="{{d}}"><image class="data-v-43c548c7" style="width:32rpx;margin-right:18rpx;margin-top:10rpx" src="{{b}}" mode="widthFix" slot="prefix"></image></up-input></up-form-item><up-form-item wx:if="{{i}}" class="data-v-43c548c7" u-s="{{['d']}}" u-i="43c548c7-4,43c548c7-1" bind:__l="__l" u-p="{{i}}"><up-input wx:if="{{h}}" class="data-v-43c548c7" u-s="{{['prefix']}}" u-i="43c548c7-5,43c548c7-4" bind:__l="__l" bindupdateModelValue="{{g}}" u-p="{{h}}"><image class="data-v-43c548c7" style="width:32rpx;margin-right:18rpx;margin-top:10rpx" src="{{f}}" mode="widthFix" slot="prefix"></image></up-input></up-form-item><up-form-item wx:if="{{m}}" class="data-v-43c548c7" u-s="{{['d']}}" u-i="43c548c7-6,43c548c7-1" bind:__l="__l" u-p="{{m}}"><up-input wx:if="{{l}}" class="data-v-43c548c7" u-s="{{['prefix']}}" u-i="43c548c7-7,43c548c7-6" bind:__l="__l" bindupdateModelValue="{{k}}" u-p="{{l}}"><image class="data-v-43c548c7" style="width:32rpx;margin-right:18rpx;margin-top:10rpx" src="{{j}}" mode="widthFix" slot="prefix"></image></up-input></up-form-item></up-form></view><view class="line_title data-v-43c548c7"><text class="left_title data-v-43c548c7">我的车辆</text><text class="data-v-43c548c7">去修改车辆信息</text></view><view class="car_data data-v-43c548c7"><view wx:for="{{p}}" wx:for-item="carItem" wx:key="e" class="car_item data-v-43c548c7"><nav-top wx:if="{{carItem.b}}" class="data-v-43c548c7" u-i="{{carItem.a}}" bind:__l="__l" u-p="{{carItem.b}}"/><center-line wx:if="{{carItem.d}}" class="data-v-43c548c7" u-i="{{carItem.c}}" bind:__l="__l" u-p="{{carItem.d}}"/></view></view><view class="loginBtn data-v-43c548c7" bindtap="{{q}}">退出登录</view></view></view> | ||
| 1 | +<view class="app-container data-v-4f11383f"><up-navbar wx:if="{{a}}" class="data-v-4f11383f" u-i="4f11383f-0" bind:__l="__l" u-p="{{a}}"/><view class="car_list data-v-4f11383f"><view class="line_title data-v-4f11383f"><text class="left_title data-v-4f11383f" style="color:#fff">我的信息</text><view class="data-v-4f11383f" style="display:flex;align-items:center"><u-icon wx:if="{{b}}" class="data-v-4f11383f" u-i="4f11383f-1" bind:__l="__l" u-p="{{b}}"></u-icon><text class="data-v-4f11383f" style="color:#fff;margin-left:10rpx">更新实名信息</text></view></view><view class="user-box data-v-4f11383f"><up-form wx:if="{{p}}" class="r data-v-4f11383f" u-s="{{['d']}}" u-r="userFormRef" u-i="4f11383f-2" bind:__l="__l" u-p="{{p}}"><up-form-item wx:if="{{f}}" class="data-v-4f11383f" u-s="{{['d']}}" u-i="4f11383f-3,4f11383f-2" bind:__l="__l" u-p="{{f}}"><up-input wx:if="{{e}}" class="data-v-4f11383f" u-s="{{['prefix']}}" u-i="4f11383f-4,4f11383f-3" bind:__l="__l" bindupdateModelValue="{{d}}" u-p="{{e}}"><image class="data-v-4f11383f" style="width:32rpx;margin-right:18rpx;margin-top:10rpx" src="{{c}}" mode="widthFix" slot="prefix"></image></up-input></up-form-item><up-form-item wx:if="{{j}}" class="data-v-4f11383f" u-s="{{['d']}}" u-i="4f11383f-5,4f11383f-2" bind:__l="__l" u-p="{{j}}"><up-input wx:if="{{i}}" class="data-v-4f11383f" u-s="{{['prefix']}}" u-i="4f11383f-6,4f11383f-5" bind:__l="__l" bindupdateModelValue="{{h}}" u-p="{{i}}"><image class="data-v-4f11383f" style="width:32rpx;margin-right:18rpx;margin-top:10rpx" src="{{g}}" mode="widthFix" slot="prefix"></image></up-input></up-form-item><up-form-item wx:if="{{n}}" class="data-v-4f11383f" u-s="{{['d']}}" u-i="4f11383f-7,4f11383f-2" bind:__l="__l" u-p="{{n}}"><up-input wx:if="{{m}}" class="data-v-4f11383f" u-s="{{['prefix']}}" u-i="4f11383f-8,4f11383f-7" bind:__l="__l" bindupdateModelValue="{{l}}" u-p="{{m}}"><image class="data-v-4f11383f" style="width:32rpx;margin-right:18rpx;margin-top:10rpx" src="{{k}}" mode="widthFix" slot="prefix"></image></up-input></up-form-item></up-form></view><view class="line_title data-v-4f11383f"><text class="left_title data-v-4f11383f">我的车辆</text><text class="data-v-4f11383f">去修改车辆信息</text></view><view class="car_data data-v-4f11383f"><view wx:for="{{q}}" wx:for-item="carItem" wx:key="e" class="car_item data-v-4f11383f"><nav-top wx:if="{{carItem.b}}" class="data-v-4f11383f" u-i="{{carItem.a}}" bind:__l="__l" u-p="{{carItem.b}}"/><center-line wx:if="{{carItem.d}}" class="data-v-4f11383f" u-i="{{carItem.c}}" bind:__l="__l" u-p="{{carItem.d}}"/></view></view><view class="loginBtn data-v-4f11383f" bindtap="{{r}}">退出登录</view></view></view> |
| 1 | -.app-container.data-v-43c548c7{width:100%;height:100vh;padding:0 30rpx;background:url(http://bxhd.crgx.net/profile/avatar/2024/09/25/bg-index_20240925113012A004.png) no-repeat;background-size:100% 100%;overflow:hidden}.app-container .user-box.data-v-43c548c7{width:690rpx;padding:40rpx 44rpx;background-color:#fff;z-index:10;margin:0 auto 40rpx;box-shadow:0 8rpx 40rpx rgba(10,22,44,.06);border-radius:40rpx}.app-container .car_list.data-v-43c548c7{display:flex;flex-direction:column;gap:20rpx}.app-container .car_list .line_title.data-v-43c548c7{display:flex;justify-content:space-between;font-size:24rpx;color:#999;line-height:32rpx}.app-container .car_list .line_title .left_title.data-v-43c548c7{font-size:32rpx;line-height:42rpx;color:#333}.app-container .car_list .car_data.data-v-43c548c7{padding:0 30rpx;background:#fff;box-shadow:0 8rpx 40rpx rgba(10,22,44,.06);border-radius:40rpx;margin-bottom:60rpx}.app-container .car_list .car_data .car_item.data-v-43c548c7{padding:30rpx 0;border-bottom:2rpx solid #eee}.app-container .car_list .car_data .car_item.data-v-43c548c7:last-child{border-bottom:0}.app-container .car_list .loginBtn.data-v-43c548c7{width:100%;height:80rpx;line-height:80rpx;text-align:center;font-size:28rpx;color:#fff;font-weight:500;background:#3680fe;box-shadow:0 8rpx 40rpx rgba(10,22,44,.06);border-radius:40rpx} | 1 | +.app-container.data-v-4f11383f{width:100%;height:100vh;padding:0 30rpx;background:url(http://bxhd.crgx.net/profile/avatar/2024/09/25/bg-index_20240925113012A004.png) no-repeat;background-size:100% 100%;overflow:hidden}.app-container .user-box.data-v-4f11383f{width:690rpx;padding:40rpx 44rpx;background-color:#fff;z-index:10;margin:0 auto 40rpx;box-shadow:0 8rpx 40rpx rgba(10,22,44,.06);border-radius:40rpx}.app-container .car_list.data-v-4f11383f{display:flex;flex-direction:column;gap:20rpx}.app-container .car_list .line_title.data-v-4f11383f{display:flex;justify-content:space-between;font-size:24rpx;color:#999;line-height:32rpx}.app-container .car_list .line_title .left_title.data-v-4f11383f{font-size:32rpx;line-height:42rpx;color:#333}.app-container .car_list .car_data.data-v-4f11383f{padding:0 30rpx;background:#fff;box-shadow:0 8rpx 40rpx rgba(10,22,44,.06);border-radius:40rpx;margin-bottom:60rpx}.app-container .car_list .car_data .car_item.data-v-4f11383f{padding:30rpx 0;border-bottom:2rpx solid #eee}.app-container .car_list .car_data .car_item.data-v-4f11383f:last-child{border-bottom:0}.app-container .car_list .loginBtn.data-v-4f11383f{width:100%;height:80rpx;line-height:80rpx;text-align:center;font-size:28rpx;color:#fff;font-weight:500;background:#3680fe;box-shadow:0 8rpx 40rpx rgba(10,22,44,.06);border-radius:40rpx} |
| 1 | +"use strict";const e=require("../../common/vendor.js");if(!Array){e.resolveComponent("up-navbar")()}Math||((()=>"../../uni_modules/uview-plus/components/u-navbar/u-navbar.js")+t+o+a)();const t=()=>"../../components/navTop.js",o=()=>"../../components/ownerInfo.js",a=()=>"../../components/commentCard.js",n={__name:"ownerDetail",setup(t){e.useCssVars((e=>({"35c29f1d":r.value})));const o=e.ref(0),a=e.ref([{id:1,title:"进度汇报"},{id:2,title:"转单"},{id:3,title:"办结"}]),n={fontSize:"36rpx",color:"#fff",fontWeight:500},r=e.ref(0);return(t,s)=>({a:e.p({placeholder:!0,title:"车主详情",autoBack:!0,leftIconColor:"#fff",titleStyle:n,bgColor:"transparent"}),b:e.f(a.value,((t,a,n)=>({a:e.t(t.title),b:t.id,c:o.value===a?1:"",d:e.o((e=>(e=>{r.value=230*e+"rpx",o.value=e})(a)),t.id)}))),c:e.f(10,((e,t,o)=>({a:"771ec19c-3-"+o,b:e}))),d:e.s(t.__cssVars())})}},r=e._export_sfc(n,[["__scopeId","data-v-771ec19c"]]);wx.createPage(r); |
| 1 | +{ | ||
| 2 | + "navigationBarTitleText": "", | ||
| 3 | + "navigationStyle": "custom", | ||
| 4 | + "usingComponents": { | ||
| 5 | + "up-navbar": "../../uni_modules/uview-plus/components/u-navbar/u-navbar", | ||
| 6 | + "nav-top": "../../components/navTop", | ||
| 7 | + "owner-info": "../../components/ownerInfo", | ||
| 8 | + "comment-card": "../../components/commentCard" | ||
| 9 | + } | ||
| 10 | +} |
| 1 | +<view class="company_container data-v-771ec19c" style="{{d}}"><up-navbar wx:if="{{a}}" class="data-v-771ec19c" u-i="771ec19c-0" bind:__l="__l" u-p="{{a}}"/><view class="work_box data-v-771ec19c"><view class="ownerInfo data-v-771ec19c"><view class="header_info data-v-771ec19c"><nav-top class="data-v-771ec19c" u-i="771ec19c-1" bind:__l="__l"/><owner-info class="data-v-771ec19c" u-i="771ec19c-2" bind:__l="__l"/></view><view class="navlist data-v-771ec19c"><view wx:for="{{b}}" wx:for-item="item" wx:key="b" class="{{['nav_item', 'data-v-771ec19c', item.c && 'active']}}" bindtap="{{item.d}}">{{item.a}}</view><view class="line data-v-771ec19c"></view></view><view wx:for="{{c}}" wx:for-item="scheduleItem" wx:key="b" class="schedule data-v-771ec19c"><view class="applyTime data-v-771ec19c"><text class="li data-v-771ec19c"></text><text class="data-v-771ec19c">2024-09-09</text></view><comment-card class="data-v-771ec19c" u-i="{{scheduleItem.a}}" bind:__l="__l"/></view></view></view></view> |
| 1 | +.company_container.data-v-771ec19c{width:100%;height:100vh;background:url(http://bxhd.crgx.net/profile/avatar/2024/09/25/bg-index_20240925113012A004.png) no-repeat;background-size:100% 100%;overflow:hidden}.company_container .work_box.data-v-771ec19c{padding:20rpx 30rpx 180rpx;height:calc(100vh - 88rpx);background-color:#f8f9ff;overflow-y:scroll}.company_container .work_box .ownerInfo.data-v-771ec19c{background:#fff;box-shadow:0 8rpx 40rpx rgba(10,22,44,.06);border-radius:20rpx;overflow:hidden}.company_container .work_box .ownerInfo .header_info.data-v-771ec19c{padding:22rpx 30rpx}.navlist.data-v-771ec19c{position:relative;display:flex;align-items:center;height:58rpx}.navlist .line.data-v-771ec19c{position:absolute;bottom:0;left:var(--35c29f1d);width:230rpx;height:4rpx;background-color:#3680fe;transition:all .5s}.navlist .nav_item.data-v-771ec19c{flex:1;text-align:center;color:#999;font-size:24rpx;line-height:58rpx}.navlist .nav_item.active.data-v-771ec19c{color:#3680fe;font-weight:500}.schedule.data-v-771ec19c{padding:20rpx 30rpx 30rpx;border-bottom:2rpx solid #eee}.schedule .applyTime.data-v-771ec19c{display:flex;align-items:center;gap:20rpx;color:#3d3d3d;font-size:24rpx;line-height:32rpx;margin-bottom:20rpx}.schedule .applyTime .li.data-v-771ec19c{width:12rpx;height:12rpx;border-radius:50%;background-color:#3680fe}.schedule.data-v-771ec19c:last-child{border-bottom:0} |
| 1 | +"use strict";const e={};const r=require("../../common/vendor.js")._export_sfc(e,[["render",function(e,r){return{}}]]);wx.createPage(r); |
| 1 | +<view class="privacy"> 隐私政策 </view> |
| 1 | +"use strict";const e=require("../../common/vendor.js"),o=require("../../common/assets.js");if(!Array){(e.resolveComponent("up-input")+e.resolveComponent("up-form-item")+e.resolveComponent("up-form"))()}Math||((()=>"../../uni_modules/uview-plus/components/u-input/u-input.js")+(()=>"../../uni_modules/uview-plus/components/u-form-item/u-form-item.js")+(()=>"../../uni_modules/uview-plus/components/u-form/u-form.js"))();const r={__name:"realName",setup(r){const n=e.ref({name:"",identificationNumber:"",phone:""}),a=e.ref(null),i={name:[{required:!0,message:"请输入姓名",trigger:["blur","change"]},{min:2,max:6,message:"名字应在2到6个字",trigger:["blur","change"]},{validator:(o,r,n)=>e.index.$u.test.chinese(r),message:"请输入中文",trigger:["change","blur"]}],identificationNumber:[{required:!0,message:"请输入身份证号",trigger:["blur","change"]},{validator:(o,r,n)=>e.index.$u.test.idCard(r),message:"身份证号码不正确",trigger:["change","blur"]}],phone:[{required:!0,message:"请输入手机号",trigger:["blur","change"]},{validator:(o,r,n)=>e.index.$u.test.mobile(r),message:"手机号码不正确",trigger:["change","blur"]}]},t={height:"80rpx",backgroundColor:"#F9F9F9",paddingLeft:"40rpx"},l={color:"#bbb",fontSize:"28rpx"};e.onReady((()=>{a.value.setRules(i)}));const u=()=>{e.index.navigateTo({url:"/pages/privacy/privacy"})},s=()=>{a.value.validate().then((async o=>{o?(e.index.$u.toast("登录成功"),e.index.switchTab({url:"/pages/index/index"})):e.index.$u.toast("校验失败")})).catch((()=>{e.index.$u.toast("校验失败")}))};return(r,i)=>({a:o._imports_0,b:e.o((e=>n.value.name=e)),c:e.p({shape:"circle",border:"none",fontSize:"28rpx",color:"#bbb",placeholderStyle:l,customStyle:t,placeholder:"请输入真实姓名",modelValue:n.value.name}),d:e.p({prop:"name"}),e:o._imports_1,f:e.o((e=>n.value.identificationNumber=e)),g:e.p({shape:"circle",border:"none",fontSize:"28rpx",color:"#bbb",placeholderStyle:l,customStyle:t,placeholder:"请输入身份证号",modelValue:n.value.identificationNumber}),h:e.p({prop:"identificationNumber"}),i:o._imports_2,j:e.o((e=>n.value.phone=e)),k:e.p({shape:"circle",border:"none",fontSize:"28rpx",color:"#bbb",placeholderStyle:l,customStyle:t,placeholder:"请输入手机号码",modelValue:n.value.phone}),l:e.p({prop:"phone"}),m:e.sr(a,"c1dd4c02-0",{k:"logFormRef"}),n:e.p({model:n.value}),o:e.o(u),p:e.o(s)})}},n=e._export_sfc(r,[["__scopeId","data-v-c1dd4c02"]]);wx.createPage(n); |
| 1 | +{ | ||
| 2 | + "navigationBarTitleText": "", | ||
| 3 | + "navigationStyle": "custom", | ||
| 4 | + "usingComponents": { | ||
| 5 | + "up-input": "../../uni_modules/uview-plus/components/u-input/u-input", | ||
| 6 | + "up-form-item": "../../uni_modules/uview-plus/components/u-form-item/u-form-item", | ||
| 7 | + "up-form": "../../uni_modules/uview-plus/components/u-form/u-form" | ||
| 8 | + } | ||
| 9 | +} |
| 1 | +<view class="login-container data-v-c1dd4c02"><view class="title data-v-c1dd4c02">实名认证</view><view class="line data-v-c1dd4c02"></view><view class="login-box data-v-c1dd4c02"><up-form wx:if="{{n}}" class="r data-v-c1dd4c02" u-s="{{['d']}}" u-r="logFormRef" u-i="c1dd4c02-0" bind:__l="__l" u-p="{{n}}"><up-form-item wx:if="{{d}}" class="data-v-c1dd4c02" u-s="{{['d']}}" u-i="c1dd4c02-1,c1dd4c02-0" bind:__l="__l" u-p="{{d}}"><up-input wx:if="{{c}}" class="data-v-c1dd4c02" u-s="{{['prefix']}}" u-i="c1dd4c02-2,c1dd4c02-1" bind:__l="__l" bindupdateModelValue="{{b}}" u-p="{{c}}"><image class="data-v-c1dd4c02" style="width:32rpx;margin-right:18rpx;margin-top:10rpx" src="{{a}}" mode="widthFix" slot="prefix"></image></up-input></up-form-item><up-form-item wx:if="{{h}}" class="data-v-c1dd4c02" u-s="{{['d']}}" u-i="c1dd4c02-3,c1dd4c02-0" bind:__l="__l" u-p="{{h}}"><up-input wx:if="{{g}}" class="data-v-c1dd4c02" u-s="{{['prefix']}}" u-i="c1dd4c02-4,c1dd4c02-3" bind:__l="__l" bindupdateModelValue="{{f}}" u-p="{{g}}"><image class="data-v-c1dd4c02" style="width:32rpx;margin-right:18rpx;margin-top:10rpx" src="{{e}}" mode="widthFix" slot="prefix"></image></up-input></up-form-item><up-form-item wx:if="{{l}}" class="data-v-c1dd4c02" u-s="{{['d']}}" u-i="c1dd4c02-5,c1dd4c02-0" bind:__l="__l" u-p="{{l}}"><up-input wx:if="{{k}}" class="data-v-c1dd4c02" u-s="{{['prefix']}}" u-i="c1dd4c02-6,c1dd4c02-5" bind:__l="__l" bindupdateModelValue="{{j}}" u-p="{{k}}"><image class="data-v-c1dd4c02" style="width:32rpx;margin-right:18rpx;margin-top:10rpx" src="{{i}}" mode="widthFix" slot="prefix"></image></up-input></up-form-item></up-form></view><view class="tip data-v-c1dd4c02"> 未注册或绑定该车型平台的身份证号,将帮你注册新账号,点击登录即代表你同意<text class="data-v-c1dd4c02" style="color:#3680FE" bindtap="{{o}}">《隐私政策》</text></view><view class="log-btn data-v-c1dd4c02" bindtap="{{p}}">登录</view></view> |
| 1 | +.login-container.data-v-c1dd4c02{position:relative;width:100%;height:100vh;background:url(http://bxhd.crgx.net/profile/avatar/2024/09/25/bg-login_20240925112841A003.png) no-repeat;background-size:100% 100%;overflow:hidden}.login-container .title.data-v-c1dd4c02{position:absolute;top:232rpx;left:30rpx;font-size:48rpx;line-height:64rpx;color:#fff;font-weight:500}.login-container .line.data-v-c1dd4c02{position:absolute;top:326rpx;left:30rpx;width:40rpx;height:6rpx;background:#fff}.login-container .login-box.data-v-c1dd4c02{width:690rpx;padding:40rpx 44rpx;background-color:#fff;z-index:10;margin:442rpx auto 40rpx;box-shadow:0 8rpx 40rpx rgba(10,22,44,.06);border-radius:40rpx}.login-container .login-box .employeeStatus.data-v-c1dd4c02{display:flex;align-items:center;gap:40rpx;margin-top:30rpx}.login-container .login-box .employeeStatus .btn.data-v-c1dd4c02{flex:1;height:80rpx;background:#fff;border-radius:200rpx;border:2rpx solid #BBBBBB;font-size:28rpx;text-align:center;line-height:80rpx;color:#999}.login-container .login-box .employeeStatus .btn.active.data-v-c1dd4c02{background:#75a8ff;color:#fff}.login-container .tip.data-v-c1dd4c02{color:#666;font-size:24rpx;line-height:28rpx;padding:0 40rpx;margin-bottom:20rpx}.login-container .log-btn.data-v-c1dd4c02{width:690rpx;height:80rpx;line-height:80rpx;text-align:center;background:#3680fe;font-size:28rpx;margin:0 auto;color:#fff;box-shadow:0 8rpx 40rpx rgba(10,22,44,.06);border-radius:200rpx} |
| 1 | +"use strict";const e=require("../../common/vendor.js"),a=require("../../common/assets.js"),r=require("../../store/modules/tabbar.js");if(!Array){(e.resolveComponent("up-navbar")+e.resolveComponent("up-tabbar-item")+e.resolveComponent("up-tabbar"))()}Math||((()=>"../../uni_modules/uview-plus/components/u-navbar/u-navbar.js")+t+o+m+c+(()=>"../../uni_modules/uview-plus/components/u-tabbar-item/u-tabbar-item.js")+(()=>"../../uni_modules/uview-plus/components/u-tabbar/u-tabbar.js"))();const c=()=>"../../components/carCard.js",t=()=>"../../components/navTop.js",o=()=>"../../components/wordInfo.js",m=()=>"../../components/operateList.js",n={__name:"societyHome",setup(c){const t=r.useTabbarStore(),o=e.ref([{carId:1,carNum:"桂A·66666",carType:"奔驰C级",name:"张三",createTime:"2024-09-08 10:12"},{carId:2,carNum:"桂A·77777",carType:"奔驰C级",name:"李四",createTime:"2024-09-08 10:12"},{carId:3,carNum:"桂A·77777",carType:"梅赛德斯奔驰",name:"王五",createTime:"2024-09-08 10:12"},{carId:4,carNum:"桂A·77777",carType:"梅赛德斯奔驰",name:"王五",createTime:"2024-09-08 10:12"},{carId:5,carNum:"桂A·77777",carType:"梅赛德斯奔驰",name:"王五",createTime:"2024-09-08 10:12"},{carId:6,carNum:"桂A·77777",carType:"梅赛德斯奔驰",name:"王五",createTime:"2024-09-08 10:12"},{carId:7,carNum:"桂A·77777",carType:"梅赛德斯奔驰",name:"王五",createTime:"2024-09-08 10:12"},{carId:8,carNum:"桂A·77777",carType:"梅赛德斯奔驰",name:"王五",createTime:"2024-09-08 10:12"},{carId:9,carNum:"桂A·77777",carType:"梅赛德斯奔驰",name:"王五",createTime:"2024-09-08 10:12"},{carId:10,carNum:"桂A·77777",carType:"梅赛德斯奔驰",name:"王五",createTime:"2024-09-08 10:12"},{carId:11,carNum:"桂A·77777",carType:"梅赛德斯奔驰",name:"王五",createTime:"2024-09-08 10:12"}]),m=a=>{t.societyCurrent=a,e.index.redirectTo({url:"/pages/societyMy/societyMy"})};return(r,c)=>({a:e.p({placeholder:!0,leftIconSize:0,bgColor:"transparent"}),b:e.f(o.value,((a,r,c)=>({a:"ee1a1292-2-"+c+",ee1a1292-1-"+c,b:e.p({carNum:a.carNum}),c:"ee1a1292-3-"+c+",ee1a1292-1-"+c,d:e.p({carType:a.carType,userName:a.name,applyTime:a.createTime}),e:"ee1a1292-4-"+c+",ee1a1292-1-"+c,f:a.carId,g:"ee1a1292-1-"+c,h:e.p({tipContent:"待办",carInfo:a})}))),c:e.p({text:"主页",icon:"home",badge:"11"}),d:a._imports_0$1,e:a._imports_1$1,f:e.o(m),g:e.p({text:"我的",icon:"account"}),h:e.p({value:e.unref(t).societyCurrent,activeColor:"#3680FE",inactiveColor:"#707070"})})}},s=e._export_sfc(n,[["__scopeId","data-v-ee1a1292"]]);wx.createPage(s); |
| 1 | +{ | ||
| 2 | + "navigationBarTitleText": "", | ||
| 3 | + "navigationStyle": "custom", | ||
| 4 | + "usingComponents": { | ||
| 5 | + "up-navbar": "../../uni_modules/uview-plus/components/u-navbar/u-navbar", | ||
| 6 | + "up-tabbar-item": "../../uni_modules/uview-plus/components/u-tabbar-item/u-tabbar-item", | ||
| 7 | + "up-tabbar": "../../uni_modules/uview-plus/components/u-tabbar/u-tabbar", | ||
| 8 | + "car-card": "../../components/carCard", | ||
| 9 | + "nav-top": "../../components/navTop", | ||
| 10 | + "word-info": "../../components/wordInfo", | ||
| 11 | + "operate-list": "../../components/operateList" | ||
| 12 | + } | ||
| 13 | +} |
| 1 | +<view class="company_container data-v-ee1a1292"><up-navbar wx:if="{{a}}" class="data-v-ee1a1292" u-i="ee1a1292-0" bind:__l="__l" u-p="{{a}}"/><view class="work_box data-v-ee1a1292"><view class="work_list data-v-ee1a1292"><car-card wx:for="{{b}}" wx:for-item="carItem" wx:key="f" class="data-v-ee1a1292" u-s="{{['header','center','footer']}}" u-i="{{carItem.g}}" bind:__l="__l" u-p="{{carItem.h}}"><nav-top class="data-v-ee1a1292" u-i="{{carItem.a}}" bind:__l="__l" u-p="{{carItem.b}}" slot="header"/><word-info class="data-v-ee1a1292" u-i="{{carItem.c}}" bind:__l="__l" u-p="{{carItem.d}}" slot="center"/><operate-list class="data-v-ee1a1292" u-i="{{carItem.e}}" bind:__l="__l" slot="footer"/></car-card></view></view><up-tabbar wx:if="{{h}}" class="data-v-ee1a1292" u-s="{{['d']}}" u-i="ee1a1292-5" bind:__l="__l" u-p="{{h}}"><up-tabbar-item wx:if="{{c}}" class="data-v-ee1a1292" u-i="ee1a1292-6,ee1a1292-5" bind:__l="__l" u-p="{{c}}"></up-tabbar-item><up-tabbar-item wx:if="{{g}}" class="data-v-ee1a1292" u-s="{{['active-icon','inactive-icon']}}" bindclick="{{f}}" u-i="ee1a1292-7,ee1a1292-5" bind:__l="__l" u-p="{{g}}"><image style="width:48rpx" class="u-page__item__slot-icon data-v-ee1a1292" src="{{d}}" mode="widthFix" slot="active-icon"></image><image style="width:48rpx" class="u-page__item__slot-icon data-v-ee1a1292" src="{{e}}" mode="widthFix" slot="inactive-icon"></image></up-tabbar-item></up-tabbar></view> |
| 1 | +.company_container.data-v-ee1a1292{width:100%;height:100vh;background:url(http://bxhd.crgx.net/profile/avatar/2024/09/25/bg-index_20240925113012A004.png) no-repeat;background-size:100% 100%;overflow:hidden}.company_container .work_box.data-v-ee1a1292{padding:20rpx 30rpx 250rpx;height:calc(100vh - 88rpx);background-color:#f8f9ff;overflow-y:scroll}.company_container .work_box .work_list.data-v-ee1a1292{display:flex;flex-direction:column;gap:20rpx} |
| 1 | +"use strict";const e=require("../../common/vendor.js"),o=require("../../common/assets.js"),r=require("../../store/modules/tabbar.js");if(!Array){(e.resolveComponent("up-navbar")+e.resolveComponent("up-input")+e.resolveComponent("up-form-item")+e.resolveComponent("up-form")+e.resolveComponent("up-tabbar-item")+e.resolveComponent("up-tabbar"))()}Math||((()=>"../../uni_modules/uview-plus/components/u-navbar/u-navbar.js")+(()=>"../../uni_modules/uview-plus/components/u-input/u-input.js")+(()=>"../../uni_modules/uview-plus/components/u-form-item/u-form-item.js")+(()=>"../../uni_modules/uview-plus/components/u-form/u-form.js")+(()=>"../../uni_modules/uview-plus/components/u-tabbar-item/u-tabbar-item.js")+(()=>"../../uni_modules/uview-plus/components/u-tabbar/u-tabbar.js"))();const t={__name:"societyMy",setup(t){const n=r.useTabbarStore();e.ref(!0);const a=e.ref({name:"",identificationNumber:"",phone:""}),u={height:"80rpx",backgroundColor:"#F9F9F9",paddingLeft:"40rpx"},i={color:"#bbb",fontSize:"28rpx"},s=e.ref(null),l={name:[{required:!0,message:"请输入姓名",trigger:["blur","change"]},{min:2,max:6,message:"名字应在2到6个字",trigger:["blur","change"]},{validator:(o,r,t)=>e.index.$u.test.chinese(r),message:"请输入中文",trigger:["change","blur"]}],identificationNumber:[{required:!0,message:"请输入身份证号",trigger:["blur","change"]},{validator:(o,r,t)=>e.index.$u.test.idCard(r),message:"身份证号码不正确",trigger:["change","blur"]}],phone:[{required:!0,message:"请输入手机号",trigger:["blur","change"]},{validator:(o,r,t)=>e.index.$u.test.mobile(r),message:"手机号码不正确",trigger:["change","blur"]}]};e.onReady((()=>{s.value.setRules(l)}));const p=()=>{},m=o=>{n.societyCurrent=o,e.index.redirectTo({url:"/pages/societyHome/societyHome"})};return(r,t)=>({a:e.p({placeholder:!0,leftIconSize:0,bgColor:"transparent"}),b:o._imports_0,c:e.o((e=>a.value.name=e)),d:e.p({shape:"circle",border:"none",fontSize:"28rpx",color:"#bbb",placeholderStyle:i,customStyle:u,placeholder:"请输入真实姓名",modelValue:a.value.name}),e:e.p({prop:"name"}),f:o._imports_1,g:e.o((e=>a.value.identificationNumber=e)),h:e.p({shape:"circle",border:"none",fontSize:"28rpx",color:"#bbb",placeholderStyle:i,customStyle:u,placeholder:"请输入身份证号",modelValue:a.value.identificationNumber}),i:e.p({prop:"identificationNumber"}),j:o._imports_2,k:e.o((e=>a.value.phone=e)),l:e.p({shape:"circle",border:"none",fontSize:"28rpx",color:"#bbb",placeholderStyle:i,customStyle:u,placeholder:"请输入手机号码",modelValue:a.value.phone}),m:e.p({prop:"phone"}),n:e.sr(s,"8ec58af0-1",{k:"userFormRef"}),o:e.p({model:a.value}),p:e.o(p),q:e.o(m),r:e.p({text:"主页",icon:"home"}),s:e.p({text:"我的",icon:"account"}),t:e.p({value:e.unref(n).societyCurrent,activeColor:"#3680FE",inactiveColor:"#707070"})})}},n=e._export_sfc(t,[["__scopeId","data-v-8ec58af0"]]);wx.createPage(n); |
| 1 | +{ | ||
| 2 | + "navigationBarTitleText": "", | ||
| 3 | + "navigationStyle": "custom", | ||
| 4 | + "usingComponents": { | ||
| 5 | + "up-navbar": "../../uni_modules/uview-plus/components/u-navbar/u-navbar", | ||
| 6 | + "up-input": "../../uni_modules/uview-plus/components/u-input/u-input", | ||
| 7 | + "up-form-item": "../../uni_modules/uview-plus/components/u-form-item/u-form-item", | ||
| 8 | + "up-form": "../../uni_modules/uview-plus/components/u-form/u-form", | ||
| 9 | + "up-tabbar-item": "../../uni_modules/uview-plus/components/u-tabbar-item/u-tabbar-item", | ||
| 10 | + "up-tabbar": "../../uni_modules/uview-plus/components/u-tabbar/u-tabbar" | ||
| 11 | + } | ||
| 12 | +} |
| 1 | +<view class="app-container data-v-8ec58af0"><up-navbar wx:if="{{a}}" class="data-v-8ec58af0" u-i="8ec58af0-0" bind:__l="__l" u-p="{{a}}"/><view class="car_list data-v-8ec58af0"><view class="line_title data-v-8ec58af0"><text class="left_title data-v-8ec58af0" style="color:#fff">我的信息</text><text class="data-v-8ec58af0" style="color:#fff">更新实名信息</text></view><view class="user-box data-v-8ec58af0"><up-form wx:if="{{o}}" class="r data-v-8ec58af0" u-s="{{['d']}}" u-r="userFormRef" u-i="8ec58af0-1" bind:__l="__l" u-p="{{o}}"><up-form-item wx:if="{{e}}" class="data-v-8ec58af0" u-s="{{['d']}}" u-i="8ec58af0-2,8ec58af0-1" bind:__l="__l" u-p="{{e}}"><up-input wx:if="{{d}}" class="data-v-8ec58af0" u-s="{{['prefix']}}" u-i="8ec58af0-3,8ec58af0-2" bind:__l="__l" bindupdateModelValue="{{c}}" u-p="{{d}}"><image class="data-v-8ec58af0" style="width:32rpx;margin-right:18rpx;margin-top:10rpx" src="{{b}}" mode="widthFix" slot="prefix"></image></up-input></up-form-item><up-form-item wx:if="{{i}}" class="data-v-8ec58af0" u-s="{{['d']}}" u-i="8ec58af0-4,8ec58af0-1" bind:__l="__l" u-p="{{i}}"><up-input wx:if="{{h}}" class="data-v-8ec58af0" u-s="{{['prefix']}}" u-i="8ec58af0-5,8ec58af0-4" bind:__l="__l" bindupdateModelValue="{{g}}" u-p="{{h}}"><image class="data-v-8ec58af0" style="width:32rpx;margin-right:18rpx;margin-top:10rpx" src="{{f}}" mode="widthFix" slot="prefix"></image></up-input></up-form-item><up-form-item wx:if="{{m}}" class="data-v-8ec58af0" u-s="{{['d']}}" u-i="8ec58af0-6,8ec58af0-1" bind:__l="__l" u-p="{{m}}"><up-input wx:if="{{l}}" class="data-v-8ec58af0" u-s="{{['prefix']}}" u-i="8ec58af0-7,8ec58af0-6" bind:__l="__l" bindupdateModelValue="{{k}}" u-p="{{l}}"><image class="data-v-8ec58af0" style="width:32rpx;margin-right:18rpx;margin-top:10rpx" src="{{j}}" mode="widthFix" slot="prefix"></image></up-input></up-form-item></up-form></view><view class="loginBtn data-v-8ec58af0" bindtap="{{p}}">退出登录</view></view><up-tabbar wx:if="{{t}}" class="data-v-8ec58af0" u-s="{{['d']}}" u-i="8ec58af0-8" bind:__l="__l" u-p="{{t}}"><up-tabbar-item wx:if="{{r}}" class="data-v-8ec58af0" bindclick="{{q}}" u-i="8ec58af0-9,8ec58af0-8" bind:__l="__l" u-p="{{r}}"></up-tabbar-item><up-tabbar-item wx:if="{{s}}" class="data-v-8ec58af0" u-i="8ec58af0-10,8ec58af0-8" bind:__l="__l" u-p="{{s}}"></up-tabbar-item></up-tabbar></view> |
| 1 | +.app-container.data-v-8ec58af0{width:100%;height:100vh;padding:0 30rpx;background:url(http://bxhd.crgx.net/profile/avatar/2024/09/25/bg-index_20240925113012A004.png) no-repeat;background-size:100% 100%;overflow:hidden}.app-container .user-box.data-v-8ec58af0{width:690rpx;padding:40rpx 44rpx;background-color:#fff;z-index:10;margin:0 auto 40rpx;box-shadow:0 8rpx 40rpx rgba(10,22,44,.06);border-radius:40rpx}.app-container .car_list.data-v-8ec58af0{display:flex;flex-direction:column;gap:20rpx}.app-container .car_list .line_title.data-v-8ec58af0{display:flex;justify-content:space-between;font-size:24rpx;color:#999;line-height:32rpx}.app-container .car_list .line_title .left_title.data-v-8ec58af0{font-size:32rpx;line-height:42rpx;color:#333}.app-container .car_list .car_data.data-v-8ec58af0{padding:0 30rpx;background:#fff;box-shadow:0 8rpx 40rpx rgba(10,22,44,.06);border-radius:40rpx;margin-bottom:60rpx}.app-container .car_list .car_data .car_item.data-v-8ec58af0{padding:30rpx 0;border-bottom:2rpx solid #eee}.app-container .car_list .car_data .car_item.data-v-8ec58af0:last-child{border-bottom:0}.app-container .car_list .loginBtn.data-v-8ec58af0{width:100%;height:80rpx;line-height:80rpx;text-align:center;font-size:28rpx;color:#fff;font-weight:500;background:#3680fe;box-shadow:0 8rpx 40rpx rgba(10,22,44,.06);border-radius:40rpx;margin-top:40rpx} |
| @@ -8,7 +8,7 @@ | @@ -8,7 +8,7 @@ | ||
| 8 | "urlCheck": false, | 8 | "urlCheck": false, |
| 9 | "es6": true, | 9 | "es6": true, |
| 10 | "postcss": false, | 10 | "postcss": false, |
| 11 | - "minified": false, | 11 | + "minified": true, |
| 12 | "newFeature": true, | 12 | "newFeature": true, |
| 13 | "bigPackageSizeSupport": true, | 13 | "bigPackageSizeSupport": true, |
| 14 | "babelSetting": { | 14 | "babelSetting": { |
20.0 KB
46.6 KB
4.0 KB
3.1 KB
3.0 KB
| 1 | +"use strict";const e=require("../../common/vendor.js").defineStore("tabbar",{unistorage:!0,state:()=>({employeeCurrent:0,societyCurrent:0})});exports.useTabbarStore=e; |
| 1 | +"use strict";const e=require("../../libs/vue.js"),o=require("../../libs/config/props.js"),t=e.defineMixin({props:{isDot:{type:Boolean,default:()=>o.defProps.badge.isDot},value:{type:[Number,String],default:()=>o.defProps.badge.value},modelValue:{type:[Number,String],default:()=>o.defProps.badge.modelValue},show:{type:Boolean,default:()=>o.defProps.badge.show},max:{type:[Number,String],default:()=>o.defProps.badge.max},type:{type:String,default:()=>o.defProps.badge.type},showZero:{type:Boolean,default:()=>o.defProps.badge.showZero},bgColor:{type:[String,null],default:()=>o.defProps.badge.bgColor},color:{type:[String,null],default:()=>o.defProps.badge.color},shape:{type:String,default:()=>o.defProps.badge.shape},numberType:{type:String,default:()=>o.defProps.badge.numberType},offset:{type:Array,default:()=>o.defProps.badge.offset},inverted:{type:Boolean,default:()=>o.defProps.badge.inverted},absolute:{type:Boolean,default:()=>o.defProps.badge.absolute}}});exports.props=t; |
| 1 | +"use strict";const e=require("./props.js"),t=require("../../libs/mixin/mpMixin.js"),i=require("../../libs/mixin/mixin.js"),s=require("../../libs/function/index.js"),o=require("../../../../common/vendor.js"),r={name:"u-badge",mixins:[t.mpMixin,e.props,i.mixin],computed:{boxStyle:()=>({}),badgeStyle(){const e={};if(this.color&&(e.color=this.color),this.bgColor&&!this.inverted&&(e.backgroundColor=this.bgColor),this.absolute&&(e.position="absolute",this.offset.length)){const t=this.offset[0],i=this.offset[1]||t;e.top=s.addUnit(t),e.right=s.addUnit(i)}return e},showValue(){switch(this.numberType){case"overflow":return Number(this.value)>Number(this.max)?this.max+"+":this.value;case"ellipsis":return Number(this.value)>Number(this.max)?"...":this.value;case"limit":return Number(this.value)>999?Number(this.value)>=9999?Math.floor(this.value/1e4*100)/100+"w":Math.floor(this.value/1e3*100)/100+"k":this.value;default:return Number(this.value)}}},methods:{addStyle:s.addStyle}};const u=o._export_sfc(r,[["render",function(e,t,i,s,r,u){return o.e({a:e.show&&(0!==Number(e.value)||e.showZero||e.isDot)},e.show&&(0!==Number(e.value)||e.showZero||e.isDot)?{b:o.t(e.isDot?"":u.showValue),c:o.n(e.isDot?"u-badge--dot":"u-badge--not-dot"),d:o.n(e.inverted&&"u-badge--inverted"),e:o.n("horn"===e.shape&&"u-badge--horn"),f:o.n(`u-badge--${e.type}${e.inverted?"--inverted":""}`),g:o.s(u.addStyle(e.customStyle)),h:o.s(u.badgeStyle)}:{})}],["__scopeId","data-v-4a04caee"]]);wx.createComponent(u); |
| 1 | +<text wx:if="{{a}}" class="{{[c, d, e, f, 'u-badge', 'data-v-4a04caee']}}" style="{{g + ';' + h}}">{{b}}</text> |
| 1 | +.u-empty.data-v-4a04caee,.u-empty__wrap.data-v-4a04caee,.u-tabs.data-v-4a04caee,.u-tabs__wrapper.data-v-4a04caee,.u-tabs__wrapper__scroll-view-wrapper.data-v-4a04caee,.u-tabs__wrapper__scroll-view.data-v-4a04caee,.u-tabs__wrapper__nav.data-v-4a04caee,.u-tabs__wrapper__nav__line.data-v-4a04caee,.up-empty.data-v-4a04caee,.up-empty__wrap.data-v-4a04caee,.up-tabs.data-v-4a04caee,.up-tabs__wrapper.data-v-4a04caee,.up-tabs__wrapper__scroll-view-wrapper.data-v-4a04caee,.up-tabs__wrapper__scroll-view.data-v-4a04caee,.up-tabs__wrapper__nav.data-v-4a04caee,.up-tabs__wrapper__nav__line.data-v-4a04caee{display:flex;flex-direction:column;flex-shrink:0;flex-grow:0;flex-basis:auto;align-items:stretch;align-content:flex-start}.u-badge.data-v-4a04caee{border-radius:100px;display:flex;flex-direction:row;line-height:11px;text-align:center;font-size:11px;color:#fff}.u-badge--dot.data-v-4a04caee{height:8px;width:8px}.u-badge--inverted.data-v-4a04caee{font-size:13px}.u-badge--not-dot.data-v-4a04caee{padding:2px 5px}.u-badge--horn.data-v-4a04caee{border-bottom-left-radius:0}.u-badge--primary.data-v-4a04caee{background-color:#3c9cff}.u-badge--primary--inverted.data-v-4a04caee{color:#3c9cff}.u-badge--error.data-v-4a04caee{background-color:#f56c6c}.u-badge--error--inverted.data-v-4a04caee{color:#f56c6c}.u-badge--success.data-v-4a04caee{background-color:#5ac725}.u-badge--success--inverted.data-v-4a04caee{color:#5ac725}.u-badge--info.data-v-4a04caee{background-color:#909399}.u-badge--info--inverted.data-v-4a04caee{color:#909399}.u-badge--warning.data-v-4a04caee{background-color:#f9ae3d}.u-badge--warning--inverted.data-v-4a04caee{color:#f9ae3d} |
| 1 | +"use strict";const e=require("../../libs/vue.js"),t=require("../../libs/config/props.js"),r=e.defineMixin({props:{name:{type:[String,Number,null],default:()=>t.defProps.tabbarItem.name},icon:{icon:String,default:()=>t.defProps.tabbarItem.icon},badge:{type:[String,Number,null],default:()=>t.defProps.tabbarItem.badge},dot:{type:Boolean,default:()=>t.defProps.tabbarItem.dot},text:{type:String,default:()=>t.defProps.tabbarItem.text},badgeStyle:{type:[Object,String],default:()=>t.defProps.tabbarItem.badgeStyle}}});exports.props=r; |
unpackage/dist/build/mp-weixin/uni_modules/uview-plus/components/u-tabbar-item/u-tabbar-item.js
0 → 100644
| 1 | +"use strict";const t=require("./props.js"),e=require("../../libs/mixin/mpMixin.js"),i=require("../../libs/mixin/mixin.js"),a=require("../../libs/function/index.js"),n=require("../../../../common/vendor.js"),r={name:"u-tabbar-item",mixins:[e.mpMixin,i.mixin,t.props],data:()=>({isActive:!1,parentData:{value:null,activeColor:"",inactiveColor:""}}),options:{virtualHost:!0},created(){this.init()},emits:["click","change"],methods:{addStyle:a.addStyle,init(){this.updateParentData(),this.parent;const t=this.parent.children.indexOf(this);this.isActive=(this.name||t)===this.parentData.value},updateParentData(){this.getParentData("u-tabbar")},updateFromParent(){this.init()},clickHandler(){this.$nextTick((()=>{const t=this.parent.children.indexOf(this),e=this.name||t;e!==this.parent.value&&this.parent.$emit("change",e),this.$emit("click",e)}))}}};if(!Array){(n.resolveComponent("u-icon")+n.resolveComponent("u-badge"))()}Math||((()=>"../u-icon/u-icon.js")+(()=>"../u-badge/u-badge.js"))();const s=n._export_sfc(r,[["render",function(t,e,i,a,r,s){return n.e({a:t.icon},t.icon?{b:n.p({name:t.icon,color:r.isActive?r.parentData.activeColor:r.parentData.inactiveColor,size:20})}:n.e({c:r.isActive},(r.isActive,{})),{d:n.p({absolute:!0,offset:[0,t.dot?"34rpx":t.badge>9?"14rpx":"20rpx"],customStyle:t.badgeStyle,isDot:t.dot,value:t.badge||(t.dot?1:null),show:t.dot||t.badge>0}),e:n.t(t.text),f:r.isActive?r.parentData.activeColor:r.parentData.inactiveColor,g:n.s(s.addStyle(t.customStyle)),h:n.o(((...t)=>s.clickHandler&&s.clickHandler(...t)))})}],["__scopeId","data-v-4f4b9278"]]);wx.createComponent(s); |
unpackage/dist/build/mp-weixin/uni_modules/uview-plus/components/u-tabbar-item/u-tabbar-item.wxml
0 → 100644
| 1 | +<view class="u-tabbar-item data-v-4f4b9278" style="{{g}}" bindtap="{{h}}"><view class="u-tabbar-item__icon data-v-4f4b9278"><u-icon wx:if="{{a}}" class="data-v-4f4b9278" u-i="4f4b9278-0" bind:__l="__l" u-p="{{b}}"></u-icon><block wx:else><slot wx:if="{{c}}" name="active-icon"/><slot wx:else name="inactive-icon"/></block><u-badge wx:if="{{d}}" class="data-v-4f4b9278" u-i="4f4b9278-1" bind:__l="__l" u-p="{{d}}"></u-badge></view><block wx:if="{{$slots.text}}"><slot name="text"></slot></block><block wx:else><text class="u-tabbar-item__text data-v-4f4b9278" style="{{'color:' + f}}">{{e}}</text></block></view> |
unpackage/dist/build/mp-weixin/uni_modules/uview-plus/components/u-tabbar-item/u-tabbar-item.wxss
0 → 100644
| 1 | +.u-empty.data-v-4f4b9278,.u-empty__wrap.data-v-4f4b9278,.u-tabs.data-v-4f4b9278,.u-tabs__wrapper.data-v-4f4b9278,.u-tabs__wrapper__scroll-view-wrapper.data-v-4f4b9278,.u-tabs__wrapper__scroll-view.data-v-4f4b9278,.u-tabs__wrapper__nav.data-v-4f4b9278,.u-tabs__wrapper__nav__line.data-v-4f4b9278,.up-empty.data-v-4f4b9278,.up-empty__wrap.data-v-4f4b9278,.up-tabs.data-v-4f4b9278,.up-tabs__wrapper.data-v-4f4b9278,.up-tabs__wrapper__scroll-view-wrapper.data-v-4f4b9278,.up-tabs__wrapper__scroll-view.data-v-4f4b9278,.up-tabs__wrapper__nav.data-v-4f4b9278,.up-tabs__wrapper__nav__line.data-v-4f4b9278{display:flex;flex-direction:column;flex-shrink:0;flex-grow:0;flex-basis:auto;align-items:stretch;align-content:flex-start}.u-tabbar-item.data-v-4f4b9278{display:flex;flex-direction:column;align-items:center;justify-content:center;flex:1;width:100%;height:100%}.u-tabbar-item__icon.data-v-4f4b9278{display:flex;flex-direction:row;position:relative;width:150rpx;justify-content:center}.u-tabbar-item__text.data-v-4f4b9278{margin-top:2px;font-size:12px;color:#606266}.data-v-4f4b9278:host{flex:1;width:100%} |
| 1 | +"use strict";const e=require("../../libs/vue.js"),r=require("../../libs/config/props.js"),t=e.defineMixin({props:{value:{type:[String,Number,null],default:()=>r.defProps.tabbar.value},safeAreaInsetBottom:{type:Boolean,default:()=>r.defProps.tabbar.safeAreaInsetBottom},border:{type:Boolean,default:()=>r.defProps.tabbar.border},zIndex:{type:[String,Number],default:()=>r.defProps.tabbar.zIndex},activeColor:{type:String,default:()=>r.defProps.tabbar.activeColor},inactiveColor:{type:String,default:()=>r.defProps.tabbar.inactiveColor},fixed:{type:Boolean,default:()=>r.defProps.tabbar.fixed},placeholder:{type:Boolean,default:()=>r.defProps.tabbar.placeholder}}});exports.props=t; |
| 1 | +"use strict";const e=require("./props.js"),t=require("../../libs/mixin/mpMixin.js"),i=require("../../libs/mixin/mixin.js"),r=require("../../libs/function/index.js"),a=require("../../../../common/vendor.js"),o={name:"u-tabbar",mixins:[t.mpMixin,i.mixin,e.props],data:()=>({placeholderHeight:0}),computed:{tabbarStyle(){const e={zIndex:this.zIndex};return r.deepMerge(e,r.addStyle(this.customStyle))},updateChild(){return[this.value,this.activeColor,this.inactiveColor]},updatePlaceholder(){return[this.fixed,this.placeholder]}},watch:{updateChild(){this.updateChildren()},updatePlaceholder(){this.setPlaceholderHeight()}},created(){this.children=[]},mounted(){this.setPlaceholderHeight()},methods:{updateChildren(){this.children.length&&this.children.map((e=>e.updateFromParent()))},async setPlaceholderHeight(){this.fixed&&this.placeholder&&(await r.sleep(20),this.$uGetRect(".u-tabbar__content").then((({height:e=50})=>{this.placeholderHeight=e})))}}};if(!Array){a.resolveComponent("u-safe-bottom")()}Math;const d=a._export_sfc(o,[["render",function(e,t,i,r,o,d){return a.e({a:e.safeAreaInsetBottom},(e.safeAreaInsetBottom,{}),{b:a.o(((...t)=>e.noop&&e.noop(...t))),c:a.n(e.border&&"u-border-top"),d:a.n(e.fixed&&"u-tabbar--fixed"),e:a.s(d.tabbarStyle),f:e.placeholder},e.placeholder?{g:o.placeholderHeight+"px"}:{})}],["__scopeId","data-v-1cfd0c42"]]);wx.createComponent(d); |
| 1 | +<view class="u-tabbar data-v-1cfd0c42"><view ref="u-tabbar__content" catchtouchmove="{{b}}" class="{{['u-tabbar__content', 'data-v-1cfd0c42', c, d]}}" style="{{e}}"><view class="u-tabbar__content__item-wrapper data-v-1cfd0c42"><slot/></view><u-safe-bottom wx:if="{{a}}" class="data-v-1cfd0c42" u-i="1cfd0c42-0" bind:__l="__l"></u-safe-bottom></view><view wx:if="{{f}}" class="u-tabbar__placeholder data-v-1cfd0c42" style="{{'height:' + g}}"></view></view> |
| 1 | +.u-empty.data-v-1cfd0c42,.u-empty__wrap.data-v-1cfd0c42,.u-tabs.data-v-1cfd0c42,.u-tabs__wrapper.data-v-1cfd0c42,.u-tabs__wrapper__scroll-view-wrapper.data-v-1cfd0c42,.u-tabs__wrapper__scroll-view.data-v-1cfd0c42,.u-tabs__wrapper__nav.data-v-1cfd0c42,.u-tabs__wrapper__nav__line.data-v-1cfd0c42,.up-empty.data-v-1cfd0c42,.up-empty__wrap.data-v-1cfd0c42,.up-tabs.data-v-1cfd0c42,.up-tabs__wrapper.data-v-1cfd0c42,.up-tabs__wrapper__scroll-view-wrapper.data-v-1cfd0c42,.up-tabs__wrapper__scroll-view.data-v-1cfd0c42,.up-tabs__wrapper__nav.data-v-1cfd0c42,.up-tabs__wrapper__nav__line.data-v-1cfd0c42{display:flex;flex-direction:column;flex-shrink:0;flex-grow:0;flex-basis:auto;align-items:stretch;align-content:flex-start}.u-tabbar.data-v-1cfd0c42{display:flex;flex-direction:column;flex:1;justify-content:center}.u-tabbar__content.data-v-1cfd0c42{display:flex;flex-direction:column;background-color:#fff}.u-tabbar__content__item-wrapper.data-v-1cfd0c42{height:50px;display:flex;flex-direction:row;justify-content:space-around}.u-tabbar--fixed.data-v-1cfd0c42{position:fixed;bottom:0;left:0;right:0} |
| @@ -5,6 +5,7 @@ const uni_modules_uviewPlus_index = require("./uni_modules/uview-plus/index.js") | @@ -5,6 +5,7 @@ const uni_modules_uviewPlus_index = require("./uni_modules/uview-plus/index.js") | ||
| 5 | const store_index = require("./store/index.js"); | 5 | const store_index = require("./store/index.js"); |
| 6 | const utils_request = require("./utils/request.js"); | 6 | const utils_request = require("./utils/request.js"); |
| 7 | if (!Math) { | 7 | if (!Math) { |
| 8 | + "./pages/realName/realName.js"; | ||
| 8 | "./pages/login/login.js"; | 9 | "./pages/login/login.js"; |
| 9 | "./pages/index/index.js"; | 10 | "./pages/index/index.js"; |
| 10 | "./pages/my/my.js"; | 11 | "./pages/my/my.js"; |
| 1 | "use strict"; | 1 | "use strict"; |
| 2 | const _imports_0$2 = "/static/commonImage/user.png"; | 2 | const _imports_0$2 = "/static/commonImage/user.png"; |
| 3 | const _imports_1$1 = "/static/commonImage/IdCard.png"; | 3 | const _imports_1$1 = "/static/commonImage/IdCard.png"; |
| 4 | +const _imports_2 = "/static/commonImage/phone.png"; | ||
| 4 | const _imports_0$1 = "/static/tabbarIcon/my-active.png"; | 5 | const _imports_0$1 = "/static/tabbarIcon/my-active.png"; |
| 5 | const _imports_1 = "/static/tabbarIcon/my.png"; | 6 | const _imports_1 = "/static/tabbarIcon/my.png"; |
| 6 | -const _imports_2 = "/static/commonImage/phone.png"; | ||
| 7 | const _imports_0 = "/static/commonImage/big-car.png"; | 7 | const _imports_0 = "/static/commonImage/big-car.png"; |
| 8 | exports._imports_0 = _imports_0$2; | 8 | exports._imports_0 = _imports_0$2; |
| 9 | exports._imports_0$1 = _imports_0$1; | 9 | exports._imports_0$1 = _imports_0$1; |
| @@ -67,6 +67,9 @@ const _sfc_main = { | @@ -67,6 +67,9 @@ const _sfc_main = { | ||
| 67 | logFormRef.value.validate().then(async (valid) => { | 67 | logFormRef.value.validate().then(async (valid) => { |
| 68 | if (valid) { | 68 | if (valid) { |
| 69 | common_vendor.index.$u.toast("登录成功"); | 69 | common_vendor.index.$u.toast("登录成功"); |
| 70 | + common_vendor.index.navigateTo({ | ||
| 71 | + url: "/pages/companyHome/companyHome" | ||
| 72 | + }); | ||
| 70 | } else { | 73 | } else { |
| 71 | common_vendor.index.$u.toast("校验失败"); | 74 | common_vendor.index.$u.toast("校验失败"); |
| 72 | } | 75 | } |
| @@ -3,17 +3,19 @@ const common_vendor = require("../../common/vendor.js"); | @@ -3,17 +3,19 @@ const common_vendor = require("../../common/vendor.js"); | ||
| 3 | const common_assets = require("../../common/assets.js"); | 3 | const common_assets = require("../../common/assets.js"); |
| 4 | if (!Array) { | 4 | if (!Array) { |
| 5 | const _easycom_up_navbar2 = common_vendor.resolveComponent("up-navbar"); | 5 | const _easycom_up_navbar2 = common_vendor.resolveComponent("up-navbar"); |
| 6 | + const _easycom_u_icon2 = common_vendor.resolveComponent("u-icon"); | ||
| 6 | const _easycom_up_input2 = common_vendor.resolveComponent("up-input"); | 7 | const _easycom_up_input2 = common_vendor.resolveComponent("up-input"); |
| 7 | const _easycom_up_form_item2 = common_vendor.resolveComponent("up-form-item"); | 8 | const _easycom_up_form_item2 = common_vendor.resolveComponent("up-form-item"); |
| 8 | const _easycom_up_form2 = common_vendor.resolveComponent("up-form"); | 9 | const _easycom_up_form2 = common_vendor.resolveComponent("up-form"); |
| 9 | - (_easycom_up_navbar2 + _easycom_up_input2 + _easycom_up_form_item2 + _easycom_up_form2)(); | 10 | + (_easycom_up_navbar2 + _easycom_u_icon2 + _easycom_up_input2 + _easycom_up_form_item2 + _easycom_up_form2)(); |
| 10 | } | 11 | } |
| 11 | const _easycom_up_navbar = () => "../../uni_modules/uview-plus/components/u-navbar/u-navbar.js"; | 12 | const _easycom_up_navbar = () => "../../uni_modules/uview-plus/components/u-navbar/u-navbar.js"; |
| 13 | +const _easycom_u_icon = () => "../../uni_modules/uview-plus/components/u-icon/u-icon.js"; | ||
| 12 | const _easycom_up_input = () => "../../uni_modules/uview-plus/components/u-input/u-input.js"; | 14 | const _easycom_up_input = () => "../../uni_modules/uview-plus/components/u-input/u-input.js"; |
| 13 | const _easycom_up_form_item = () => "../../uni_modules/uview-plus/components/u-form-item/u-form-item.js"; | 15 | const _easycom_up_form_item = () => "../../uni_modules/uview-plus/components/u-form-item/u-form-item.js"; |
| 14 | const _easycom_up_form = () => "../../uni_modules/uview-plus/components/u-form/u-form.js"; | 16 | const _easycom_up_form = () => "../../uni_modules/uview-plus/components/u-form/u-form.js"; |
| 15 | if (!Math) { | 17 | if (!Math) { |
| 16 | - (_easycom_up_navbar + _easycom_up_input + _easycom_up_form_item + _easycom_up_form + navTop + centerLine)(); | 18 | + (_easycom_up_navbar + _easycom_u_icon + _easycom_up_input + _easycom_up_form_item + _easycom_up_form + navTop + centerLine)(); |
| 17 | } | 19 | } |
| 18 | const centerLine = () => "../../components/centerLine.js"; | 20 | const centerLine = () => "../../components/centerLine.js"; |
| 19 | const navTop = () => "../../components/navTop.js"; | 21 | const navTop = () => "../../components/navTop.js"; |
| @@ -92,9 +94,14 @@ const _sfc_main = { | @@ -92,9 +94,14 @@ const _sfc_main = { | ||
| 92 | leftIconSize: 0, | 94 | leftIconSize: 0, |
| 93 | bgColor: "transparent" | 95 | bgColor: "transparent" |
| 94 | }), | 96 | }), |
| 95 | - b: common_assets._imports_0, | ||
| 96 | - c: common_vendor.o(($event) => userForm.value.name = $event), | ||
| 97 | - d: common_vendor.p({ | 97 | + b: common_vendor.p({ |
| 98 | + name: "checkmark-circle", | ||
| 99 | + size: "16", | ||
| 100 | + color: "#fff" | ||
| 101 | + }), | ||
| 102 | + c: common_assets._imports_0, | ||
| 103 | + d: common_vendor.o(($event) => userForm.value.name = $event), | ||
| 104 | + e: common_vendor.p({ | ||
| 98 | shape: "circle", | 105 | shape: "circle", |
| 99 | border: "none", | 106 | border: "none", |
| 100 | fontSize: "28rpx", | 107 | fontSize: "28rpx", |
| @@ -104,12 +111,12 @@ const _sfc_main = { | @@ -104,12 +111,12 @@ const _sfc_main = { | ||
| 104 | placeholder: "请输入真实姓名", | 111 | placeholder: "请输入真实姓名", |
| 105 | modelValue: userForm.value.name | 112 | modelValue: userForm.value.name |
| 106 | }), | 113 | }), |
| 107 | - e: common_vendor.p({ | 114 | + f: common_vendor.p({ |
| 108 | prop: "name" | 115 | prop: "name" |
| 109 | }), | 116 | }), |
| 110 | - f: common_assets._imports_1, | ||
| 111 | - g: common_vendor.o(($event) => userForm.value.identificationNumber = $event), | ||
| 112 | - h: common_vendor.p({ | 117 | + g: common_assets._imports_1, |
| 118 | + h: common_vendor.o(($event) => userForm.value.identificationNumber = $event), | ||
| 119 | + i: common_vendor.p({ | ||
| 113 | shape: "circle", | 120 | shape: "circle", |
| 114 | border: "none", | 121 | border: "none", |
| 115 | fontSize: "28rpx", | 122 | fontSize: "28rpx", |
| @@ -119,12 +126,12 @@ const _sfc_main = { | @@ -119,12 +126,12 @@ const _sfc_main = { | ||
| 119 | placeholder: "请输入身份证号", | 126 | placeholder: "请输入身份证号", |
| 120 | modelValue: userForm.value.identificationNumber | 127 | modelValue: userForm.value.identificationNumber |
| 121 | }), | 128 | }), |
| 122 | - i: common_vendor.p({ | 129 | + j: common_vendor.p({ |
| 123 | prop: "identificationNumber" | 130 | prop: "identificationNumber" |
| 124 | }), | 131 | }), |
| 125 | - j: common_assets._imports_1, | ||
| 126 | - k: common_vendor.o(($event) => userForm.value.phone = $event), | ||
| 127 | - l: common_vendor.p({ | 132 | + k: common_assets._imports_1, |
| 133 | + l: common_vendor.o(($event) => userForm.value.phone = $event), | ||
| 134 | + m: common_vendor.p({ | ||
| 128 | shape: "circle", | 135 | shape: "circle", |
| 129 | border: "none", | 136 | border: "none", |
| 130 | fontSize: "28rpx", | 137 | fontSize: "28rpx", |
| @@ -134,22 +141,22 @@ const _sfc_main = { | @@ -134,22 +141,22 @@ const _sfc_main = { | ||
| 134 | placeholder: "请输入身份证号", | 141 | placeholder: "请输入身份证号", |
| 135 | modelValue: userForm.value.phone | 142 | modelValue: userForm.value.phone |
| 136 | }), | 143 | }), |
| 137 | - m: common_vendor.p({ | 144 | + n: common_vendor.p({ |
| 138 | prop: "phone" | 145 | prop: "phone" |
| 139 | }), | 146 | }), |
| 140 | - n: common_vendor.sr(userFormRef, "2f1ef635-1", { | 147 | + o: common_vendor.sr(userFormRef, "2f1ef635-2", { |
| 141 | "k": "userFormRef" | 148 | "k": "userFormRef" |
| 142 | }), | 149 | }), |
| 143 | - o: common_vendor.p({ | 150 | + p: common_vendor.p({ |
| 144 | model: userForm.value | 151 | model: userForm.value |
| 145 | }), | 152 | }), |
| 146 | - p: common_vendor.f(carList.value, (carItem, k0, i0) => { | 153 | + q: common_vendor.f(carList.value, (carItem, k0, i0) => { |
| 147 | return { | 154 | return { |
| 148 | - a: "2f1ef635-8-" + i0, | 155 | + a: "2f1ef635-9-" + i0, |
| 149 | b: common_vendor.p({ | 156 | b: common_vendor.p({ |
| 150 | carNum: carItem.carNum | 157 | carNum: carItem.carNum |
| 151 | }), | 158 | }), |
| 152 | - c: "2f1ef635-9-" + i0, | 159 | + c: "2f1ef635-10-" + i0, |
| 153 | d: common_vendor.p({ | 160 | d: common_vendor.p({ |
| 154 | leftContent: carItem.carBrand, | 161 | leftContent: carItem.carBrand, |
| 155 | fontColor: "#999", | 162 | fontColor: "#999", |
| @@ -158,7 +165,7 @@ const _sfc_main = { | @@ -158,7 +165,7 @@ const _sfc_main = { | ||
| 158 | e: carItem.carId | 165 | e: carItem.carId |
| 159 | }; | 166 | }; |
| 160 | }), | 167 | }), |
| 161 | - q: common_vendor.o(addCarInfo) | 168 | + r: common_vendor.o(addCarInfo) |
| 162 | }; | 169 | }; |
| 163 | }; | 170 | }; |
| 164 | } | 171 | } |
| @@ -3,6 +3,7 @@ | @@ -3,6 +3,7 @@ | ||
| 3 | "navigationStyle": "custom", | 3 | "navigationStyle": "custom", |
| 4 | "usingComponents": { | 4 | "usingComponents": { |
| 5 | "up-navbar": "../../uni_modules/uview-plus/components/u-navbar/u-navbar", | 5 | "up-navbar": "../../uni_modules/uview-plus/components/u-navbar/u-navbar", |
| 6 | + "u-icon": "../../uni_modules/uview-plus/components/u-icon/u-icon", | ||
| 6 | "up-input": "../../uni_modules/uview-plus/components/u-input/u-input", | 7 | "up-input": "../../uni_modules/uview-plus/components/u-input/u-input", |
| 7 | "up-form-item": "../../uni_modules/uview-plus/components/u-form-item/u-form-item", | 8 | "up-form-item": "../../uni_modules/uview-plus/components/u-form-item/u-form-item", |
| 8 | "up-form": "../../uni_modules/uview-plus/components/u-form/u-form", | 9 | "up-form": "../../uni_modules/uview-plus/components/u-form/u-form", |
| 1 | -<view class="app-container data-v-2f1ef635"><up-navbar wx:if="{{a}}" class="data-v-2f1ef635" u-i="2f1ef635-0" bind:__l="__l" u-p="{{a}}"/><view class="car_list data-v-2f1ef635"><view class="line_title data-v-2f1ef635"><text class="left_title data-v-2f1ef635" style="color:#fff">我的信息</text><text class="data-v-2f1ef635" style="color:#fff">去实名认证</text></view><view class="user-box data-v-2f1ef635"><up-form wx:if="{{o}}" class="r data-v-2f1ef635" u-s="{{['d']}}" u-r="userFormRef" u-i="2f1ef635-1" bind:__l="__l" u-p="{{o}}"><up-form-item wx:if="{{e}}" class="data-v-2f1ef635" u-s="{{['d']}}" u-i="2f1ef635-2,2f1ef635-1" bind:__l="__l" u-p="{{e}}"><up-input wx:if="{{d}}" class="data-v-2f1ef635" u-s="{{['prefix']}}" u-i="2f1ef635-3,2f1ef635-2" bind:__l="__l" bindupdateModelValue="{{c}}" u-p="{{d}}"><image class="data-v-2f1ef635" style="width:32rpx;margin-right:18rpx;margin-top:10rpx" src="{{b}}" mode="widthFix" slot="prefix"></image></up-input></up-form-item><up-form-item wx:if="{{i}}" class="data-v-2f1ef635" u-s="{{['d']}}" u-i="2f1ef635-4,2f1ef635-1" bind:__l="__l" u-p="{{i}}"><up-input wx:if="{{h}}" class="data-v-2f1ef635" u-s="{{['prefix']}}" u-i="2f1ef635-5,2f1ef635-4" bind:__l="__l" bindupdateModelValue="{{g}}" u-p="{{h}}"><image class="data-v-2f1ef635" style="width:32rpx;margin-right:18rpx;margin-top:10rpx" src="{{f}}" mode="widthFix" slot="prefix"></image></up-input></up-form-item><up-form-item wx:if="{{m}}" class="data-v-2f1ef635" u-s="{{['d']}}" u-i="2f1ef635-6,2f1ef635-1" bind:__l="__l" u-p="{{m}}"><up-input wx:if="{{l}}" class="data-v-2f1ef635" u-s="{{['prefix']}}" u-i="2f1ef635-7,2f1ef635-6" bind:__l="__l" bindupdateModelValue="{{k}}" u-p="{{l}}"><image class="data-v-2f1ef635" style="width:32rpx;margin-right:18rpx;margin-top:10rpx" src="{{j}}" mode="widthFix" slot="prefix"></image></up-input></up-form-item></up-form></view><view class="line_title data-v-2f1ef635"><text class="left_title data-v-2f1ef635">我的车辆</text><text class="data-v-2f1ef635">去修改车辆信息</text></view><view class="car_data data-v-2f1ef635"><view wx:for="{{p}}" wx:for-item="carItem" wx:key="e" class="car_item data-v-2f1ef635"><nav-top wx:if="{{carItem.b}}" class="data-v-2f1ef635" u-i="{{carItem.a}}" bind:__l="__l" u-p="{{carItem.b}}"/><center-line wx:if="{{carItem.d}}" class="data-v-2f1ef635" u-i="{{carItem.c}}" bind:__l="__l" u-p="{{carItem.d}}"/></view></view><view class="loginBtn data-v-2f1ef635" bindtap="{{q}}">退出登录</view></view></view> | ||
| 1 | +<view class="app-container data-v-2f1ef635"><up-navbar wx:if="{{a}}" class="data-v-2f1ef635" u-i="2f1ef635-0" bind:__l="__l" u-p="{{a}}"/><view class="car_list data-v-2f1ef635"><view class="line_title data-v-2f1ef635"><text class="left_title data-v-2f1ef635" style="color:#fff">我的信息</text><view class="data-v-2f1ef635" style="display:flex;align-items:center"><u-icon wx:if="{{b}}" class="data-v-2f1ef635" u-i="2f1ef635-1" bind:__l="__l" u-p="{{b}}"></u-icon><text class="data-v-2f1ef635" style="color:#fff;margin-left:10rpx">更新实名信息</text></view></view><view class="user-box data-v-2f1ef635"><up-form wx:if="{{p}}" class="r data-v-2f1ef635" u-s="{{['d']}}" u-r="userFormRef" u-i="2f1ef635-2" bind:__l="__l" u-p="{{p}}"><up-form-item wx:if="{{f}}" class="data-v-2f1ef635" u-s="{{['d']}}" u-i="2f1ef635-3,2f1ef635-2" bind:__l="__l" u-p="{{f}}"><up-input wx:if="{{e}}" class="data-v-2f1ef635" u-s="{{['prefix']}}" u-i="2f1ef635-4,2f1ef635-3" bind:__l="__l" bindupdateModelValue="{{d}}" u-p="{{e}}"><image class="data-v-2f1ef635" style="width:32rpx;margin-right:18rpx;margin-top:10rpx" src="{{c}}" mode="widthFix" slot="prefix"></image></up-input></up-form-item><up-form-item wx:if="{{j}}" class="data-v-2f1ef635" u-s="{{['d']}}" u-i="2f1ef635-5,2f1ef635-2" bind:__l="__l" u-p="{{j}}"><up-input wx:if="{{i}}" class="data-v-2f1ef635" u-s="{{['prefix']}}" u-i="2f1ef635-6,2f1ef635-5" bind:__l="__l" bindupdateModelValue="{{h}}" u-p="{{i}}"><image class="data-v-2f1ef635" style="width:32rpx;margin-right:18rpx;margin-top:10rpx" src="{{g}}" mode="widthFix" slot="prefix"></image></up-input></up-form-item><up-form-item wx:if="{{n}}" class="data-v-2f1ef635" u-s="{{['d']}}" u-i="2f1ef635-7,2f1ef635-2" bind:__l="__l" u-p="{{n}}"><up-input wx:if="{{m}}" class="data-v-2f1ef635" u-s="{{['prefix']}}" u-i="2f1ef635-8,2f1ef635-7" bind:__l="__l" bindupdateModelValue="{{l}}" u-p="{{m}}"><image class="data-v-2f1ef635" style="width:32rpx;margin-right:18rpx;margin-top:10rpx" src="{{k}}" mode="widthFix" slot="prefix"></image></up-input></up-form-item></up-form></view><view class="line_title data-v-2f1ef635"><text class="left_title data-v-2f1ef635">我的车辆</text><text class="data-v-2f1ef635">去修改车辆信息</text></view><view class="car_data data-v-2f1ef635"><view wx:for="{{q}}" wx:for-item="carItem" wx:key="e" class="car_item data-v-2f1ef635"><nav-top wx:if="{{carItem.b}}" class="data-v-2f1ef635" u-i="{{carItem.a}}" bind:__l="__l" u-p="{{carItem.b}}"/><center-line wx:if="{{carItem.d}}" class="data-v-2f1ef635" u-i="{{carItem.c}}" bind:__l="__l" u-p="{{carItem.d}}"/></view></view><view class="loginBtn data-v-2f1ef635" bindtap="{{r}}">退出登录</view></view></view> |
| 1 | +"use strict"; | ||
| 2 | +const common_vendor = require("../../common/vendor.js"); | ||
| 3 | +const common_assets = require("../../common/assets.js"); | ||
| 4 | +if (!Array) { | ||
| 5 | + const _easycom_up_input2 = common_vendor.resolveComponent("up-input"); | ||
| 6 | + const _easycom_up_form_item2 = common_vendor.resolveComponent("up-form-item"); | ||
| 7 | + const _easycom_up_form2 = common_vendor.resolveComponent("up-form"); | ||
| 8 | + (_easycom_up_input2 + _easycom_up_form_item2 + _easycom_up_form2)(); | ||
| 9 | +} | ||
| 10 | +const _easycom_up_input = () => "../../uni_modules/uview-plus/components/u-input/u-input.js"; | ||
| 11 | +const _easycom_up_form_item = () => "../../uni_modules/uview-plus/components/u-form-item/u-form-item.js"; | ||
| 12 | +const _easycom_up_form = () => "../../uni_modules/uview-plus/components/u-form/u-form.js"; | ||
| 13 | +if (!Math) { | ||
| 14 | + (_easycom_up_input + _easycom_up_form_item + _easycom_up_form)(); | ||
| 15 | +} | ||
| 16 | +const _sfc_main = { | ||
| 17 | + __name: "realName", | ||
| 18 | + setup(__props) { | ||
| 19 | + const logForm = common_vendor.ref({ | ||
| 20 | + name: "", | ||
| 21 | + identificationNumber: "", | ||
| 22 | + phone: "" | ||
| 23 | + }); | ||
| 24 | + const logFormRef = common_vendor.ref(null); | ||
| 25 | + const rules = { | ||
| 26 | + name: [ | ||
| 27 | + { required: true, message: "请输入姓名", trigger: ["blur", "change"] }, | ||
| 28 | + { min: 2, max: 6, message: "名字应在2到6个字", trigger: ["blur", "change"] }, | ||
| 29 | + { | ||
| 30 | + validator: (rule, value, callback) => { | ||
| 31 | + return common_vendor.index.$u.test.chinese(value); | ||
| 32 | + }, | ||
| 33 | + message: "请输入中文", | ||
| 34 | + // 触发器可以同时用blur和change | ||
| 35 | + trigger: ["change", "blur"] | ||
| 36 | + } | ||
| 37 | + ], | ||
| 38 | + identificationNumber: [ | ||
| 39 | + { required: true, message: "请输入身份证号", trigger: ["blur", "change"] }, | ||
| 40 | + { | ||
| 41 | + validator: (rule, value, callback) => { | ||
| 42 | + return common_vendor.index.$u.test.idCard(value); | ||
| 43 | + }, | ||
| 44 | + message: "身份证号码不正确", | ||
| 45 | + // 触发器可以同时用blur和change | ||
| 46 | + trigger: ["change", "blur"] | ||
| 47 | + } | ||
| 48 | + ], | ||
| 49 | + phone: [ | ||
| 50 | + { required: true, message: "请输入手机号", trigger: ["blur", "change"] }, | ||
| 51 | + { | ||
| 52 | + validator: (rule, value, callback) => { | ||
| 53 | + return common_vendor.index.$u.test.mobile(value); | ||
| 54 | + }, | ||
| 55 | + message: "手机号码不正确", | ||
| 56 | + // 触发器可以同时用blur和change | ||
| 57 | + trigger: ["change", "blur"] | ||
| 58 | + } | ||
| 59 | + ] | ||
| 60 | + }; | ||
| 61 | + const customStyle = { | ||
| 62 | + height: "80rpx", | ||
| 63 | + backgroundColor: "#F9F9F9", | ||
| 64 | + paddingLeft: "40rpx" | ||
| 65 | + }; | ||
| 66 | + const placeholderStyle = { | ||
| 67 | + color: "#bbb", | ||
| 68 | + fontSize: "28rpx" | ||
| 69 | + }; | ||
| 70 | + common_vendor.onReady(() => { | ||
| 71 | + logFormRef.value.setRules(rules); | ||
| 72 | + }); | ||
| 73 | + const goPrivacy = () => { | ||
| 74 | + common_vendor.index.navigateTo({ | ||
| 75 | + url: "/pages/privacy/privacy" | ||
| 76 | + }); | ||
| 77 | + }; | ||
| 78 | + const submit = () => { | ||
| 79 | + logFormRef.value.validate().then(async (valid) => { | ||
| 80 | + if (valid) { | ||
| 81 | + common_vendor.index.$u.toast("登录成功"); | ||
| 82 | + common_vendor.index.switchTab({ | ||
| 83 | + url: "/pages/index/index" | ||
| 84 | + }); | ||
| 85 | + } else { | ||
| 86 | + common_vendor.index.$u.toast("校验失败"); | ||
| 87 | + } | ||
| 88 | + }).catch(() => { | ||
| 89 | + common_vendor.index.$u.toast("校验失败"); | ||
| 90 | + }); | ||
| 91 | + }; | ||
| 92 | + return (_ctx, _cache) => { | ||
| 93 | + return { | ||
| 94 | + a: common_assets._imports_0, | ||
| 95 | + b: common_vendor.o(($event) => logForm.value.name = $event), | ||
| 96 | + c: common_vendor.p({ | ||
| 97 | + shape: "circle", | ||
| 98 | + border: "none", | ||
| 99 | + fontSize: "28rpx", | ||
| 100 | + color: "#bbb", | ||
| 101 | + placeholderStyle, | ||
| 102 | + customStyle, | ||
| 103 | + placeholder: "请输入真实姓名", | ||
| 104 | + modelValue: logForm.value.name | ||
| 105 | + }), | ||
| 106 | + d: common_vendor.p({ | ||
| 107 | + prop: "name" | ||
| 108 | + }), | ||
| 109 | + e: common_assets._imports_1, | ||
| 110 | + f: common_vendor.o(($event) => logForm.value.identificationNumber = $event), | ||
| 111 | + g: common_vendor.p({ | ||
| 112 | + shape: "circle", | ||
| 113 | + border: "none", | ||
| 114 | + fontSize: "28rpx", | ||
| 115 | + color: "#bbb", | ||
| 116 | + placeholderStyle, | ||
| 117 | + customStyle, | ||
| 118 | + placeholder: "请输入身份证号", | ||
| 119 | + modelValue: logForm.value.identificationNumber | ||
| 120 | + }), | ||
| 121 | + h: common_vendor.p({ | ||
| 122 | + prop: "identificationNumber" | ||
| 123 | + }), | ||
| 124 | + i: common_assets._imports_2, | ||
| 125 | + j: common_vendor.o(($event) => logForm.value.phone = $event), | ||
| 126 | + k: common_vendor.p({ | ||
| 127 | + shape: "circle", | ||
| 128 | + border: "none", | ||
| 129 | + fontSize: "28rpx", | ||
| 130 | + color: "#bbb", | ||
| 131 | + placeholderStyle, | ||
| 132 | + customStyle, | ||
| 133 | + placeholder: "请输入手机号码", | ||
| 134 | + modelValue: logForm.value.phone | ||
| 135 | + }), | ||
| 136 | + l: common_vendor.p({ | ||
| 137 | + prop: "phone" | ||
| 138 | + }), | ||
| 139 | + m: common_vendor.sr(logFormRef, "f2ff8f80-0", { | ||
| 140 | + "k": "logFormRef" | ||
| 141 | + }), | ||
| 142 | + n: common_vendor.p({ | ||
| 143 | + model: logForm.value | ||
| 144 | + }), | ||
| 145 | + o: common_vendor.o(goPrivacy), | ||
| 146 | + p: common_vendor.o(submit) | ||
| 147 | + }; | ||
| 148 | + }; | ||
| 149 | + } | ||
| 150 | +}; | ||
| 151 | +const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["__scopeId", "data-v-f2ff8f80"]]); | ||
| 152 | +wx.createPage(MiniProgramPage); |
| 1 | +{ | ||
| 2 | + "navigationBarTitleText": "", | ||
| 3 | + "navigationStyle": "custom", | ||
| 4 | + "usingComponents": { | ||
| 5 | + "up-input": "../../uni_modules/uview-plus/components/u-input/u-input", | ||
| 6 | + "up-form-item": "../../uni_modules/uview-plus/components/u-form-item/u-form-item", | ||
| 7 | + "up-form": "../../uni_modules/uview-plus/components/u-form/u-form" | ||
| 8 | + } | ||
| 9 | +} |
| 1 | +<view class="login-container data-v-f2ff8f80"><view class="login-box data-v-f2ff8f80"><up-form wx:if="{{n}}" class="r data-v-f2ff8f80" u-s="{{['d']}}" u-r="logFormRef" u-i="f2ff8f80-0" bind:__l="__l" u-p="{{n}}"><up-form-item wx:if="{{d}}" class="data-v-f2ff8f80" u-s="{{['d']}}" u-i="f2ff8f80-1,f2ff8f80-0" bind:__l="__l" u-p="{{d}}"><up-input wx:if="{{c}}" class="data-v-f2ff8f80" u-s="{{['prefix']}}" u-i="f2ff8f80-2,f2ff8f80-1" bind:__l="__l" bindupdateModelValue="{{b}}" u-p="{{c}}"><image class="data-v-f2ff8f80" style="width:32rpx;margin-right:18rpx;margin-top:10rpx" src="{{a}}" mode="widthFix" slot="prefix"></image></up-input></up-form-item><up-form-item wx:if="{{h}}" class="data-v-f2ff8f80" u-s="{{['d']}}" u-i="f2ff8f80-3,f2ff8f80-0" bind:__l="__l" u-p="{{h}}"><up-input wx:if="{{g}}" class="data-v-f2ff8f80" u-s="{{['prefix']}}" u-i="f2ff8f80-4,f2ff8f80-3" bind:__l="__l" bindupdateModelValue="{{f}}" u-p="{{g}}"><image class="data-v-f2ff8f80" style="width:32rpx;margin-right:18rpx;margin-top:10rpx" src="{{e}}" mode="widthFix" slot="prefix"></image></up-input></up-form-item><up-form-item wx:if="{{l}}" class="data-v-f2ff8f80" u-s="{{['d']}}" u-i="f2ff8f80-5,f2ff8f80-0" bind:__l="__l" u-p="{{l}}"><up-input wx:if="{{k}}" class="data-v-f2ff8f80" u-s="{{['prefix']}}" u-i="f2ff8f80-6,f2ff8f80-5" bind:__l="__l" bindupdateModelValue="{{j}}" u-p="{{k}}"><image class="data-v-f2ff8f80" style="width:32rpx;margin-right:18rpx;margin-top:10rpx" src="{{i}}" mode="widthFix" slot="prefix"></image></up-input></up-form-item></up-form></view><view class="tip data-v-f2ff8f80"> 未注册或绑定该车型平台的身份证号,将帮你注册新账号,点击登录即代表你同意<text class="data-v-f2ff8f80" style="color:#3680FE" bindtap="{{o}}">《隐私政策》</text></view><view class="log-btn data-v-f2ff8f80" bindtap="{{p}}">登录</view></view> |
| 1 | +/** | ||
| 2 | + * 这里是uni-app内置的常用样式变量 | ||
| 3 | + * | ||
| 4 | + * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量 | ||
| 5 | + * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App | ||
| 6 | + * | ||
| 7 | + */ | ||
| 8 | +/** | ||
| 9 | + * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能 | ||
| 10 | + * | ||
| 11 | + * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件 | ||
| 12 | + */ | ||
| 13 | +/* 颜色变量 */ | ||
| 14 | +/* 行为相关颜色 */ | ||
| 15 | +/* 文字基本颜色 */ | ||
| 16 | +/* 背景颜色 */ | ||
| 17 | +/* 边框颜色 */ | ||
| 18 | +/* 尺寸变量 */ | ||
| 19 | +/* 文字尺寸 */ | ||
| 20 | +/* 图片尺寸 */ | ||
| 21 | +/* Border Radius */ | ||
| 22 | +/* 水平间距 */ | ||
| 23 | +/* 垂直间距 */ | ||
| 24 | +/* 透明度 */ | ||
| 25 | +/* 文章场景相关 */ | ||
| 26 | +/* uni.scss */ | ||
| 27 | +.login-container.data-v-f2ff8f80 { | ||
| 28 | + width: 100%; | ||
| 29 | + height: 100vh; | ||
| 30 | + background: url("http://bxhd.crgx.net/profile/avatar/2024/09/25/bg-login_20240925112841A003.png") no-repeat; | ||
| 31 | + background-size: 100% 100%; | ||
| 32 | + overflow: hidden; | ||
| 33 | +} | ||
| 34 | +.login-container .login-box.data-v-f2ff8f80 { | ||
| 35 | + width: 690rpx; | ||
| 36 | + padding: 40rpx 44rpx; | ||
| 37 | + background-color: #fff; | ||
| 38 | + z-index: 10; | ||
| 39 | + margin: 442rpx auto 40rpx; | ||
| 40 | + box-shadow: 0rpx 8rpx 40rpx 0rpx rgba(10, 22, 44, 0.06); | ||
| 41 | + border-radius: 40rpx; | ||
| 42 | +} | ||
| 43 | +.login-container .login-box .employeeStatus.data-v-f2ff8f80 { | ||
| 44 | + display: flex; | ||
| 45 | + align-items: center; | ||
| 46 | + gap: 40rpx; | ||
| 47 | + margin-top: 30rpx; | ||
| 48 | +} | ||
| 49 | +.login-container .login-box .employeeStatus .btn.data-v-f2ff8f80 { | ||
| 50 | + flex: 1; | ||
| 51 | + height: 80rpx; | ||
| 52 | + background: #FFFFFF; | ||
| 53 | + border-radius: 200rpx; | ||
| 54 | + border: 2rpx solid #BBBBBB; | ||
| 55 | + font-size: 28rpx; | ||
| 56 | + text-align: center; | ||
| 57 | + line-height: 80rpx; | ||
| 58 | + color: #999; | ||
| 59 | +} | ||
| 60 | +.login-container .login-box .employeeStatus .btn.active.data-v-f2ff8f80 { | ||
| 61 | + background: #75A8FF; | ||
| 62 | + color: #fff; | ||
| 63 | +} | ||
| 64 | +.login-container .tip.data-v-f2ff8f80 { | ||
| 65 | + color: #666; | ||
| 66 | + font-size: 24rpx; | ||
| 67 | + line-height: 28rpx; | ||
| 68 | + padding: 0 40rpx; | ||
| 69 | + margin-bottom: 20rpx; | ||
| 70 | +} | ||
| 71 | +.login-container .log-btn.data-v-f2ff8f80 { | ||
| 72 | + width: 690rpx; | ||
| 73 | + height: 80rpx; | ||
| 74 | + line-height: 80rpx; | ||
| 75 | + text-align: center; | ||
| 76 | + background: #3680FE; | ||
| 77 | + font-size: 28rpx; | ||
| 78 | + margin: 0 auto; | ||
| 79 | + color: #fff; | ||
| 80 | + box-shadow: 0rpx 8rpx 40rpx 0rpx rgba(10, 22, 44, 0.06); | ||
| 81 | + border-radius: 200rpx; | ||
| 82 | +} |
| @@ -9,7 +9,7 @@ | @@ -9,7 +9,7 @@ | ||
| 9 | "list": [ | 9 | "list": [ |
| 10 | { | 10 | { |
| 11 | "name": "pages/login/login", | 11 | "name": "pages/login/login", |
| 12 | - "pathName": "pages/carDetail/carDetail", | 12 | + "pathName": "pages/login/login", |
| 13 | "query": "", | 13 | "query": "", |
| 14 | "launchMode": "default", | 14 | "launchMode": "default", |
| 15 | "scene": null | 15 | "scene": null |
-
请 注册 或 登录 后发表评论