update WXAPP
parent
1f9877ee80
commit
80831e404d
|
@ -5,7 +5,8 @@
|
|||
"pages/main/uploadpage/upload",
|
||||
"pages/main/revisepage/revise",
|
||||
"pages/mine/information/information",
|
||||
"pages/main/recognitionpage/recognition"
|
||||
"pages/main/recognitionpage/recognition",
|
||||
"pages/main/analysispage/analysis"
|
||||
],
|
||||
"window": {
|
||||
"backgroundColor": "#00FF00",
|
||||
|
|
|
@ -0,0 +1,66 @@
|
|||
// pages/main/analysis/analysis.js
|
||||
Page({
|
||||
|
||||
/**
|
||||
* 页面的初始数据
|
||||
*/
|
||||
data: {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 生命周期函数--监听页面加载
|
||||
*/
|
||||
onLoad: function (options) {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 生命周期函数--监听页面初次渲染完成
|
||||
*/
|
||||
onReady: function () {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 生命周期函数--监听页面显示
|
||||
*/
|
||||
onShow: function () {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 生命周期函数--监听页面隐藏
|
||||
*/
|
||||
onHide: function () {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 生命周期函数--监听页面卸载
|
||||
*/
|
||||
onUnload: function () {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 页面相关事件处理函数--监听用户下拉动作
|
||||
*/
|
||||
onPullDownRefresh: function () {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 页面上拉触底事件的处理函数
|
||||
*/
|
||||
onReachBottom: function () {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 用户点击右上角分享
|
||||
*/
|
||||
onShareAppMessage: function () {
|
||||
|
||||
}
|
||||
})
|
|
@ -0,0 +1,3 @@
|
|||
{
|
||||
"usingComponents": {}
|
||||
}
|
|
@ -0,0 +1,6 @@
|
|||
<!--pages/main/analysis/analysis.wxml-->
|
||||
<!-- 顶部操作条 -->
|
||||
<cu-custom bgColor="bg-gradual-blue" isBack="{{true}}">
|
||||
<view slot="backText" style="font-family: SimHei;">返回</view>
|
||||
<view slot="content" style="font-family: SimHei;">数据分析 </view>
|
||||
</cu-custom>
|
|
@ -0,0 +1 @@
|
|||
/* pages/main/analysis/analysis.wxss */
|
|
@ -27,7 +27,13 @@ Page({
|
|||
name : 'recognition',
|
||||
icon:'explorefill',
|
||||
color:'cyan'
|
||||
}
|
||||
},
|
||||
{
|
||||
title : '分析',
|
||||
name : 'analysis',
|
||||
icon:'rankfill',
|
||||
color:'cyan'
|
||||
},
|
||||
]
|
||||
|
||||
},
|
||||
|
|
|
@ -23,7 +23,7 @@
|
|||
<view class="nav-name" style="font-family:'Times New Roman';">{{item.name}}</view>
|
||||
<text class='cuIcon-{{item.icon}}'></text>
|
||||
</navigator>
|
||||
<navigator open-type="navigate" hover-class='none' url="/pages/main/{{item.name}}page/{{item.name}}" class="nav-li bg-{{item.color}}" wx:for="{{element}}" wx:key="index"style="width: 95%;">
|
||||
<navigator open-type="navigate" hover-class='none' url="/pages/main/{{item.name}}page/{{item.name}}" class="nav-li bg-{{item.color}}" wx:for="{{element}}" wx:key="index">
|
||||
<view class="nav-title" style="font-family: SimHei;">{{item.title}}</view>
|
||||
<view class="nav-name" style="font-family:'Times New Roman';">{{item.name}}</view>
|
||||
<text class='cuIcon-{{item.icon}}'></text>
|
||||
|
|
Loading…
Reference in New Issue