Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
施宇
/
DingProgram
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
4c8d4c49
authored
Apr 10, 2020
by
施宇
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
1
parent
f1c14ad3
Show whitespace changes
Inline
Side-by-side
Showing
13 changed files
with
49 additions
and
5 deletions
blank/.tea/configuration/mini-program.json
blank/.tea/recent.json
blank/debug.log
blank/pages/search/search.acss
blank/pages/search/search.axml
blank/pages/search/search.js
blank/pages/tabs/alreadyApproval/alreadyApproval.axml
blank/pages/tabs/alreadyApproval/alreadyApproval.js
blank/pages/tabs/launchApproval/launchApproval.axml
blank/pages/tabs/launchApproval/launchApproval.js
blank/pages/tabs/waitApproval/waitApproval.axml
blank/pages/tabs/waitApproval/waitApproval.js
blank/res/css/tab.acss
blank/.tea/configuration/mini-program.json
View file @
4c8d4c49
{
"tinyType"
:
"dingtalk"
,
"tinyCnName"
:
"钉钉"
,
"tinyProjectType"
:
"dingtalk-biz"
,
"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"
:
"Nexus 6"
,
"SimulatorMode"
:
"WINDOW"
,
"isSimulatorOpen"
:
true
,
"isNotFirstToggleSimulator"
:
true
,
"isSimulatorDefaultSticky"
:
false
,
"dingtalk:dingtalk-biz:tinyIcon"
:
"https://gw.alipayobjects.com/zos/rmsportal/mAzWuEDGpTlpugsPXgzf.svg"
,
"dingtalk:dingtalk-biz:compilePreviewTime"
:
"2020-04-10 15:19:09"
,
"dingtalk:dingtalk-biz:compilePreviewWholePackSize"
:
"70.5 KB"
,
"dingtalk:dingtalk-biz:compilePreviewSubpackSizes"
:
""
,
"dingtalk:dingtalk-biz:_appIdList"
:[{
"orgName"
:
"深圳市猎芯科技有限公司"
,
"corpId"
:
"dinga60eaa15e871b53535c2f4657eb6378f"
,
"orgLogo"
:
"@lALOiBEIWs0BOM0CgA"
,
"orgId"
:
12488944
,
"apps"
:[{
"miniAppName"
:
"猎芯云仓"
,
"bizType"
:
2
,
"miniAppId"
:
"2021001152657489"
,
"icon"
:
"https://static.dingtalk.com/media/lALPDfJ6OzgcKq5NTQ_77_77.png"
}]},{
"orgName"
:
"创宇天下科技有限公司"
,
"corpId"
:
"ding93fe2dfb8cef1afd"
,
"orgId"
:
9213150
,
"apps"
:[{
"miniAppName"
:
"DEMO"
,
"bizType"
:
2
,
"miniAppId"
:
"2018102261820458"
,
"icon"
:
"https://static.dingtalk.com/media/lADPBY0V4-e-L6TNAZDNAbU_437_400.jpg"
}]}],
"dingtalk:dingtalk-biz:preAuditLimit"
:
10
,
"dingtalk:dingtalk-biz:preAuditUsed"
:
0
,
"dingtalk:dingtalk-biz:uploadTime"
:
""
,
"dingtalk:dingtalk-biz:packageSize"
:
""
,
"dingtalk:dingtalk-biz:auditLink"
:
null
,
"dingtalk:dingtalk-biz:whiteListLink"
:
null
,
"dingtalk:dingtalk-biz:_enableAutoPush"
:
false
,
"dingtalk:dingtalk-biz:_appId"
:
"2018102261820458"
,
"dingtalk:dingtalk-biz:_appName"
:
"DEMO"
,
"dingtalk:dingtalk-biz:_orgId"
:
9213150
,
"dingtalk:dingtalk-biz:_corpId"
:
"ding93fe2dfb8cef1afd"
,
"dingtalk:dingtalk-biz:remoteVersion"
:
"0.0.1"
,
"dingtalk:dingtalk-biz:currentVersion"
:
"0.0.2"
,
"dingtalk:dingtalk-biz:whiteList"
:[
"dd.yemxing.com"
,
"user.liexin.net"
,
"user.liexin.com"
],
"dingtalk:dingtalk-biz:h5WhiteList"
:[],
"taobao:taobao-mini:tinyIcon"
:
"https://gw.alicdn.com/tfs/TB1as1idqSs3KVjSZPiXXcsiVXa-21-21.svg"
,
"dingtalk:dingtalk-biz:lastDeviceName"
:
"iPhone 6"
,
"dingtalk:dingtalk-biz:MockStore"
:{
"token"
:
"eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwOlwvXC91c2VyLmxpZXhpbi5uZXRcL2Rpbmd0YWxrXC9sb2dpbiIsImlhdCI6MTU4NjUwMzYxMCwiZXhwIjoxNTg2NTAzNjcwLCJuYmYiOjE1ODY1MDM2MTAsImp0aSI6Ijd2Y0VlZEJOQ1kwYWxYbTIiLCJzdWIiOjE1NzgsInBydiI6Ijg3ZTBhZjFlZjlmZDE1ODEyZmRlYzk3MTUzYTE0ZTBiMDQ3NTQ2YWEifQ.RCQ6xXCHXfAgVs-722mtX6kCi6iuBaiRYINqKZ-KRsY"
},
"compilerList"
:[{
"title"
:
"普通编译"
,
"query"
:
""
,
"page"
:
""
},{
"title"
:
"1"
,
"page"
:
"pages/search/search"
,
"pageQuery"
:
"type=3"
},{
"title"
:
"2"
,
"page"
:
"pages/screen/screen"
},{
"title"
:
"3"
,
"page"
:
"pages/detail/other/other"
,
"pageQuery"
:
"id=228"
},{
"title"
:
"4"
,
"page"
:
"pages/pdf/pdf"
},{
"title"
:
"5"
,
"page"
:
"pages/detail/accountLimit/accountLimit"
,
"pageQuery"
:
"id=217"
},{
"title"
:
"6"
,
"page"
:
"pages/detail/reimbursement/reimbursement"
,
"pageQuery"
:
"id=204"
},{
"title"
:
"7"
,
"page"
:
"pages/detail/payment/payment"
,
"pageQuery"
:
"id=191"
},{
"title"
:
"8"
,
"page"
:
"pages/pdf/pdf"
}],
"compilerIndex"
:
0
,
"storageVersion"
:
"1.5.10"
}
\ No newline at end of file
{
"tinyType"
:
"dingtalk"
,
"tinyCnName"
:
"钉钉"
,
"tinyProjectType"
:
"dingtalk-biz"
,
"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"
:
"Nexus 6"
,
"SimulatorMode"
:
"WINDOW"
,
"isSimulatorOpen"
:
false
,
"isNotFirstToggleSimulator"
:
true
,
"isSimulatorDefaultSticky"
:
false
,
"dingtalk:dingtalk-biz:tinyIcon"
:
"https://gw.alipayobjects.com/zos/rmsportal/mAzWuEDGpTlpugsPXgzf.svg"
,
"dingtalk:dingtalk-biz:compilePreviewTime"
:
"2020-04-10 15:19:09"
,
"dingtalk:dingtalk-biz:compilePreviewWholePackSize"
:
"70.5 KB"
,
"dingtalk:dingtalk-biz:compilePreviewSubpackSizes"
:
""
,
"dingtalk:dingtalk-biz:_appIdList"
:[{
"orgName"
:
"深圳市猎芯科技有限公司"
,
"corpId"
:
"dinga60eaa15e871b53535c2f4657eb6378f"
,
"orgLogo"
:
"@lALOiBEIWs0BOM0CgA"
,
"orgId"
:
12488944
,
"apps"
:[{
"miniAppName"
:
"猎芯云仓"
,
"bizType"
:
2
,
"miniAppId"
:
"2021001152657489"
,
"icon"
:
"https://static.dingtalk.com/media/lALPDfJ6OzgcKq5NTQ_77_77.png"
}]},{
"orgName"
:
"创宇天下科技有限公司"
,
"corpId"
:
"ding93fe2dfb8cef1afd"
,
"orgId"
:
9213150
,
"apps"
:[{
"miniAppName"
:
"DEMO"
,
"bizType"
:
2
,
"miniAppId"
:
"2018102261820458"
,
"icon"
:
"https://static.dingtalk.com/media/lADPBY0V4-e-L6TNAZDNAbU_437_400.jpg"
}]}],
"dingtalk:dingtalk-biz:preAuditLimit"
:
10
,
"dingtalk:dingtalk-biz:preAuditUsed"
:
0
,
"dingtalk:dingtalk-biz:uploadTime"
:
""
,
"dingtalk:dingtalk-biz:packageSize"
:
""
,
"dingtalk:dingtalk-biz:auditLink"
:
null
,
"dingtalk:dingtalk-biz:whiteListLink"
:
null
,
"dingtalk:dingtalk-biz:_enableAutoPush"
:
false
,
"dingtalk:dingtalk-biz:_appId"
:
"2018102261820458"
,
"dingtalk:dingtalk-biz:_appName"
:
"DEMO"
,
"dingtalk:dingtalk-biz:_orgId"
:
9213150
,
"dingtalk:dingtalk-biz:_corpId"
:
"ding93fe2dfb8cef1afd"
,
"dingtalk:dingtalk-biz:remoteVersion"
:
"0.0.1"
,
"dingtalk:dingtalk-biz:currentVersion"
:
"0.0.2"
,
"dingtalk:dingtalk-biz:whiteList"
:[
"dd.yemxing.com"
,
"user.liexin.net"
,
"user.liexin.com"
],
"dingtalk:dingtalk-biz:h5WhiteList"
:[],
"taobao:taobao-mini:tinyIcon"
:
"https://gw.alicdn.com/tfs/TB1as1idqSs3KVjSZPiXXcsiVXa-21-21.svg"
,
"dingtalk:dingtalk-biz:lastDeviceName"
:
"iPhone 6"
,
"dingtalk:dingtalk-biz:MockStore"
:{
"token"
:
"eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwOlwvXC91c2VyLmxpZXhpbi5uZXRcL2Rpbmd0YWxrXC9sb2dpbiIsImlhdCI6MTU4NjUwNjE5NiwiZXhwIjoxNTg2NTA2MjU2LCJuYmYiOjE1ODY1MDYxOTYsImp0aSI6ImJaaHdGN2t3bFN2YTRWOHEiLCJzdWIiOjE1NzgsInBydiI6Ijg3ZTBhZjFlZjlmZDE1ODEyZmRlYzk3MTUzYTE0ZTBiMDQ3NTQ2YWEifQ.fz27OSKUzUGj_ofhz3p2QyMK0TyhzypZR9n9c8f-Hc4"
},
"compilerList"
:[{
"title"
:
"普通编译"
,
"query"
:
""
,
"page"
:
""
},{
"title"
:
"1"
,
"page"
:
"pages/search/search"
,
"pageQuery"
:
"type=3"
},{
"title"
:
"2"
,
"page"
:
"pages/screen/screen"
},{
"title"
:
"3"
,
"page"
:
"pages/detail/other/other"
,
"pageQuery"
:
"id=228"
},{
"title"
:
"4"
,
"page"
:
"pages/pdf/pdf"
},{
"title"
:
"5"
,
"page"
:
"pages/detail/accountLimit/accountLimit"
,
"pageQuery"
:
"id=217"
},{
"title"
:
"6"
,
"page"
:
"pages/detail/reimbursement/reimbursement"
,
"pageQuery"
:
"id=204"
},{
"title"
:
"7"
,
"page"
:
"pages/detail/payment/payment"
,
"pageQuery"
:
"id=191"
},{
"title"
:
"8"
,
"page"
:
"pages/pdf/pdf"
}],
"compilerIndex"
:
0
,
"storageVersion"
:
"1.5.10"
}
\ No newline at end of file
blank/.tea/recent.json
View file @
4c8d4c49
{
"OPENED_FILE"
:[
"file:///e%3A/DingProgram/blank/pages/detail/payment/payment.js"
,
"file:///e%3A/DingProgram/blank/pages/detail/payment/payment.axml"
,
"file:///e%3A/DingProgram/blank/app.json"
,
"file:///e%3A/DingProgram/blank/pages/detail/other/other.js"
,
"file:///e%3A/DingProgram/blank/pages/detail/accountLimit/accountLimit.js"
,
"file:///e%3A/DingProgram/blank/pages/detail/payment/payment.json"
,
"file:///e%3A/DingProgram/blank/pages/detail/reimbursement/reimbursement.js"
,
"file:///e%3A/DingProgram/blank/pages/pdf/pdf.axml"
,
"file:///e%3A/DingProgram/blank/pages/pdf/pdf.json"
,
"file:///e%3A/DingProgram/blank/pages/pdf/pdf.js"
,
"file:///e%3A/DingProgram/blank/res/js/axios.js"
,
"file:///e%3A/DingProgram/blank/pages/detail/reimbursement/reimbursement.json"
,
"file:///e%3A/DingProgram/blank/pages/search/search.js"
,
"file:///e%3A/DingProgram/blank/pages/tabs/alreadyApproval/alreadyApproval.axml"
,
"file:///e%3A/DingProgram/blank/pages/search/search.axml"
,
"file:///e%3A/DingProgram/blank/pages/detail/other/other.json"
,
"file:///e%3A/DingProgram/blank/pages/tabs/waitApproval/waitApproval.js"
,
"file:///e%3A/DingProgram/blank/pages/tabs/launchApproval/launchApproval.js"
,
"file:///e%3A/DingProgram/blank/pages/detail/accountLimit/accountLimit.axml"
,
"file:///e%3A/DingProgram/blank/pages/detail/reimbursement/reimbursement.axml"
,
"file:///e%3A/DingProgram/blank/pages/detail/other/other.axml"
,
"file:///e%3A/DingProgram/blank/pages/tabs/alreadyApproval/alreadyApproval.js"
,
"file:///e%3A/DingProgram/blank/pages/tabs/launchApproval/launchApproval.axml"
,
"file:///e%3A/DingProgram/blank/pages/tabs/waitApproval/waitApproval.axml"
,
"file:///e%3A/DingProgram/blank/res/css/detail.acss"
,
"file:///e%3A/DingProgram/blank/pages/nav/nav.js"
,
"file:///e%3A/DingProgram/blank/pages/screen/screen.js"
,
"file:///e%3A/DingProgram/blank/res/js/apis.js"
,
"file:///e%3A/DingProgram/blank/pages/screen/screen.axml"
,
"file:///e%3A/DingProgram/blank/pages/search/search.acss"
,
"file:///e%3A/DingProgram/blank/res/css/tab.acss"
,
"file:///e%3A/DingProgram/blank/pages/tabs/alreadyApproval/alreadyApproval.acss"
,
"file:///e%3A/DingProgram/blank/pages/tabs/waitApproval/waitApproval.json"
,
"file:///e%3A/DingProgram/blank/pages/tabs/launchApproval/launchApproval.json"
,
"file:///e%3A/DingProgram/blank/app.js"
,
"file:///e%3A/DingProgram/blank/pages/nav/nav.axml"
,
"file:///e%3A/DingProgram/blank/app.acss"
,
"file:///e%3A/DingProgram/blank/res/js/aixos.js"
,
"file:///e%3A/DingProgram/blank/debug.log"
,
"file:///e%3A/DingProgram/blank/snapshot.png"
,
"file:///e%3A/DingProgram/blank/pages/screen/screen.acss"
,
"file:///e%3A/DingProgram/blank/pages/search/search.json"
,
"file:///e%3A/DingProgram/blank/pages/screen/screen.json"
,
"file:///e%3A/DingProgram/blank/pages/login/login.js"
,
"file:///e%3A/DingProgram/blank/pages/detail/payment/payment.acss"
,
"file:///e%3A/DingProgram/blank/pages/login/login.json"
,
"file:///e%3A/DingProgram/blank/pages/detail/accountLimit/accountLimit.json"
,
"file:///e%3A/DingProgram/blank/pages/detail/accountLimit/accountLimit.acss"
,
"file:///e%3A/DingProgram/blank/pages/detail/reimbursement/reimbursement.acss"
,
"file:///e%3A/DingProgram/blank/pages/detail/other/other.acss"
],
"storageVersion"
:
"1.5.10"
}
\ No newline at end of file
{
"OPENED_FILE"
:[
"file:///e%3A/DingProgram/blank/pages/search/search.js"
,
"file:///e%3A/DingProgram/blank/pages/search/search.acss"
,
"file:///e%3A/DingProgram/blank/pages/tabs/waitApproval/waitApproval.js"
,
"file:///e%3A/DingProgram/blank/res/css/tab.acss"
,
"file:///e%3A/DingProgram/blank/pages/tabs/waitApproval/waitApproval.axml"
,
"file:///e%3A/DingProgram/blank/pages/tabs/launchApproval/launchApproval.axml"
,
"file:///e%3A/DingProgram/blank/pages/tabs/alreadyApproval/alreadyApproval.js"
,
"file:///e%3A/DingProgram/blank/pages/tabs/launchApproval/launchApproval.js"
,
"file:///e%3A/DingProgram/blank/pages/tabs/alreadyApproval/alreadyApproval.axml"
,
"file:///e%3A/DingProgram/blank/pages/search/search.axml"
,
"file:///e%3A/DingProgram/blank/pages/detail/payment/payment.js"
,
"file:///e%3A/DingProgram/blank/pages/detail/payment/payment.axml"
,
"file:///e%3A/DingProgram/blank/app.json"
,
"file:///e%3A/DingProgram/blank/pages/detail/other/other.js"
,
"file:///e%3A/DingProgram/blank/pages/detail/accountLimit/accountLimit.js"
,
"file:///e%3A/DingProgram/blank/pages/detail/payment/payment.json"
,
"file:///e%3A/DingProgram/blank/pages/detail/reimbursement/reimbursement.js"
,
"file:///e%3A/DingProgram/blank/pages/pdf/pdf.axml"
,
"file:///e%3A/DingProgram/blank/pages/pdf/pdf.json"
,
"file:///e%3A/DingProgram/blank/pages/pdf/pdf.js"
,
"file:///e%3A/DingProgram/blank/res/js/axios.js"
,
"file:///e%3A/DingProgram/blank/pages/detail/reimbursement/reimbursement.json"
,
"file:///e%3A/DingProgram/blank/pages/detail/other/other.json"
,
"file:///e%3A/DingProgram/blank/pages/detail/accountLimit/accountLimit.axml"
,
"file:///e%3A/DingProgram/blank/pages/detail/reimbursement/reimbursement.axml"
,
"file:///e%3A/DingProgram/blank/pages/detail/other/other.axml"
,
"file:///e%3A/DingProgram/blank/res/css/detail.acss"
,
"file:///e%3A/DingProgram/blank/pages/nav/nav.js"
,
"file:///e%3A/DingProgram/blank/pages/screen/screen.js"
,
"file:///e%3A/DingProgram/blank/res/js/apis.js"
,
"file:///e%3A/DingProgram/blank/pages/screen/screen.axml"
,
"file:///e%3A/DingProgram/blank/pages/tabs/alreadyApproval/alreadyApproval.acss"
,
"file:///e%3A/DingProgram/blank/pages/tabs/waitApproval/waitApproval.json"
,
"file:///e%3A/DingProgram/blank/pages/tabs/launchApproval/launchApproval.json"
,
"file:///e%3A/DingProgram/blank/app.js"
,
"file:///e%3A/DingProgram/blank/pages/nav/nav.axml"
,
"file:///e%3A/DingProgram/blank/app.acss"
,
"file:///e%3A/DingProgram/blank/res/js/aixos.js"
,
"file:///e%3A/DingProgram/blank/debug.log"
,
"file:///e%3A/DingProgram/blank/snapshot.png"
,
"file:///e%3A/DingProgram/blank/pages/screen/screen.acss"
,
"file:///e%3A/DingProgram/blank/pages/search/search.json"
,
"file:///e%3A/DingProgram/blank/pages/screen/screen.json"
,
"file:///e%3A/DingProgram/blank/pages/login/login.js"
,
"file:///e%3A/DingProgram/blank/pages/detail/payment/payment.acss"
,
"file:///e%3A/DingProgram/blank/pages/login/login.json"
,
"file:///e%3A/DingProgram/blank/pages/detail/accountLimit/accountLimit.json"
,
"file:///e%3A/DingProgram/blank/pages/detail/accountLimit/accountLimit.acss"
,
"file:///e%3A/DingProgram/blank/pages/detail/reimbursement/reimbursement.acss"
,
"file:///e%3A/DingProgram/blank/pages/detail/other/other.acss"
],
"storageVersion"
:
"1.5.10"
}
\ No newline at end of file
blank/debug.log
View file @
4c8d4c49
This diff could not be displayed because it is too large.
blank/pages/search/search.acss
View file @
4c8d4c49
...
...
@@ -135,3 +135,6 @@
text-align: center;
padding-bottom:42rpx;
}
.no-data{
padding:20px 0;
}
\ No newline at end of file
blank/pages/search/search.axml
View file @
4c8d4c49
...
...
@@ -34,6 +34,7 @@
</view>
</view>
<view class="loading-text" a:if="{{isMoreText}}">加载中...</view>
<view class="loading-text no-data" a:if="{{isNodata}}">暂无数据</view>
<view class="loading-text" a:if="{{isEndText}}">———— 到底啦 ————</view>
</scroll-view>
</view>
\ No newline at end of file
blank/pages/search/search.js
View file @
4c8d4c49
...
...
@@ -9,6 +9,7 @@ Page({
pages
:
1
,
isMoreText
:
false
,
isEndText
:
false
,
isNodata
:
false
,
inputFirstValue
:
""
,
//input框双向绑定的值
inputLastValue
:
""
//点击查询按钮后确定的值
},
...
...
@@ -39,12 +40,18 @@ Page({
listData
:
listData
,
isMoreText
:
false
,
isEndText
:
false
,
isNodata
:
false
});
if
(
me
.
data
.
page
==
this
.
data
.
pages
)
{
me
.
setData
({
isEndText
:
true
,
});
}
if
(
me
.
data
.
page
==
1
&&
!
me
.
data
.
listData
.
length
)
{
me
.
setData
({
isNodata
:
true
,
});
}
}
}
)
...
...
blank/pages/tabs/alreadyApproval/alreadyApproval.axml
View file @
4c8d4c49
...
...
@@ -30,5 +30,6 @@
</view>
</view>
<view class="loading-text" a:if="{{isMoreText}}">加载中...</view>
<view class="loading-text no-data" a:if="{{isNodata}}">暂无数据</view>
<view class="loading-text" a:if="{{isEndText}}">———— 到底啦 ————</view>
</view>
\ No newline at end of file
blank/pages/tabs/alreadyApproval/alreadyApproval.js
View file @
4c8d4c49
...
...
@@ -8,6 +8,7 @@ Page({
pages
:
1
,
isMoreText
:
false
,
isEndText
:
false
,
isNodata
:
false
,
isFixed
:
false
,
applyType
:
""
,
},
...
...
@@ -51,12 +52,18 @@ Page({
listData
:
listData
,
isMoreText
:
false
,
isEndText
:
false
,
isNodata
:
false
});
if
(
me
.
data
.
page
==
this
.
data
.
pages
)
{
me
.
setData
({
isEndText
:
true
,
});
}
if
(
me
.
data
.
page
==
1
&&
!
me
.
data
.
listData
.
length
)
{
me
.
setData
({
isNodata
:
true
,
});
}
}
}
)
...
...
blank/pages/tabs/launchApproval/launchApproval.axml
View file @
4c8d4c49
...
...
@@ -33,5 +33,6 @@
</view>
</view>
<view class="loading-text" a:if="{{isMoreText}}">加载中...</view>
<view class="loading-text no-data" a:if="{{isNodata}}">暂无数据</view>
<view class="loading-text" a:if="{{isEndText}}">———— 到底啦 ————</view>
</view>
\ No newline at end of file
blank/pages/tabs/launchApproval/launchApproval.js
View file @
4c8d4c49
...
...
@@ -9,6 +9,7 @@ Page({
isMoreText
:
false
,
isEndText
:
false
,
isFixed
:
false
,
isNodata
:
false
,
applyType
:
""
,
},
onLoad
()
{
...
...
@@ -51,12 +52,18 @@ Page({
listData
:
listData
,
isMoreText
:
false
,
isEndText
:
false
,
isNodata
:
false
});
if
(
me
.
data
.
page
==
this
.
data
.
pages
)
{
me
.
setData
({
isEndText
:
true
,
});
}
if
(
me
.
data
.
page
==
1
&&
!
me
.
data
.
listData
.
length
)
{
me
.
setData
({
isNodata
:
true
,
});
}
}
}
)
...
...
blank/pages/tabs/waitApproval/waitApproval.axml
View file @
4c8d4c49
...
...
@@ -26,6 +26,7 @@
</view>
</view>
<view class="loading-text" a:if="{{isMoreText}}">加载中...</view>
<view class="loading-text no-data" a:if="{{isNodata}}">暂无数据</view>
<view class="loading-text" a:if="{{isEndText}}">———— 到底啦 ————</view>
</view>
\ No newline at end of file
blank/pages/tabs/waitApproval/waitApproval.js
View file @
4c8d4c49
...
...
@@ -9,6 +9,7 @@ Page({
isMoreText
:
false
,
isEndText
:
false
,
isFixed
:
false
,
isNodata
:
false
,
applyType
:
""
,
},
onLoad
()
{
...
...
@@ -51,12 +52,18 @@ Page({
listData
:
listData
,
isMoreText
:
false
,
isEndText
:
false
,
isNodata
:
false
});
if
(
me
.
data
.
page
==
this
.
data
.
pages
)
{
me
.
setData
({
isEndText
:
true
,
});
}
if
(
me
.
data
.
page
==
1
&&
!
me
.
data
.
listData
.
length
)
{
me
.
setData
({
isNodata
:
true
,
});
}
}
}
)
...
...
@@ -90,7 +97,7 @@ Page({
},
toDetail
(
e
)
{
let
{
type
,
id
}
=
e
.
target
.
dataset
;
axios
.
toDetail
(
type
,
id
)
axios
.
toDetail
(
type
,
id
)
}
});
blank/res/css/tab.acss
View file @
4c8d4c49
...
...
@@ -109,3 +109,6 @@
text-align: left;
line-height: 31rpx;
}
.no-data{
padding:20px 0;
}
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment