Commit c2e4cb28 by 汪睦雄

'房券专区'

parent 61bc6b5d
......@@ -55,5 +55,6 @@
"request": 10000,
"downloadFile": 10000
},
"debug": true
"debug": true,
"sitemapLocation": "sitemap.json"
}
\ No newline at end of file
......@@ -33,11 +33,11 @@
</i-grid-icon>
<i-grid-label i-class="nav-label">线下活动</i-grid-label>
</i-grid-item>
<i-grid-item i-class="nav-grid-item" catchtap='catalogClick' data-name='转让专区'>
<i-grid-item i-class="nav-grid-item" catchtap='catalogClick' data-name='房券专区'>
<i-grid-icon i-class="nav-icon">
<image src="/images/navs/icon_nav_6.png" />
<image src="/images/navs/icon_nav_9.png" />
</i-grid-icon>
<i-grid-label i-class="nav-label">转让专区</i-grid-label>
<i-grid-label i-class="nav-label">房券专区</i-grid-label>
</i-grid-item>
<i-grid-item i-class="nav-grid-item" catchtap='catalogClick' data-catalog='8' data-name='儿童教育'>
<i-grid-icon i-class="nav-icon">
......
......@@ -167,6 +167,13 @@ Page({
})
},
// 房券专区
gotoTransferProjects: function (event) {
wx.navigateTo({
url: '/pages/search/list/list?catalog=undefined&ptitle=房券专区',
})
},
// 更多:按分类筛选
gotoSearchProjects: function(event) {
let _catalog = event.target.dataset.catalog
......
......@@ -24,8 +24,8 @@
</i-cell-group>
<i-cell-group i-class="section-wrapper">
<i-cell title="爆款专区" is-link i-class="text-mtitle">
<text slot="footer" class='text-gray text-small' catchtap='gotoMoreProjects' data-type='2' data-name='爆款专区'>更多</text>
<i-cell title="房券专区" is-link i-class="text-mtitle">
<text slot="footer" class='text-gray text-small' catchtap='gotoTransferProjects' data-type='2' data-name='房券专区'>更多</text>
</i-cell>
<i-row i-class="col-wrapper">
<i-col span="8" i-class="col-class" wx:for="{{heats}}" wx:for-index="idx" wx:for-item="n" wx:key="n.id" wx:if="{{idx < 6}}">
......
......@@ -33,6 +33,7 @@ Page({
let _title = options.title
let _tags = options.tags
let _catalog = options.catalog
console.log(options )
if (_tags != null && _tags.length > 0) {
this.setData({
tags: JSON.parse(_tags)
......
......@@ -20,6 +20,8 @@
"hidedInDevtools": []
},
"scripts": {},
"simulatorType": "wechat",
"simulatorPluginLibVersion": {},
"condition": {
"search": {
"current": -1,
......
{
"desc": "关于本文件的更多信息,请参考文档 https://developers.weixin.qq.com/miniprogram/dev/framework/sitemap.html",
"rules": [{
"action": "allow",
"page": "*"
}]
}
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment