23 lines
334 B
JavaScript
23 lines
334 B
JavaScript
import {request} from "../../utils/bin"
|
|
Page({
|
|
data:{
|
|
list:[]
|
|
},
|
|
onLoad(){
|
|
request({
|
|
url:"Goods/hotGoodsList",
|
|
data:{
|
|
page:0
|
|
}
|
|
}).then((res)=>{
|
|
console.log(res.data.result)
|
|
this.setData({
|
|
list:res.data.result
|
|
})
|
|
})
|
|
},
|
|
searchs(){
|
|
console.log(10)
|
|
}
|
|
})
|