index.vue 603 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  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. let _this = this
  17. },
  18. methods: {
  19. openVideo() {
  20. uni.navigateTo({
  21. url:"/pages/shopTour/shopTour"
  22. })
  23. },
  24. }
  25. };
  26. </script>
  27. <style>
  28. .content {
  29. display: flex;
  30. flex-direction: column;
  31. align-items: center;
  32. justify-content: center;
  33. }
  34. .controls-yt {
  35. position: absolute;
  36. top: 20rpx;
  37. right: 20rpx;
  38. width: 80rpx;
  39. height: 80rpx;
  40. border-radius: 100%;
  41. background: rgba(0, 0, 0, 0.6);
  42. }
  43. </style>