sharePicc.vue 21 KB

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