@ -1,14 +1,39 @@
|
|||||||
{
|
{
|
||||||
"pages": [
|
"pages": [
|
||||||
"pages/index/index",
|
"pages/index/index",
|
||||||
"pages/logs/logs"
|
"pages/logs/logs",
|
||||||
|
"pages/commemorate/commemorate",
|
||||||
|
"pages/recommend/recommend"
|
||||||
],
|
],
|
||||||
"window": {
|
"window": {
|
||||||
"backgroundTextStyle": "light",
|
"backgroundTextStyle": "light",
|
||||||
"navigationBarBackgroundColor": "#fff",
|
"navigationBarBackgroundColor": "#ddd",
|
||||||
"navigationBarTitleText": "Weixin",
|
"navigationBarTitleText": "银幕之旅",
|
||||||
"navigationBarTextStyle": "black"
|
"navigationBarTextStyle": "black"
|
||||||
},
|
},
|
||||||
|
"tabBar": {
|
||||||
|
"selectedColor": "#CD5C5C",
|
||||||
|
"list": [
|
||||||
|
{
|
||||||
|
"pagePath": "pages/index/index",
|
||||||
|
"text": "首页",
|
||||||
|
"iconPath": "static/tabbar/home.png",
|
||||||
|
"selectedIconPath": "static/tabbar/home_selected.png"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"pagePath": "pages/recommend/recommend",
|
||||||
|
"text": "推荐",
|
||||||
|
"iconPath": "static/tabbar/recommend.png",
|
||||||
|
"selectedIconPath": "static/tabbar/recommend_selected.png"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"pagePath": "pages/commemorate/commemorate",
|
||||||
|
"text": "纪念",
|
||||||
|
"iconPath": "static/tabbar/commemorate.png",
|
||||||
|
"selectedIconPath": "static/tabbar/commemorate_selected.png"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
"style": "v2",
|
"style": "v2",
|
||||||
"sitemapLocation": "sitemap.json"
|
"sitemapLocation": "sitemap.json"
|
||||||
}
|
}
|
@ -0,0 +1,66 @@
|
|||||||
|
// pages/commemorate/commemorate.js
|
||||||
|
Page({
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 页面的初始数据
|
||||||
|
*/
|
||||||
|
data: {
|
||||||
|
|
||||||
|
},
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 生命周期函数--监听页面加载
|
||||||
|
*/
|
||||||
|
onLoad(options) {
|
||||||
|
|
||||||
|
},
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 生命周期函数--监听页面初次渲染完成
|
||||||
|
*/
|
||||||
|
onReady() {
|
||||||
|
|
||||||
|
},
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 生命周期函数--监听页面显示
|
||||||
|
*/
|
||||||
|
onShow() {
|
||||||
|
|
||||||
|
},
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 生命周期函数--监听页面隐藏
|
||||||
|
*/
|
||||||
|
onHide() {
|
||||||
|
|
||||||
|
},
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 生命周期函数--监听页面卸载
|
||||||
|
*/
|
||||||
|
onUnload() {
|
||||||
|
|
||||||
|
},
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 页面相关事件处理函数--监听用户下拉动作
|
||||||
|
*/
|
||||||
|
onPullDownRefresh() {
|
||||||
|
|
||||||
|
},
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 页面上拉触底事件的处理函数
|
||||||
|
*/
|
||||||
|
onReachBottom() {
|
||||||
|
|
||||||
|
},
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 用户点击右上角分享
|
||||||
|
*/
|
||||||
|
onShareAppMessage() {
|
||||||
|
|
||||||
|
}
|
||||||
|
})
|
@ -0,0 +1,3 @@
|
|||||||
|
{
|
||||||
|
"usingComponents": {}
|
||||||
|
}
|
@ -0,0 +1 @@
|
|||||||
|
<text>纪念哦</text>
|
@ -0,0 +1 @@
|
|||||||
|
/* pages/commemorate/commemorate.wxss */
|
@ -1,23 +1,40 @@
|
|||||||
<!--index.wxml-->
|
<!--index.wxml-->
|
||||||
<view class="container">
|
<text>当季热映🔥</text>
|
||||||
<view class="userinfo">
|
<view class="menu">
|
||||||
<block wx:if="{{canIUseOpenData}}">
|
<view class="item">
|
||||||
<view class="userinfo-avatar" bindtap="bindViewTap">
|
<image src="/static/tabbar/movie.png"></image>
|
||||||
<open-data type="userAvatarUrl"></open-data>
|
<text>阿斌</text>
|
||||||
</view>
|
</view>
|
||||||
<open-data type="userNickName"></open-data>
|
<view class="item">
|
||||||
</block>
|
<image src="/static/tabbar/movie.png"></image>
|
||||||
<block wx:elif="{{!hasUserInfo}}">
|
<text>阿斌</text>
|
||||||
<button wx:if="{{canIUseGetUserProfile}}" bindtap="getUserProfile"> 获取头像昵称 </button>
|
</view>
|
||||||
<button wx:elif="{{canIUse}}" open-type="getUserInfo" bindgetuserinfo="getUserInfo"> 获取头像昵称 </button>
|
<view class="item">
|
||||||
<view wx:else> 请使用1.4.4及以上版本基础库 </view>
|
<image src="/static/tabbar/movie.png"></image>
|
||||||
</block>
|
<text>阿斌</text>
|
||||||
<block wx:else>
|
</view>
|
||||||
<image bindtap="bindViewTap" class="userinfo-avatar" src="{{userInfo.avatarUrl}}" mode="cover"></image>
|
<view class="item">
|
||||||
<text class="userinfo-nickname">{{userInfo.nickName}}</text>
|
<image src="/static/tabbar/movie.png"></image>
|
||||||
</block>
|
<text>阿斌</text>
|
||||||
</view>
|
</view>
|
||||||
<view class="usermotto">
|
<view class="item">
|
||||||
<text class="user-motto">{{motto}}</text>
|
<image src="/static/tabbar/movie.png"></image>
|
||||||
|
<text>阿斌</text>
|
||||||
|
</view>
|
||||||
|
<view class="item">
|
||||||
|
<image src="/static/tabbar/movie.png"></image>
|
||||||
|
<text>阿斌</text>
|
||||||
|
</view>
|
||||||
|
<view class="item">
|
||||||
|
<image src="/static/tabbar/movie.png"></image>
|
||||||
|
<text>阿斌</text>
|
||||||
|
</view>
|
||||||
|
<view class="item">
|
||||||
|
<image src="/static/tabbar/movie.png"></image>
|
||||||
|
<text>阿斌</text>
|
||||||
|
</view>
|
||||||
|
<view class="item">
|
||||||
|
<image src="/static/tabbar/movie.png"></image>
|
||||||
|
<text>阿斌</text>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
@ -0,0 +1,66 @@
|
|||||||
|
// pages/recommend/recommend.js
|
||||||
|
Page({
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 页面的初始数据
|
||||||
|
*/
|
||||||
|
data: {
|
||||||
|
|
||||||
|
},
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 生命周期函数--监听页面加载
|
||||||
|
*/
|
||||||
|
onLoad(options) {
|
||||||
|
|
||||||
|
},
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 生命周期函数--监听页面初次渲染完成
|
||||||
|
*/
|
||||||
|
onReady() {
|
||||||
|
|
||||||
|
},
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 生命周期函数--监听页面显示
|
||||||
|
*/
|
||||||
|
onShow() {
|
||||||
|
|
||||||
|
},
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 生命周期函数--监听页面隐藏
|
||||||
|
*/
|
||||||
|
onHide() {
|
||||||
|
|
||||||
|
},
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 生命周期函数--监听页面卸载
|
||||||
|
*/
|
||||||
|
onUnload() {
|
||||||
|
|
||||||
|
},
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 页面相关事件处理函数--监听用户下拉动作
|
||||||
|
*/
|
||||||
|
onPullDownRefresh() {
|
||||||
|
|
||||||
|
},
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 页面上拉触底事件的处理函数
|
||||||
|
*/
|
||||||
|
onReachBottom() {
|
||||||
|
|
||||||
|
},
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 用户点击右上角分享
|
||||||
|
*/
|
||||||
|
onShareAppMessage() {
|
||||||
|
|
||||||
|
}
|
||||||
|
})
|
@ -0,0 +1,3 @@
|
|||||||
|
{
|
||||||
|
"usingComponents": {}
|
||||||
|
}
|
@ -0,0 +1,39 @@
|
|||||||
|
<text>可能喜欢(๑•̀ㅂ•́)و✧</text>
|
||||||
|
<view class="menu">
|
||||||
|
<view class="item">
|
||||||
|
<image src="/static/tabbar/movie.png"></image>
|
||||||
|
<text>阿斌</text>
|
||||||
|
</view>
|
||||||
|
<view class="item">
|
||||||
|
<image src="/static/tabbar/movie.png"></image>
|
||||||
|
<text>阿斌</text>
|
||||||
|
</view>
|
||||||
|
<view class="item">
|
||||||
|
<image src="/static/tabbar/movie.png"></image>
|
||||||
|
<text>阿斌</text>
|
||||||
|
</view>
|
||||||
|
<view class="item">
|
||||||
|
<image src="/static/tabbar/movie.png"></image>
|
||||||
|
<text>阿斌</text>
|
||||||
|
</view>
|
||||||
|
<view class="item">
|
||||||
|
<image src="/static/tabbar/movie.png"></image>
|
||||||
|
<text>阿斌</text>
|
||||||
|
</view>
|
||||||
|
<view class="item">
|
||||||
|
<image src="/static/tabbar/movie.png"></image>
|
||||||
|
<text>阿斌</text>
|
||||||
|
</view>
|
||||||
|
<view class="item">
|
||||||
|
<image src="/static/tabbar/movie.png"></image>
|
||||||
|
<text>阿斌</text>
|
||||||
|
</view>
|
||||||
|
<view class="item">
|
||||||
|
<image src="/static/tabbar/movie.png"></image>
|
||||||
|
<text>阿斌</text>
|
||||||
|
</view>
|
||||||
|
<view class="item">
|
||||||
|
<image src="/static/tabbar/movie.png"></image>
|
||||||
|
<text>阿斌</text>
|
||||||
|
</view>
|
||||||
|
</view>
|
@ -0,0 +1 @@
|
|||||||
|
/* pages/recommend/recommend.wxss */
|
After Width: | Height: | Size: 1.5 KiB |
After Width: | Height: | Size: 1.3 KiB |
After Width: | Height: | Size: 1.1 KiB |
After Width: | Height: | Size: 1.2 KiB |
After Width: | Height: | Size: 6.1 KiB |
After Width: | Height: | Size: 1.2 KiB |
After Width: | Height: | Size: 1.2 KiB |