图书馆小程序
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.

152 lines
4.1 KiB

4 months ago
4 months ago
3 weeks ago
4 months ago
4 weeks ago
4 months 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 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
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">葛店经济技术开发区图书馆</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>点击切换进入葛店经济技术开发区图书馆</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. libraryLogo: null,
  59. };
  60. },
  61. onLoad() {
  62. this.getScreenSetting()
  63. },
  64. methods: {
  65. async getScreenSetting() {
  66. const res = await FetchInitScreenSetting({ libcode: getApp().globalData.libcode });
  67. if(res.data.library_logo && res.data.library_logo.context){
  68. this.libraryLogo = config.baseUrl + '/files/' + res.data.library_logo.context;
  69. }else{
  70. this.libraryLogo = null;
  71. }
  72. }
  73. }
  74. };
  75. </script>
  76. <style lang="scss" scoped>
  77. page {
  78. background-color: #f5f7fa;
  79. }
  80. .page-container {
  81. min-height: 100vh;
  82. background-color: #f5f7fa;
  83. padding-bottom: 20px;
  84. }
  85. /* 顶部 */
  86. .top-bar {
  87. height: 210px;
  88. .library-info {
  89. position: relative;
  90. z-index: 2;
  91. color: #fff;
  92. }
  93. }
  94. .online-card {
  95. margin: -30px 12px 12px;
  96. position: relative;
  97. z-index: 3;
  98. .online-item {
  99. display: flex;
  100. flex-direction: column;
  101. align-items: center;
  102. margin-bottom: 20px;
  103. padding: 16px;
  104. background: #fff;
  105. border-radius: 12px;
  106. box-shadow: 0 4px 15px rgba(0,0,0,0.08);
  107. text{
  108. font-size: 14px;
  109. font-weight: bold;
  110. color: #000;
  111. margin-bottom: 10px;
  112. }
  113. }
  114. image {
  115. width: 100%;
  116. max-width: 100%;
  117. display: block;
  118. margin: 0 auto;
  119. border-radius: 8px;
  120. // box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  121. }
  122. }
  123. /* 温馨提示 */
  124. .tips-card {
  125. margin: 0 12px;
  126. background: #fff;
  127. border-radius: 10px;
  128. padding: 15px;
  129. box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  130. .tips-title {
  131. font-size: 16px;
  132. font-weight: bold;
  133. color: #333;
  134. margin-bottom: 8px;
  135. }
  136. .tips-text {
  137. font-size: 12px;
  138. color: #666;
  139. line-height: 1.6;
  140. }
  141. }
  142. </style>