hotel.vue 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742
  1. <template>
  2. <view>
  3. <van-skeleton :loading="loading">
  4. <view class="home" v-if="isfx" @click="openHome()">
  5. <image src="../../static/bottombtn0101.png"></image>
  6. </view>
  7. <view style="height: 65upx;"></view>
  8. <scroll-view style="height: 95vh;" class="floor-list"
  9. :scroll-top="scrollTop" scroll-y="true" @scroll="scroll" @scrolltoupper="upper" @scrolltolower="lower"
  10. :refresher-enabled="false">
  11. <view class="scrollswiper">
  12. <swiper class="swiper" indicator-dots circular=true :autoplay="autoplay" :interval="interval" :duration="duration">
  13. <swiper-item v-for="(item,index) in store_slide" :key="index">
  14. <view style="height: 100%;" class="swiper-item">
  15. <image style="height: 100%;width: 100%;" :src='item' />
  16. </view>
  17. </swiper-item>
  18. </swiper>
  19. </view>
  20. <view class="titeTop" :class="iScrolltop == 2?'activeColor' : ''">
  21. <view @tap="goback()" class="topleft">
  22. <uniIcon type="back" size="22" color="#666666" />
  23. </view>
  24. <view @click="gotosearch">
  25. <view class="input-view">
  26. <uniIcon type="search" size="22" color="#666666" />
  27. <input confirm-type="search" class="input" type="text" placeholder="输入搜索关键词" @confirm="confirm" />
  28. </view>
  29. </view>
  30. </view>
  31. <view class="tip">
  32. <view style="font-size: 36upx;color: #303133;">{{hotelitle}}</view>
  33. <view >
  34. <van-icon name="star-o" @click="gocollect" v-if="has_collected == 0" size="22" />
  35. <van-icon name="star-o" @click="gocollect" v-if="has_collected == 1" size="22" color= "#D9332E"/>
  36. </view>
  37. </view>
  38. <view v-if="store_summary" style="color: #666;padding: 0 32upx 10upx 32upx;">{{store_summary}}</view>
  39. <view>
  40. <van-tabs title-active-color="#D9332E" v-model="activeindex" @click.stop="onChange">
  41. <van-tab :name="0" title="服务项目">
  42. <view>
  43. <view class="giveList">
  44. <view class="giveItem" v-for="(item,index) in category_list" :key="index" @click.stop="godetail(item)">
  45. <image :src="item.pic"
  46. style="width:100%;height: 69%;">
  47. </image>
  48. <p style="text-align: center;font-size: 24rpx;">{{item.gc_name}}</p>
  49. </view>
  50. </view>
  51. <view style="padding: 0upx 18upx 20upx 18upx ;">
  52. <view style="width: 95%;margin: 0 auto;">
  53. <view @click.stop="choseType(1)" :class="tabIndex==1 ? 'active' : ''" class="typeItem">
  54. 综合
  55. </view>
  56. <view@click.stop="choseType(2)" class="typeItem">
  57. <view class="iconClass">
  58. <view :class="tabIndex==2 ? 'active' : ''">上新</view>
  59. <view style="display: flex;flex-direction: column;margin-left: 10rpx;">
  60. <view v-if="istopclick==0">
  61. <!-- <van-icon size="8px" name="arrow-up" :class="istopclick==1 ? 'active' : ''" /> -->
  62. <img style="width: 36upx;height: 36upx;vertical-align: middle;" src='../../static/sort.png' />
  63. </view>
  64. <view v-if="istopclick==1">
  65. <!-- <van-icon size="8px" name="arrow-up" :class="istopclick==1 ? 'active' : ''" /> -->
  66. <img style="width: 36upx;height: 36upx;vertical-align: middle;" src='../../static/sort_down.png' />
  67. </view>
  68. <view v-if="istopclick==2">
  69. <!-- <van-icon :class="istopclick==2 ? 'active' : ''" size="8px" name="arrow-down" /> -->
  70. <img style="width: 36upx;height: 36upx;vertical-align: middle;" src='../../static/sort_up.png' />
  71. </view>
  72. </view>
  73. </view>
  74. </view>
  75. <view @click.stop="choseType(3)" class="typeItem">
  76. <view class="iconClass">
  77. <view :class="tabIndex==3 ? 'active' : ''">价格</view>
  78. <view style="display: flex;flex-direction: column;margin-left: 10rpx;">
  79. <view v-if="isprice==0">
  80. <img style="width: 36upx;height: 36upx;vertical-align: middle;" src='../../static/sort.png' />
  81. </view>
  82. <view v-if="isprice==3">
  83. <img style="width: 36upx;height: 36upx;vertical-align: middle;" src='../../static/sort_down.png' />
  84. </view>
  85. <view v-if="isprice==4">
  86. <img style="width: 36upx;height: 36upx;vertical-align: middle;" src='../../static/sort_up.png' />
  87. </view>
  88. </view>
  89. </view>
  90. </view>
  91. <view @click.stop="choseType(4)" class="typeItem">
  92. <view :class="ishowpull ? 'active' : ''">分类
  93. <img v-if="!ishowpull" style="width: 36upx;height: 36upx;" src='../../static/sortb.png' />
  94. <img v-if="ishowpull" style="width: 36upx;height: 36upx;" src='../../static/sortb_up.png' />
  95. </view>
  96. </view>
  97. </view>
  98. </view>
  99. <view v-if="ishowpull" style="display: flex;flex-wrap: wrap;padding: 10upx 12upx;">
  100. <view class="spacedance"
  101. v-for="(item, index) in classify" :key="index"
  102. @click.stop="confirm(item)" >
  103. {{item.gc_name}}
  104. </view>
  105. </view>
  106. <!-- 商品列表 -->
  107. <shopList :goodId="goodId" :productList="goods_list" />
  108. <view v-if="isDetail==1" class="fontcenter">加载中...</view>
  109. <view v-if="isDetail==2" class="fontcenter">暂无更多商品</view>
  110. </view>
  111. </van-tab>
  112. <van-tab :name="1" :title="'评价' +' '+feedback_count">
  113. <!-- 评价列表 -->
  114. <assess :feedback_list="feedback_list" :showpicture="showpicture" />
  115. </van-tab>
  116. <van-tab :name="2" title="酒店信息">
  117. <view style="padding: 20upx 32upx 0upx 32upx;margin-bottom: 200upx;">
  118. <view style="padding-bottom: 10upx;">商家信息</view>
  119. <rich-text :nodes="store_description"></rich-text>
  120. <view class="newadress">
  121. <view>酒店地址</view>
  122. <view v-if="storeinformation.store_address!='' ">{{storeinformation.store_address}}</view>
  123. <view v-else>暂无</view>
  124. </view>
  125. <view class="newadress">
  126. <view>联系酒店</view>
  127. <view v-if="storeinformation.store_phone!='' ">{{storeinformation.store_phone}}</view>
  128. <view v-else>暂无</view>
  129. </view>
  130. </view>
  131. </van-tab>
  132. </van-tabs>
  133. </view>
  134. </scroll-view>
  135. <view v-if="activeindex == 2" class="bottomButton">
  136. <button type="warn" @click="gofeedback">您的入住意见反馈(反馈送圈币)</button>
  137. </view>
  138. <Gobacktop @getop="getop" v-if="isTop" />
  139. </van-skeleton>
  140. </view>
  141. </template>
  142. <script>
  143. import {
  144. mapMutations,mapState
  145. } from 'vuex'
  146. import uniIcon from '@/component/uni-icon/uni-icon.vue'
  147. import uniNavBar from '@/component/uni-nav-bar/uni-nav-bar.vue'
  148. import commoNar from '@/component/commoNar.vue' // 筛选栏
  149. import shopList from '@/component/shopList.vue' // 商品列表
  150. import assess from '@/component/assess.vue' // 评价列表
  151. import Gobacktop from '@/component/Gobacktop.vue'
  152. export default {
  153. components: {
  154. uniIcon,
  155. uniNavBar,
  156. commoNar,
  157. assess,
  158. shopList,
  159. Gobacktop
  160. },
  161. data() {
  162. return {
  163. isfx:false,
  164. firstloading: 0,
  165. showpicture: false,
  166. loading: true,
  167. storeinformation: {},
  168. isTop: 0,
  169. feedback_count: 0,
  170. hoteldetail: {},
  171. has_collected: 0, // 收藏酒店
  172. chosegoods_commonid: true,
  173. chosegoods_price: true,
  174. firstwo: 1,
  175. isDetail: 1,
  176. pictureUrl: this.pictureUrl,
  177. showdialog: false,
  178. store_description: '', //酒店信息
  179. store_summary:'', // 标签
  180. store_slide: [], //banner
  181. goods_list:[], // 首页酒店商品列表
  182. isnexttwo: 1,
  183. feedback_list:[], // 评价列表
  184. hotelitle: '', // 酒店名称
  185. istopclick: 0,
  186. page: 1,
  187. goodId: 0,
  188. page_size: 10,
  189. gc_id_1:'',// 一级分类id
  190. gc_id_2:'',// 二级分类id
  191. goods_commonid:'',// 上新排序 desc-降序 asc-尚需
  192. goods_price :'',// 价格排序 desc-降序 asc-尚需
  193. praise :'',// 好评率排序 desc-降序 asc-尚需
  194. keyword:'',//g 关键字搜索
  195. category_list: [{gc_id_1:'',gc_name:'全部'}], // 一级菜单栏
  196. tabIndex: 1,
  197. isprice:0,
  198. menu: [{
  199. name: '综合',
  200. id: '0'
  201. }, {
  202. name: '上新',
  203. id: '1'
  204. }, {
  205. name: '价格',
  206. id: '2'
  207. },
  208. {
  209. name:'分类',
  210. id:'3'
  211. }],
  212. ishowpull: false,
  213. classify: [],
  214. background: ['color1', 'color2', 'color3'],
  215. indicatorDots: true,
  216. autoplay: true,
  217. interval: 2000,
  218. duration: 500,
  219. activeindex: 0,
  220. scrollTop: 0,
  221. old: { scrollTop: 0},
  222. value1: 0,
  223. iScrolltop: 1,
  224. }
  225. },
  226. onShareAppMessage(res) {
  227. uni.showShareMenu({
  228. withShareTicket: true
  229. });
  230. let that = this;
  231. let id = this.goodId; // 酒店id
  232. if (res.from === 'button') {
  233. // 来自页面内分享按钮
  234. }
  235. return {
  236. title: that.hotelitle,
  237. path: `/pages/index/hotel?id=${id}`,
  238. imageUrl:that.store_slide[0]
  239. }
  240. },
  241. // 初次渲染进来关闭分享菜单栏
  242. onReady:function(){
  243. },
  244. onLoad(options){
  245. if(options.isfx){
  246. this.isfx=true;
  247. }else{
  248. this.isfx=false;
  249. }
  250. this.goodId = options.id; // 商品和酒店Id
  251. this.activeindex = 0;
  252. this.getshopdetail(); // 获取商品详情
  253. this.hotelmenu(); // 一级菜单
  254. this.gethoteil(); // 获取酒店信息
  255. uni.$on('changshow', (e) => {
  256. this.changeshow();
  257. })
  258. uni.$on('changpicture', (e) => {
  259. this.changimg();
  260. })
  261. },
  262. computed:{
  263. ...mapState([
  264. 'hasLogin',
  265. 'userInfo',
  266. 'successlogion'
  267. ]),
  268. },
  269. methods: {
  270. changeshow() {
  271. this.showpicture = false;
  272. },
  273. changimg() {
  274. this.showpicture = true;
  275. },
  276. getop() {
  277. this.scrollTop = this.old.scrollTop
  278.                 this.$nextTick(function(){
  279.                     this.scrollTop=0;
  280.                 });
  281. this.isTop = false;
  282. },
  283. // 入住酒店反馈
  284. gofeedback() {
  285. if(this.hoteldetail.can_feedback == 0) {
  286. this.$msg(this.hoteldetail.feedback_msg);
  287. return;
  288. }
  289. let store_id = this.goodId;
  290. uni.navigateTo({
  291. url: `/pages/index/feedback?store_id=${store_id}`
  292. });
  293. },
  294. // 搜说
  295. gotosearch() {
  296. let store_id = this.goodId;
  297. uni.navigateTo({
  298. url: `/pages/index/hotelsearch?store_id=${store_id}`
  299. });
  300. },
  301. // 收藏
  302. gocollect() {
  303. if(this.hasLogin && this.successlogion) {
  304. this.request({
  305. url: '/v1/favorites/collect',
  306. method: 'post',
  307. data: {
  308. type:'store',
  309. fav_id: this.goodId
  310. },
  311. success: (res) => {
  312. if(res.data.data.action == 'add') {
  313. this.$msg("收藏成功")
  314. }else {
  315. this.$msg("取消收藏")
  316. }
  317. this.gethoteil()
  318. }
  319. })
  320. }else {
  321. // this.showdialog = true;
  322. uni.navigateTo({
  323. url:'/pages/myCenter/logion'
  324. })
  325. }
  326. },
  327. choseType(e) {
  328. this.tabIndex = e;
  329. this.isDetail = 1;
  330. this.page = 1;
  331. if(this.tabIndex == 1) { // 服务
  332. this.istopclick = 0;
  333. this.isprice = 0;
  334. this.gc_id_1 = '';
  335. this.goods_price = '';
  336. this.goods_commonid = '';
  337. this.getshopdetail(2);
  338. }else if(this.tabIndex == 2){ //伤
  339. this.chosegoods_price = true;
  340. this.istopclick = this.chosegoods_commonid?1:2;
  341. this.isprice = 0;
  342. this.goods_price = '';
  343. this.goods_commonid = this.chosegoods_commonid?'asc':'desc';
  344. this.chosegoods_commonid = !this.chosegoods_commonid;
  345. this.getshopdetail(2);
  346. }else if(this.tabIndex == 3){ // 价格
  347. this.chosegoods_commonid = true;
  348. this.istopclick = 0;
  349. this.isprice = this.chosegoods_price?3:4;
  350. this.goods_price = this.chosegoods_price?'desc':'asc';
  351. this.goods_commonid = '';
  352. this.chosegoods_price = !this.chosegoods_price;
  353. this.getshopdetail(2);
  354. }else if(this.tabIndex ==4) { // 分类
  355. this.ishowpull = !this.ishowpull;
  356. this.istopclick = 0;
  357. this.isprice = 0;
  358. this.goods_price = '';
  359. this.goods_commonid = '';
  360. this.chosegoods_price = true;
  361. this.chosegoods_commonid = true;
  362. }
  363. },
  364. // 点击切换上下
  365. changeisclick(e) {
  366. },
  367. openHome(){
  368. uni.switchTab({
  369. url: `/pages/index/index`
  370. })
  371. },
  372. godetail(item) {
  373. let id = item.gc_id; // 一级菜单id
  374. let store_id = this.goodId;
  375. let gc_name = item.gc_name;
  376. uni.navigateTo({
  377. url: `/pages/index/hoteldetail?id=${id}&gc_name=${gc_name}&store_id=${store_id}`
  378. });
  379. },
  380. // 获取商品详情
  381. getshopdetail(e) {
  382. this.request({
  383.                 url:"/v2/entry/storeGoods",
  384.                 method:'get',
  385. data: {
  386. store_id: this.goodId,
  387. page: this.page,
  388. goods_commonid: this.goods_commonid, // 上新排序
  389. goods_price: this.goods_price,
  390. gc_id_1: this.gc_id_1
  391. },
  392. success: (res) => {
  393. // uni.hideLoading()
  394. if(this.firstloading == 0) {
  395. this.loading = false;
  396. }
  397. this.firstloading = 1;
  398. if(e == 2) {
  399. this.goods_list = [];
  400. }
  401. this.goods_list = this.goods_list.concat(res.data.data.goods_list);
  402. if(res.data.data.goods_list.length < 10) {
  403. this.isDetail = 2;
  404. }
  405. },
  406. })
  407. },
  408. // 一级菜单
  409. hotelmenu() {
  410. let _this = this;
  411. this.request({
  412.                 url:"/v1/entry/storeCategory",
  413.                 method:'get',
  414. data: {
  415. store_id: this.goodId,
  416. },
  417. success: function(res) {
  418. let { category_list } = res.data.data;
  419. category_list.forEach((item,idx) => {
  420. item.text = item.gc_name;
  421. item.value = idx;
  422. })
  423. let array = [{gc_id:'',gc_name:'全部'}];
  424. _this.classify = array.concat(category_list);
  425. _this.category_list = category_list.splice(0,10);
  426. },
  427. })
  428. },
  429. onChange(event) {
  430. this.activeindex = event.detail.name;
  431. this.page = 1;
  432. if(event.detail.name == 1) {
  433. this.getcomment();
  434. }else if(event.detail.name == 0) {
  435. this.getshopdetail()
  436. }
  437. },
  438. // 获取酒店评价
  439. getcomment() {
  440. this.request({
  441. url:'/v1/store/feedbackList',
  442. method: 'POST',
  443. data: {
  444. page: this.page,
  445. page_size: 10,
  446. store_id: this.goodId
  447. },
  448. success: (res) => {
  449. this.feedback_list = res.data.data.feedback_list;
  450. if(res.data.data.feedback_list.length < 10) {
  451. this.isnexttwo = 2;
  452. }
  453. if(this.firstloading == 0) {
  454. this.loading = false;
  455. }
  456. this.firstloading = 1;
  457. }
  458. })
  459. },
  460. // 获取酒店信息
  461. gethoteil() {
  462. this.request({
  463. url:'/v1/store/info',
  464. method:'get',
  465. data: {
  466. store_id: this.goodId
  467. },
  468. success: (res) => {
  469. if(this.firstloading == 0) {
  470. this.loading = false;
  471. }
  472. this.firstloading = 1;
  473. let { data } = res.data;
  474. this.store_slide = [];
  475. this.hoteldetail = data;
  476. this.feedback_count = data.feedback_count;
  477. this.hotelitle = data.store_name;
  478. data.store_slide.forEach(item => {
  479. if(item.indexOf('jpg')!= -1) {
  480. this.store_slide.push(item);
  481. }
  482. })
  483. let src= this.pictureUrl+'/uploads/home/store/'+data.store_id+'/'+data.store_banner;
  484. if(this.store_slide.length == 0) {
  485. this.store_slide.push(src);
  486. }
  487. this.storeinformation = data;
  488. this.store_summary = data.store_summary;
  489. const regex = new RegExp('<img', 'gi');
  490. if(data.store_description){
  491. data.store_description = data.store_description.replace(regex, `<img style="width: 100%;height: auto!important;display: block;text-align: center;"`);
  492. this.store_description = data.store_description;
  493. }
  494. this.has_collected = data.has_collected; // 是否收藏
  495. }
  496. })
  497. },
  498. changemenu(e) {
  499. },
  500. confirm(e) {
  501. this.tabIndex = 0;
  502. this.ishowpull = false;
  503. this.gc_id_1 = e.gc_id;
  504. this.getshopdetail(2);
  505. },
  506. upper(e) {
  507. },
  508. // 滚到底部
  509. lower(e) {
  510. if(this.isnexttwo == 1 && this.activeindex == 1) {
  511. this.page = this.page + 1;
  512. this.getcomment();
  513. }else if( this.isDetail == 1) {
  514. this.page = this.page + 1;
  515. this.getshopdetail();
  516. }
  517. },
  518. // 滚动时触发
  519. scroll(e) {
  520. if(e.detail.scrollTop > 400) {
  521. this.isTop = true;
  522. }else{ //当距离小于500时显示回到顶部按钮
  523. this.isTop = false;
  524. }
  525. if(e.detail.scrollTop > 160) {
  526. this.iScrolltop = 2;
  527. }else {
  528. this.iScrolltop = 1;
  529. }
  530. this.old.scrollTop = e.detail.scrollTop
  531. },
  532. // 返回上一页
  533. goback() {
  534. uni.navigateBack()
  535. },
  536. }
  537. }
  538. </script>
  539. <style scoped>
  540. .home{
  541. position: absolute;
  542. width: 60upx;
  543. height: 60upx;
  544. background-color: #fff;
  545. border-radius: 50%;
  546. box-shadow: 0 0 3upx #333333;
  547. text-align: center;
  548. top: 100upx;
  549. z-index: 999;
  550. left: 0;
  551. }
  552. .home image{
  553. width: 40upx;
  554. height: 40upx;
  555. padding-top: 8rpx;
  556. }
  557. .van-tab--active {
  558. color: #D9332E!important;
  559. }
  560. .newadress {
  561. display: flex;
  562. justify-content: space-between;
  563. border-bottom: 1px solid #F5F5F5;
  564. padding: 15upx 0;
  565. }
  566. .changfecolor {
  567. color: green;
  568. }
  569. .scrollswiper {
  570. width: 100%;
  571. position: relative;
  572. }
  573. .titleFixed {
  574. position: absolute;
  575. top: 0;
  576. left: 0;
  577. z-index: 99;
  578. padding-top: 0;
  579. }
  580. .van-nav-bar {
  581. padding-top: 0!important;
  582. /* background: #000000!important; */
  583. /* opacity: 0.2; */
  584. background:rgba(0,0,0,0.2)!important;
  585. }
  586. .swiper {
  587. height: 380upx;
  588. }
  589. .swiper-item {
  590. display: block;
  591. height: 100%!important;
  592. line-height: 300upx;
  593. text-align: center;
  594. }
  595. .tip {
  596. display: flex;
  597. justify-content: space-between;
  598. padding: 36upx 32upx;
  599. }
  600. .giveList {
  601. padding: 10upx 12upx;
  602. display: flex;
  603. flex-wrap: wrap;
  604. }
  605. .giveItem {
  606. height: 150rpx;
  607. flex: 1;
  608. width: 14%;
  609. min-width: 14%;
  610. max-width: 14%;
  611. /* margin: 24rpx 0 25rpx 4%; */
  612. margin: 24upx 3%;
  613. }
  614. .active {
  615. color: #F76260;
  616. }
  617. .typeItem {
  618. width: 25%;
  619. display: inline-block;
  620. text-align: center;
  621. }
  622. .iconClass {
  623. display: flex;
  624. flex-direction: row;
  625. align-items: center;
  626. justify-content: center;
  627. }
  628. .hotlItem {
  629. padding: 22upx 30upx;
  630. border-bottom: 1px solid #EEEEEE;
  631. display: flex;
  632. justify-content: space-between;
  633. }
  634. .bottomButton {
  635. width: 95%;
  636. left: 2.5%;
  637. position: fixed;
  638. bottom: 2.5%;
  639. }
  640. .titeTop {
  641. display: flex;
  642. /* justify-content: space-between; */
  643. align-items: center;
  644. position: absolute;
  645. top: 10upx;
  646. width: 100%;
  647. }
  648. .topleft {
  649. width: 60upx;
  650. height: 60upx;
  651. line-height: 60upx;
  652. margin: 0 5upx;
  653. }
  654. .topright {
  655. }
  656. .input-view {
  657. width: 100%;
  658. display: flex;
  659. height: 30px;
  660. border-radius: 15px;
  661. padding: 0 4%;
  662. flex-wrap: nowrap;
  663. margin: 7px 0;
  664. line-height: 30px;
  665. margin: 24upx auto;
  666. background:rgba(0,0,0,1);
  667. opacity:0.4;
  668. }
  669. .input-view .uni-icon {
  670. line-height: 30px !important;
  671. }
  672. .input-view .input {
  673. height: 30px;
  674. line-height: 30px;
  675. width: 94%;
  676. padding: 0 3%;
  677. }
  678. .activeColor {
  679. background: #fff!important;
  680. position: fixed;
  681. background-color: #fff;
  682. top: 65upx;
  683. left: 0;
  684. z-index: 99;
  685. }
  686. .listType {
  687. }
  688. .changeimg {
  689. width: 100%;
  690. height: auto!important;
  691. display: block;
  692. text-align: center;
  693. }
  694. .spacedance{
  695. border:1px solid #eee;
  696. flex: 1;width: 20%;
  697. text-align: center;
  698. min-width: 20%;
  699. max-width: 20%;
  700. margin: 6rpx 0 15rpx 2%;
  701. padding:4upx 8upx;
  702. color: #666
  703. }
  704. .fontcenter {
  705. text-align: center;
  706. color: #666;
  707. }
  708. /* 轮播切换图标字体红 */
  709. </style>