1234567891011121314151617181920212223242526272829303132333435 |
- <template>
- <mobile-frame :frameStyle="frameStyle" @toPath="toPath">
- 周边
- </mobile-frame>
- </template>
- <script>
- export default {
- data() {
- return {
- frameStyle: {
- useBar: true
- },
- };
- },
- onShow: function() {},
- methods: {
- toPath(e) {
- if (e && e.route && e.type == '0') {
- uni.redirectTo({
- url: `/${e.route}`
- })
- } else {
- uni.navigateTo({
- url: `/${e.route}`
- })
- }
- }
- }
- }
- </script>
- <style lang="scss">
- </style>
|