index.vue 22 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112
  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">
  60. <view class="image">
  61. <image @tap="selectPerson(item,index)"
  62. :src="selectedTags.includes(item)?'https://i.ringzle.com/file/20240228/c741a340e19642c59473e6f4a6d2f4be.png':'https://i.ringzle.com/file/20231027/db588133d67548fc82dfb0d128eac9a8.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://i.ringzle.com/file/20240228/c741a340e19642c59473e6f4a6d2f4be.png':'https://i.ringzle.com/file/20231027/db588133d67548fc82dfb0d128eac9a8.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. height: 114rpx;
  851. line-height: 200rpx;
  852. margin-right: 20rpx;
  853. .image {
  854. margin: 0 10rpx;
  855. width: 30rpx;
  856. height: 30rpx;
  857. image {
  858. width: 100%;
  859. height: 100%;
  860. }
  861. }
  862. }
  863. .right {
  864. width: 100%;
  865. display: flex;
  866. .right-left {
  867. width: 172rpx;
  868. height: 172rpx;
  869. border-radius: 16rpx;
  870. margin-right: 22rpx;
  871. image {
  872. width: 100%;
  873. height: 100%;
  874. border-radius: 16rpx;
  875. }
  876. }
  877. .right-right {}
  878. }
  879. .type-btn {
  880. width: 100%;
  881. display: flex;
  882. justify-content: space-between;
  883. .type-btn-left {
  884. width: 50rpx;
  885. }
  886. .type-btn-right {
  887. display: flex;
  888. view {
  889. padding: 15rpx 23rpx;
  890. background-color: #F6F6F6;
  891. font-size: 24rpx;
  892. color: #333;
  893. font-weight: Regular;
  894. margin-right: 20rpx;
  895. border-radius: 50rpx;
  896. }
  897. }
  898. }
  899. }
  900. .top {
  901. display: flex;
  902. justify-content: space-between;
  903. }
  904. .under {
  905. margin-top: 20rpx;
  906. // display: flex;
  907. // justify-content: space-between;
  908. }
  909. .btn-btn {
  910. width: 100%;
  911. height: 136rpx;
  912. background-color: #fff;
  913. position: fixed;
  914. bottom: 0;
  915. padding: 30rpx 0 0;
  916. // margin: 0 auto;
  917. z-index: 9;
  918. // margin-top: 30rpx;
  919. // margin-left: 30rpx;
  920. .bottom-btn {
  921. display: flex;
  922. justify-content: space-between;
  923. margin: 0 24rpx;
  924. .left {
  925. width: 25%;
  926. display: flex;
  927. align-items: center;
  928. .image {
  929. width: 38rpx;
  930. height: 38rpx;
  931. margin: 0 10rpx;
  932. image {
  933. width: 100%;
  934. height: 100%;
  935. }
  936. }
  937. }
  938. .right {
  939. width: 75%;
  940. display: flex;
  941. justify-content: space-evenly;
  942. .right-btn {
  943. width: 148rpx;
  944. height: 80rpx;
  945. line-height: 80rpx;
  946. background-color: #1372FF;
  947. border-radius: 16rpx;
  948. font-size: 26rpx;
  949. color: #fff;
  950. font-weight: Regular;
  951. text-align: center;
  952. }
  953. }
  954. }
  955. }
  956. .btn {
  957. margin: 0 auto;
  958. width: 690rpx;
  959. height: 96rpx;
  960. background-color: #1372FF;
  961. color: #fff;
  962. display: flex;
  963. justify-content: center;
  964. align-items: center;
  965. font-size: 34rpx;
  966. border-radius: 48rpx;
  967. }
  968. </style>