| 123456789101112131415161718192021222324252627 |
- <template>
- <view>
- <button @click="login">登录</button>
- </view>
- </template>
- <script>
- export default {
- data() {
- return {
- }
- },
- methods: {
- login(){
- uni.switchTab({
- url:"/pages/index/index"
- })
- }
- }
- }
- </script>
- <style lang="scss" scoped>
- @import '../../common/css/common.css';
- @import './index.rpx.css';
- </style>
|