Commit ad8adbb2 by 施宇

1

parents
{"tinyType":"dingtalk","tinyCnName":"钉钉","tinyProjectType":"dingtalk-biz-isv","dingtalk:dingtalk-biz-isv:tinyIcon":"https://gw.alipayobjects.com/zos/rmsportal/mAzWuEDGpTlpugsPXgzf.svg","dingtalk:dingtalk-biz-isv:compilePreviewTime":"","dingtalk:dingtalk-biz-isv:compilePreviewWholePackSize":"","dingtalk:dingtalk-biz-isv:compilePreviewSubpackSizes":"","dingtalk:dingtalk-biz-isv:_appIdList":[],"dingtalk:dingtalk-biz-isv:preAuditLimit":10,"dingtalk:dingtalk-biz-isv:preAuditUsed":0,"dingtalk:dingtalk-biz-isv:uploadTime":"","dingtalk:dingtalk-biz-isv:packageSize":"","dingtalk:dingtalk-biz-isv:auditLink":null,"dingtalk:dingtalk-biz-isv:whiteListLink":null,"dingtalk:dingtalk-biz-isv:_enableAutoPush":true,"dingtalk:dingtalk-biz-isv:lastDeviceName":"iPhone 6","SimulatorMode":"WINDOW","isSimulatorOpen":true,"isNotFirstToggleSimulator":true,"isSimulatorDefaultSticky":true,"storageVersion":"1.5.10"}
\ No newline at end of file
{"configurations":{},"breakpoints":{"breakpointsEnabled":true,"breakpoints":{},"exceptionsBreakpoints":{}},"watchers":[],"storageVersion":"1.5.10"}
\ No newline at end of file
const g = typeof global !== 'undefined' ? global : self;
g.appXAppJson = {
"app": {
"$homepage": "pages/tabs/waitApproval/waitApproval"
}
};
if(!self.Map || !self.Set || !self.Symbol) {
importScripts('https://gw.alipayobjects.com/as/g/appx_release/deps/1.0.3/es6-set-map-symbol.js');
}
\ No newline at end of file
require('@alipay/appx-compiler/lib/sjsEnvInit');
require('./config$');
require('../../pages/tabs/waitApproval/waitApproval?hash=32d7d2807ed4e666ef03b4b3fe8c38ecf2e34e68');
require('../../pages/nav/nav?hash=32d7d2807ed4e666ef03b4b3fe8c38ecf2e34e68');
require('../../pages/login/login?hash=32d7d2807ed4e666ef03b4b3fe8c38ecf2e34e68');
require('../../pages/tabs/alreadyApproval/alreadyApproval?hash=32d7d2807ed4e666ef03b4b3fe8c38ecf2e34e68');
require('../../pages/tabs/launchApproval/launchApproval?hash=32d7d2807ed4e666ef03b4b3fe8c38ecf2e34e68');
if(!self.__appxInited) {
self.__appxInited = 1;
require('./config$');
var AFAppX = self.AFAppX.getAppContext
? self.AFAppX.getAppContext().AFAppX
: self.AFAppX;
self.getCurrentPages = AFAppX.getCurrentPages;
self.getApp = AFAppX.getApp;
self.Page = AFAppX.Page;
self.App = AFAppX.App;
self.my = AFAppX.bridge || AFAppX.abridge;
self.abridge = self.my;
self.Component = AFAppX.WorkerComponent || function(){};
self.$global = AFAppX.$global;
self.requirePlugin = AFAppX.requirePlugin;
if(AFAppX.registerApp) {
AFAppX.registerApp({
appJSON: appXAppJson,
});
}
function success() {
require('../../app');
require('../../pages/tabs/waitApproval/waitApproval?hash=32d7d2807ed4e666ef03b4b3fe8c38ecf2e34e68');
require('../../pages/nav/nav?hash=32d7d2807ed4e666ef03b4b3fe8c38ecf2e34e68');
require('../../pages/login/login?hash=32d7d2807ed4e666ef03b4b3fe8c38ecf2e34e68');
require('../../pages/tabs/alreadyApproval/alreadyApproval?hash=32d7d2807ed4e666ef03b4b3fe8c38ecf2e34e68');
require('../../pages/tabs/launchApproval/launchApproval?hash=32d7d2807ed4e666ef03b4b3fe8c38ecf2e34e68');
}
self.bootstrapApp ? self.bootstrapApp({ success }) : success();
}
\ No newline at end of file
{"layout":{"left":{"currentId":"explorer","size":310},"right":{"currentId":""},"bottom":{"currentId":"devtools","size":280}},"storageVersion":"1.5.10"}
\ No newline at end of file
{"OPENED_FILE":["file:///e%3A/DingProgram/blank/pages/tabs/waitApproval/waitApproval.acss","file:///e%3A/DingProgram/blank/pages/tabs/waitApproval/waitApproval.js","file:///e%3A/DingProgram/blank/pages/tabs/waitApproval/waitApproval.json","file:///e%3A/DingProgram/blank/app.json","file:///e%3A/DingProgram/blank/app.acss","file:///e%3A/DingProgram/blank/pages/tabs/waitApproval/waitApproval.axml","file:///e%3A/DingProgram/blank/pages/nav/nav.axml","file:///e%3A/DingProgram/blank/app.js","file:///e%3A/DingProgram/blank/pages/tabs/launchApproval/launchApproval.json","file:///e%3A/DingProgram/blank/pages/tabs/alreadyApproval/alreadyApproval.json","file:///e%3A/DingProgram/blank/pages/tabs/launchApproval/launchApproval.js","file:///e%3A/DingProgram/blank/pages/tabs/alreadyApproval/alreadyApproval.js","file:///e%3A/DingProgram/blank/pages/nav/nav.acss","file:///e%3A/DingProgram/blank/pages/login/login.axml","file:///e%3A/DingProgram/blank/pages/login/login.acss","file:///e%3A/DingProgram/blank/pages/nav/nav.json","file:///e%3A/DingProgram/blank/pages/login/login.json","file:///e%3A/DingProgram/blank/pages/index/index.acss","file:///e%3A/DingProgram/blank/pages/nav/nav.js","file:///e%3A/DingProgram/blank/pages/login/index.acss","file:///e%3A/DingProgram/blank/pages/login/login.js","file:///e%3A/DingProgram/blank/pages/login/index.js","file:///e%3A/DingProgram/blank/pages/login/index.json","file:///e%3A/DingProgram/blank/pages/index/index.axml","file:///e%3A/DingProgram/blank/pages/index/index.json"],"storageVersion":"1.5.10"}
\ No newline at end of file
{"grid":{"splitDirection":1,"children":[{"editorGroup":{"uris":["file:///e%3A/DingProgram/blank/pages/tabs/waitApproval/waitApproval.acss","file:///e%3A/DingProgram/blank/app.acss","file:///e%3A/DingProgram/blank/app.json","file:///e%3A/DingProgram/blank/app.js","file:///e%3A/DingProgram/blank/pages/tabs/waitApproval/waitApproval.json","file:///e%3A/DingProgram/blank/pages/tabs/waitApproval/waitApproval.js"],"current":"file:///e%3A/DingProgram/blank/pages/tabs/waitApproval/waitApproval.acss","previewIndex":-1}},{"editorGroup":{"uris":["file:///e%3A/DingProgram/blank/pages/tabs/waitApproval/waitApproval.axml","file:///e%3A/DingProgram/blank/pages/nav/nav.axml"],"current":"file:///e%3A/DingProgram/blank/pages/tabs/waitApproval/waitApproval.axml","previewIndex":-1}}]},"storageVersion":"1.5.10"}
\ No newline at end of file
page{
background-color: #F8F8F8;
}
.clr:after{
content:"";
display: block;
clear: both
}
.fl{
float: left
}
.fr{
float: right
}
.lineBlock{
display: inline-block
}
.f-yellow{
color:#FFA200
}
.f-blue{
color:#0084EA
}
\ No newline at end of file
App({
onLaunch(options) {
// 第一次打开
// options.query == {number:1}
console.info('App onLaunch');
},
onShow(options) {
// 从后台被 scheme 重新打开
// options.query == {number:1}
},
});
{
"pages": [
"pages/tabs/waitApproval/waitApproval",
"pages/nav/nav",
"pages/login/login",
"pages/tabs/alreadyApproval/alreadyApproval",
"pages/tabs/launchApproval/launchApproval"
],
"tabBar": {
"textColor": "#dddddd",
"selectedColor": "#49a9ee",
"backgroundColor": "#ffffff",
"items": [
{
"pagePath": "pages/tabs/waitApproval/waitApproval",
"name": "待我审批",
"icon": "res/img/tab1.png",
"activeIcon": "res/img/tab1-h.png"
},
{
"pagePath": "pages/tabs/alreadyApproval/alreadyApproval",
"name": "我已审批",
"icon": "res/img/tab2.png",
"activeIcon": "res/img/tab2-h.png"
},
{
"pagePath": "pages/tabs/launchApproval/launchApproval",
"name": "我发起的",
"icon": "res/img/tab3.png",
"activeIcon": "res/img/tab3-h.png"
}
]
},
"window": {
"defaultTitle": "审批系统",
"titleBarColor": "#1C4B90"
}
}
This diff could not be displayed because it is too large.
.login-title{
font-size: 50px;
font-weight:bold;
color:#B9B9B9;
text-align: center;
padding-top:163rpx;
}
.login-desc{
font-size: 15px;
color:#333333;
padding-top:26rpx;
text-align: center;
}
.login-form{
text-align: center;
margin:163rpx 62rpx 0 ;
padding:5rpx 48rpx 30rpx 38rpx;
background-color: #FFFFFF;
box-shadow:0px 2px 20px 2px rgba(0,0,0,0.04);
border-radius:20rpx;
}
.login-form .input{
width:100%;
height:100rpx;
background-color: #F8F8F8;
text-align: left;
padding:0 41rpx;
box-sizing: border-box;
margin-top:50rpx;
font-size: 15px;
color:#333333;
}
.login-form .input.focus{
border:1px solid #0084EA;
color:#0084EA;
background-color: #fff;
}
.err-tip{
text-align:left;
color:#FA0000;
padding-top:22rpx;
font-size: 12px;
}
.login-btn{
height:80rpx;
color:#A1A1A1;
background-color: #F8F8F8;
border-radius: 40rpx;
font-size: 15px;
margin:60rpx 150rpx 0 160rpx;
line-height: 80rpx;
box-sizing: border-box;
}
.login-btn.focus{
color:#0084EA;
border:1px solid #0084EA;
background-color: #fff;
}
\ No newline at end of file
<view>
<view class="login-title">登录</view>
<view class="login-desc">请登录完成信息验证</view>
<view class="login-form">
<input placeholder="登录账号" class="name-input input focus"/>
<input password type="text" placeholder="登录密码" class="password-input input"/>
<view class="err-tip">* 登录密码错误</view>
<view class="login-btn focus">登录并绑定</view>
</view>
</view>
Page({
onLoad(query) {
// 页面加载
console.info(`Page onLoad with query: ${JSON.stringify(query)}`);
},
onReady() {
// 页面加载完成
},
onShow() {
// 页面显示
},
onHide() {
// 页面隐藏
},
onUnload() {
// 页面被关闭
},
onTitleClick() {
// 标题被点击
},
onPullDownRefresh() {
// 页面被下拉
},
onReachBottom() {
// 页面被拉到底部
},
onShareAppMessage() {
// 返回自定义分享信息
return {
title: 'My App',
desc: 'My App description',
path: 'pages/index/index',
};
},
});
{
"defaultTitle": "审批系统"
}
\ No newline at end of file
.nav-view{
padding-top:40rpx;
}
.nav-btn{
height:100rpx;
text-align: center;
border-radius:20rpx;
background-color: #FFFFFF;
color:#646F78;
font-size: 15px;
line-height: 100rpx;
box-shadow:0px 2px 20px 2px rgba(0,0,0,0.04);
width:340rpx;
margin:40rpx auto 0;
box-sizing: border-box
}
.nav-btn:first-child{
margin-top: 0;
}
.nav-hover{
border:1px solid #0084EA;
color:#0084EA;
}
\ No newline at end of file
<view class="nav-view">
<navigator url="" hover-class="nav-hover" class="nav-btn">待我审批</navigator>
<navigator url="" hover-class="nav-hover" class="nav-btn">我发起的</navigator>
<navigator url="" hover-class="nav-hover" class="nav-btn">我已审批</navigator>
</view>
\ No newline at end of file
Page({
data: {},
onLoad() {},
});
{
"defaultTitle": "首页"
}
\ No newline at end of file
<view>
New Page
</view>
\ No newline at end of file
{
"defaultTitle": "我已审批"
}
\ No newline at end of file
<view>
New Page
</view>
\ No newline at end of file
{
"defaultTitle": "我发起的"
}
\ No newline at end of file
@import "/app.acss";
.search-classify{
margin:0 25rpx;
}
.search-classify .sx{
width:50%;
text-align: center;
height:140rpx;
}
.search-classify image{
width:64rpx;
height:64rpx;
position: relative;
top:34rpx;
}
.search-classify .classify-icon{
width:54rpx;
height:54rpx;
top:39rpx;
}
.data-view{
padding-bottom:42rpx;
}
.wait-approval{
background: #fff;
box-shadow:0px 2px 20px 2px rgba(0,0,0,0.04);
border-radius:20rpx;
margin:42rpx 25rpx 0;
padding:0 32rpx;
}
.wait-approval:first-child{
margin-top:0;
}
.wait-approval-top{
font-size: 15px;
color:#333333;
border-bottom: 1px solid #EBEBEB;
padding:27rpx 0 34rpx;
}
.wait-approval-top-left{
width:calc(100% - 110px);
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
}
.wait-approval-bottom{
padding:20rpx 0 34rpx;
font-size: 18px;
color:#646F78;
}
.wait-approval-bottom text{
height:43rpx;
width:43rpx;
box-sizing: border-box;
border:1px solid;
margin-right:16rpx;
vertical-align: sub;
}
.loading-text{
font-size: 12px;
color:#646F78;
text-align: center;
padding-bottom:42rpx;
}
\ No newline at end of file
<view class="approval-view">
<view class="search-classify clr">
<navigator class="search fl sx" url="">
<image mode="scaleToFill" src="/res/img/search-icon.png"/>
</navigator>
<navigator class="classify fl sx" url="">
<image mode="scaleToFill" src="/res/img/classify-icon.png" class="classify-icon"/>
</navigator>
</view>
<view class="data-view">
<view class="wait-approval">
<view class="wait-approval-top clr">
<view class="wait-approval-top-left fl">
<text class="lineBlock name">蒋小斯 发起的
<text class="f-yellow">付款申请</text>
</text>
</view>
<text class="fr">2020-03-10 16:58</text>
</view>
<view class="wait-approval-bottom">
<text class="lineBlock"></text>
审批中...
</view>
</view>
<view class="wait-approval">
<view class="wait-approval-top clr">
<view class="wait-approval-top-left fl">
<text class="lineBlock name">蒋小斯 发起的
<text class="f-yellow">付款申请</text>
</text>
</view>
<text class="fr">2020-03-10 16:58</text>
</view>
<view class="wait-approval-bottom">
<text class="lineBlock"></text>
审批中...
</view>
</view>
<view class="wait-approval">
<view class="wait-approval-top clr">
<view class="wait-approval-top-left fl">
<text class="lineBlock name">蒋小斯 发起的
<text class="f-yellow">付款申请</text>
</text>
</view>
<text class="fr">2020-03-10 16:58</text>
</view>
<view class="wait-approval-bottom">
<text class="lineBlock"></text>
审批中...
</view>
</view>
<view class="wait-approval">
<view class="wait-approval-top clr">
<view class="wait-approval-top-left fl">
<text class="lineBlock name">蒋小斯 发起的
<text class="f-yellow">付款申请</text>
</text>
</view>
<text class="fr">2020-03-10 16:58</text>
</view>
<view class="wait-approval-bottom">
<text class="lineBlock"></text>
审批中...
</view>
</view>
<view class="wait-approval">
<view class="wait-approval-top clr">
<view class="wait-approval-top-left fl">
<text class="lineBlock name">蒋小斯 发起的
<text class="f-yellow">付款申请</text>
</text>
</view>
<text class="fr">2020-03-10 16:58</text>
</view>
<view class="wait-approval-bottom">
<text class="lineBlock"></text>
审批中...
</view>
</view>
<view class="wait-approval">
<view class="wait-approval-top clr">
<view class="wait-approval-top-left fl">
<text class="lineBlock name">蒋小斯 发起的
<text class="f-yellow">付款申请</text>
</text>
</view>
<text class="fr">2020-03-10 16:58</text>
</view>
<view class="wait-approval-bottom">
<text class="lineBlock"></text>
审批中...
</view>
</view>
</view>
<!-- <view class="loading-text">加载中...</view> -->
<view class="loading-text">———— 到底啦 ————</view>
</view>
\ No newline at end of file
Page({
data: {},
onLoad() {},
onReachBottom(){
console.log(1111)
}
});
{
"defaultTitle": "待我审批",
"pullRefresh":true
}
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment