123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170 |
- // pages/mine/mine.js
- Page({
- /**
- * 页面的初始数据
- */
- data: {
- navigation: {},
- section2List: [{
- children: [{
- name: "税费争议",
- icon: "../../images/mine/sfzy.png",
- path: ""
- },
- {
- name: "年度评价\n结果查询",
- icon: "../../images/mine/ndpjjgcx.png",
- path: "../minePages/ndpjjgcx/ndpjjgcx"
- },
- {
- name: "违法违章\n信息查询",
- icon: "../../images/mine/wfwzxxcx.png",
- path: "../minePages/wfwzxxcx/wfwzxxcx"
- },
- {
- name: "办税日历",
- icon: "../../images/mine/bsrl.png",
- path: "../minePages/bsrl/bsrl"
- }
- ]
- },
- {
- children: [{
- name: "设立登记\n信息查询",
- icon: "../../images/mine/sldjxxcx.png",
- path: "../minePages/sldjxxcx/sldjxxcx"
- },
- {
- name: "查询纳税\n人未清缴(欠税费信息)",
- icon: "../../images/mine/cxnsrwqj.png",
- // path: "../minePages/cxnsrwqjxx/cxnsrwqjxx"
- path: ""
- },
- {
- name: "公积金",
- icon: "../../images/mine/gjj.png",
- path: ""
- },
- {
- name: "国家企业信用信用公示",
- icon: "../../images/mine/gjqyxy.png",
- path: ""
- }
- ]
- }
- ],
- userInfo: {},
- address: ""
- },
- /**
- * 生命周期函数--监听页面加载
- */
- onLoad(options) {
- let that = this
- that.getNavigationBar()
- },
- getNavigationBar() {
- let that = this
- const res = wx.getMenuButtonBoundingClientRect()
- let navigation = {
- width: res.left + 'px',
- height: res.height + 6 + 'px',
- paddingTop: res.top - 3 + 'px'
- }
- that.setData({
- navigation: navigation
- })
- },
- init() {
- let that = this
- let address = wx.getStorageSync('ADDRESS')
- let userInfo = wx.getStorageSync('USERINFO')
- that.setData({
- userInfo: userInfo,
- address: address
- })
- },
- myInfo() {
- wx.navigateTo({
- url: "../minePages/grxxxg/grxxxg",
- })
- },
- moreFunction(e) {
- let item = e.currentTarget.dataset.item
- if (item.path) {
- wx.navigateTo({
- url: item.path,
- })
- } else {
- wx.showToast({
- title: '该功能暂未开通',
- icon: "none",
- duration: 2000
- })
- }
- },
- test() {
- wx.showToast({
- title: '该功能暂未开通',
- icon: "none",
- duration: 2000
- })
- },
- /**
- * 生命周期函数--监听页面初次渲染完成
- */
- onReady() {
- },
- /**
- * 生命周期函数--监听页面显示
- */
- onShow() {
- let that = this
- that.init()
- },
- /**
- * 生命周期函数--监听页面隐藏
- */
- onHide() {
- },
- /**
- * 生命周期函数--监听页面卸载
- */
- onUnload() {
- },
- /**
- * 页面相关事件处理函数--监听用户下拉动作
- */
- onPullDownRefresh() {
- },
- /**
- * 页面上拉触底事件的处理函数
- */
- onReachBottom() {
- },
- /**
- * 用户点击右上角分享
- */
- onShareAppMessage() {
- }
- })
|