index.vue 22 KB

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