12345678910111213141516171819202122232425 |
- <script>
- import tool from "./utils/tool";
- export default {
- onLaunch: function () {
- tool.setBar();
- tool.mount();
- },
- onShow: function () {
- this.getLocation().then(res => {
- uni.setStorageSync("location", res)
- })
- },
- onHide: function () {
- }
- }
- </script>
- <style lang="scss">
- @import "@/uni_modules/uview-ui/index.scss";
- @import "colorui/main.css";
- @import "colorui/icon.css";
- @import "uni.scss";
- @import "static/iconfont/iconfont.css";
- </style>
|