微信小程序 提审时隐藏功能;微信小程序添加微信快捷登录、随便看看(登的user用户)
This commit is contained in:
		@@ -1,5 +1,7 @@
 | 
			
		||||
// pages/shop/shop.js
 | 
			
		||||
 | 
			
		||||
const toggleCustomTabBar = require('../../custom-tab-bar/toggleCustomTabBar')
 | 
			
		||||
 | 
			
		||||
const goodService = require("../../services/good")
 | 
			
		||||
 | 
			
		||||
Page({
 | 
			
		||||
@@ -62,6 +64,7 @@ Page({
 | 
			
		||||
   * 生命周期函数--监听页面加载
 | 
			
		||||
   */
 | 
			
		||||
  onLoad(options) {
 | 
			
		||||
    toggleCustomTabBar.toggle(this)
 | 
			
		||||
    this.loadPageData();
 | 
			
		||||
  },
 | 
			
		||||
 | 
			
		||||
@@ -76,7 +79,7 @@ Page({
 | 
			
		||||
   * 生命周期函数--监听页面显示
 | 
			
		||||
   */
 | 
			
		||||
  onShow() {
 | 
			
		||||
 | 
			
		||||
    toggleCustomTabBar.toggle(this)
 | 
			
		||||
  },
 | 
			
		||||
 | 
			
		||||
  /**
 | 
			
		||||
@@ -193,7 +196,7 @@ Page({
 | 
			
		||||
      })
 | 
			
		||||
    })();
 | 
			
		||||
 | 
			
		||||
    
 | 
			
		||||
 | 
			
		||||
    (async () => {
 | 
			
		||||
      let goodCategoryListPromise = goodService.getGoodCategoryList()
 | 
			
		||||
      Promise.all([
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user