hotel.vue 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744
  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. // uni.showLoading({
  383. // title: '加载中'
  384. // });
  385. this.request({
  386.                 url:"/v2/entry/storeGoods",
  387.                 method:'get',
  388. data: {
  389. store_id: this.goodId,
  390. page: this.page,
  391. goods_commonid: this.goods_commonid, // 上新排序
  392. goods_price: this.goods_price,
  393. gc_id_1: this.gc_id_1
  394. },
  395. success: (res) => {
  396. // uni.hideLoading()
  397. if(this.firstloading == 0) {
  398. this.loading = false;
  399. }
  400. this.firstloading = 1;
  401. if(e == 2) {
  402. this.goods_list = [];
  403. }
  404. this.goods_list = this.goods_list.concat(res.data.data.goods_list);
  405. if(res.data.data.goods_list.length < 10) {
  406. this.isDetail = 2;
  407. }
  408. },
  409. })
  410. },
  411. // 一级菜单
  412. hotelmenu() {
  413. let _this = this;
  414. this.request({
  415.                 url:"/v1/entry/storeCategory",
  416.                 method:'get',
  417. data: {
  418. store_id: this.goodId,
  419. },
  420. success: function(res) {
  421. let { category_list } = res.data.data;
  422. category_list.forEach((item,idx) => {
  423. item.text = item.gc_name;
  424. item.value = idx;
  425. })
  426. let array = [{gc_id:'',gc_name:'全部'}];
  427. _this.classify = array.concat(category_list);
  428. _this.category_list = category_list.splice(0,10);
  429. },
  430. })
  431. },
  432. onChange(event) {
  433. this.activeindex = event.detail.name;
  434. this.page = 1;
  435. if(event.detail.name == 1) {
  436. this.getcomment();
  437. }else if(event.detail.name == 0) {
  438. this.getshopdetail()
  439. }
  440. },
  441. // 获取酒店评价
  442. getcomment() {
  443. this.request({
  444. url:'/v1/store/feedbackList',
  445. method: 'POST',
  446. data: {
  447. page: this.page,
  448. page_size: 10,
  449. store_id: this.goodId
  450. },
  451. success: (res) => {
  452. this.feedback_list = res.data.data.feedback_list;
  453. if(res.data.data.feedback_list.length < 10) {
  454. this.isnexttwo = 2;
  455. }
  456. if(this.firstloading == 0) {
  457. this.loading = false;
  458. }
  459. this.firstloading = 1;
  460. }
  461. })
  462. },
  463. // 获取酒店信息
  464. gethoteil() {
  465. this.request({
  466. url:'/v1/store/info',
  467. method:'get',
  468. data: {
  469. store_id: this.goodId
  470. },
  471. success: (res) => {
  472. if(this.firstloading == 0) {
  473. this.loading = false;
  474. }
  475. this.firstloading = 1;
  476. let { data } = res.data;
  477. this.store_slide = [];
  478. this.hoteldetail = data;
  479. this.feedback_count = data.feedback_count;
  480. this.hotelitle = data.store_name;
  481. data.store_slide.forEach(item => {
  482. if(item.indexOf('jpg')!= -1) {
  483. this.store_slide.push(item);
  484. }
  485. })
  486. let src= this.pictureUrl+'/uploads/home/store/'+data.store_id+'/'+data.store_banner;
  487. if(this.store_slide.length == 0) {
  488. this.store_slide.push(src);
  489. }
  490. this.storeinformation = data;
  491. this.store_summary = data.store_summary;
  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.isnexttwo == 1 && this.activeindex == 1) {
  513. this.page = this.page + 1;
  514. this.getcomment();
  515. }else if( this.isDetail == 1) {
  516. this.page = this.page + 1;
  517. this.getshopdetail();
  518. }
  519. },
  520. // 滚动时触发
  521. scroll(e) {
  522. if(e.detail.scrollTop > 400) {
  523. this.isTop = true;
  524. }else{ //当距离小于500时显示回到顶部按钮
  525. this.isTop = false;
  526. }
  527. if(e.detail.scrollTop > 160) {
  528. this.iScrolltop = 2;
  529. }else {
  530. this.iScrolltop = 1;
  531. }
  532. this.old.scrollTop = e.detail.scrollTop
  533. },
  534. // 返回上一页
  535. goback() {
  536. uni.navigateBack()
  537. },
  538. }
  539. }
  540. </script>
  541. <style scoped>
  542. .home{
  543. position: absolute;
  544. width: 60upx;
  545. height: 60upx;
  546. background-color: #fff;
  547. border-radius: 50%;
  548. box-shadow: 0 0 3upx #333333;
  549. text-align: center;
  550. top: 100upx;
  551. z-index: 999;
  552. left: 0;
  553. }
  554. .home image{
  555. width: 40upx;
  556. height: 40upx;
  557. padding-top: 8rpx;
  558. }
  559. .van-tab--active {
  560. color: #D9332E!important;
  561. }
  562. .newadress {
  563. display: flex;
  564. justify-content: space-between;
  565. border-bottom: 1px solid #F5F5F5;
  566. padding: 15upx 0;
  567. }
  568. .changfecolor {
  569. color: green;
  570. }
  571. .scrollswiper {
  572. width: 100%;
  573. position: relative;
  574. }
  575. .titleFixed {
  576. position: absolute;
  577. top: 0;
  578. left: 0;
  579. z-index: 99;
  580. padding-top: 0;
  581. }
  582. .van-nav-bar {
  583. padding-top: 0!important;
  584. /* background: #000000!important; */
  585. /* opacity: 0.2; */
  586. background:rgba(0,0,0,0.2)!important;
  587. }
  588. .swiper {
  589. height: 380upx;
  590. }
  591. .swiper-item {
  592. display: block;
  593. height: 100%!important;
  594. line-height: 300upx;
  595. text-align: center;
  596. }
  597. .tip {
  598. display: flex;
  599. justify-content: space-between;
  600. padding: 36upx 32upx;
  601. }
  602. .giveList {
  603. padding: 10upx 12upx;
  604. display: flex;
  605. flex-wrap: wrap;
  606. }
  607. .giveItem {
  608. height: 150rpx;
  609. flex: 1;
  610. width: 14%;
  611. min-width: 14%;
  612. max-width: 14%;
  613. /* margin: 24rpx 0 25rpx 4%; */
  614. margin: 24upx 3%;
  615. }
  616. .active {
  617. color: #F76260;
  618. }
  619. .typeItem {
  620. width: 25%;
  621. display: inline-block;
  622. text-align: center;
  623. }
  624. .iconClass {
  625. display: flex;
  626. flex-direction: row;
  627. align-items: center;
  628. justify-content: center;
  629. }
  630. .hotlItem {
  631. padding: 22upx 30upx;
  632. border-bottom: 1px solid #EEEEEE;
  633. display: flex;
  634. justify-content: space-between;
  635. }
  636. .bottomButton {
  637. width: 95%;
  638. left: 2.5%;
  639. position: fixed;
  640. bottom: 2.5%;
  641. }
  642. .titeTop {
  643. display: flex;
  644. /* justify-content: space-between; */
  645. align-items: center;
  646. position: absolute;
  647. top: 10upx;
  648. width: 100%;
  649. }
  650. .topleft {
  651. width: 60upx;
  652. height: 60upx;
  653. line-height: 60upx;
  654. margin: 0 5upx;
  655. }
  656. .topright {
  657. }
  658. .input-view {
  659. width: 100%;
  660. display: flex;
  661. height: 30px;
  662. border-radius: 15px;
  663. padding: 0 4%;
  664. flex-wrap: nowrap;
  665. margin: 7px 0;
  666. line-height: 30px;
  667. margin: 24upx auto;
  668. background:rgba(0,0,0,1);
  669. opacity:0.4;
  670. }
  671. .input-view .uni-icon {
  672. line-height: 30px !important;
  673. }
  674. .input-view .input {
  675. height: 30px;
  676. line-height: 30px;
  677. width: 94%;
  678. padding: 0 3%;
  679. }
  680. .activeColor {
  681. background: #fff!important;
  682. position: fixed;
  683. background-color: #fff;
  684. top: 65upx;
  685. left: 0;
  686. z-index: 99;
  687. }
  688. .listType {
  689. }
  690. .changeimg {
  691. width: 100%;
  692. height: auto!important;
  693. display: block;
  694. text-align: center;
  695. }
  696. .spacedance{
  697. border:1px solid #eee;
  698. flex: 1;width: 20%;
  699. text-align: center;
  700. min-width: 20%;
  701. max-width: 20%;
  702. margin: 6rpx 0 15rpx 2%;
  703. padding:4upx 8upx;
  704. color: #666
  705. }
  706. .fontcenter {
  707. text-align: center;
  708. color: #666;
  709. }
  710. /* 轮播切换图标字体红 */
  711. </style>