1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859 |
- var util = require('../../../utils/util.js');
- var api = require('../../../config/api.js');
- var app = getApp();
- Page({
- data: {
-
- appointShow:false
- },
- onLoad: function(options) {
- // 页面初始化 options为页面跳转所带来的参数
- if(options.id){
- this.setData({
- id:options.id
- });
- }
- },
- goIndex(){
- wx.switchTab({
- url: '/pages/index/index',
- })
- },
- goOrder(){
- wx.navigateTo({
- url: '/pages/ucenter/serviceDetail/serviceDetail?orderId=' +this.data.id
- })
- },
- onReady: function() {
- },
- onShow: function() {
- // 页面显示
- },
- onHide: function() {
- // 页面隐藏
- },
- onUnload: function() {
- // 页面关闭
- },
- onClickHide(){
- this.setData({
- appointShow:false
- });
- },
- appointClick(){
-
- },
- goAppoint(){
- this.setData({
- appointShow:false
- });
-
- }
-
- })
|