hotel.vue 22 KB

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