| | |
| | | data() { |
| | | return { |
| | | targetSrc: '', |
| | | pageMode: '', |
| | | }; |
| | | }, |
| | | onLoad(e) { |
| | |
| | | title: e.pageTitle |
| | | }) |
| | | } |
| | | let pageMode = e.pageMode || 'vertical' |
| | | if (pageMode == 'horizontal') { |
| | | plus.screen.lockOrientation('landscape-primary'); |
| | | } else { |
| | | plus.screen.lockOrientation('portrait-primary'); |
| | | } |
| | | |
| | | }, |
| | | onUnload() { |
| | | // 恢复到竖屏 |
| | | plus.screen.lockOrientation('portrait-primary'); |
| | | } |
| | | } |
| | | </script> |
| | | |
| | |
| | | { |
| | | img: '../../static/icon/icon8.png', |
| | | text: '检验报告', |
| | | url: `/pages/InnerHtmlPage/index?src=http://172.16.72.15:8999/index.aspx?name=${getUserInfo()['HICNumber']}&pageTitle=检验报告`, |
| | | url: `/pages/InnerHtmlPage/index?src=http://172.16.72.15:8999/index.aspx?name=${getUserInfo()['HICNumber']}&pageTitle=检验报告&pageMode=horizontal`, |
| | | id: 24, |
| | | hidden: false, |
| | | }, |
| | |
| | | } |
| | | |
| | | .right { |
| | | width: 450rpx; |
| | | // width: 450rpx; |
| | | flex: 1; |
| | | border-radius: 22rpx; |
| | | border: 1px solid #acacac; |
| | | } |
| | | |
| | | .righton { |
| | | width: 450rpx; |
| | | // width: 450rpx; |
| | | flex: 1; |
| | | border-radius: 22rpx; |
| | | border: 1px solid #e4e4e4; |
| | | background-color: #e4e4e4; |
| | | } |
| | | |
| | | input { |
| | | width: 100%; |
| | | width: inherit; |
| | | padding: 8rpx 20rpx; |
| | | font-size: 30rpx; |
| | | } |