parent
d7d9102c7e
commit
f3387991d8
After Width: | Height: | Size: 237 KiB |
After Width: | Height: | Size: 237 KiB |
After Width: | Height: | Size: 288 KiB |
After Width: | Height: | Size: 2.0 KiB |
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,66 @@
|
||||
// pages/forum/forum.js
|
||||
Page({
|
||||
|
||||
/**
|
||||
* 页面的初始数据
|
||||
*/
|
||||
data: {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 生命周期函数--监听页面加载
|
||||
*/
|
||||
onLoad(options) {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 生命周期函数--监听页面初次渲染完成
|
||||
*/
|
||||
onReady() {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 生命周期函数--监听页面显示
|
||||
*/
|
||||
onShow() {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 生命周期函数--监听页面隐藏
|
||||
*/
|
||||
onHide() {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 生命周期函数--监听页面卸载
|
||||
*/
|
||||
onUnload() {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 页面相关事件处理函数--监听用户下拉动作
|
||||
*/
|
||||
onPullDownRefresh() {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 页面上拉触底事件的处理函数
|
||||
*/
|
||||
onReachBottom() {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 用户点击右上角分享
|
||||
*/
|
||||
onShareAppMessage() {
|
||||
|
||||
}
|
||||
})
|
@ -0,0 +1,3 @@
|
||||
{
|
||||
"usingComponents": {}
|
||||
}
|
@ -0,0 +1,2 @@
|
||||
<!--pages/forum/forum.wxml-->
|
||||
<text>pages/forum/forum.wxml</text>
|
@ -0,0 +1 @@
|
||||
/* pages/forum/forum.wxss */
|
@ -1,30 +1,41 @@
|
||||
<view style="text-align: center" wx:if="{{pageLoading}}">
|
||||
<t-loading theme="circular" size="40rpx" loading t-class-indicator="t-class-indicator">
|
||||
<span slot="text" class="loading-text">加载中...</span>
|
||||
</t-loading>
|
||||
<t-loading theme="circular" size="40rpx" loading t-class-indicator="t-class-indicator">
|
||||
<span slot="text" class="loading-text">加载中...</span>
|
||||
</t-loading>
|
||||
</view>
|
||||
|
||||
<view class="home-page-header">
|
||||
<view class="search" bind:tap="navToSearchPage">
|
||||
<t-search t-class-input="t-search__input" t-class-input-container="t-search__input-container" placeholder="搜索食物或商家名称" leftIcon="" disabled>
|
||||
<t-icon slot="left-icon" prefix="wr" name="search" size="40rpx" color="#bbb" />
|
||||
</t-search>
|
||||
</view>
|
||||
<view class="search" bind:tap="navToSearchPage">
|
||||
<t-search t-class-input="t-search__input" t-class-input-container="t-search__input-container" placeholder="搜索食物或商家名称" leftIcon="" disabled>
|
||||
<t-icon slot="left-icon" prefix="wr" name="search" size="40rpx" color="#bbb" />
|
||||
</t-search>
|
||||
</view>
|
||||
|
||||
</view>
|
||||
<view class="imagesize">
|
||||
<image src=" /images/logo.jpg" style="width:350px" class="in-select2" mode="widthFix">
|
||||
</image>
|
||||
<image src=" /images/logo.jpg" style="width:350px" class="in-select2" mode="widthFix">
|
||||
</image>
|
||||
</view>
|
||||
<view class="imagesize">
|
||||
<image src="/images/perfer.jpg" style="width:440px" class="in-select" mode="widthFix"></image>
|
||||
<image src="/images/zhuanpang.jpg" style="width:440px" class="in-select" mode="widthFix"></image>
|
||||
<view>
|
||||
<navigator url="/pages/preferchoice/preferchoice" class="imagesize">
|
||||
<image src="/images/perfer.jpg" style="width:440px" class="in-select" mode="widthFix"></image>
|
||||
</navigator>
|
||||
<navigator url="/pages/turntable/turntable" class="imagesize">
|
||||
<image src="/images/zhuanpang.jpg" style="width:440px" class="in-select" mode="widthFix"></image>
|
||||
</navigator>
|
||||
</view>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<view class="home-page-container">
|
||||
<t-tabs t-class="t-tabs" t-class-active="tabs-external__active" t-class-item="tabs-external__item" t-class-track="tabs-external__track" defaultValue="{{0}}" bind:change="tabChangeHandle">
|
||||
<t-tab-panel wx:for="{{tabList}}" wx:for-index="index" wx:key="index" label="{{item.text}}" value="{{item.key}}" />
|
||||
</t-tabs>
|
||||
<goods-list wr-class="goods-list-container" goodsList="{{goodsList}}" bind:click="goodListClickHandle" bind:addcart="goodListAddCartHandle" />
|
||||
<load-more list-is-empty="{{!goodsList.length}}" status="{{goodsListLoadStatus}}" bind:retry="onReTry" />
|
||||
<t-toast id="t-toast" />
|
||||
<t-tabs t-class="t-tabs" t-class-active="tabs-external__active" t-class-item="tabs-external__item" t-class-track="tabs-external__track" defaultValue="{{0}}" bind:change="tabChangeHandle">
|
||||
<t-tab-panel wx:for="{{tabList}}" wx:for-index="index" wx:key="index" label="{{item.text}}" value="{{item.key}}" />
|
||||
</t-tabs>
|
||||
|
||||
|
||||
<goods-list wr-class="goods-list-container" goodsList="{{goodsList}}" bind:click="goodListClickHandle" bind:addcart="goodListAddCartHandle" />
|
||||
<load-more list-is-empty="{{!goodsList.length}}" status="{{goodsListLoadStatus}}" bind:retry="onReTry" />
|
||||
<t-toast id="t-toast" />
|
||||
</view>
|
@ -0,0 +1,66 @@
|
||||
// pages/preferchoice/preferchoice.js
|
||||
Page({
|
||||
|
||||
/**
|
||||
* 页面的初始数据
|
||||
*/
|
||||
data: {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 生命周期函数--监听页面加载
|
||||
*/
|
||||
onLoad(options) {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 生命周期函数--监听页面初次渲染完成
|
||||
*/
|
||||
onReady() {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 生命周期函数--监听页面显示
|
||||
*/
|
||||
onShow() {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 生命周期函数--监听页面隐藏
|
||||
*/
|
||||
onHide() {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 生命周期函数--监听页面卸载
|
||||
*/
|
||||
onUnload() {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 页面相关事件处理函数--监听用户下拉动作
|
||||
*/
|
||||
onPullDownRefresh() {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 页面上拉触底事件的处理函数
|
||||
*/
|
||||
onReachBottom() {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 用户点击右上角分享
|
||||
*/
|
||||
onShareAppMessage() {
|
||||
|
||||
}
|
||||
})
|
@ -0,0 +1,3 @@
|
||||
{
|
||||
"usingComponents": {}
|
||||
}
|
@ -0,0 +1,2 @@
|
||||
<!--pages/preferchoice/preferchoice.wxml-->
|
||||
<text>pages/preferchoice/preferchoice.wxml</text>
|
@ -0,0 +1 @@
|
||||
/* pages/preferchoice/preferchoice.wxss */
|
@ -0,0 +1,66 @@
|
||||
// pages/turntable/turntable.js
|
||||
Page({
|
||||
|
||||
/**
|
||||
* 页面的初始数据
|
||||
*/
|
||||
data: {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 生命周期函数--监听页面加载
|
||||
*/
|
||||
onLoad(options) {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 生命周期函数--监听页面初次渲染完成
|
||||
*/
|
||||
onReady() {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 生命周期函数--监听页面显示
|
||||
*/
|
||||
onShow() {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 生命周期函数--监听页面隐藏
|
||||
*/
|
||||
onHide() {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 生命周期函数--监听页面卸载
|
||||
*/
|
||||
onUnload() {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 页面相关事件处理函数--监听用户下拉动作
|
||||
*/
|
||||
onPullDownRefresh() {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 页面上拉触底事件的处理函数
|
||||
*/
|
||||
onReachBottom() {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 用户点击右上角分享
|
||||
*/
|
||||
onShareAppMessage() {
|
||||
|
||||
}
|
||||
})
|
@ -0,0 +1,3 @@
|
||||
{
|
||||
"usingComponents": {}
|
||||
}
|
@ -0,0 +1,2 @@
|
||||
<!--pages/turntable/turntable.wxml-->
|
||||
<text>pages/turntable/turntable.wxml</text>
|
@ -0,0 +1 @@
|
||||
/* pages/turntable/turntable.wxss */
|
Loading…
Reference in new issue