1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980 |
- <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;
- }
-
- }
-
- </style>
|