update WXAPP

pull/1/head
thomas-yanxin 2022-03-14 13:00:43 +08:00
parent 1f9877ee80
commit 80831e404d
7 changed files with 86 additions and 3 deletions

View File

@ -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",

View File

@ -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 () {
}
})

View File

@ -0,0 +1,3 @@
{
"usingComponents": {}
}

View File

@ -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>

View File

@ -0,0 +1 @@
/* pages/main/analysis/analysis.wxss */

View File

@ -27,7 +27,13 @@ Page({
name : 'recognition',
icon:'explorefill',
color:'cyan'
}
},
{
title : '分析',
name : 'analysis',
icon:'rankfill',
color:'cyan'
},
]
},

View File

@ -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>