123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899 |
- <script>
- // window.SITE_CONFIG = {};
- // window.SITE_CONFIG["dictList"] = JSON.parse(localStorage.getItem('dictList'))||[];
- // import Api from "./@/http/Api.js";
- export default {
- data() {
- return {
- // globalData: {},
- }
- },
- methods: {
- // getDictAll() {
- // Api.getDictList().then((res) => {
- // console.log(res.data)
- // window.SITE_CONFIG["dictList"] = res.data.data;
- // localStorage.setItem("dictList",JSON.stringify(res.data.data));
- // });
- // },
- },
- onLaunch: function() {
- // this.getDictAll();
- // 获取字典列表, 添加并全局变量保存
- },
- onShow: function() {
- },
- onHide: function() {
- console.log('App Hide')
- }
- }
- </script>
- <style lang="scss">
- /*每个页面公共css */
- @import "@/uni_modules/uview-ui/index.scss";
- * {
- box-sizing: border-box;
- }
- uni-page-body,
- html,
- body {
- height: 100%;
- width: 750rpx;
- background: #F6F6F6;
- }
- .u-button--primary {
- background-color: #5776E6;
- }
- .uni-input-placeholder {
- text-align: right;
- }
- .ml5 {
- margin-left: 10rpx;
- }
- .contain {
- height: 100%;
- padding-bottom: 120rpx;
- padding-top: 24rpx;
- overflow-y: auto;
- .main {
- padding: 0 32rpx;
- background-color: #fff;
- }
- .tijiao {
- position: fixed;
- width: 100%;
- bottom: 0;
- left: 0;
- background-color: #fff;
- padding: 16rpx 32rpx;
- box-sizing: border-box;
- box-shadow: 0 -6px 12px 0 rgba(153, 153, 153, 0.10);
- }
- .u-cell__value {
- color: #333 !important;
- }
- }
-
- .tabPage{
- width: 100%;
- padding-bottom: 164rpx;
- box-sizing: border-box;
- }
- </style>
|