shortcut.vue 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  1. <template>
  2. <view class="shortcut-box">
  3. <image class="shortcut-icon" src="../../../static/logo.png" mode=""></image>
  4. <view class="shortcut-content">
  5. <text class="shortcut-content-title">快捷买币</text>
  6. <text class="shortcut-content-hint">支持一键快速购买USDT</text>
  7. </view>
  8. <view class="shortcut-more">
  9. </view>
  10. </view>
  11. </template>
  12. <script>
  13. export default {
  14. name: "shortcutModules",
  15. data() {
  16. return {
  17. };
  18. }
  19. }
  20. </script>
  21. <style lang="scss" scoped>
  22. .shortcut-box {
  23. width: 100%;
  24. min-height: 120rpx;
  25. background-color: $modules-box-bg;
  26. padding: 18rpx $pages-padding ;
  27. display: flex;
  28. align-items: center;
  29. .shortcut-icon{
  30. width: 63rpx;
  31. height: 83rpx;
  32. flex-shrink: 0;
  33. }
  34. .shortcut-more{
  35. width: 81rpx;
  36. height: 81rpx;
  37. flex-shrink: 0;
  38. background: linear-gradient(90deg,#ffffff 23%, #d4f1e5);
  39. border-radius: 50%;
  40. }
  41. .shortcut-content{
  42. width: calc(100% - 63rpx - 81rpx);
  43. padding-left: 35rpx;
  44. display: flex;
  45. flex-direction: column;
  46. .shortcut-content-title{
  47. font-size: 30rpx;
  48. font-family: PingFang SC, PingFang SC-Bold;
  49. font-weight: 700;
  50. color: #1a1a1a;
  51. line-height: 38rpx;
  52. letter-spacing: 0.6rpx;
  53. }
  54. .shortcut-content-hint{
  55. font-size: 24rpx;
  56. font-family: PingFang SC, PingFang SC-Regular;
  57. font-weight: 400;
  58. color: #808080;
  59. line-height: 38rpx;
  60. letter-spacing: 0.48rpx;
  61. }
  62. }
  63. }
  64. </style>