index.vue 581 B

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. <template>
  2. <view class="content">
  3. <button @click="openVideo">
  4. 开始巡店
  5. </button>
  6. </view>
  7. </template>
  8. <script>
  9. export default {
  10. data() {
  11. return {
  12. wv: null
  13. };
  14. },
  15. onLoad() {},
  16. methods: {
  17. openVideo() {
  18. uni.navigateTo({
  19. url:"/pages/shopTour/shopTour"
  20. })
  21. }
  22. }
  23. };
  24. </script>
  25. <style>
  26. .content {
  27. display: flex;
  28. flex-direction: column;
  29. align-items: center;
  30. justify-content: center;
  31. }
  32. .controls-yt {
  33. position: absolute;
  34. top: 20rpx;
  35. right: 20rpx;
  36. width: 80rpx;
  37. height: 80rpx;
  38. border-radius: 100%;
  39. background: rgba(0, 0, 0, 0.6);
  40. }
  41. </style>