换ubuntu
This commit is contained in:
@@ -1,22 +1,22 @@
|
||||
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)
|
||||
}
|
||||
})
|
||||
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)
|
||||
}
|
||||
})
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"usingComponents": {
|
||||
"search":"../components/index/search/index",
|
||||
"list":"../components/index/list/index"
|
||||
}
|
||||
{
|
||||
"usingComponents": {
|
||||
"search":"../components/index/search/index",
|
||||
"list":"../components/index/list/index"
|
||||
}
|
||||
}
|
||||
@@ -1,9 +1,9 @@
|
||||
.box {
|
||||
border-top: #eaeaea solid 1rpx;
|
||||
width: 750rpx;
|
||||
// overflow: hidden;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
flex-direction: column;
|
||||
|
||||
}
|
||||
.box {
|
||||
border-top: #eaeaea solid 1rpx;
|
||||
width: 750rpx;
|
||||
// overflow: hidden;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
flex-direction: column;
|
||||
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
<view class="box">
|
||||
<search bind:tap="searchs"></search>
|
||||
<list list="{{list}}"></list>
|
||||
<view class="box">
|
||||
<search bind:tap="searchs"></search>
|
||||
<list list="{{list}}"></list>
|
||||
</view>
|
||||
@@ -1 +1 @@
|
||||
.box{border-top:#eaeaea solid 1rpx;width:750rpx;display:flex;align-items:center;flex-direction:column}
|
||||
.box{border-top:#eaeaea solid 1rpx;width:750rpx;display:flex;align-items:center;flex-direction:column}
|
||||
|
||||
Reference in New Issue
Block a user