图书馆小程序
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

153 lines
4.1 KiB

4 months ago
4 months ago
3 weeks ago
3 weeks ago
4 weeks ago
4 months ago
4 weeks ago
4 weeks ago
4 weeks ago
4 weeks ago
4 weeks ago
3 weeks ago
4 weeks ago
4 weeks ago
4 weeks ago
4 weeks ago
4 weeks ago
4 weeks ago
4 weeks ago
4 weeks ago
4 weeks ago
4 weeks ago
4 weeks ago
4 weeks ago
4 months ago
4 weeks ago
4 weeks ago
4 months ago
4 months ago
3 weeks ago
4 months ago
3 weeks ago
3 weeks ago
3 weeks ago
4 months ago
3 weeks ago
4 months ago
3 weeks ago
3 weeks ago
4 months ago
4 months ago
4 months ago
4 weeks ago
4 weeks ago
4 weeks ago
4 weeks ago
4 weeks ago
4 months ago
4 months ago
4 weeks ago
4 months ago
4 months ago
  1. <template>
  2. <view class="page-container">
  3. <!-- 顶部背景 + 标题 -->
  4. <view class="top-bar">
  5. <image class="top-bar-bg" src="@/static/images/mingqi-beij@2x.png" mode="aspectFill"></image>
  6. <view class="library-info">
  7. <image class="avatar" :src="libraryLogo" mode="aspectFill"></image>
  8. <view class="library-name">{{ fondsName }}</view>
  9. <view class="sub-title">信用免押金办证流程</view>
  10. </view>
  11. </view>
  12. <view class="online-card">
  13. <view class="online-item">
  14. <text>支付宝扫码进入借阅宝生活号</text>
  15. <image src="/subpkg/static/register/1.jpg" mode="widthFix" :show-menu-by-longpress="true"></image>
  16. </view>
  17. <view class="online-item">
  18. <text>进入服务点击图书馆</text>
  19. <image src="/subpkg/static/register/2.jpg" mode="widthFix" />
  20. </view>
  21. <view class="online-item">
  22. <text>点击切换进入{{ fondsName }}</text>
  23. <text>然后点击暂无借阅证点击注册</text>
  24. <image src="/subpkg/static/register/3.jpg" mode="widthFix" />
  25. </view>
  26. <view class="online-item">
  27. <text>进入我馆办证界面设置密码</text>
  28. <image src="/subpkg/static/register/4.jpg" mode="widthFix" />
  29. </view>
  30. <view class="online-item">
  31. <text>点击去授权</text>
  32. <image src="/subpkg/static/register/5.jpg" mode="widthFix" />
  33. </view>
  34. <view class="online-item">
  35. <text>下一步然后点击同意协议</text>
  36. <image src="/subpkg/static/register/6.jpg" mode="widthFix" />
  37. </view>
  38. <view class="online-item">
  39. <text>注册成功后点击前往服务大厅</text>
  40. <text>借阅证即成功办理</text>
  41. <image src="/subpkg/static/register/7.jpg" mode="widthFix" />
  42. </view>
  43. </view>
  44. <view class="tips-card">
  45. <view class="tips-title">借阅宝注册成功即可凭<text style="padding: 0 8px; color: #007AFF;">电子证</text>借阅图书</view>
  46. <view class="tips-text">
  47. 若需换取实体读者证需持本人身份证原件前往二楼总服务办理
  48. </view>
  49. </view>
  50. </view>
  51. </template>
  52. <script>
  53. import { FetchInitScreenSetting } from '@/api/user';
  54. import config from '@/utils/config';
  55. export default {
  56. data() {
  57. return {
  58. fondsName: getApp().globalData.fondsName || '',
  59. libraryLogo: null,
  60. };
  61. },
  62. onLoad() {
  63. this.getScreenSetting()
  64. },
  65. methods: {
  66. async getScreenSetting() {
  67. const res = await FetchInitScreenSetting({ libcode: getApp().globalData.libcode });
  68. if(res.data.library_logo && res.data.library_logo.context){
  69. this.libraryLogo = config.baseUrl + '/files/' + res.data.library_logo.context;
  70. }else{
  71. this.libraryLogo = null;
  72. }
  73. }
  74. }
  75. };
  76. </script>
  77. <style lang="scss" scoped>
  78. page {
  79. background-color: #f5f7fa;
  80. }
  81. .page-container {
  82. min-height: 100vh;
  83. background-color: #f5f7fa;
  84. padding-bottom: 20px;
  85. }
  86. /* 顶部 */
  87. .top-bar {
  88. height: 210px;
  89. .library-info {
  90. position: relative;
  91. z-index: 2;
  92. color: #fff;
  93. }
  94. }
  95. .online-card {
  96. margin: -30px 12px 12px;
  97. position: relative;
  98. z-index: 3;
  99. .online-item {
  100. display: flex;
  101. flex-direction: column;
  102. align-items: center;
  103. margin-bottom: 20px;
  104. padding: 16px;
  105. background: #fff;
  106. border-radius: 12px;
  107. box-shadow: 0 4px 15px rgba(0,0,0,0.08);
  108. text{
  109. font-size: 14px;
  110. font-weight: bold;
  111. color: #000;
  112. margin-bottom: 10px;
  113. }
  114. }
  115. image {
  116. width: 100%;
  117. max-width: 100%;
  118. display: block;
  119. margin: 0 auto;
  120. border-radius: 8px;
  121. // box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  122. }
  123. }
  124. /* 温馨提示 */
  125. .tips-card {
  126. margin: 0 12px;
  127. background: #fff;
  128. border-radius: 10px;
  129. padding: 15px;
  130. box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  131. .tips-title {
  132. font-size: 16px;
  133. font-weight: bold;
  134. color: #333;
  135. margin-bottom: 8px;
  136. }
  137. .tips-text {
  138. font-size: 12px;
  139. color: #666;
  140. line-height: 1.6;
  141. }
  142. }
  143. </style>