shop_detail.vue 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903
  1. <template>
  2. <view class="wrap">
  3. <view class="header">
  4. <swiper autoplay="true" class="swiper">
  5. <swiper-item>
  6. <view class="detail_banner"><image mode="widthFix" :src="url + allData.banner"/></view>
  7. <view class="phone_num" @tap="toPhoto"><view class="iconfont photo_icon"></view> {{allData.photoNum}}张</view>
  8. </swiper-item>
  9. </swiper>
  10. </view>
  11. <!-- 公司品牌 -->
  12. <view class="company">
  13. <view class="company_top clear">
  14. <view class="company_top_title">{{allData.name}}</view>
  15. <view class="company_top_ren" v-if="allData.status == 1">
  16. <image src="https://wx.fujinyangche.com/nvrnetwork/images/vip.png"></image>
  17. </view>
  18. <view class="company_top_num">
  19. <view class="iconfont company_top_num_icon"></view>
  20. {{allData.pv}}
  21. </view>
  22. </view>
  23. <view class="company_bottom">
  24. <view class="company_bottom_wrap">
  25. <view class="company_bottom_item" v-for="item,index in allData.mainBusiness" :key="index">
  26. <view class="company_bottom_tit">{{item}}</view>
  27. </view>
  28. </view>
  29. <view class="class_more" @tap="toAllServe">查看明细 <text class="iconfont shuang_you"></text></view>
  30. </view>
  31. </view>
  32. <!-- 公司地址 -->
  33. <view class="address1">
  34. <view class="address_left clear" @tap="openLocat">
  35. <view class="address_tit">
  36. <view class="iconfont address_ditu"></view>
  37. {{allData.address}}
  38. </view>
  39. <view class="address_che">{{allData.distance}}</view>
  40. </view>
  41. <view class="address_right" @tap="call"><view class="iconfont iphone"></view></view>
  42. </view>
  43. <!-- 空白 -->
  44. <view class="back"></view>
  45. <!-- 营业时间 -->
  46. <view class="time">
  47. <view><view class="iconfont time_icon"></view>{{allData.businessTime}}</view>
  48. </view>
  49. <view class="back"></view>
  50. <!-- 业务介绍 -->
  51. <view class="yewu" style="overflow:hidden;">
  52. <view>
  53. <view class="line"></view>
  54. <view class="yewu_tit">业务介绍</view>
  55. </view>
  56. <view :class="{jianjie:true,isShow:isLoad}">
  57. <text>{{allData.introduce}}</text>
  58. </view>
  59. <view class="isLoad" @tap="isShow">{{isLoad?'展开':'收起'}}<view class="iconfont header_bottom"></view></view>
  60. </view>
  61. <view class="back"></view>
  62. <!-- 服务项目 -->
  63. <view class="fuwu">
  64. <view class="clear">
  65. <view style="float:left;">
  66. <view class="line"></view>
  67. <view class="yewu_tit">服务项目</view>
  68. </view>
  69. </view>
  70. <view class="nav_ul" style="position:relative;" v-if="allData.servieItemType !== null">
  71. <scroll-view scroll-x="true" style="width: 100%; white-space: nowrap; display: flex;height:48rpx;overflow:hidden;">
  72. <view v-for="item,index in allData.servieItemType" :key="index"
  73. :class="['nav_nav', isIndex == item.pServiceName?'active':'']"
  74. :data-value="item.pServiceName"
  75. :data-storeid ="item.storeId"
  76. @tap="switchTab">{{item.pServiceName}}
  77. <view class="nav_line"></view>
  78. </view>
  79. </scroll-view>
  80. </view>
  81. <view class="fuwu_list clear">
  82. <view v-for="item,index in allData.serviceItemDetail" :key="index" class="fuwu_list_item clear"@tap="toProjectDetail(item.id)">
  83. <view class="fuwu_list_item_img">
  84. <image :src="url + item.faceImg"></image>
  85. </view>
  86. <view class="fuwu_list_item_tit">
  87. <view class="fuwu_list_item_tit_zi">{{item.name}}</view>
  88. <view style="float: left;margin-top:24rpx;">
  89. <view class="price"><text style="font-size:36rpx;">¥</text>{{item.disPrice}}</view>
  90. <view class="price2">¥ {{item.price}}</view>
  91. </view>
  92. <view class="tag">{{item.serviceName}}</view>
  93. </view>
  94. </view>
  95. </view>
  96. </view>
  97. <view class="back"></view>
  98. <!-- 品牌介绍 -->
  99. <view class="pinpai" v-if="allData.brand !== null">
  100. <view>
  101. <view class="line"></view>
  102. <view class="yewu_tit">品牌介绍</view>
  103. </view>
  104. <navigator class="about clear" hover-class="none" :url="'../brand_detail/brand_detail?storeid='+ allData.storeId + '&brandid=' + allData.brand.id" >
  105. <view style="float:left;"><image :src="url + allData.brand.logo" class="com_logo"/></view>
  106. <view style="float:left;margin: 4rpx 0 0 20rpx">
  107. <view style="font-weight:bold;line-height:56rpx;">{{allData.brand.name}}</view>
  108. <view style="width:100%;overflow:hidden;">
  109. <view v-for="item,index in allData.brand.afford" :key="index" class="right_item"><view class="iconfont right"></view>{{item}}</view>
  110. </view>
  111. </view>
  112. <view class="iconfont more"></view>
  113. </navigator>
  114. </view>
  115. <view class="back"></view>
  116. <!-- 其他分店 -->
  117. <view class="other_shop">
  118. <view class="clear">
  119. <view style="float:left;">
  120. <view class="line"></view>
  121. <view class="yewu_tit">其他分店 <text class="outher_num">({{allData.brandNum}})</text></view>
  122. </view>
  123. <navigator v-if="allData.brandNum != 0" class="fuwu_more" hover-class="none" :url="'../other_shop/other_shop?storeid=' + allData.storeId + '&brandid=' + allData.brand.id + '&status=0'">查看全部<view class="iconfont shuang_you"></view></navigator>
  124. </view>
  125. <view class="save">
  126. <image :src="url + allData.qrcode" class="erweima"></image>
  127. <view class="save_company">本店铺专属小程序码</view>
  128. <view class="save_btn" @tap="saveImg">保存</view>
  129. </view>
  130. </view>
  131. <view class="back"></view>
  132. <!-- 报错和认领店铺 -->
  133. <view class="bug">
  134. <navigator class="bug_tel" hover-class="none" :url="'/components/shop_error/shop_error?id=' + id"><view class="iconfont bug_tel_icon"></view>地址、电话等信息报错</navigator>
  135. <navigator v-if="allData.isEnter == 0" hover-class="none" url="" class="bug_tel" style="margin:20rpx auto 42rpx;"><view class="iconfont bug_add_icon"></view>我要认领店铺</navigator>
  136. </view>
  137. <!-- 底部 -->
  138. <view class="footer">
  139. <navigator open-type="reLaunch" hover-class="none" url="../../serviceView/serviceView" class="collect1">
  140. <image src="https://wx.fujinyangche.com/nvrnetwork/images/index02.png"></image>
  141. </navigator>
  142. <view class="collect1" @tap="coll">
  143. <view class="iconfont" :class="['iconfont',allData.isCollection == 1?'collectB':'collect',]"></view>
  144. </view>
  145. <button class="collect1" open-type="share"><image src="https://wx.fujinyangche.com/nvrnetwork/images/enjoy.png"></image></button>
  146. <navigator v-if="allData.isEnter == 0" url="../../car_user/enter_apply/index/index" class="enter" hover-class="none">免费入驻</navigator>
  147. <navigator v-if="allData.isEnter == 1 && allData.roleType == 1" url="" class="enter" hover-class="none">店铺管理</navigator>
  148. <navigator v-if="allData.isEnter == 1 && allData.roleType == 2" url="" class="enter" hover-class="none">店铺管理</navigator>
  149. </view>
  150. </view>
  151. </template>
  152. <script>
  153. import api from "../../../../../api.js";
  154. let app = getApp();
  155. export default {
  156. data() {
  157. return {
  158. allData:null,
  159. url:app.globalData.url,
  160. id:'',//商家id
  161. isIndex:'全部',//服务项目导航栏默认选项
  162. isLoad:true,//业务内容是否展开
  163. }
  164. },
  165. onLoad(options) {
  166. //扫码进入页面
  167. const scene = decodeURIComponent(options.scene)
  168. if(scene !== undefined){
  169. this.id = scene
  170. }
  171. this.id = options.id;
  172. this.getData();
  173. },
  174. mounted() {
  175. },
  176. methods: {
  177. //加载数据
  178. getData(){
  179. let data = {
  180. token:app.globalData.token,
  181. id:this.id
  182. }
  183. api.getShopDetail(data).then((res)=>{
  184. console.log(res);
  185. this.allData = res.data.data;
  186. let serviceItemDetail = this.allData.serviceItemDetail;
  187. if(serviceItemDetail !== null){
  188. serviceItemDetail.map((item,index,serviceItemDetail)=>{
  189. if(serviceItemDetail[index].disPrice == null){
  190. serviceItemDetail[index].disPrice = serviceItemDetail[index].price
  191. }
  192. })
  193. }
  194. //修改页面标题
  195. uni.setNavigationBarTitle({
  196. title: this.allData.name,
  197. })
  198. })
  199. },
  200. //跳转图册
  201. toPhoto(){
  202. uni.navigateTo({
  203. url:'../photo/photo'
  204. })
  205. },
  206. //跳转主营信息明细
  207. toAllServe(){
  208. uni.navigateTo({
  209. url:'../all_serve/all_serve'
  210. })
  211. },
  212. //打开地图展示商家地理位置
  213. openLocat(){
  214. let latitude = this.allData.latitude;
  215. let longitude = this.allData.longitude;
  216. console.log(latitude,longitude)
  217. uni.openLocation({
  218. latitude:parseFloat(latitude),
  219. longitude:parseFloat(longitude),
  220. scale: 18,
  221. success : res => {
  222. },
  223. fail: res => {
  224. console.log('失败')
  225. },
  226. complete : res => {
  227. console.log('完成')
  228. }
  229. })
  230. },
  231. //拨打商家电话
  232. call(){
  233. uni.makePhoneCall({
  234. phoneNumber:this.allData.phone
  235. })
  236. },
  237. //业务介绍是否展开
  238. isShow(){
  239. if (this.isLoad){
  240. this.isLoad = false
  241. }else{
  242. this.isLoad = true
  243. }
  244. },
  245. //服务项目导航栏点击切换查询
  246. switchTab(e){
  247. let value = e.currentTarget.dataset.value;
  248. let storeId = e.currentTarget.dataset.storeid;
  249. this.isIndex = value;
  250. let data = {
  251. storeId: storeId,
  252. pName:value
  253. }
  254. api.getShopProject(data).then((res)=>{
  255. console.log(res);
  256. this.allData.serviceItemDetail = res.data.data;
  257. })
  258. },
  259. //跳转服务项目详情
  260. toProjectDetail(id){
  261. uni.navigateTo({
  262. url:'../project_detail/project_detail?id=' + id
  263. })
  264. },
  265. //点击保存商家二维码
  266. saveImg() {
  267. uni.downloadFile({
  268. url:this.url + this.allData.qrcode,
  269. success : res=>{
  270. console.log(res.tempFilePath)
  271. uni.saveImageToPhotosAlbum({
  272. filePath: res.tempFilePath,
  273. success:res=> {
  274. wx.showToast({
  275. title: '保存成功',
  276. icon: 'success',
  277. duration: 2000
  278. })
  279. }
  280. })
  281. }
  282. })
  283. },
  284. //下方点击收藏商家
  285. coll(){
  286. let data = {
  287. token:app.globalData.token,
  288. id:this.id
  289. }
  290. api.collect(data).then((res)=>{
  291. console.log(res.data.is);
  292. if(res.data.is){
  293. //强制视图刷新
  294. this.$set(this.allData,"isCollection", 1);
  295. }else{
  296. this.$set(this.allData,"isCollection", 0);
  297. }
  298. })
  299. }
  300. }
  301. }
  302. </script>
  303. <style>
  304. .clear:after{
  305. content: "";
  306. display: block;
  307. clear: both;
  308. }
  309. .wrap{
  310. position: relative;
  311. }
  312. .detail_banner{
  313. width:100%;
  314. height: 100%;
  315. position: relative;
  316. overflow: hidden;
  317. }
  318. .header{
  319. width:100%;
  320. padding:0 30rpx;
  321. box-sizing: border-box;
  322. }
  323. .swiper{
  324. width:690rpx;
  325. height:400rpx;
  326. position:relative;
  327. }
  328. .detail_banner image{
  329. width:100%;
  330. height:100%;
  331. position: absolute;
  332. top:50%;
  333. left:50%;
  334. transform: translate(-50%,-50%);
  335. display: block;
  336. }
  337. .phone_num{
  338. width:124rpx;
  339. height:40rpx;
  340. background:rgba(255,255,255,0.2);
  341. border-radius:24rpx;
  342. border:1px solid rgba(255,255,255,0.2);
  343. text-align: center;
  344. line-height: 40rpx;
  345. position: absolute;
  346. bottom:24rpx;
  347. right:24rpx;
  348. font-size: 22rpx;
  349. color:#ffffff;
  350. }
  351. .photo_icon{
  352. display: inline-block;
  353. color:#ffffff;
  354. font-size: 26rpx;
  355. margin-right: 10rpx;
  356. }
  357. .company{
  358. width:100%;
  359. box-sizing: border-box;
  360. margin-top:40rpx;
  361. padding:0 28rpx 40rpx 30rpx;
  362. overflow: hidden;
  363. border-bottom: 1px solid #f2f2f2;
  364. }
  365. .company_top_title{
  366. font-size: 30rpx;
  367. color:#2A2A2A;
  368. font-weight: bold;
  369. float:left;
  370. }
  371. .company_top_ren{
  372. width:120rpx;
  373. height:37rpx;
  374. float:left;
  375. margin:6rpx 0 0 14rpx;
  376. }
  377. .company_top_ren image{
  378. display: block;
  379. width: 100%;
  380. height:100%;
  381. }
  382. .company_top_num_icon{
  383. display: inline-block;
  384. font-size: 24rpx;
  385. color:#999999;
  386. line-height: 40rpx;
  387. }
  388. .company_top_num{
  389. font-size: 24rpx;
  390. color:#999999;
  391. float:right;
  392. line-height: 34rpx;
  393. }
  394. .company_bottom{
  395. margin-top:24rpx;
  396. display: flex;
  397. position: relative;
  398. }
  399. .company_bottom_wrap{
  400. display: flex;
  401. }
  402. .company_icon0,.company_icon1,.company_icon2{
  403. font-size: 20rpx;
  404. margin-right: 6rpx;
  405. }
  406. .company_bottom_item{
  407. width: 100rpx;
  408. color:#E77817;
  409. line-height: 34rpx;
  410. text-align: center;
  411. padding:0rpx 16rpx;
  412. margin:0 20rpx 10rpx 0;
  413. background:rgba(231,120,23,0.06);
  414. border-radius:2px;
  415. }
  416. .company_bottom_tit{
  417. font-size: 24rpx;
  418. overflow: hidden;
  419. text-overflow: ellipsis;
  420. white-space: nowrap;
  421. }
  422. .address1{
  423. width:100%;
  424. overflow: hidden;
  425. padding:30rpx 0 14rpx 32rpx;
  426. box-sizing: border-box;
  427. }
  428. .address_ditu{
  429. display: inline-block;
  430. color: #888888;
  431. }
  432. .address_tit{
  433. width: 600rpx;
  434. overflow: hidden;
  435. text-overflow: ellipsis;
  436. white-space: nowrap;
  437. font-size: 28rpx;
  438. color:#222222;
  439. }
  440. .address_che{
  441. font-size: 24rpx;
  442. color:#888888;
  443. float:left;
  444. margin:10rpx 0 0 40rpx;
  445. }
  446. .address_left{
  447. float:left;
  448. }
  449. .address_right{
  450. width:94rpx;
  451. height:32rpx;
  452. float:right;
  453. text-align: center;
  454. margin:22rpx 2rpx 0 0;
  455. border-left: 1px solid #F2F2F2;
  456. color:#3A7AF1;
  457. }
  458. .iphone{
  459. font-size: 34rpx;
  460. }
  461. .back{
  462. width:100%;
  463. height:20rpx;
  464. background-color: rgba(249,249,249,1)
  465. }
  466. .time{
  467. width:100%;
  468. padding:30rpx 0 036rpx 30rpx;
  469. font-size: 26rpx;
  470. color:#222222;
  471. line-height: 34rpx;
  472. box-sizing: border-box;
  473. }
  474. .time_icon{
  475. display: inline-block;
  476. margin-right: 6rpx;
  477. color: #888888;
  478. }
  479. .shop{
  480. width:100%;
  481. }
  482. .shop view{
  483. width:220rpx;
  484. height:68rpx;
  485. border-radius: 50rpx;
  486. display: inline-block;
  487. font-size: 28rpx;
  488. color:#ffffff;
  489. line-height: 68rpx;
  490. text-align: center;
  491. margin:60rpx 0 60rpx 0;
  492. }
  493. .tianmao{
  494. background:linear-gradient(270deg,rgba(255,188,2,1) 0%,rgba(254,167,0,1) 100%);
  495. margin-left: 98rpx !important;
  496. margin-right: 114rpx !important;
  497. }
  498. .jingdong{
  499. background:linear-gradient(270deg,rgba(254,75,25,1) 0%,rgba(236,40,3,1) 100%);
  500. }
  501. .line{
  502. display:inline-block;
  503. width:6rpx;
  504. height:30rpx;
  505. background:#E77817;
  506. margin:50rpx 0 0 30rpx;
  507. }
  508. .yewu_tit{
  509. font-size: 32rpx;
  510. color:#222222;
  511. line-height: 44rpx;
  512. display: inline-block;
  513. margin-left: 8rpx;
  514. font-weight: bold;
  515. }
  516. .jianjie{
  517. padding:20rpx 18rpx 0rpx 40rpx;
  518. box-sizing: border-box;
  519. /*关键属性(必须有的) */
  520. display: -webkit-box;
  521. /*规定子元素的排列方向 */
  522. -webkit-box-orient: vertical;
  523. /*限制文本显示的行数 */
  524. -webkit-line-clamp:4;
  525. /*实现多余的文字隐藏并用省略号来代表被隐藏的文字 */
  526. overflow: hidden;
  527. text-overflow:ellipsis;
  528. }
  529. .jianjie text{
  530. font-size: 28rpx;
  531. color:#666666;
  532. line-height: 44rpx;
  533. }
  534. .isLoad{
  535. text-align: center;
  536. font-size: 24rpx;
  537. color:#E77817;
  538. margin:30rpx 0 46rpx;
  539. }
  540. .isShow{
  541. display: block;
  542. }
  543. .header_bottom{
  544. display: inline-block;
  545. font-size: 16rpx;
  546. }
  547. .fuwu{
  548. width:100%;
  549. overflow:hidden;
  550. }
  551. .fuwu_more{
  552. font-size: 24rpx;
  553. color:#999999;
  554. float:right;
  555. margin:48rpx 30rpx 0 0;
  556. }
  557. .shuang_you{
  558. display: inline-block;
  559. font-size: 24rpx;
  560. color:#999999;
  561. }
  562. .nav_nav{
  563. font-size: 28rpx;
  564. color:#222222;
  565. display: inline-block;
  566. margin-right: 40rpx;
  567. position: relative;
  568. }
  569. .nav_nav:first-child{
  570. margin-left: 40rpx;
  571. }
  572. .nav_nav:last-child{
  573. margin-right: 0;
  574. }
  575. .nav_line{
  576. width:calc(100% - 32rpx);
  577. height:4rpx;
  578. background:linear-gradient(270deg,rgba(254,107,21,1) 0%,rgba(254,163,48,1) 100%);
  579. position: absolute;
  580. left:50%;
  581. transform: translateX(-50%);
  582. display: none;
  583. }
  584. .nav_ul{
  585. margin-top:30rpx;
  586. }
  587. .fuwu_list{
  588. padding-left: 30rpx;
  589. box-sizing: border-box;
  590. }
  591. .fuwu_list_item{
  592. width:100%;
  593. padding-bottom:40rpx;
  594. padding-top:38rpx;
  595. border-bottom:1px solid #F2F2F2;
  596. }
  597. .fuwu_list_item_img{
  598. width:160rpx;
  599. height:160rpx;
  600. float:left;
  601. }
  602. .fuwu_list_item_img image{
  603. display: block;
  604. width:100%;
  605. height:100%;
  606. border-radius: 6rpx;
  607. }
  608. .fuwu_list_item_tit{
  609. float:left;
  610. margin:12rpx 0 0 20rpx;
  611. }
  612. .fuwu_list_item_tit_zi{
  613. width:500rpx;
  614. font-size: 34rpx;
  615. color:#2A2A2A;
  616. font-weight: bold;
  617. }
  618. .price{
  619. font-size: 36rpx;
  620. color:#E11521;
  621. font-weight: bold;
  622. display: inline-block;
  623. }
  624. .price2{
  625. font-size: 24rpx;
  626. color:#999999;
  627. text-decoration: line-through;
  628. display: inline-block;
  629. margin-left: 14rpx;
  630. }
  631. .tag{
  632. padding:4rpx 20rpx;
  633. text-align: center;
  634. background-color: rgba(231,120,23,0.06);
  635. border-radius:4rpx;
  636. font-size: 22rpx;
  637. color:#E77817;
  638. margin:32rpx 0 0 30rpx;
  639. float: left;
  640. }
  641. .pinpai{
  642. width:100%;
  643. overflow: hidden;
  644. }
  645. .about{
  646. margin-top:32rpx;
  647. padding-left: 30rpx;
  648. padding-bottom: 42rpx;
  649. box-sizing: border-box;
  650. position: relative;
  651. }
  652. .com_logo{
  653. display: block;
  654. width:108rpx;
  655. height:108rpx;
  656. }
  657. .right_item{
  658. font-size: 22rpx;
  659. color:#666666;
  660. line-height: 30rpx;
  661. display: inline-block;
  662. margin-right: 58rpx;
  663. }
  664. .right_item:last-child{
  665. margin-right: 0rpx;
  666. }
  667. .right{
  668. font-size: 24rpx;
  669. color:#E77817;
  670. display: inline-block;
  671. margin-right: 10rpx;
  672. }
  673. .more{
  674. position: absolute;
  675. right:30rpx;
  676. color:#999999;
  677. top:50%;
  678. transform: translateY(-50%)
  679. }
  680. .other_shop{
  681. width:100%;
  682. overflow: hidden;
  683. }
  684. .save{
  685. width:424rpx;
  686. height:572rpx;
  687. background:url('https://wx.fujinyangche.com/nvrnetwork/images/ma_back.jpg') no-repeat;
  688. background-size: 100% 100%;
  689. box-shadow:0px 2rpx 12rpx 0px rgba(231,125,32,0.37);
  690. margin:60rpx auto 62rpx;
  691. position: relative;
  692. }
  693. .erweima{
  694. width:276rpx;
  695. height:276rpx;
  696. display: block;
  697. position: absolute;
  698. left:50%;
  699. transform: translateX(-50%);
  700. bottom:128rpx;
  701. }
  702. .outher_num{
  703. font-size: 26rpx;
  704. color:#E11521;
  705. }
  706. .save_company{
  707. font-size: 20rpx;
  708. color:#ffffff;
  709. line-height: 28rpx;
  710. text-align: center;
  711. position: absolute;
  712. bottom:86rpx;
  713. left:50%;
  714. transform: translateX(-50%);
  715. }
  716. .save_btn{
  717. width:124rpx;
  718. height:40rpx;
  719. background:rgba(255,255,255,1);
  720. border-radius:20rpx;
  721. border:1px solid rgba(255,255,255,1);
  722. text-align: center;
  723. line-height: 40rpx;
  724. color:#E77817;
  725. font-size: 22rpx;
  726. position: absolute;
  727. bottom:30rpx;
  728. left:50%;
  729. transform: translateX(-50%);
  730. }
  731. .bug{
  732. width:100%;
  733. padding-bottom: 140rpx;
  734. overflow: hidden;
  735. }
  736. .bug_tel_icon{
  737. font-size: #3B7AF1;
  738. display: inline-block;
  739. margin-right: 6rpx;
  740. }
  741. .bug_tel{
  742. width:690rpx;
  743. height:76rpx;
  744. background:rgba(249,249,249,1);
  745. border-radius:6rpx;
  746. border:1px solid rgba(232,232,232,1);
  747. text-align: center;
  748. line-height: 76rpx;
  749. font-size: 28rpx;
  750. color:#3B7AF1;
  751. margin:60rpx auto 0;
  752. }
  753. .bug_add_icon{
  754. display: inline-block;
  755. }
  756. .footer{
  757. width: 100%;
  758. height:100rpx;
  759. background:rgba(255,255,255,1);
  760. box-shadow:0px 4rpx 8rpx 0px rgba(0,0,0,0.5);
  761. overflow: hidden;
  762. padding:30rpx 0;
  763. box-sizing: border-box;
  764. position: fixed;
  765. left:0;
  766. bottom:0;
  767. }
  768. .footer_icon{
  769. font-size: 40rpx;
  770. color:#222222;
  771. padding:0 54rpx;
  772. display: inline-block;
  773. text-align: center;
  774. border-right: 1px solid #f2f2f2;
  775. }
  776. .footer_icon:last-child{
  777. border-right: none;
  778. }
  779. .enter{
  780. width:284rpx;
  781. height:72rpx;
  782. background:rgba(231,120,23,1);
  783. border-radius:6rpx;
  784. text-align: center;
  785. line-height: 72rpx;
  786. font-size: 30rpx;
  787. color:#ffffff;
  788. display: inline-block;
  789. margin:auto 0;
  790. position: absolute;
  791. right:30rpx;
  792. top:14rpx;
  793. }
  794. .collect1{
  795. width:150rpx;
  796. height:40rpx;
  797. background-color: #ffffff;
  798. padding: 0 54rpx;
  799. box-sizing: border-box;
  800. display: inline-block;
  801. border:none !important;
  802. border-right: 1px solid #f2f2f2;
  803. position: relative;
  804. }
  805. .collect1::after{
  806. border:none !important;
  807. }
  808. .collect1 image{
  809. display: block;
  810. width:100%;
  811. height:100%;
  812. }
  813. .masking{
  814. width:100%;
  815. height:100%;
  816. background:rgba(0,0,0,0.5);
  817. position: absolute;
  818. top:0;
  819. left:0;
  820. z-index:100;
  821. display: none;
  822. }
  823. .showMask{
  824. display: block;
  825. }
  826. .delete_wrap{
  827. width:600rpx;
  828. height:260rpx;
  829. background:rgba(255,255,255,1);
  830. border-radius:10rpx;
  831. position: fixed;
  832. top:50%;
  833. left:50%;
  834. transform: translate(-50%,-50%);
  835. }
  836. .wrap_top{
  837. font-size: 32rpx;
  838. color:#000000;
  839. font-weight: bold;
  840. text-align: center;
  841. height:152rpx;
  842. line-height: 152rpx;
  843. border-bottom:1px solid #F2F2F2;
  844. box-sizing: border-box;
  845. }
  846. .wrap_bom_lf{
  847. width:50%;
  848. border-right: 1px solid #f2f2f2;
  849. box-sizing: border-box;
  850. font-size: 32rpx;
  851. color:#222222;
  852. font-weight: bold;
  853. text-align: center;
  854. line-height: 106rpx;
  855. display: inline-block;
  856. }
  857. .confirm{
  858. width:50%;
  859. display: inline-block;
  860. text-align: center;
  861. line-height: 106rpx;
  862. font-size: 32rpx;
  863. color:#E77817;
  864. font-weight: bold;
  865. }
  866. .class_more{
  867. position: absolute;
  868. right:0;
  869. font-size: 24rpx;
  870. color: #999999;
  871. }
  872. .shuang_you{
  873. display: inline-block;
  874. font-size: 22rpx;
  875. color: #999999;
  876. }
  877. .collect,.collectB{
  878. display: inline-block;
  879. font-size: 38rpx;
  880. position: absolute;
  881. top:-2rpx;
  882. left:1;
  883. }
  884. .collectB{
  885. color:#E77817;
  886. }
  887. .active{
  888. font-size: 35rpx;
  889. background:linear-gradient(270deg, rgba(254,107,21,1) 0%, rgba(254,163,48,1) 100%);
  890. -webkit-background-clip:text;
  891. -webkit-text-fill-color:transparent;
  892. font-weight: 600;
  893. }
  894. .active .nav_line{
  895. display: block;
  896. }
  897. </style>