Browse Source

提交

master
chenkainan 10 months ago
parent
commit
65a9a87e04
  1. 40
      pages/daoyou/index.vue
  2. 2
      unpackage/dist/build/web/index.html
  3. 2
      unpackage/dist/build/web/static/js/index.a23fc75f.js
  4. 1
      unpackage/dist/build/web/static/js/pages-daoyou-index.690ce6b5.js
  5. 1
      unpackage/dist/build/web/static/js/pages-daoyou-index.e2b12204.js
  6. 1
      unpackage/dist/build/web/static/js/subPackages-user-register.44c1e62f.js
  7. 1
      unpackage/dist/build/web/static/js/subPackages-user-register.d029ccae.js

40
pages/daoyou/index.vue

@ -7,7 +7,7 @@
</view> </view>
<view class="type-box flex-between"> <view class="type-box flex-between">
<view :class="['type-item', {'type-active': item.isSelect}]" v-for="(item,index) in typeList" :key="index" @click="selectConditions(item,index)" v-if="index != 2 && index != 3"> <view :class="['type-item', {'type-active': item.isSelect}]" v-for="(item,index) in typeList" :key="index" @click="selectConditions(item,index)" v-if="index != 3">
{{item.title}} {{item.title}}
<view class="type-num flex-center" v-if="item.num > 0">{{item.num}}</view> <view class="type-num flex-center" v-if="item.num > 0">{{item.num}}</view>
<image src="https://static.ticket.sz-trip.com/tourist/daoyou/bottomIcon.png" class="type-icon" v-if="index > 1"></image> <image src="https://static.ticket.sz-trip.com/tourist/daoyou/bottomIcon.png" class="type-icon" v-if="index > 1"></image>
@ -49,11 +49,11 @@
</view> </view>
<!-- 性别弹框 --> <!-- 性别弹框 -->
<!-- <uni-popup type="bottom" ref="sexPopup" @change="changeTabBar"> <uni-popup type="bottom" ref="sexPopup" @change="changeTabBar">
<view class="sex-box"> <view class="sex-box">
<view v-for="(item,index) in typeList[2].list" :key="index" class="flex-center" @click="changeSex(item)">{{item.title}}</view> <view v-for="(item,index) in typeList[2].list" :key="index" class="flex-center" @click="changeSex(item,index)">{{item.title}}</view>
</view> </view>
</uni-popup> --> </uni-popup>
<!-- 擅长景区弹框 --> <!-- 擅长景区弹框 -->
<!-- <uni-popup type="bottom" ref="scenicPopup" @change="changeTabBar" @maskClick="scenicConfirm(0)"> <!-- <uni-popup type="bottom" ref="scenicPopup" @change="changeTabBar" @maskClick="scenicConfirm(0)">
@ -114,19 +114,20 @@
title: '性别', title: '性别',
isSelect: false, isSelect: false,
list: [ list: [
// { {
// title: '', title: '全部',
// id: '' id: ''
// }, },
// { {
// title: '', title: '男',
// id: '1' id: '1'
// }, },
// { {
// title: '', title: '女',
// id: '2' id: '2'
// } }
] ],
sexIndex: 0
}, },
{ {
title: '擅长景区', title: '擅长景区',
@ -190,7 +191,8 @@
end_date: this.typeList[4].num > 0 ? this.selectDate.endDay : (this.typeList[1].isSelect ? new Date().Format('yyyy-MM-dd') : ''), end_date: this.typeList[4].num > 0 ? this.selectDate.endDay : (this.typeList[1].isSelect ? new Date().Format('yyyy-MM-dd') : ''),
sort: this.typeList[0].isSelect ? 'sort' : '', sort: this.typeList[0].isSelect ? 'sort' : '',
order: this.typeList[0].isSelect ? 'desc' : '', order: this.typeList[0].isSelect ? 'desc' : '',
title: this.keywords title: this.keywords,
sex: this.typeList[2].title == '男' ? 1 : (this.typeList[2].title == '女' ? 2 : '')
},'/api/goods/getGoodsByDateType').then(res => { },'/api/goods/getGoodsByDateType').then(res => {
this.list = [...this.list, ...res.data] this.list = [...this.list, ...res.data]
if (res.data.length < 10) { if (res.data.length < 10) {
@ -268,6 +270,8 @@
this.typeList[2].title = item.title this.typeList[2].title = item.title
this.typeList[2].isSelect = true this.typeList[2].isSelect = true
} }
this.onReload()
this.$refs.sexPopup.close() this.$refs.sexPopup.close()
}, },
// //

2
unpackage/dist/build/web/index.html

@ -1,2 +1,2 @@
<!DOCTYPE html><html lang=zh-CN><head><meta charset=utf-8><meta http-equiv=X-UA-Compatible content="IE=edge"><title>daoyous</title><script>var coverSupport = 'CSS' in window && typeof CSS.supports === 'function' && (CSS.supports('top: env(a)') || CSS.supports('top: constant(a)')) <!DOCTYPE html><html lang=zh-CN><head><meta charset=utf-8><meta http-equiv=X-UA-Compatible content="IE=edge"><title>daoyous</title><script>var coverSupport = 'CSS' in window && typeof CSS.supports === 'function' && (CSS.supports('top: env(a)') || CSS.supports('top: constant(a)'))
document.write('<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0' + (coverSupport ? ', viewport-fit=cover' : '') + '" />')</script><link rel=stylesheet href=/static/index.2da1efab.css></head><body><noscript><strong>Please enable JavaScript to continue.</strong></noscript><div id=app></div><script src=/static/js/chunk-vendors.690d039f.js></script><script src=/static/js/index.62659eda.js></script></body></html> document.write('<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0' + (coverSupport ? ', viewport-fit=cover' : '') + '" />')</script><link rel=stylesheet href=/static/index.2da1efab.css></head><body><noscript><strong>Please enable JavaScript to continue.</strong></noscript><div id=app></div><script src=/static/js/chunk-vendors.690d039f.js></script><script src=/static/js/index.a23fc75f.js></script></body></html>

2
unpackage/dist/build/web/static/js/index.62659eda.js → unpackage/dist/build/web/static/js/index.a23fc75f.js

File diff suppressed because one or more lines are too long

1
unpackage/dist/build/web/static/js/pages-daoyou-index.690ce6b5.js

File diff suppressed because one or more lines are too long

1
unpackage/dist/build/web/static/js/pages-daoyou-index.e2b12204.js

File diff suppressed because one or more lines are too long

1
unpackage/dist/build/web/static/js/subPackages-user-register.44c1e62f.js

File diff suppressed because one or more lines are too long

1
unpackage/dist/build/web/static/js/subPackages-user-register.d029ccae.js

File diff suppressed because one or more lines are too long
Loading…
Cancel
Save