index.vue 22 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148
  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. <text>取消</text>
  156. </view>
  157. <view class="pop-btn-add" @click="GoOndel()">
  158. <text>继续提交</text>
  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. <text>
  188. 取消
  189. </text>
  190. </view>
  191. <view class="pop-btn-add" @click="GoOnUnder()">
  192. <text> 继续提交</text>
  193. </view>
  194. </view>
  195. </view>
  196. </u-popup>
  197. <u-popup :show="showPricinggaijia" @close="close" :round="10">
  198. <view class="gaijiadiv">
  199. <view class="toubu">
  200. 改价格
  201. <view class="toubux" @click="closegaijia">
  202. <u-icon name="close" color="#000000" size="40"></u-icon>
  203. </view>
  204. </view>
  205. <view class="jiainput">
  206. <u--input type='number' v-model="newprice" placeholder="请输入价格" border="surround"
  207. clearable></u--input>
  208. </view>
  209. <view class="queding">
  210. <view class="queding1" @click="showPricinggaijia=false">
  211. 取消
  212. </view>
  213. <view class="queding2" @click="quedingjiae">
  214. 确定
  215. </view>
  216. </view>
  217. </view>
  218. </u-popup>
  219. <view class="mainContain">
  220. <!-- <view class="nodata" v-if='dataList.length==0'>
  221. <NoData></NoData>
  222. </view> -->
  223. </view>
  224. </view>
  225. </template>
  226. <script>
  227. import TopTabs from '@/components/TopTabs/topTabs.vue';
  228. // import NoData from '../../components/NoData/index.vue';
  229. export default {
  230. components: {
  231. TopTabs,
  232. // NoData
  233. },
  234. data() {
  235. return {
  236. h: uni.getSystemInfoSync().windowHeight,
  237. mt: uni.getSystemInfoSync().statusBarHeight + 44,
  238. current: 0,
  239. tabList: [{
  240. name: '出售中'
  241. },
  242. {
  243. name: '待上架'
  244. },
  245. ],
  246. homestayId: uni.getStorageSync('homestayId') || 0,
  247. roomType: [],
  248. selectedTags: [],
  249. isSelect: false,
  250. Selected: false,
  251. showPricing: false,
  252. showPricingUnder: false,
  253. Shelves: false,
  254. areaShow: false,
  255. list1: [{
  256. name: '创建时间'
  257. },
  258. {
  259. name: '上架时间'
  260. },
  261. {
  262. name: '价格从高到低'
  263. },
  264. {
  265. name: '价格从低到高'
  266. },
  267. // {
  268. // name: '销量从高到低'
  269. // },
  270. ],
  271. areaShowIndex: null,
  272. fromData: {
  273. homestayId: uni.getStorageSync('homestayId'),
  274. limit: 10,
  275. page: 1,
  276. order: '',
  277. orderField: "",
  278. status: 1
  279. },
  280. ids: [],
  281. obj: {},
  282. showPricinggaijia: false,
  283. newprice: '',
  284. id: '',
  285. from: {
  286. ids: [],
  287. status: null
  288. }
  289. }
  290. },
  291. onLoad(option) {
  292. // if (uni.getStorageSync('merchantType') == 4) {
  293. this.getRepast()
  294. // } else {
  295. // }
  296. },
  297. methods: {
  298. Pricinged() {
  299. if (this.ids.length != 0) {
  300. this.$api.del('/merchant/hotel/repast', this.ids).then(res => {
  301. if (res.data.code == 0) {
  302. this.getRepast()
  303. this.showPricing = false
  304. this.Selected = false;
  305. this.selectedTags = [];
  306. this.ids = []
  307. } else this.$showToast(res.data.msg);
  308. })
  309. } else this.$showToast('请选择商品');
  310. },
  311. piliangxiajia() {
  312. if (this.from.ids.length != 0) {
  313. this.$api.post('/merchant/hotel/repast/batchPutAway', this.from).then(res => {
  314. if (res.data.code == 0) {
  315. this.selectedTags = [];
  316. this.Selected = false;
  317. this.getRepast(); //获取商品列表
  318. } else this.$showToast(res.data.msg);
  319. })
  320. } else this.$showToast('请选择商品');
  321. },
  322. quedingjiae() {
  323. let obj = {
  324. price: this.newprice,
  325. id: this.id
  326. }
  327. this.$api.put('/merchant/hotel/repast', obj).then(res => {
  328. this.getRepast(); //获取商品列表
  329. this.showPricinggaijia = false;
  330. })
  331. },
  332. closegaijia() {
  333. this.showPricinggaijia = false
  334. this.showPricing = false;
  335. this.newprice = '';
  336. },
  337. gaijia(e, i) {
  338. this.showPricinggaijia = true;
  339. this.id = e.id
  340. },
  341. selectPerson(e, i) {
  342. if (this.selectedTags.includes(e)) {
  343. this.selectedTags = this.selectedTags.filter(t => t !== e);
  344. this.ids.splice(i, 1)
  345. } else {
  346. this.selectedTags.push(e);
  347. this.ids.push(e.id)
  348. this.from.ids = this.ids
  349. this.from.status = e.status == 1 ? 0 : 1
  350. }
  351. },
  352. // 添加商品
  353. addType() {
  354. uni.navigateTo({
  355. url: '/pages/HotelMerchandise/addCommodity'
  356. })
  357. },
  358. close() {
  359. this.showPricing = false
  360. this.showPricingUnder = false
  361. this.showPricinggaijia = false
  362. },
  363. // 删除商品
  364. del(item) {
  365. // let ids = []
  366. this.ids.push(item.id)
  367. this.showPricing = true
  368. },
  369. GoOndel() {
  370. this.$api.del('/merchant/hotel/repast', this.ids).then(res => {
  371. if (res.data.code == 0) {
  372. this.getRepast()
  373. this.showPricing = false
  374. this.ids = []
  375. } else this.$showToast(res.data.msg);
  376. })
  377. },
  378. // 上下架商品
  379. Undered(item) {
  380. this.ids.push(item.id)
  381. this.showPricingUnder = true
  382. if (item.status == 1) {
  383. this.obj = {
  384. ids: this.ids,
  385. status: 0
  386. }
  387. } else {
  388. this.Shelves = true
  389. this.obj = {
  390. ids: this.ids,
  391. status: 1
  392. }
  393. }
  394. },
  395. GoOnUnder() {
  396. this.$api.post('/merchant/hotel/repast/batchPutAway', this.obj).then(res => {
  397. if (res.data.code == 0) {
  398. this.getRepast()
  399. this.showPricingUnder = false
  400. this.ids = []
  401. } else this.$showToast(res.data.msg);
  402. })
  403. },
  404. getRepast() {
  405. this.Shelves = false
  406. this.$api.get('/merchant/hotel/repast/page', this.fromData).then(res => {
  407. this.roomType = res.data.data.list
  408. })
  409. },
  410. // 区域筛选
  411. clickareaShow(e, 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>