sharePicc.vue 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895
  1. <template>
  2. <view class="all">
  3. <u-mask :show="show" @click="show = false">
  4. <u-image width="100%" height="500px" :mode="'widthFix'" src="/static/img/guide_point.png"></u-image>
  5. </u-mask>
  6. <ujp-navbar title="PICC车险活动" :startGz="false" :isBack="back" ></ujp-navbar>
  7. <view class="InviteFriends" :class="{
  8. opacityClass:show
  9. }">
  10. <view class="text imgHead">
  11. <view class="imgHead1">
  12. <img style="width: 105px;" src="@/assets/img/piccShare/1.png"></img>
  13. <img style="width: 16px;height:16px;margin: 3px;" src="@/assets/img/piccShare/2.png"></img>
  14. <img style="width: 125px;" src="@/assets/img/piccShare/3.png"></img>
  15. </view>
  16. <view class="imgHead2">
  17. <img style="width: 252px;height: 28px;" src="@/assets/img/piccShare/4.png"></img>
  18. </view>
  19. </view>
  20. <view class="main">
  21. <view class="suited">
  22. <p class="title">适合对象 :</p>
  23. <view class="content">
  24. 距车险还剩3个月到期的新能源车及燃油车车主。
  25. </view>
  26. <p class="title">适合时间 :</p>
  27. <view class="content">
  28. 2023年12月1日-2024年11月30日
  29. </view>
  30. <p class="title">活动说明 :</p>
  31. <view class="content">
  32. <p>1.本活动为51充电联盟与中国人民保险公司荆州分公司联合发起的回馈客户活动。本次活动所收集到的用户及车辆信息将提供给人保荆州分公司,仅用于投保,不作它用。</p>
  33. <p>2.<span style="color: #01b963;">新能源车</span>参与本活动并投保成功后,可获得1张充电5折年卡。</p>
  34. <p>3.<span style="color: #ee6e30;">燃油车</span>投保成功后,可获得超级代金券,详情请查看<span style="color: #01b963;" @click="gotoUrl('pages/article/details?code=PICCSendPass')" >《活动规则》</span>”。</p>
  35. <p>4.分享奖励:您可以分享此页面至微信社群,其他车友通过链接填报信息并投保成功后,您可获得1张10元超级代金券。</p>
  36. <p>5.本次报名不限数量,如有多辆汽车需要购买车险,可多次报名。</p>
  37. </view>
  38. <view class="bottomView">
  39. <u-button class="button" shape="circle" @click="show=true" >分享活动
  40. <u-icon name="share"></u-icon>
  41. </u-button>
  42. </view>
  43. </view>
  44. <view class="application-form ">
  45. <view class="name">
  46. <p><span style="color: red;">*</span>真实姓名</p>
  47. <u-input v-model="subForm.realName" :customStyle="placeholderStyle" :placeholderStyle="placeholderStyle"
  48. placeholder="请填写真实姓名"></u-input>
  49. </view>
  50. <view class="tel">
  51. <p><span style="color: red;">*</span>联系电话</p>
  52. <u-input v-model="subForm.phone" :customStyle="placeholderStyle"
  53. :placeholderStyle="placeholderStyle" placeholder="请填写联系电话"></u-input>
  54. </view>
  55. <view class="want" v-if="isLogin">
  56. <p><span style="color: red;">*</span>是否使用平台已认证车辆信息</p>
  57. <view class="wantView">
  58. <u-button :class="{
  59. wantBtn:carLicense
  60. }" shape="circle" @tap="carLicense=true">
  61. <span @tap="carLicense=true">{{carNum}}</span>
  62. </u-button>
  63. <u-button :class="{
  64. wantBtn:!carLicense
  65. }" shape="circle" @tap="carLicense=false">
  66. <span @tap="carLicense=false">其他车辆</span>
  67. </u-button>
  68. </view>
  69. <span v-show="carLicense" class="wanttpis" >已认证</span>
  70. </view>
  71. <view class="place" v-show="!carLicense">
  72. <p><span style="color: red;">*</span>车牌号码</p>
  73. <view @click="carTempBl=true,carTempBlInit" class="carTempBlInput">
  74. {{subForm.carNum?subForm.carNum:'请填写车牌号码'}}
  75. </view>
  76. </view>
  77. <view class="type" v-show="!carLicense">
  78. <p><span style="color: red;">*</span>车辆认证</p>
  79. <view style="font-size: 12px;color:rgba(51, 51, 51, 1);margin: 2px 0;">上传机动车行驶证清晰照片</view>
  80. <view class="checkbox">
  81. <view class="car-type">
  82. <view class="carAuth">
  83. <view class="mark" v-show="!carAuthImg">
  84. <view class="text">例</view>
  85. </view>
  86. <view class="carAuthIcon" @click="uploadPhoto">
  87. <u-icon name="camera-fill" custom-prefix="custom-icon" color="#fff" size="48"></u-icon>
  88. </view>
  89. <image class="carAuthImg" @click="uploadPhoto" v-show="carAuthImg" :src="carAuthImg"></image>
  90. <image class="carAuthImg" @click="uploadPhoto" v-show="!carAuthImg" src="@/assets/img/carDet/authtest.png"></image>
  91. </view>
  92. </view>
  93. </view>
  94. </view>
  95. <view class="hint">
  96. 查看<span style="color: #01b963;" @click="gotoUrl('pages/article/details?code=PICCSendPass')" >《购车险送年卡活动规则》</span>
  97. </view>
  98. <u-button type="warning" @click="submit">提交申请</u-button>
  99. </view>
  100. </view>
  101. </view>
  102. <u-modal v-model="show1" @confirm="gotoGz" cancel-text="暂不关注" confirm-text="前往关注" :show-cancel-button="false"
  103. confirm-color="#53b56b" ref="uModal2" :asyncClose="true">
  104. <view style="padding: 15px;">请先关注<span style=" color: #53b56b;">{{projectName}}</span>公众号,然后进行填报</view>
  105. </u-modal>
  106. <u-mask :show="carTempBl" >
  107. <ucarkeyboard v-if="carTempBl" :tips="subForm.carNum" style="z-index: 9999;position: fixed !important;" ref="uKeyboard" mode="car"
  108. @confirm="carTempBl=false" @cancel="carTempBl=false" :showTips="true"
  109. :mask-close-able="false" @change="valChange" @backspace="backspace"></ucarkeyboard>
  110. </u-mask>
  111. </view>
  112. </template>
  113. <script>
  114. import wx from 'weixin-js-sdk'
  115. import {
  116. convertCanvasToImage,
  117. substrMb
  118. } from '@/utils'
  119. import {
  120. checkPhone
  121. } from '@/utils'
  122. import * as API from '@/apis/friends.js'
  123. import * as WxJsApi from '@/utils/wxJsApi.js'
  124. import * as API_weixin from '@/apis/weixin.js'
  125. import ucarkeyboard from '@/components/Ucarkeyboard.vue'
  126. export default {
  127. components: {
  128. ucarkeyboard
  129. },
  130. data() {
  131. return {
  132. isLogin:false,
  133. carAuthImg:"",
  134. id: "",
  135. carTempBl:false,
  136. code: "",
  137. show: false,
  138. uid: "",
  139. show1: false,
  140. show2: false,
  141. projectName: "",
  142. name: "",
  143. back: true,
  144. subForm: {
  145. realName:"",
  146. phone: "",
  147. carNum:"",
  148. licenseFileUrl: "",
  149. openId:"",
  150. shareUserId: ""
  151. },
  152. placeholderStyle: {
  153. 'font-size': '16px',
  154. 'padding': '4px 8px'
  155. },
  156. shareUserId:"",
  157. userInfo:null,
  158. carNum:'',
  159. carLicense:false,
  160. }
  161. },
  162. onLoad(op) {
  163. if(op.back){
  164. this.back=false
  165. }
  166. this.projectName = process.car.ProjectName;
  167. if(op.sid){
  168. this.shareUserId = op.sid
  169. this.carhelp.set("picc_shareUserId_1112",{
  170. sid:op.sid,
  171. time:new Date().getTime()
  172. });
  173. }else{
  174. var obj=this.carhelp.get("picc_shareUserId_1112")
  175. if(obj){
  176. var time1 =new Date().getTime()
  177. var time2 =obj.time;
  178. if(time1-time2<1000*60*60){
  179. this.shareUserId = obj.sid;
  180. }
  181. }
  182. }
  183. //console.log(this.shareUserId )
  184. if(this.shareUserId ){
  185. uni.showToast({
  186. title:"来自好友的分享"
  187. })
  188. }
  189. this.get_wx_config();
  190. },
  191. onReady() {
  192. var info = this.carhelp.getPersonInfo();
  193. if(info.id&&info.carLicense){
  194. this.isLogin=true
  195. this.userInfo=info;
  196. this.carLicense=true;
  197. //console.log(JSON.parse(info.carLicenseJson))
  198. this.carNum=JSON.parse(info.carLicenseJson)["号牌号码"].words
  199. }
  200. },
  201. onShow() {
  202. this.checkSubscribe()
  203. },
  204. methods: {
  205. carTempBlInit() {
  206. var aaa = this.$refs.uKeyboard.changeCarInputValue();
  207. console.log(aaa)
  208. if (this.subForm.carNum.length && !aaa) {
  209. var c = this.$refs.uKeyboard.changeCarInputMode();
  210. }
  211. },
  212. // 按键被点击(点击退格键不会触发此事件)
  213. // 按键被点击(点击退格键不会触发此事件)
  214. valChange(val) {
  215. if (this.subForm.carNum.length >= 8) {
  216. return
  217. }
  218. this.subForm.carNum += val;
  219. // 将每次按键的值拼接到form.carNum变量中,注意+=写法
  220. //(this.subForm.carNum);
  221. var aaa = this.$refs.uKeyboard.changeCarInputValue();
  222. if ((this.subForm.carNum.length == 0) && aaa) {
  223. this.$refs.uKeyboard.changeCarInputMode();
  224. } else if (!aaa) {
  225. this.$refs.uKeyboard.changeCarInputMode();
  226. }
  227. },
  228. // 退格键被点击
  229. backspace() {
  230. // 删除form.carNum的最后一个字符
  231. if (this.subForm.carNum.length) {
  232. if (true) {
  233. this.subForm.carNum = this.subForm.carNum.substr(0, this.subForm.carNum.length - 1);
  234. } else {
  235. //this.selectIndex=-1;
  236. }
  237. }
  238. //(this.subForm.carNum);
  239. var aaa = this.$refs.uKeyboard.changeCarInputValue();
  240. if (this.subForm.carNum.length == 0 && aaa) {
  241. this.$refs.uKeyboard.changeCarInputMode();
  242. }
  243. },
  244. checkSubscribe() {
  245. API_weixin.checkSubscribe({
  246. openId: this.carhelp.getOpenId()
  247. }).then((res) => {
  248. if (res.data == "0") {
  249. this.show1 = true
  250. } else {
  251. //this.init();
  252. this.show1 = false;
  253. this.show2 = true;
  254. //this.carhelp.setGzDate()
  255. }
  256. //setGzDate
  257. }).catch(error => {
  258. uni.showToast({
  259. title: error
  260. })
  261. })
  262. },
  263. gotoGz() {
  264. this.carhelp.setGzDate()
  265. // this.gotoGzShow = false;
  266. var url = "https://mp.weixin.qq.com/s/mCHz1nNvg0xAICiBeIyKRQ";
  267. window.location.href = url
  268. },
  269. submit(){
  270. this.subForm.openId=this.carhelp.getOpenId();
  271. this.subForm.shareUserId=this.shareUserId;
  272. this.subForm.licenseFileUrl=this.carAuthImg
  273. if(this.carLicense){
  274. this.subForm.licenseFileUrl=this.userInfo.carLicense
  275. this.subForm.carNum=this.carNum
  276. }
  277. if(!this.subForm.realName){
  278. uni.showToast({
  279. title:"请输入车主姓名"
  280. })
  281. return
  282. }
  283. if(!this.subForm.phone){
  284. uni.showToast({
  285. title:"请输入联系电话"
  286. })
  287. return
  288. }
  289. var checkPhoneResult = checkPhone(this.subForm.phone);
  290. if (checkPhoneResult !== true) {
  291. uni.showToast({
  292. title: checkPhoneResult,
  293. })
  294. return;
  295. }
  296. if(!this.subForm.carNum){
  297. uni.showToast({
  298. title:"请输入车牌号码"
  299. })
  300. return
  301. }
  302. if(!this.subForm.licenseFileUrl){
  303. uni.showToast({
  304. title:"请上传行驶证"
  305. })
  306. return
  307. }
  308. uni.showLoading({
  309. title: "加载中",
  310. mask: true,
  311. })
  312. API.submitPicc(this.subForm).then((res) => {
  313. uni.hideLoading()
  314. if(res.result){
  315. uni.showModal({
  316. //showCancel:false,
  317. title:"提示",
  318. content:"提交成功!",
  319. confirmText:"前往主页",
  320. success:(me)=> {
  321. this.carAuthImg="";
  322. this.subForm={
  323. realName:"",
  324. phone: "",
  325. carNum:"",
  326. licenseFileUrl: "",
  327. //openId:"",
  328. //shareUserId: ""
  329. }
  330. if(me.confirm){
  331. uni.reLaunch({
  332. url:"/"
  333. })
  334. }
  335. }
  336. })
  337. }
  338. }).catch(error => {
  339. uni.showToast({
  340. title: error,
  341. icon: "none"
  342. })
  343. })
  344. },
  345. uploadFile(imageSrc){
  346. var action=process.car.BASE_URL+"uploadPicture"
  347. var token=this.carhelp.getToken()
  348. var header={
  349. 'Authorization':token
  350. }
  351. var formData={
  352. subFolder:"/team51/picc"
  353. }
  354. var _this=this
  355. uni.showLoading({
  356. title: '上传中',
  357. mask: true,
  358. })
  359. uni.uploadFile({
  360. url: action, //仅为示例,非真实的接口地址
  361. filePath: imageSrc,
  362. name: 'photoFile',
  363. header: header,
  364. formData: formData,
  365. success: (res) => {
  366. uni.hideLoading();
  367. uni.showToast({
  368. title: '上传成功',
  369. icon: 'success',
  370. duration: 1000
  371. })
  372. _this.carAuthImg = JSON.parse(res.data).data
  373. _this.$forceUpdate()
  374. },
  375. fail: (err) => {
  376. console.log('uploadImage fail', err);
  377. uni.hideLoading();
  378. uni.showModal({
  379. content: err.errMsg,
  380. showCancel: false
  381. });
  382. },
  383. });
  384. },
  385. uploadPhoto() {
  386. uni.chooseImage({
  387. count: 1,
  388. sizeType:['compressed'],
  389. success: async (res) => {
  390. console.log(res)
  391. var imageSrc = res.tempFilePaths[0]
  392. this.uploadFile(imageSrc);
  393. },
  394. fail: (err) => {
  395. console.log('chooseImage fail', err)
  396. }
  397. })
  398. },
  399. //获取微信jssdk配置信息
  400. get_wx_config() {
  401. //("get_wx_configget_wx_configget_wx_configget_wx_config")
  402. var _this = this
  403. API_weixin.getConfig().then(response => {
  404. var wxconfig = response.data.wxConfig;
  405. wx.config({
  406. debug: false, // 开启调试模式,
  407. appId: wxconfig.appId, // 必填,企业号的唯一标识,此处填写企业号corpid
  408. timestamp: wxconfig.timestamp, // 必填,生成签名的时间戳
  409. nonceStr: wxconfig.nonceStr, // 必填,生成签名的随机串
  410. signature: wxconfig.signature, // 必填,签名,见附录1
  411. jsApiList: ['updateAppMessageShareData',
  412. 'updateTimelineShareData','onMenuShareTimeline', 'onMenuShareAppMessage', 'onMenuShareQQ', 'onMenuShareQZone'], // 必填,需要使用的JS接口列表,所有JS接口列表见附录2
  413. });
  414. _this.wxShare()
  415. wx.error(function(res) {
  416. //('微信api配置出错');
  417. });
  418. }).catch(error => {
  419. //(error);
  420. })
  421. },
  422. //微信分享自定义
  423. wxShare() {
  424. var img =
  425. "http://oss.xiaoxinda.com/charging/chargingconfigure/2022/6/6/ec228c56-487a-4ae1-ac6f-37284060fbba/hongbao.jpg"
  426. // img="https://yktwechat.xiaoxinda.com/config/xxd2021.jpg"
  427. // if (indexLogo) {
  428. // this.indexLogo = indexLogo;
  429. // }
  430. var info = this.carhelp.getPersonInfo()
  431. //var img=require("@/static/img/aboutus.png")
  432. ////(this.nowItem);
  433. var ProjectName = process.car.ProjectName; //info.nickName+
  434. var nickName = info.nickName ? info.nickName : '好友';
  435. var title = nickName + "邀请你参加'购车险送年卡活动'"
  436. //"["+ProjectName+"]"+'和好友一起领5元红包'
  437. var desc = ProjectName
  438. let joinUrl = window.location.href.split("/team51/")[0] + "/team51/#/pages/user/sharePicc?back=1"
  439. //this.joinUrl=joinUrl;
  440. if(info.id){
  441. joinUrl+="&sid=" + info.id;
  442. }
  443. var _this=this;
  444. wx.ready(function() {
  445. wx.onMenuShareAppMessage({
  446. title: title,
  447. desc: desc,
  448. link: joinUrl,
  449. imgUrl: img,
  450. success: function() {
  451. // 设置成功
  452. _this.$emit("wxShare",null);
  453. }
  454. })
  455. wx.onMenuShareTimeline({
  456. title: title,
  457. desc: desc,
  458. link: joinUrl,
  459. imgUrl: img,
  460. success: function() {
  461. // 设置成功
  462. _this.$emit("wxShare",null);
  463. }
  464. })
  465. wx.updateAppMessageShareData({
  466. title: title,
  467. desc: desc,
  468. link: joinUrl,
  469. imgUrl: img,
  470. success: function() {
  471. //("updateAppMessageShareData")
  472. // 设置成功
  473. _this.$emit("wxShare", null);
  474. }
  475. })
  476. wx.updateTimelineShareData({
  477. title: title,
  478. desc: desc,
  479. link: joinUrl,
  480. imgUrl: img,
  481. success: function() {
  482. //("updateTimelineShareData")
  483. // 设置成功
  484. _this.$emit("wxShare", null);
  485. }
  486. })
  487. console.log("readyreadyreadyreadyready")
  488. });
  489. }
  490. }
  491. }
  492. </script>
  493. <style>
  494. page {}
  495. </style>
  496. <style lang="scss" scoped>
  497. @import "@/_theme.scss";
  498. .all {
  499. @include themeify {
  500. font-size: themed('font-size1');
  501. }
  502. }
  503. .imgHead{
  504. padding-top: 72rpx;
  505. display: flex;
  506. flex-direction: column;
  507. align-items: center;
  508. .imgHead1{
  509. img{
  510. height: 20px;
  511. }
  512. display: flex;
  513. justify-content: center;
  514. }
  515. .imgHead2{
  516. display: flex;
  517. img{
  518. width: 100%;
  519. height: 20px;
  520. }
  521. margin-top: 16px;
  522. }
  523. }
  524. .main {
  525. padding: 22rpx 56rpx 170rpx;
  526. .text {
  527. color: rgba(255, 255, 255, 100);
  528. @include themeify {
  529. font-size: themed('font-size4');
  530. }
  531. /* font-size: 18px;*/
  532. text-align: justify;
  533. text-indent: 36px;
  534. }
  535. .suited {
  536. background-color: #fff;
  537. background: linear-gradient(180deg, rgba(189,255,224,1) 0%,rgba(255,255,255,1) 14%);
  538. margin-top: 24px;
  539. padding: 24px;
  540. border-radius: 16px;
  541. .title {
  542. /*height: 18px;*/
  543. color: rgba(16, 16, 16, 100);
  544. font-size: 18px;
  545. font-weight: 600;
  546. }
  547. .content {
  548. margin: 16rpx 0;
  549. //font-weight: 550;
  550. color: rgba(102, 102, 102, 1);
  551. line-height: 20px;
  552. font-size: 14px;
  553. p{
  554. margin: 8rpx 0;
  555. }
  556. }
  557. }
  558. .application-form {
  559. background-color: #fff;
  560. border-radius: 16px;
  561. margin-top: 24px;
  562. padding: 24px;
  563. .u-input {
  564. border-radius: 50px;
  565. background-color: rgba(232, 236, 234, 100);
  566. margin-top: 12px;
  567. }
  568. /deep/.uni-input-input {
  569. margin: 20px;
  570. }
  571. /deep/.u-input__right-icon {
  572. margin-right: 10px;
  573. }
  574. p {
  575. font-size:18px;
  576. @include themeify {
  577. line-height: themed('font-size4');
  578. height: themed('font-size4');
  579. }
  580. /* height: 18px;
  581. line-height: 18px;*/
  582. color: rgba(16, 16, 16, 100);
  583. /* font-size: 18px;*/
  584. }
  585. .tel,
  586. .place,
  587. .type,
  588. .want {
  589. margin-top: 24px;
  590. }
  591. .textarea {
  592. width: 72.2vw;
  593. height: 140px;
  594. border-radius: 22px;
  595. background-color: rgba(232, 236, 234, 100);
  596. margin-top: 12px;
  597. overflow-y: scroll;
  598. @include themeify {
  599. font-size: themed('font-size2');
  600. line-height: themed('font-size2');
  601. }
  602. .uni-textarea-placeholder {
  603. padding: 12px 20px;
  604. @include themeify {
  605. font-size: themed('font-size2');
  606. line-height: themed('font-size2');
  607. }
  608. }
  609. /deep/.uni-textarea-textarea {
  610. width: 90%;
  611. padding: 10px 20px;
  612. }
  613. /deep/.u-input__right-icon {
  614. display: none;
  615. }
  616. }
  617. }
  618. .type {
  619. .checkbox {
  620. margin-top: 12px;
  621. /deep/.u-checkbox {
  622. width: 50% !important;
  623. margin-top: 4px;
  624. }
  625. }
  626. }
  627. .want {
  628. /deep/.u-checkbox {
  629. margin-top: 8px;
  630. }
  631. }
  632. .hint {
  633. margin-top: 12px;
  634. @include themeify {
  635. font-size: themed('font-size2');
  636. line-height: themed('font-size5');
  637. }
  638. /*
  639. font-size: 14px;
  640. line-height: 20px;
  641. */
  642. text-align: center;
  643. .tel-num {
  644. color: #9FC7FF;
  645. }
  646. }
  647. /deep/.u-btn {
  648. border-radius: 50px;
  649. margin-top: 24px;
  650. }
  651. }
  652. .InviteFriends {
  653. background-image: linear-gradient(0deg, #a2e9c9, #01b963);
  654. }
  655. .opacityClass {
  656. opacity: 0.2;
  657. }
  658. // 底部
  659. .bottomView {
  660. border-radius: 50px;
  661. color:rgba(0, 185, 98, 100);
  662. // width: 100%;
  663. // height: 64px;
  664. // text-align: center;
  665. // background-color: #fff;
  666. .button{
  667. //width: 90%;
  668. border-radius: 50px;
  669. // background-color: #fff;
  670. color:rgba(0, 185, 98, 100);
  671. font-size: 16px;
  672. border: 1px solid rgba(0, 163, 86, 1);
  673. }
  674. // button::after {
  675. // border: rgba(0, 185, 98, 100);
  676. // }
  677. }
  678. .carAuth{
  679. border-radius: 12px;
  680. background-color: rgba(255, 255, 255, 1);
  681. border: 2px dashed rgba(187, 187, 187, 1);
  682. //height: 400rpx;
  683. width: 100%;
  684. overflow: hidden;
  685. text-align: center;
  686. .carAuthImg{
  687. margin-top: 10px;
  688. margin-bottom: 10px;
  689. width: 510rpx;
  690. height: 360rpx;
  691. }
  692. .carAuthIcon{
  693. position: absolute;
  694. background: #6e7175;
  695. width: 44px;
  696. height: 44px;
  697. border-radius: 50px;
  698. /* left: 200px; */
  699. /* top: 200px; */
  700. margin: 160rpx 230rpx;
  701. z-index: 99;
  702. display: flex;
  703. justify-content: center;
  704. }
  705. }
  706. // .car-type{
  707. // display: flex;
  708. // flex-direction: row;
  709. // margin: 0 40rpx;
  710. // flex-wrap: wrap;
  711. // }
  712. .want{
  713. .wantView{
  714. display: flex;
  715. }
  716. button{
  717. width: 45%;
  718. color: rgba(51, 51, 51, 1);
  719. background-color: rgba(232, 236, 234, 1);
  720. }
  721. button::after {
  722. border: none;
  723. }
  724. .wantBtn{
  725. background-color: #fff;
  726. border:2px solid #00B962;
  727. }
  728. .wanttpis{
  729. position: relative;
  730. top: -100rpx;
  731. left: 180rpx;
  732. z-index: 99;
  733. background: #00B962 ;
  734. padding: 2px 3px;
  735. font-size: 10px;
  736. color:#fff;
  737. border-radius: 4px;
  738. }
  739. }
  740. .carTempBlInput{
  741. display: flex;
  742. align-items: center;
  743. font-size: 16px;
  744. min-height: 44px;
  745. padding: 4px 16px;
  746. border-radius:20px;
  747. background: #e9ecea ;
  748. color:#808080
  749. }
  750. </style>