cargoTerminal.vue 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789
  1. <!-- 货源 -->
  2. <template>
  3. <view class="content">
  4. <view class="banner">
  5. <view class="head flex">
  6. <view class="text flex" @click="goCity(0)">{{startPlace.sendCity}} {{startPlace.sendArea!='全部'?startPlace.sendArea:''}}
  7. <u-icon name="arrow-down" color="##fff" size="20"></u-icon>
  8. </view>
  9. <image class="jt-icon item2" src="@/static/images/goodSource/jt.png" mode='widthFix'>
  10. </image>
  11. <view class="text flex" @click="goCity(1)">{{endPlace.unloadCity}} {{endPlace.unloadArea!='全部'?endPlace.unloadArea:''}}
  12. <u-icon name="arrow-down" color="#fff" size="20"></u-icon>
  13. </view>
  14. </view>
  15. </view>
  16. <mescroll-body ref="mescrollRef" @init="mescrollInit" @down="downCallback" @up="upCallback" :up="upOption"
  17. :down="downOption">
  18. <view v-for="(good,index) in goods" :key="index">
  19. <view v-if="good.peripheralInfo==1&&isFirstIndex==index" class="other-goods">周边货源</view>
  20. <view class="good-list" @click="toDetail(good.id)">
  21. <view class="good-view">
  22. <!-- <image src="@/static/images/goodSource/xf.png" mode="widthFix" class="xf-iamge"
  23. v-if="good.freightAdvance==1"></image> -->
  24. <view class="list-left">
  25. <view class="flex align-center">
  26. <view class="item1">
  27. <!-- <view class="ssx">
  28. {{$helper.getProvinceAbbreviation(good.sendPrivate?good.sendPrivate:good.sendCity)}}
  29. </view> -->
  30. <view class="level2-title">{{$helper.filterUrban(good.sendCity)}}
  31. {{$helper.filterArea(good.sendArea)}}
  32. </view>
  33. </view>
  34. <image class="jt-icon item2" src="@/static/images/goodSource/jt.png" mode='widthFix'>
  35. </image>
  36. <view class="item3">
  37. <!-- <view class="ssx">
  38. {{$helper.getProvinceAbbreviation(good.unloadPrivate?good.unloadPrivate:good.unloadCity)}}
  39. </view> -->
  40. <view class="level2-title">{{$helper.filterUrban(good.unloadCity)}}
  41. {{$helper.filterArea(good.unloadArea)}}
  42. </view>
  43. </view>
  44. </view>
  45. <view class="flex flex-space-between row row2">
  46. <view class="left">
  47. 距离约{{good.cargoDistance}}公里
  48. </view>
  49. <view class="right">
  50. {{good.updateDate}}发布
  51. </view>
  52. </view>
  53. <view class="flex flex-space-between row row3">
  54. <view class="left">
  55. <text>¥{{good.freightPrice}}</text>
  56. <text v-if="good.billingMethod==0">元/吨</text>
  57. <text v-if="good.billingMethod==1">元/车</text>
  58. <text v-if="good.billingMethod==2">元/方</text>
  59. </view>
  60. <view class="right">
  61. {{good.packageType}}{{good.goodsName}}
  62. </view>
  63. </view>
  64. <view class="row-content">
  65. {{good.content}}
  66. </view>
  67. </view>
  68. </view>
  69. <view class="flex flex-space-between item-bottom">
  70. <view class="left flex row">
  71. <u--image :src="good.headSculpture?good.headSculpture:'../../static/images/mine/tx.png'"
  72. width='57rpx' height='57rpx' shape="circle">
  73. </u--image>
  74. <view class="name">{{good.freightStationName}}·{{good.contacts}}</view>
  75. </view>
  76. <view class="right">
  77. <view @click.stop="toCaLL(good)" class="qd" ><u-icon name="phone-fill"
  78. size="20" style="margin-top: 2rpx;" color="#F5BA3C"></u-icon>去电</view>
  79. </view>
  80. </view>
  81. </view>
  82. </view>
  83. </mescroll-body>
  84. <u-toast ref="uToast"></u-toast>
  85. </view>
  86. </template>
  87. <script>
  88. var that
  89. import permision from "@/js_sdk/wa-permission/permission.js"
  90. import MescrollMixin from "@/uni_modules/mescroll-uni/components/mescroll-uni/mescroll-mixins.js";
  91. import {
  92. mapState
  93. } from 'vuex';
  94. export default {
  95. mixins: [MescrollMixin], // 使用mixin
  96. data() {
  97. return {
  98. isToday: false,
  99. downOption: {
  100. auto: false,
  101. textColor: '#bbb'
  102. },
  103. upOption: {
  104. page: {
  105. size: 10 // 每页数据的数量,默认10
  106. },
  107. auto: false,
  108. noMoreSize: 1,
  109. textNoMore: '没有更多了~',
  110. textColor: '#bbb'
  111. },
  112. confirmText: '确定',
  113. showCancelButton: true,
  114. isFirstIndex: null,
  115. ObjSelect: {},
  116. isShowAlert: false,
  117. alertTitle: '确定抢单?',
  118. show: false,
  119. columns: [
  120. ['全部类型', '运费先付']
  121. ],
  122. startPlace: {},
  123. endPlace: {},
  124. otherGoods: [], // 数据列表
  125. goods: [], // 数据列表
  126. src: 'https://cdn.uviewui.com/uview/album/1.jpg',
  127. height: "", // 需要固定swiper的高度
  128. tabList: [
  129. // {
  130. // name: '全部'
  131. // },
  132. {
  133. name: '推荐'
  134. }, {
  135. name: '按时间'
  136. }, {
  137. name: '按距离'
  138. },
  139. // {
  140. // name: '运费先付'
  141. // },
  142. ],
  143. pickerSelect: '全部类型',
  144. tabIndex: 0,
  145. scrollTop: 0,
  146. isdblclick: 0,
  147. count: 0,
  148. lng: '',
  149. lat: '',
  150. bool: false,
  151. showMenu: false,
  152. driverCommonId: "",
  153. driverPhone: "",
  154. driverName: ""
  155. }
  156. },
  157. onTabItemTap(e) {
  158. this.isdblclick++
  159. // tab 点击时执行,此处直接接收单击事件
  160. if (this.scrollTop > 1200) {
  161. if (this.isdblclick > 1) {
  162. uni.pageScrollTo({
  163. scrollTop: 0,
  164. duration: 300
  165. });
  166. }
  167. }
  168. },
  169. created() {
  170. },
  171. computed: {
  172. ...mapState(['hasLogin', 'userInfo', 'firstAuthentication'])
  173. },
  174. watch: {
  175. // startPlace(){
  176. // console.log(this.startPlace)
  177. // this.upCallback({page});
  178. // },
  179. },
  180. onLoad() {
  181. that = this
  182. },
  183. onHide() {
  184. this.isdblclick = 0
  185. },
  186. async onShow() {
  187. uni.setTabBarItem({
  188. index: 2,
  189. text: '订单',
  190. iconPath: 'static/images/common/dingdan@2x(1).png',
  191. selectedIconPath: 'static/images/common/dingdan@2x.png'
  192. })
  193. var that = this
  194. //获取上一次起始位置
  195. if (uni.getStorageSync('fHzPlaceObj')) {
  196. that.startPlace = uni.getStorageSync('fHzPlaceObj');
  197. } else {
  198. that.startPlace = {
  199. sendPrivate: '辽宁省',
  200. sendCity: '营口市',
  201. sendArea: '鲅鱼圈区',
  202. selected: '营口市'
  203. }
  204. }
  205. if (uni.getStorageSync('sHzPlaceObj')) {
  206. that.endPlace = uni.getStorageSync('sHzPlaceObj');
  207. } else {
  208. that.endPlace = {
  209. unloadPrivate: '吉林省',
  210. unloadCity: '齐齐哈尔市',
  211. unloadArea: '富拉尔基',
  212. selected: '齐齐哈尔市'
  213. }
  214. }
  215. that.upCallback({
  216. size: 10,
  217. num: 1
  218. })
  219. that.$request.baseRequest('get', '/newsInfo/unreadMessage', {
  220. reCommonId: this.userInfo.id,
  221. }).then(res3 => {
  222. if (res3.data || res3.data == 0) {
  223. let name = 'myTip';
  224. let value = res3.data
  225. if (value == 0) {
  226. uni.removeTabBarBadge({
  227. index: 3
  228. })
  229. }
  230. that.$store.commit('$uStore', {
  231. name,
  232. value
  233. });
  234. if (value != 0 && value) {
  235. uni.setTabBarBadge({
  236. index: 3,
  237. text: value + ""
  238. })
  239. }
  240. }
  241. })
  242. // this.mescroll.resetUpScroll()
  243. },
  244. methods: {
  245. stopRoll() {
  246. },
  247. async get_localtion_permission() {
  248. var photol = await permision.checkSystemEnableLocation()
  249. if (photol == true) {
  250. this.getLngLat()
  251. } else {
  252. // that.$refs.uToast.show({
  253. // type: 'error',
  254. // message: "未获取定位权限!",
  255. // })
  256. this.checkOpenGPSServiceByAndroidIOS()
  257. }
  258. },
  259. async getLngLat() {
  260. await uni.getLocation({
  261. type: 'gcj02',
  262. geocode: true,
  263. success: res => {
  264. if (res.latitude) {
  265. if (res.address.city) {
  266. if (res.address.city.indexOf('市') != -1) {
  267. res.address.city = res.address.city.substring(0, res.address.city
  268. .length - 1)
  269. }
  270. }
  271. if (res.address.province) {
  272. if (res.address.province.indexOf('省') != -1) {
  273. res.address.province = res.address.province.substring(0, res.address
  274. .province.length - 1)
  275. }
  276. }
  277. uni.setStorageSync('fPlaceObj', {
  278. fchoosearea: '全部',
  279. fchoosecity: res.address.city,
  280. fchooseprovince: res.address.province,
  281. selected: res.address.city
  282. })
  283. uni.setStorageSync('sPlaceObj', {
  284. schoosearea: '请选择区',
  285. schoosecity: '请选择市',
  286. schooseprovince: '全国',
  287. selected: '全国'
  288. })
  289. uni.setStorageSync('longitudeAndLatitude', res.longitude + ',' + res.latitude)
  290. that.upCallback({
  291. size: 10,
  292. num: 1
  293. })
  294. }
  295. }
  296. })
  297. },
  298. checkOpenGPSServiceByAndroidIOS() {
  299. let system = uni.getSystemInfoSync(); // 获取系统信息
  300. // console.log(system);
  301. if (system.platform === 'android') { // 判断平台
  302. var context = plus.android.importClass("android.content.Context");
  303. var locationManager = plus.android.importClass("android.location.LocationManager");
  304. var main = plus.android.runtimeMainActivity();
  305. var mainSvr = main.getSystemService(context.LOCATION_SERVICE);
  306. if (!mainSvr.isProviderEnabled(locationManager.GPS_PROVIDER)) {
  307. uni.showModal({
  308. title: '提示',
  309. content: '请打开定位服务功能',
  310. // showCancel: false, // 不显示取消按钮
  311. success(res) {
  312. if (res.confirm) {
  313. uni.setStorageSync('confirm_location', 1)
  314. if (!mainSvr.isProviderEnabled(locationManager.GPS_PROVIDER)) {
  315. var Intent = plus.android.importClass('android.content.Intent');
  316. var Settings = plus.android.importClass('android.provider.Settings');
  317. var intent = new Intent(Settings.ACTION_LOCATION_SOURCE_SETTINGS);
  318. main.startActivity(intent); // 打开系统设置GPS服务页面
  319. console.log()
  320. }
  321. // else {
  322. // uni.setStorageSync('fPlaceObj', {
  323. // fchoosearea: '全部',
  324. // fchoosecity: '市辖区',
  325. // fchooseprovince: '北京',
  326. // selected: '东城'
  327. // })
  328. // uni.setStorageSync('sPlaceObj', {
  329. // schoosearea: '请选择区',
  330. // schoosecity: '请选择市',
  331. // schooseprovince: '全国',
  332. // selected: '全国'
  333. // })
  334. // uni.setStorageSync('longitudeAndLatitude', '116.3972,39.9096')
  335. // }
  336. } else {
  337. // uni.setStorageSync('fPlaceObj', {
  338. // fchoosearea: '全部',
  339. // fchoosecity: '市辖区',
  340. // fchooseprovince: '北京',
  341. // selected: '东城'
  342. // })
  343. // uni.setStorageSync('sPlaceObj', {
  344. // schoosearea: '请选择区',
  345. // schoosecity: '请选择市',
  346. // schooseprovince: '全国',
  347. // selected: '全国'
  348. // })
  349. // uni.setStorageSync('longitudeAndLatitude', '116.3972,39.9096')
  350. }
  351. }
  352. });
  353. // uni.setStorageSync('fPlaceObj', {
  354. // fchoosearea: '全部',
  355. // fchoosecity: '市辖区',
  356. // fchooseprovince: '北京',
  357. // selected: '东城'
  358. // })
  359. // uni.setStorageSync('sPlaceObj', {
  360. // schoosearea: '请选择区',
  361. // schoosecity: '请选择市',
  362. // schooseprovince: '全国',
  363. // selected: '全国'
  364. // })
  365. if (uni.getStorageSync('fPlaceObj')) {
  366. that.startPlace = uni.getStorageSync('fPlaceObj');
  367. }
  368. if (uni.getStorageSync('sPlaceObj')) {
  369. that.endPlace = uni.getStorageSync('sPlaceObj');
  370. }
  371. uni.setStorageSync('longitudeAndLatitude', '116.3972,39.9096')
  372. } else {
  373. this.getLngLat()
  374. }
  375. } else if (system.platform === 'ios') {
  376. // console.log("苹果");
  377. var cllocationManger = plus.ios.import("CLLocationManager");
  378. var enable = cllocationManger.locationServicesEnabled();
  379. var status = cllocationManger.authorizationStatus();
  380. plus.ios.deleteObject(cllocationManger);
  381. if (enable && status != 2) {
  382. this.getLngLat()
  383. console.log("手机系统的定位已经打开");
  384. } else {
  385. console.log("手机系统的定位没有打开");
  386. uni.showModal({
  387. title: '提示',
  388. content: '请前往设置-隐私-定位服务打开定位服务功能',
  389. // showCancel: false, // 不显示取消按钮
  390. success(res) {
  391. if (res.confirm) {
  392. var UIApplication = plus.ios.import("UIApplication");
  393. var application2 = UIApplication.sharedApplication();
  394. var NSURL2 = plus.ios.import("NSURL");
  395. // var setting2 = NSURL2.URLWithString("prefs:root=LOCATION_SERVICES");
  396. // var setting2 = NSURL2.URLWithString("App-Prefs:root=LOCATION_SERVICES");
  397. // var setting2 = NSURL2.URLWithString("app-settings");
  398. var setting2 = NSURL2.URLWithString("App-Prefs:root=Privacy&path=LOCATION");
  399. // var setting2 = NSURL2.URLWithString("App-Prefs:root=Privacy&path=LOCATION_SERVICES");
  400. application2.openURL(setting2);
  401. plus.ios.deleteObject(setting2);
  402. plus.ios.deleteObject(NSURL2);
  403. plus.ios.deleteObject(application2);
  404. this.getLngLat()
  405. }
  406. }
  407. });
  408. }
  409. }
  410. },
  411. mescrollInit(mescroll) {
  412. this.mescroll = mescroll;
  413. },
  414. cancelClick() {
  415. this.isShowAlert = false
  416. },
  417. getdate() {
  418. var date = new Date()
  419. var year = date.getFullYear() //获取完整的年份(4位)
  420. var mouth = date.getMonth() + 1 //获取当前月份(0-11,0代表1月)
  421. var datetime = date.getDate() //获取当前日(1-31)
  422. if (mouth < 10) {
  423. mouth = '0' + mouth
  424. }
  425. if (datetime < 10) {
  426. datetime = '0' + datetime
  427. }
  428. return String(year) + String(mouth) + String(datetime)
  429. },
  430. toCaLL(item) {
  431. let that = this
  432. this.$request.baseRequest('get', '/driverInfo/firstAuthentication', {
  433. driverPhone: this.userInfo.phone,
  434. }).then(res2 => {
  435. if (res2.data.authenticationStatus == '已过期') {
  436. that.$refs.uToast.show({
  437. type: 'error',
  438. message: '证件已过期,请上传新证件!',
  439. })
  440. return
  441. } else if (res2.data.authenticationStatus == '未认证' || res2.data.authenticationStatus ==
  442. '已驳回') {
  443. that.$refs.uToast.show({
  444. type: 'error',
  445. message: '请先完成司机认证!',
  446. })
  447. return
  448. } else if (res2.data.authenticationStatus == '审核中') {
  449. that.$refs.uToast.show({
  450. type: 'error',
  451. message: '司机审核中!',
  452. })
  453. return
  454. } else if (res2.data.authenticationStatus == '已认证') {
  455. uni.makePhoneCall({
  456. phoneNumber: item.contactsPhone
  457. });
  458. }
  459. })
  460. },
  461. toDetail(id) {
  462. uni.navigateTo({
  463. url: "/pages/cargoTerminal/cargoTerminalDetail?id=" + id
  464. })
  465. },
  466. getData(time) {
  467. let _todayDate = new Date().setHours(0, 0, 0, 0)
  468. if (_todayDate == time) return true
  469. return false
  470. },
  471. upCallback(page) {
  472. console.log(this.startPlace)
  473. console.log(this.endPlace)
  474. if(this.startPlace.sendArea=="全部") this.startPlace.sendArea = ''
  475. if(this.endPlace.unloadArea=="全部") this.endPlace.unloadArea = ''
  476. this.$request.baseRequest('get', '/hyReleaseGoodsInfo/selectTask', {
  477. currentPage: page.num,
  478. pageSize: page.size,
  479. searchType: this.tabIndex + 1,
  480. loadingPlaceCity: this.startPlace.sendCity,
  481. unLoadingPlaceCity: this.endPlace.unloadCity,
  482. driverFlag: 1,
  483. loadingPlace:this.startPlace.sendArea,
  484. unLoadingPlace:this.endPlace.unloadArea
  485. }).then(res => {
  486. uni.hideLoading()
  487. let curPageData = res.data.records;
  488. let totalPage = res.data.total;
  489. let curPageLen = curPageData.length;
  490. this.mescroll.endByPage(curPageLen, totalPage);
  491. console.log(res.data)
  492. if (page.num == 1) this.goods = [];
  493. this.goods = this.goods.concat(curPageData);
  494. for (let i = 0; i < this.goods.length; i++) {
  495. let _updateDate = new Date(this.goods[i].updateDate.split(' ')[0]).setHours(0, 0, 0, 0)
  496. this.isToday = this.getData(_updateDate)
  497. console.log("this.isToday",this.isToday)
  498. if(this.isToday){
  499. this.goods[i].updateDate=this.goods[i].updateDate.split(' ')[1]
  500. }else{
  501. this.goods[i].updateDate=this.goods[i].updateDate.split(' ')[0]
  502. }
  503. let _text3 = ''
  504. let _textList = this.goods[i].measuringMethod.split(',')
  505. for (let i = 0; i < _textList.length; i++) {
  506. if (_textList[i] == '重量(吨)') {
  507. _text3 += this.goods[i].weight + '吨/'
  508. } else {
  509. _text3 += this.goods[i].weight + '方/'
  510. }
  511. }
  512. _text3 = _text3.substring(0, _text3.length - 1)
  513. this.goods[i].content = this.goods[i].carModel.replace(',', '/') + '、' + this
  514. .goods[i].carLength.replace(',', '/') + '米、' + _text3 + '、' + this.goods[i]
  515. .expectedNum + '车、' + this.goods[i].goodsName + '、' + this.goods[i]
  516. .packageType + '、' + this.goods[i].cargoDistance + 'km'
  517. }
  518. for (let i = 0; i < that.goods.length; i++) {
  519. if (that.goods[i].peripheralInfo == 1) {
  520. that.isFirstIndex = i
  521. return
  522. }
  523. }
  524. })
  525. .catch(res => {
  526. uni.hideLoading()
  527. uni.$u.toast(res.message);
  528. this.mescroll.endErr();
  529. });
  530. },
  531. goCity(type) {
  532. uni.$u.route('/pages/cargoTerminal/hzSelectCity', {
  533. startPlace: JSON.stringify(this.startPlace),
  534. endPlace: JSON.stringify(this.endPlace),
  535. type: type
  536. });
  537. }
  538. }
  539. }
  540. </script>
  541. <style scoped lang="scss">
  542. .popupShow {
  543. overflow: hidden;
  544. position: fixed;
  545. height: 100vh;
  546. width: 100%;
  547. }
  548. .content {
  549. background: #F2F4F7;
  550. }
  551. .banner {
  552. width: 100%;
  553. position: relative;
  554. }
  555. .u-flex-wrap {
  556. flex-wrap: wrap;
  557. }
  558. .fixed,
  559. .fixed1 {
  560. background: linear-gradient(97deg, #F5BA3C 0%, #F5BA3C 100%);
  561. position: fixed;
  562. top: var(--status-bar-height);
  563. z-index: 999;
  564. // width: calc(100% - 40rpx);
  565. width: 100%;
  566. // margin:0 20rpx;
  567. }
  568. .fixed1 {
  569. top: 0;
  570. height: var(--status-bar-height);
  571. background: linear-gradient(97deg, #F5BA3C 0%, #F5BA3C 100%);
  572. }
  573. .banner-img {
  574. width: 100%;
  575. }
  576. .head {
  577. background: #F5BA3C;
  578. padding: 100rpx 20rpx 20rpx 10rpx;
  579. box-sizing: border-box;
  580. display: flex;
  581. .text {
  582. color: #fff;
  583. text-overflow: ellipsis;
  584. overflow: hidden;
  585. white-space: nowrap;
  586. }
  587. }
  588. .change-btn {
  589. width: 86rpx;
  590. height: 86rpx;
  591. }
  592. .good-list {
  593. background-color: white;
  594. margin: 10px 10px 15px 10px;
  595. // padding: 10px 0px 0px 0;
  596. border-radius: 30rpx;
  597. box-shadow: 0px 5rpx 20rpx #E3E3E3;
  598. .good-view {
  599. padding: 10rpx 35rpx 10rpx 35rpx;
  600. position: relative;
  601. }
  602. .item1,
  603. .item3 {
  604. // width: 40%;
  605. display: flex;
  606. .text {
  607. text-overflow: ellipsis;
  608. overflow: hidden;
  609. white-space: nowrap;
  610. }
  611. }
  612. .item1 .text {
  613. text-align: left;
  614. }
  615. .item3 .text {
  616. text-align: right;
  617. }
  618. .row2 {
  619. color: rgb(153, 153, 153)
  620. }
  621. .row3 {
  622. .left {
  623. color: rgb(255, 134, 0);
  624. }
  625. .right {
  626. color: rgb(153, 153, 153)
  627. }
  628. }
  629. }
  630. .jt-icon {
  631. position: relative;
  632. // top: 6rpx;
  633. width: 60rpx;
  634. margin: 0 20rpx;
  635. }
  636. .row {
  637. margin: 10rpx 0;
  638. align-items: center;
  639. }
  640. .item-bottom {
  641. // background: #F0F5FF;
  642. padding: 23rpx 30rpx;
  643. border-radius: 0px 0px 18px 18px;
  644. .name {
  645. font-size: 26rpx;
  646. font-weight: 700;
  647. color: #000000;
  648. margin-left: 30rpx;
  649. }
  650. .hp {
  651. margin: 30rpx;
  652. }
  653. .number-color {
  654. margin: 0 10rpx;
  655. }
  656. .qd {
  657. // background: linear-gradient(97deg, #F5BA3C 0%, #F5BA3C 100%);
  658. border-radius: 13rpx;
  659. font-size: 29rpx;
  660. font-weight: 400;
  661. color: #F5BA3C;
  662. padding: 15rpx 35rpx;
  663. display: flex;
  664. align-items: center;
  665. border: 1px solid #F5BA3C;
  666. }
  667. }
  668. .dw {
  669. align-items: center;
  670. }
  671. .place {
  672. height: var(--status-bar-height);
  673. }
  674. .tab-view {
  675. display: flex;
  676. align-items: center;
  677. justify-content: space-between;
  678. // padding-left: 20rpx;
  679. }
  680. .tab-right {
  681. display: flex;
  682. margin-right: 39rpx;
  683. align-items: center;
  684. }
  685. .other-goods {
  686. // background: red;
  687. color: #999999;
  688. margin: 40rpx 0;
  689. display: flex;
  690. justify-content: center;
  691. font-size: 36rpx;
  692. }
  693. .level2-title {
  694. // font-size: 28rpx;
  695. }
  696. .yf-style {
  697. position: relative;
  698. .left {
  699. font-size: 25.39rpx;
  700. .text-space {
  701. margin-right: 20rpx;
  702. }
  703. .line {
  704. margin: 0 10rpx;
  705. }
  706. }
  707. .h-color {
  708. // position: absolute;
  709. // right: 0;
  710. // top: -30rpx;
  711. }
  712. }
  713. .xf-iamge {
  714. width: 74rpx;
  715. height: 43rpx;
  716. position: absolute;
  717. top: -20rpx;
  718. right: 0;
  719. }
  720. .place-title {
  721. margin-bottom: 11rpx;
  722. }
  723. .btn-color {
  724. margin-top: 52rpx;
  725. padding: 30rpx 0;
  726. }
  727. .row-content {
  728. color: rgb(153, 153, 153);
  729. text-overflow: ellipsis;
  730. white-space: nowrap;
  731. overflow: hidden;
  732. }
  733. </style>