index.vue 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  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. <popupHint />
  16. </view>
  17. </template>
  18. <script>
  19. import openPopup from "./open.vue"
  20. import popupHint from "../modules/popup-hint.vue"
  21. export default {
  22. name: 'login',
  23. components:{openPopup , popupHint},
  24. data() {
  25. return {
  26. };
  27. }
  28. }
  29. </script>
  30. <style lang="scss" scoped>
  31. .iframe-box {
  32. width: 100%;
  33. min-height: 800rpx;
  34. }
  35. .operate {
  36. padding: 30rpx $pages-padding 0;
  37. width: 100%;
  38. display: flex;
  39. justify-content: space-between;
  40. align-items: center;
  41. .operate-item{
  42. width: 338rpx;
  43. height: 80rpx;
  44. text-align: center;
  45. line-height: 80rpx;
  46. background: #05c175;
  47. border-radius: 8rpx;
  48. font-size: 28rpx;
  49. font-family: PingFang SC, PingFang SC-Bold;
  50. font-weight: 700;
  51. color: #ffffff;
  52. & + .operate-item{
  53. background-color: #EF3E58;
  54. }
  55. }
  56. }
  57. </style>