index.vue 22 KB

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