nopicture.js
829 字节
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
31
32
33
34
35
36
37
38
39
40
41
42
import {
request
} from "../../request/index.js"
const a = getApp()
Page({
data: {
imagesUrl: a.globalData.baseUrl,
nopicture: [],
zanPersonList: [],
sku_id: '',
goods_id: ''
},
/**
* 生命周期函数--监听页面显示
*/
onShow: function () {},
/**
* 生命周期函数--监听页面加载
*/
onLoad: function (options) {
let that = this
},
onReady: function () {
// 页面初次渲染完成后,使用选择器选择组件实例节点,返回匹配到组件实例对象
this.myComponent = this.selectComponent('#towerId')
},
getNopicture() {
let that = this
// console.log(1223333, "我i先走一步");
that.selectComponent("#towerId").getLeftCates()
// let myComponent = this.myComponent
// myComponent.clickitem()
},
})