12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182 |
- const app = getApp()
- Page({
-
- data: {
- classifyList:[]
- },
-
- onLoad(options) {
-
- let classifyList = JSON.parse(options.data)
- classifyList.splice(7,1)
- this.setData({
- classifyList:options.data?classifyList:[]
- })
- },
- goOrder(e) {
- let index = e.currentTarget.dataset.index
- app.globalData.toViewIndex = index
- wx.switchTab({
- url: '/pages/orderBy/orderBy',
- success: function () {
- var page = getCurrentPages().pop();
- page.onPullDownRefresh();
- }
- })
- },
-
- onReady() {
- },
-
- onShow() {
- },
-
- onHide() {
- },
-
- onUnload() {
- },
-
- onPullDownRefresh() {
- },
-
- onReachBottom() {
- },
-
- onShareAppMessage() {
- }
- })
|