chapterDetail.vue 5.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183
  1. <template>
  2. <view class="chapter-detail-page">
  3. <view class="main-box">
  4. <view class="title">【第1期 | 原油周报】关注中美贸易政策</view>
  5. <view class="flex time">
  6. <text>FICC团队</text>
  7. <text>2021.11.18 08:40:00</text>
  8. </view>
  9. <view class="flex audio-wrap">
  10. <image src="" mode="aspectFill" />
  11. <view>
  12. <view>关注中美贸易政策变化</view>
  13. <view style="color: #999999">1分31秒</view>
  14. </view>
  15. </view>
  16. <view class="tips">
  17. <text>注:请务必阅读</text>
  18. <text style="color: #e3b377; margin-left: 20rpx" @click="showDisclaimers = true">免责声明</text>
  19. </view>
  20. <view class="rich-content">
  21. <mp-html :content="html" />
  22. </view>
  23. </view>
  24. <!-- 章节详情底部快速切换 -->
  25. <view class="chapter-list-wrap">
  26. <view class="top-text">更多</view>
  27. <van-row gutter="10">
  28. <van-col span="6">
  29. <view class="item"></view>
  30. </van-col>
  31. <van-col span="6">
  32. <view class="item"></view>
  33. </van-col>
  34. <van-col span="6">
  35. <view class="item"></view>
  36. </van-col>
  37. <van-col span="6">
  38. <view class="item"></view>
  39. </van-col>
  40. <van-col span="6">
  41. <view class="item"></view>
  42. </van-col>
  43. <van-col span="6">
  44. <view class="item"></view>
  45. </van-col>
  46. </van-row>
  47. </view>
  48. <!-- 返回顶部 -->
  49. <image @click="handleBackTop" class="back-top-img" src="./static/back-top.png" mode="aspectFill" />
  50. <!-- 免责声明 -->
  51. <van-popup :show="showDisclaimers" @close="showDisclaimers = false" round closeable>
  52. <view class="disclaimers-box">
  53. <view style="text-align: center; font-size: 16px; font-weight: bold; margin-bottom: 20rpx">免责声明</view>
  54. <view style="margin-bottom: 10rpx">1、本报告仅供弘则弥道(上海)投资咨询有限公司正式签约的机构客户使用,不会仅因接收人/接受机构收到本报告而将其视为客户。</view>
  55. <view style="margin-bottom: 10rpx"
  56. >2、本报告根据国际和行业通行的准则,以合法渠道获得这些信息,尽可能保证可靠、准确和完整,但并不保证报告所述信息的准确性和完整性,也不保证本报告所包含的信息或建议在本报告发出后不会发生任何变更。本报告中所提供的信息仅供参考。</view
  57. >
  58. <view style="margin-bottom: 10rpx"
  59. >3、报告中的内容不对投资者做出的最终操作建议做任何的担保,也没有任何形式的分享投资收益或者分担投资损失的书面或口头承诺。不作为客户在投资、法律、会计或税务等方面的最终操作建议,也不作为道义的、责任的和法律的依据或者凭证,无论是否已经明示或者暗示。</view
  60. >
  61. <view style="margin-bottom: 10rpx">4、在任何情况下,本公司不对客户/接受人/接受机构因使用报告中内容所引致的一切损失负责任,客户/接受人/接受机构需自行承担全部风险。</view>
  62. </view>
  63. </van-popup>
  64. </view>
  65. </template>
  66. <script>
  67. export default {
  68. data() {
  69. return {
  70. showDisclaimers: false, //显示免责声明
  71. html: "<h1>Hello World!</h1>",
  72. };
  73. },
  74. methods: {
  75. handleBackTop() {
  76. uni.pageScrollTo({ scrollTop: 0 });
  77. },
  78. },
  79. };
  80. </script>
  81. <style lang="scss" scoped>
  82. .chapter-detail-page {
  83. .main-box{
  84. padding: 34rpx;
  85. }
  86. .title{
  87. font-size: 36rpx;
  88. font-weight: bold;
  89. margin-bottom: 30rpx;
  90. }
  91. .time{
  92. justify-content: space-between;
  93. font-size: 28rpx;
  94. }
  95. .audio-wrap{
  96. height: 160rpx;
  97. background: #FAF7EE;
  98. border-radius: 16rpx;
  99. margin-top: 20rpx;
  100. padding: 10rpx 31rpx;
  101. margin-bottom: 31rpx;
  102. align-items: center;
  103. image{
  104. width: 110rpx;
  105. height: 110rpx;
  106. display: block;
  107. background-color: rgb(233, 230, 230);
  108. margin-right: 16rpx;
  109. }
  110. }
  111. .tips{
  112. font-size: 34rpx;
  113. margin-bottom: 51rpx;
  114. &::before{
  115. content: '';
  116. width: 10rpx;
  117. height: 50rpx;
  118. display: inline-block;
  119. background-color: #E3B377;
  120. margin-right: 20rpx;
  121. position: relative;
  122. top: 10rpx;
  123. }
  124. }
  125. .disclaimers-box{
  126. width: 94vw;
  127. padding: 32rpx;
  128. }
  129. .rich-content{
  130. line-height: 1.7;
  131. }
  132. .back-top-img{
  133. position: fixed;
  134. z-index: 99;
  135. width: 76rpx;
  136. height: 76rpx;
  137. right: 34rpx;
  138. bottom: 100rpx;
  139. }
  140. .chapter-list-wrap {
  141. background-color: #f5f6fa;
  142. padding: 34rpx;
  143. min-height: 300px;
  144. .top-text {
  145. text-align: center;
  146. color: #666666;
  147. margin-bottom: 30rpx;
  148. &::before {
  149. content: "";
  150. width: 90rpx;
  151. height: 1px;
  152. background-color: #999;
  153. display: inline-block;
  154. vertical-align: middle;
  155. margin-right: 10rpx;
  156. }
  157. &::after {
  158. content: "";
  159. width: 90rpx;
  160. height: 1px;
  161. background-color: #999;
  162. display: inline-block;
  163. vertical-align: middle;
  164. margin-left: 10rpx;
  165. }
  166. }
  167. .item {
  168. background-color: #fff;
  169. height: 160rpx;
  170. margin-bottom: 20rpx;
  171. }
  172. }
  173. }
  174. </style>