index.vue 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. <template>
  2. <view>
  3. <iframe src="https://www.baidu.com/" class="iframe-box" frameborder="0" allowfullscreen>
  4. </iframe>
  5. <gap />
  6. <view class="operate">
  7. <view class="operate-item">
  8. 买入/做多
  9. </view>
  10. <view class="operate-item">
  11. 卖出/做空
  12. </view>
  13. </view>
  14. <openPopup ref="openPopupRef" />
  15. </view>
  16. </template>
  17. <script>
  18. import openPopup from "./open.vue"
  19. export default {
  20. name: 'login',
  21. components:{openPopup},
  22. data() {
  23. return {
  24. };
  25. }
  26. }
  27. </script>
  28. <style lang="scss" scoped>
  29. .iframe-box {
  30. width: 100%;
  31. min-height: 800rpx;
  32. }
  33. .operate {
  34. padding: 30rpx $pages-padding 0;
  35. width: 100%;
  36. display: flex;
  37. justify-content: space-between;
  38. align-items: center;
  39. .operate-item{
  40. width: 338rpx;
  41. height: 80rpx;
  42. text-align: center;
  43. line-height: 80rpx;
  44. background: #05c175;
  45. border-radius: 8rpx;
  46. font-size: 28rpx;
  47. font-family: PingFang SC, PingFang SC-Bold;
  48. font-weight: 700;
  49. color: #ffffff;
  50. & + .operate-item{
  51. background-color: #EF3E58;
  52. }
  53. }
  54. }
  55. </style>