艺易修小程序24.08.21
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

39 lines
647 B

11 months ago
  1. <template>
  2. <view class="content">
  3. <button @click="$refs.configPopup.open()">{{ locale.agreement }}</button>
  4. <button @click="$refs.changeLanguage.open()">切换语言</button>
  5. <button @click="$utils.navigateTo('/map/map')">地图</button>
  6. <changeLanguage ref="changeLanguage"/>
  7. <configPopup
  8. keyValue="asd"
  9. ref="configPopup"/>
  10. </view>
  11. </template>
  12. <script>
  13. export default {
  14. data() {
  15. return {
  16. }
  17. },
  18. computed : {
  19. locale(){
  20. return this.$t('pages.index.index')
  21. }
  22. },
  23. methods: {
  24. }
  25. }
  26. </script>
  27. <style scoped lang="scss">
  28. .content{
  29. padding: 20px;
  30. button{
  31. margin-bottom: 10rpx;
  32. }
  33. }
  34. </style>