jiangping
2024-07-16 39613118a5bae23c45498c4f5a939e83595f99f5
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
import { getShopPage } from '../../api/index'
Component({
  /**
   * 组件的属性列表
   */
  properties: {
    type: { // 属性名
      type: String,
      value: '0',
      observer(val) {
        if(val === '1'){
          this.getShops()
        }
      }
    },
  },
  data: {
    
  },
  methods: {
    getShops() {
      getShopPage()
    },
    jumpStore() {
      wx.navigateTo({
        url: '/pages/store/store',
      })
    }
  }
})