index.vue 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122
  1. <template>
  2. <view class="pages" :style="{'min-height':(h+mt)+'px','padding-top':(mt)+'px'}">
  3. <!-- <view class="pages" :style="{'min-height':h+'px'}"> -->
  4. <c-nav-bar title="商品管理"></c-nav-bar>
  5. <view class="tb">
  6. <view class="tabs">
  7. <view v-for="(item,index) in tabList" :key="index" @tap="changeTab1(index)">
  8. <text :class="index==current?'active':''">{{item.name}}</text>
  9. <text v-if="index==current">({{roomType.length}})</text>
  10. </view>
  11. </view>
  12. </view>
  13. <!-- 房型数量 -->
  14. <view class="">
  15. <view class="typeNum">
  16. <view class="left">
  17. </view>
  18. <view class="right" @click="showList">
  19. <view class="image">
  20. <image src="https://i.ringzle.com/file/20240313/f3d301b3bc4544ffaf5a0d96a761dd00.png" mode="">
  21. </image>
  22. </view>
  23. <view class="text">
  24. 批量操作
  25. </view>
  26. </view>
  27. </view>
  28. </view>
  29. <view class="" style="padding-bottom: 160rpx;">
  30. <!-- 房型选择 -->
  31. <view class="type" v-for="item,index in roomType" :key="index" style="">
  32. <view class="left" v-if="Selected==true" @tap="selectPerson(item,index)">
  33. <view class="image">
  34. <image
  35. :src="selectedTags.includes(item)?'https://i.ringzle.com/file/20240619/ab6bcbe73e114802a93baa7c40c7ac97.png':'https://i.ringzle.com/file/20240619/bf140a7159e249e7bf47be677a5d9585.png'">
  36. </image>
  37. </view>
  38. </view>
  39. <!-- <view @click="goEditTypeInfo(item.houseBaseId)" style="width: 100%;"> -->
  40. <view style="width: 100%;">
  41. <view class="right">
  42. <view class="right-left">
  43. <image :src="item.cover" mode=""></image>
  44. </view>
  45. <view class="right-right">
  46. <view class="top">
  47. <text style="font-size: 30rpx; color: #333;">{{item.comboName}}</text>
  48. </view>
  49. <view class="under">
  50. <view style="font-size: 24rpx; color: #777;">销量:{{item.saleNums}}</view>
  51. <view style="font-size: 36rpx; color: #FF4141; font-weight: Bold; margin-top: 16rpx;">
  52. ¥{{item.price}}</view>
  53. </view>
  54. </view>
  55. </view>
  56. <view class="type-btn">
  57. <view class="type-btn-left">
  58. </view>
  59. <view class="type-btn-right">
  60. <view class="" @click="del(item)">
  61. 删除
  62. </view>
  63. <view @click="gaijia(item,index)">
  64. 改价格
  65. </view>
  66. <view class="" @click="Undered(item)" v-if="item.status==1">
  67. 下架
  68. </view>
  69. <view class="" @click="Undered(item)" v-else>
  70. 上架
  71. </view>
  72. </view>
  73. </view>
  74. </view>
  75. </view>
  76. <view class="nodata" v-if='roomType.length==0'>
  77. <NoData></NoData>
  78. </view>
  79. </view>
  80. <!-- 批量按钮 -->
  81. <view class="btn-btn" v-if="Selected==true">
  82. <view class="bottom-btn">
  83. <view class="left">
  84. <view class="image">
  85. <!-- <image
  86. :src="isSelect?'https://i.ringzle.com/file/20240228/c741a340e19642c59473e6f4a6d2f4be.png':'https://i.ringzle.com/file/20231027/db588133d67548fc82dfb0d128eac9a8.png'">
  87. </image> -->
  88. <image
  89. :src="selectedTags.length>0?'https://i.ringzle.com/file/20240619/ab6bcbe73e114802a93baa7c40c7ac97.png':'https://i.ringzle.com/file/20240619/bf140a7159e249e7bf47be677a5d9585.png'">
  90. </image>
  91. </view>
  92. <view class="text">
  93. 已选:{{selectedTags.length}}
  94. </view>
  95. </view>
  96. <view class="right">
  97. <view class="right-btn" @click="piliangxiajia()">
  98. <!-- 批量下架 -->
  99. {{fromData.status==1?'批量下架':'批量上架'}}
  100. </view>
  101. <view class="right-btn" @click="Pricinged()">
  102. 批量删除
  103. </view>
  104. </view>
  105. </view>
  106. </view>
  107. <!-- 新增按钮 -->
  108. <view class="btn-btn" @click="addType()" v-else>
  109. <view class="btn">
  110. 添加商品
  111. </view>
  112. </view>
  113. <u-popup :show="showPricing" @close="close" :round="30">
  114. <view class="pop-pop">
  115. <view class="hander-one">
  116. <view class="image">
  117. <image src="https://i.ringzle.com/file/20240317/fdb4de4c4413429bb5a98b3f6c2bd856.png" mode="">
  118. </image>
  119. </view>
  120. <view class="text">
  121. <view class="text1">
  122. 删除选中的商品
  123. </view>
  124. <view class="text2">
  125. 删除后的商品不可在前台继续售卖,是否继续
  126. </view>
  127. </view>
  128. </view>
  129. <view class="hander-two">
  130. <view class="pop-btn-del" @click="showPricing=false">
  131. <text>取消</text>
  132. </view>
  133. <view class="pop-btn-add" @click="GoOndel()">
  134. <text>继续提交</text>
  135. </view>
  136. </view>
  137. </view>
  138. </u-popup>
  139. <u-popup :show="showPricingUnder" @close="close" :round="30">
  140. <view class="pop-pop">
  141. <view class="hander-one">
  142. <view class="image">
  143. <image src="https://i.ringzle.com/file/20240317/fdb4de4c4413429bb5a98b3f6c2bd856.png" mode="">
  144. </image>
  145. </view>
  146. <view class="text">
  147. <view class="text1" v-if="Shelves==false">
  148. 下架选中的商品
  149. </view>
  150. <view class="text1" v-else>
  151. 上架选中的商品
  152. </view>
  153. <view class="text2" v-if="Shelves==false">
  154. 下架后商品不可在前台继续售卖,是否继续?
  155. </view>
  156. <view class="text2" v-else>
  157. 确定上架售卖吗?是否继续?
  158. </view>
  159. </view>
  160. </view>
  161. <view class="hander-two">
  162. <view class="pop-btn-del" @click="showPricingUnder=false">
  163. <text>
  164. 取消
  165. </text>
  166. </view>
  167. <view class="pop-btn-add" @click="GoOnUnder()">
  168. <text> 继续提交</text>
  169. </view>
  170. </view>
  171. </view>
  172. </u-popup>
  173. <u-popup :show="showPricinggaijia" @close="close" :round="10">
  174. <view class="gaijiadiv">
  175. <view class="toubu">
  176. 改价格
  177. <view class="toubux" @click="closegaijia">
  178. <u-icon name="close" color="#000000" size="40"></u-icon>
  179. </view>
  180. </view>
  181. <view class="jiainput">
  182. <u--input type='number' v-model="newprice" placeholder="请输入价格" border="surround"
  183. clearable></u--input>
  184. </view>
  185. <view class="queding">
  186. <view class="queding1" @click="showPricinggaijia=false">
  187. 取消
  188. </view>
  189. <view class="queding2" @click="quedingjiae">
  190. 确定
  191. </view>
  192. </view>
  193. </view>
  194. </u-popup>
  195. <view class="mainContain">
  196. </view>
  197. </view>
  198. </template>
  199. <script>
  200. import TopTabs from '@/components/TopTabs/topTabs.vue';
  201. import NoData from '../../components/NoData/index.vue';
  202. export default {
  203. components: {
  204. TopTabs,
  205. NoData
  206. },
  207. data() {
  208. return {
  209. h: uni.getSystemInfoSync().windowHeight,
  210. mt: uni.getSystemInfoSync().statusBarHeight + 44,
  211. current: 0,
  212. tabList: [{
  213. name: '出售中'
  214. },
  215. {
  216. name: '待上架'
  217. },
  218. ],
  219. homestayId: uni.getStorageSync('homestayId') || 0,
  220. roomType: [],
  221. selectedTags: [],
  222. isSelect: false,
  223. Selected: false,
  224. showPricing: false,
  225. showPricingUnder: false,
  226. Shelves: false,
  227. areaShow: false,
  228. list1: [{
  229. name: '创建时间'
  230. },
  231. {
  232. name: '上架时间'
  233. },
  234. {
  235. name: '价格从高到低'
  236. },
  237. {
  238. name: '价格从低到高'
  239. },
  240. // {
  241. // name: '销量从高到低'
  242. // },
  243. ],
  244. areaShowIndex: null,
  245. fromData: {
  246. homestayId: uni.getStorageSync('homestayId'),
  247. limit: 10,
  248. page: 1,
  249. order: '',
  250. orderField: "",
  251. status: 1
  252. },
  253. ids: [],
  254. obj: {},
  255. showPricinggaijia: false,
  256. newprice: '',
  257. id: '',
  258. from: {
  259. ids: [],
  260. status: null
  261. }
  262. }
  263. },
  264. onLoad(option) {
  265. this.getRepast()
  266. },
  267. methods: {
  268. Pricinged() {
  269. if (this.ids.length != 0) {
  270. this.$api.del('/merchant/hotel/repast', this.ids).then(res => {
  271. if (res.data.code == 0) {
  272. this.getRepast()
  273. this.showPricing = false
  274. this.Selected = false;
  275. this.selectedTags = [];
  276. this.ids = []
  277. } else this.$showToast(res.data.msg);
  278. })
  279. } else this.$showToast('请选择商品');
  280. },
  281. piliangxiajia() {
  282. if (this.from.ids.length != 0) {
  283. this.$api.post('/merchant/hotel/repast/batchPutAway', this.from).then(res => {
  284. if (res.data.code == 0) {
  285. this.selectedTags = [];
  286. this.Selected = false;
  287. this.getRepast(); //获取商品列表
  288. } else this.$showToast(res.data.msg);
  289. })
  290. } else this.$showToast('请选择商品');
  291. },
  292. quedingjiae() {
  293. let obj = {
  294. price: this.newprice,
  295. id: this.id
  296. }
  297. this.$api.put('/merchant/hotel/repast', obj).then(res => {
  298. this.getRepast(); //获取商品列表
  299. this.showPricinggaijia = false;
  300. })
  301. },
  302. closegaijia() {
  303. this.showPricinggaijia = false
  304. this.showPricing = false;
  305. this.newprice = '';
  306. },
  307. gaijia(e, i) {
  308. this.showPricinggaijia = true;
  309. this.id = e.id
  310. },
  311. selectPerson(e, i) {
  312. if (this.selectedTags.includes(e)) {
  313. this.selectedTags = this.selectedTags.filter(t => t !== e);
  314. this.ids.splice(i, 1)
  315. } else {
  316. this.selectedTags.push(e);
  317. this.ids.push(e.id)
  318. this.from.ids = this.ids
  319. this.from.status = e.status == 1 ? 0 : 1
  320. }
  321. },
  322. // 添加商品
  323. addType() {
  324. uni.navigateTo({
  325. url: '/pages/HotelMerchandise/addCommodity'
  326. })
  327. },
  328. close() {
  329. this.showPricing = false
  330. this.showPricingUnder = false
  331. this.showPricinggaijia = false
  332. },
  333. // 删除商品
  334. del(item) {
  335. // let ids = []
  336. this.ids.push(item.id)
  337. this.showPricing = true
  338. },
  339. GoOndel() {
  340. this.$api.del('/merchant/hotel/repast', this.ids).then(res => {
  341. if (res.data.code == 0) {
  342. this.getRepast()
  343. this.showPricing = false
  344. this.ids = []
  345. } else this.$showToast(res.data.msg);
  346. })
  347. },
  348. // 上下架商品
  349. Undered(item) {
  350. this.ids.push(item.id)
  351. this.showPricingUnder = true
  352. if (item.status == 1) {
  353. this.obj = {
  354. ids: this.ids,
  355. status: 0
  356. }
  357. } else {
  358. this.Shelves = true
  359. this.obj = {
  360. ids: this.ids,
  361. status: 1
  362. }
  363. }
  364. },
  365. GoOnUnder() {
  366. this.$api.post('/merchant/hotel/repast/batchPutAway', this.obj).then(res => {
  367. if (res.data.code == 0) {
  368. this.getRepast()
  369. this.showPricingUnder = false
  370. this.ids = []
  371. } else this.$showToast(res.data.msg);
  372. })
  373. },
  374. getRepast() {
  375. this.Shelves = false
  376. this.$api.get('/merchant/hotel/repast/page', this.fromData).then(res => {
  377. this.roomType = res.data.data.list
  378. })
  379. },
  380. // 区域筛选
  381. clickareaShow(e, i) {
  382. console.log(e.name, i);
  383. this.areaShowIndex = i
  384. },
  385. // 上架时间
  386. areaShowed() {
  387. this.areaShow = !this.areaShow
  388. },
  389. changeTab1(index) {
  390. this.current = index;
  391. if (index == 0) {
  392. this.fromData.status = 1
  393. this.getRepast()
  394. this.ids = []
  395. this.from.ids = []
  396. this.from.status = null
  397. } else {
  398. this.fromData.status = 0
  399. this.getRepast()
  400. this.ids = []
  401. this.from.ids = []
  402. this.from.status = null
  403. }
  404. },
  405. // 批量显示
  406. showList() {
  407. this.Selected = !this.Selected
  408. }
  409. },
  410. }
  411. </script>
  412. <style lang="scss" scoped>
  413. .queding {
  414. width: 750rpx;
  415. height: 140rpx;
  416. display: flex;
  417. justify-content: space-around;
  418. align-items: center;
  419. .queding1 {
  420. width: 330rpx;
  421. height: 88rpx;
  422. background: #F0F2F5;
  423. border-radius: 44rpx;
  424. font-family: PingFangSC, PingFang SC;
  425. font-weight: 400;
  426. font-size: 32rpx;
  427. color: #333333;
  428. line-height: 88rpx;
  429. text-align: center;
  430. font-style: normal;
  431. }
  432. .queding2 {
  433. width: 330rpx;
  434. height: 88rpx;
  435. background: #007A69;
  436. border-radius: 44rpx;
  437. font-family: PingFangSC, PingFang SC;
  438. font-weight: 400;
  439. font-size: 32rpx;
  440. color: #FFFFFF;
  441. line-height: 88rpx;
  442. text-align: center;
  443. font-style: normal;
  444. }
  445. }
  446. .jiainput {
  447. width: 690rpx;
  448. height: 100rpx;
  449. margin: 0 auto;
  450. }
  451. .gaijiadiv {
  452. width: 750rpx;
  453. height: 950rpx;
  454. .toubu {
  455. width: 750rpx;
  456. height: 110rpx;
  457. font-family: PingFang-SC, PingFang-SC;
  458. font-weight: bold;
  459. font-size: 36rpx;
  460. color: #333333;
  461. line-height: 110rpx;
  462. text-align: center;
  463. font-style: normal;
  464. position: relative;
  465. .toubux {
  466. position: absolute;
  467. top: 33rpx;
  468. right: 30rpx;
  469. }
  470. }
  471. }
  472. .Doublactive {
  473. // background-color: #F0F7F6 !important;
  474. color: #007A69 !important;
  475. // border: 1px solid #007A69 !important;
  476. }
  477. .contented {
  478. width: 100%;
  479. padding: 0 24rpx;
  480. box-sizing: border-box;
  481. position: relative;
  482. }
  483. .custom_popup {
  484. width: 100%;
  485. height: 100%;
  486. background: rgba(0, 0, 0, .4);
  487. top: 0;
  488. left: 0;
  489. position: absolute;
  490. z-index: 999;
  491. .types {
  492. width: 100%;
  493. padding: 30rpx 30rpx 56rpx;
  494. box-sizing: border-box;
  495. background: #FFFFFF;
  496. .pricequjian {
  497. width: 100%;
  498. .contentpeice {
  499. width: 100%;
  500. display: flex;
  501. justify-content: space-between;
  502. margin: 15rpx 0;
  503. .title {
  504. font-weight: Regular;
  505. font-size: 28rpx;
  506. color: #333333;
  507. }
  508. .image {
  509. width: 28rpx;
  510. height: 20rpx;
  511. image {
  512. width: 100%;
  513. height: 100%;
  514. }
  515. }
  516. }
  517. }
  518. }
  519. }
  520. .pages {
  521. background: #F5F8FA;
  522. box-sizing: border-box;
  523. .tb {
  524. width: 100%;
  525. top: 0;
  526. left: 0;
  527. z-index: 999;
  528. .searchBoxParent {
  529. width: 100%;
  530. background: #fff;
  531. padding: 20rpx 24rpx 6rpx;
  532. box-sizing: border-box;
  533. .searchBox {
  534. width: 100%;
  535. background-color: #fff;
  536. }
  537. }
  538. .tabs {
  539. background: #fff;
  540. padding: 26rpx 0;
  541. display: flex;
  542. align-items: center;
  543. width: 100%;
  544. &>view {
  545. width: 25%;
  546. font-size: 28rpx;
  547. font-family: PingFangSC-Regular, PingFang SC;
  548. font-weight: 400;
  549. color: black;
  550. line-height: 40rpx;
  551. position: relative;
  552. text-align: center;
  553. }
  554. .active {
  555. font-size: 32rpx;
  556. font-family: PingFang-SC-Bold, PingFang-SC;
  557. font-weight: bold;
  558. color: black;
  559. line-height: 45rpx;
  560. }
  561. .active::after {
  562. position: absolute;
  563. content: '';
  564. width: 50rpx;
  565. height: 8rpx;
  566. background: #007A69;
  567. bottom: -26rpx;
  568. left: 60%;
  569. margin-left: -42rpx;
  570. }
  571. }
  572. }
  573. .green {}
  574. .mainContain {
  575. display: flex;
  576. flex-direction: column;
  577. padding: 0 20rpx;
  578. .nodata {
  579. background: white;
  580. }
  581. .card {
  582. background: #fff;
  583. border-radius: 16rpx;
  584. margin: 20rpx 0;
  585. padding: 20rpx;
  586. .header {
  587. display: flex;
  588. justify-content: space-between;
  589. border-bottom: 1px #f3f3f3 solid;
  590. padding: 20rpx;
  591. .red {
  592. color: indianred;
  593. }
  594. .green {
  595. color: #999999;
  596. }
  597. .blue {
  598. color: #1372FF;
  599. }
  600. .grey {
  601. color: #4C5F76;
  602. }
  603. .orange {
  604. color: #FF9100;
  605. }
  606. }
  607. .mainContent {
  608. // border-bottom: 1px #f3f3f3 solid;
  609. display: flex;
  610. padding: 20rpx 0;
  611. // justify-content: space-evenly;
  612. .image {
  613. background-repeat: no-repeat;
  614. background-size: cover;
  615. width: 198rpx;
  616. height: 180rpx;
  617. border-radius: 16rpx;
  618. }
  619. .middle {
  620. padding-top: 16rpx;
  621. color: #777777;
  622. // display: flex;
  623. // flex-direction: column;
  624. // justify-content: space-between;
  625. margin-left: 25rpx;
  626. width: 100%;
  627. .title {
  628. font-weight: 700;
  629. font-size: 32rpx;
  630. color: black;
  631. }
  632. .info {
  633. padding-top: 30rpx;
  634. color: #777777;
  635. // display: flex;
  636. // flex-direction: column;
  637. &>span {
  638. margin-top: 10rpx;
  639. }
  640. }
  641. }
  642. .price {
  643. color: red;
  644. text-align: center;
  645. height: 100%;
  646. align-items: center;
  647. align-self: center;
  648. font-size: 29rpx;
  649. font-weight: 700;
  650. }
  651. }
  652. .bottom {
  653. // padding: 30rpx 20rpx;
  654. display: flex;
  655. justify-content: flex-end;
  656. .detail {
  657. // border: 1rpx solid darkgrey;
  658. border-radius: 16rpx;
  659. color: darkgrey;
  660. padding: 13rpx 34rpx;
  661. background-color: #F6F6F6;
  662. font-size: 26rpx;
  663. color: #333333;
  664. font-weight: Regular;
  665. }
  666. .del {
  667. border-radius: 16rpx;
  668. color: darkgrey;
  669. padding: 13rpx 34rpx;
  670. background-color: #007A69;
  671. font-size: 26rpx;
  672. color: #fff;
  673. font-weight: Regular;
  674. }
  675. }
  676. }
  677. }
  678. }
  679. .u-input__content {
  680. margin-top: 22rpx !important;
  681. }
  682. .uicon-arrow-right,
  683. .uicon-close-circle-fill {
  684. margin-top: 32rpx !important;
  685. margin-right: 20rpx !important;
  686. }
  687. .pop-pop {
  688. height: 30vh;
  689. padding: 46rpx 20rpx 0;
  690. border-radius: 16rpx 16rpx 0 0;
  691. .hander-one {
  692. // display: flex;
  693. // justify-content: space-between;
  694. text-align: center;
  695. .image {
  696. margin: 0 auto;
  697. width: 64rpx;
  698. height: 64rpx;
  699. image {
  700. width: 100%;
  701. height: 100%;
  702. }
  703. }
  704. .text {
  705. .text1 {
  706. margin-top: 24rpx;
  707. font-size: 32rpx;
  708. color: #111111;
  709. font-weight: bold;
  710. }
  711. .text2 {
  712. font-size: 28rpx;
  713. color: #999999;
  714. font-weight: Regular;
  715. margin: 23rpx 0 64rpx;
  716. }
  717. }
  718. }
  719. .hander-two {
  720. display: flex;
  721. justify-content: space-between;
  722. align-items: center;
  723. margin: 30rpx 0;
  724. .pop-btn-del {
  725. width: 48%;
  726. margin: 0 15rpx;
  727. // padding: 22rpx 136rpx;
  728. font-size: 32rpx;
  729. height: 88rpx;
  730. line-height: 88rpx;
  731. color: #111111;
  732. font-weight: Regular;
  733. background-color: #F0F2F5;
  734. border-radius: 50rpx;
  735. text-align: center;
  736. }
  737. .pop-btn-add {
  738. height: 88rpx;
  739. line-height: 88rpx;
  740. width: 48%;
  741. border-radius: 50rpx;
  742. margin: 0 15rpx;
  743. background-color: #1372FF;
  744. // padding: 22rpx 100rpx;
  745. font-size: 32rpx;
  746. color: #FFFFFF;
  747. font-weight: Regular;
  748. text-align: center;
  749. }
  750. }
  751. .hander-three {
  752. display: flex;
  753. border: 1rpx solid #CCCCCC;
  754. border-radius: 16rpx;
  755. justify-content: space-between;
  756. height: 102rpx;
  757. line-height: 102rpx;
  758. .hander-three-text {
  759. width: 200rpx;
  760. text-align: left;
  761. display: flex;
  762. justify-content: space-between;
  763. margin: 0 20rpx;
  764. }
  765. .hander-three-input {
  766. width: 55%;
  767. }
  768. .hander-three-icon {
  769. height: 102rpx;
  770. line-height: 102rpx;
  771. }
  772. }
  773. .hander-four {
  774. margin-top: 30rpx;
  775. display: flex;
  776. border-radius: 16rpx;
  777. justify-content: space-between;
  778. border: 1rpx solid #CCCCCC;
  779. height: 102rpx;
  780. line-height: 102rpx;
  781. .hander-three-text {
  782. width: 200rpx;
  783. text-align: center;
  784. display: flex;
  785. justify-content: space-between;
  786. margin: 0 20rpx;
  787. }
  788. .hander-three-input {
  789. width: 55%;
  790. }
  791. .hander-three-icon {
  792. height: 102rpx;
  793. line-height: 102rpx;
  794. }
  795. }
  796. }
  797. .page {
  798. background: #F3F4F4;
  799. padding-bottom: 260rpx;
  800. box-sizing: border-box;
  801. overflow-y: auto;
  802. overflow-x: auto;
  803. }
  804. .typeNum {
  805. // width: 100%;
  806. height: 73rpx;
  807. display: flex;
  808. justify-content: space-between;
  809. padding: 23rpx 24rpx;
  810. align-items: center;
  811. .left {
  812. display: flex;
  813. align-items: center;
  814. .active {
  815. color: #007A69;
  816. }
  817. }
  818. .right {
  819. display: flex;
  820. align-items: center;
  821. .image {
  822. margin: 0 10rpx;
  823. width: 30rpx;
  824. height: 30rpx;
  825. image {
  826. width: 100%;
  827. height: 100%;
  828. }
  829. }
  830. .text {
  831. font-size: 28rpx;
  832. font-weight: Regular;
  833. color: #333333;
  834. }
  835. }
  836. }
  837. .type {
  838. margin: 0 auto;
  839. border-radius: 10rpx 10rpx 10rpx 10rpx;
  840. width: 86%;
  841. // height: 114rpx;
  842. background-color: #fff;
  843. padding: 30rpx;
  844. margin-bottom: 20rpx;
  845. display: flex;
  846. .left {
  847. margin-top: 30rpx;
  848. height: 114rpx;
  849. line-height: 150rpx;
  850. margin-right: 20rpx;
  851. .image {
  852. margin: 0 10rpx;
  853. width: 40rpx;
  854. height: 40rpx;
  855. image {
  856. width: 100%;
  857. height: 100%;
  858. }
  859. }
  860. }
  861. .right {
  862. width: 100%;
  863. display: flex;
  864. .right-left {
  865. width: 172rpx;
  866. height: 172rpx;
  867. border-radius: 16rpx;
  868. margin-right: 22rpx;
  869. image {
  870. width: 100%;
  871. height: 100%;
  872. border-radius: 16rpx;
  873. }
  874. }
  875. .right-right {}
  876. }
  877. .type-btn {
  878. width: 100%;
  879. display: flex;
  880. justify-content: space-between;
  881. .type-btn-left {
  882. width: 50rpx;
  883. }
  884. .type-btn-right {
  885. display: flex;
  886. view {
  887. padding: 15rpx 23rpx;
  888. background-color: #F6F6F6;
  889. font-size: 24rpx;
  890. color: #333;
  891. font-weight: Regular;
  892. margin-right: 20rpx;
  893. border-radius: 50rpx;
  894. }
  895. }
  896. }
  897. }
  898. .top {
  899. display: flex;
  900. justify-content: space-between;
  901. }
  902. .under {
  903. margin-top: 20rpx;
  904. // display: flex;
  905. // justify-content: space-between;
  906. }
  907. .btn-btn {
  908. width: 100%;
  909. height: 136rpx;
  910. background-color: #fff;
  911. position: fixed;
  912. bottom: 0;
  913. padding: 30rpx 0 0;
  914. // margin: 0 auto;
  915. z-index: 9;
  916. // margin-top: 30rpx;
  917. // margin-left: 30rpx;
  918. .bottom-btn {
  919. display: flex;
  920. justify-content: space-between;
  921. margin: 0 24rpx;
  922. .left {
  923. width: 25%;
  924. display: flex;
  925. align-items: center;
  926. .image {
  927. width: 38rpx;
  928. height: 38rpx;
  929. margin: 0 10rpx;
  930. image {
  931. width: 100%;
  932. height: 100%;
  933. }
  934. }
  935. }
  936. .right {
  937. width: 75%;
  938. display: flex;
  939. justify-content: space-evenly;
  940. .right-btn {
  941. width: 148rpx;
  942. height: 80rpx;
  943. line-height: 80rpx;
  944. background-color: #1372FF;
  945. border-radius: 16rpx;
  946. font-size: 26rpx;
  947. color: #fff;
  948. font-weight: Regular;
  949. text-align: center;
  950. }
  951. }
  952. }
  953. }
  954. .btn {
  955. margin: 0 auto;
  956. width: 690rpx;
  957. height: 96rpx;
  958. background-color: #1372FF;
  959. color: #fff;
  960. display: flex;
  961. justify-content: center;
  962. align-items: center;
  963. font-size: 34rpx;
  964. border-radius: 48rpx;
  965. }
  966. </style>