@ -1,13 +1,38 @@
|
||||
{
|
||||
"pages":[
|
||||
"pages": [
|
||||
"pages/index/index",
|
||||
"pages/logs/logs"
|
||||
"pages/logs/logs",
|
||||
"pages/commemorate/commemorate",
|
||||
"pages/recommend/recommend"
|
||||
],
|
||||
"window":{
|
||||
"backgroundTextStyle":"light",
|
||||
"navigationBarBackgroundColor": "#fff",
|
||||
"navigationBarTitleText": "Weixin",
|
||||
"navigationBarTextStyle":"black"
|
||||
"window": {
|
||||
"backgroundTextStyle": "light",
|
||||
"navigationBarBackgroundColor": "#ddd",
|
||||
"navigationBarTitleText": "银幕之旅",
|
||||
"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",
|
||||
"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-->
|
||||
<view class="container">
|
||||
<view class="userinfo">
|
||||
<block wx:if="{{canIUseOpenData}}">
|
||||
<view class="userinfo-avatar" bindtap="bindViewTap">
|
||||
<open-data type="userAvatarUrl"></open-data>
|
||||
</view>
|
||||
<open-data type="userNickName"></open-data>
|
||||
</block>
|
||||
<block wx:elif="{{!hasUserInfo}}">
|
||||
<button wx:if="{{canIUseGetUserProfile}}" bindtap="getUserProfile"> 获取头像昵称 </button>
|
||||
<button wx:elif="{{canIUse}}" open-type="getUserInfo" bindgetuserinfo="getUserInfo"> 获取头像昵称 </button>
|
||||
<view wx:else> 请使用1.4.4及以上版本基础库 </view>
|
||||
</block>
|
||||
<block wx:else>
|
||||
<image bindtap="bindViewTap" class="userinfo-avatar" src="{{userInfo.avatarUrl}}" mode="cover"></image>
|
||||
<text class="userinfo-nickname">{{userInfo.nickName}}</text>
|
||||
</block>
|
||||
</view>
|
||||
<view class="usermotto">
|
||||
<text class="user-motto">{{motto}}</text>
|
||||
<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,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 |