sharePicc.vue 21 KB

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