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.

324 lines
6.5 KiB

  1. <template>
  2. <view class="main">
  3. <view class="top" :style="{ height: iSMT + 'px' }"></view>
  4. <!-- 头部导航 -->
  5. <view class="header">
  6. <view class="back-icon">
  7. <image @click="onBack" src="/static/customer-service-platform/cs-platform-back.png"
  8. class="header-icon-image"></image>
  9. </view>
  10. <view class="title">{{ headerTitle }}</view>
  11. <view class="notification-icon">
  12. <image src="/static/customer-service-platform/message.png" class="header-icon-image"></image>
  13. </view>
  14. </view>
  15. <scroll-view scroll-y class="content-container">
  16. <view class="content-header">
  17. <view class="content-header-area">
  18. <view class="logo">
  19. <image mode="aspectFit" src="/static/customer-service-platform/ellipse-dc-img.png"></image>
  20. </view>
  21. <view class="greeting">
  22. <text class="greet-title">我能为你做点什么</text>
  23. <text class="greet-sub">DeepChart随时为您提供服务</text>
  24. </view>
  25. </view>
  26. </view>
  27. <!-- 卡片部分 -->
  28. <view class="card">
  29. <!-- 问题头部-->
  30. <view class="question-header">
  31. <view class="question-row">
  32. <image class="question-avatar" src="/static/customer-service-platform/robot-head.png"
  33. mode="aspectFill"></image>
  34. <view class="question-title">{{ questionTitle }}?</view>
  35. </view>
  36. </view>
  37. <!-- 卡片内容区-->
  38. <view class="card-body">
  39. <image class="card-logo" src="/static/customer-service-platform/ellipse-dc-img.png"
  40. mode="aspectFit"></image>
  41. <view class="card-text">
  42. <text class="card-paragraph">
  43. DeepChart 提供了多种注册方式具体流程如下
  44. </text>
  45. <view class="bullet-list">
  46. <view class="bullet-item">
  47. <view class="bullet-dot"></view>
  48. <text class="bullet-text">邮箱 /
  49. 手机号注册进入注册页面后输入邮箱地址或手机号勾选接受用户协议和隐私政策点击注册即可若未勾选协议点击注册时会弹窗提示请阅读并同意服务协议和隐私权限同意后可进入下一步</text>
  50. </view>
  51. <view class="bullet-item">
  52. <view class="bullet-dot"></view>
  53. <text class="bullet-text">第三方账号注册支持通过 Apple 账号或 Google
  54. 邮箱直接注册点击对应平台按钮按提示完成授权即可</text>
  55. </view>
  56. <view class="bullet-item">
  57. <view class="bullet-dot"></view>
  58. <text class="bullet-text">若遇到问题请通过页面底部的联系客服按钮联系我们</text>
  59. </view>
  60. </view>
  61. </view>
  62. </view>
  63. </view>
  64. <view class="login-row">
  65. <button class="login-btn">登录</button>
  66. <button class="register-btn">注册</button>
  67. </view>
  68. </scroll-view>
  69. </view>
  70. </template>
  71. <script>
  72. export default {
  73. data() {
  74. return {
  75. headerTitle: '智能客服中台',
  76. iSMT: 0,
  77. questionTitle: '如何注册账号'
  78. };
  79. },
  80. mounted() {
  81. this.iSMT = uni.getSystemInfoSync().statusBarHeight || 0;
  82. },
  83. methods: {
  84. onBack() {
  85. if (typeof uni !== 'undefined') uni.navigateBack();
  86. }
  87. }
  88. };
  89. </script>
  90. <style scoped>
  91. .main {
  92. display: flex;
  93. flex-direction: column;
  94. height: 100vh;
  95. background-color: #ffffff;
  96. }
  97. .header {
  98. display: flex;
  99. justify-content: space-between;
  100. align-items: center;
  101. padding: 20rpx 30rpx;
  102. background-color: #ffffff;
  103. }
  104. .title {
  105. color: #000000;
  106. text-align: center;
  107. font-size: 32rpx;
  108. font-weight: 400;
  109. }
  110. .back-icon,
  111. .notification-icon {
  112. width: 40rpx;
  113. display: flex;
  114. align-items: center;
  115. justify-content: center;
  116. }
  117. .header-icon-image {
  118. width: 40rpx;
  119. height: 40rpx;
  120. object-fit: contain;
  121. }
  122. .content-container {
  123. padding: 20rpx;
  124. width: 100%;
  125. box-sizing: border-box;
  126. overflow-x: hidden;
  127. }
  128. .content-header {
  129. display: flex;
  130. align-items: center;
  131. justify-content: center;
  132. gap: 24rpx;
  133. padding: 0 60rpx;
  134. width: 100%;
  135. box-sizing: border-box;
  136. height: 188rpx;
  137. }
  138. .content-header-area {
  139. display: flex;
  140. gap: 20rpx;
  141. }
  142. .logo {
  143. width: 120rpx;
  144. height: 120rpx;
  145. display: flex;
  146. align-items: center;
  147. justify-content: center;
  148. flex: 0 0 112rpx;
  149. }
  150. .greeting {
  151. display: flex;
  152. flex-direction: column;
  153. justify-content: center;
  154. flex: 1 1 auto;
  155. }
  156. .greet-title {
  157. color: #000;
  158. font-size: 40rpx;
  159. font-style: normal;
  160. font-weight: 500;
  161. line-height: normal;
  162. margin: 0;
  163. overflow: hidden;
  164. text-overflow: ellipsis;
  165. white-space: nowrap;
  166. }
  167. .greet-sub {
  168. color: #838383;
  169. font-size: 28rpx;
  170. font-style: normal;
  171. font-weight: 400;
  172. line-height: normal;
  173. margin-top: 12rpx;
  174. overflow: hidden;
  175. text-overflow: ellipsis;
  176. white-space: nowrap;
  177. }
  178. .card {
  179. width: 90%;
  180. margin: 0 auto 20rpx;
  181. padding: 28rpx;
  182. box-sizing: border-box;
  183. border-radius: 16rpx;
  184. border: 4rpx solid #FF7C99;
  185. background: #fff;
  186. }
  187. /* 问题头部 */
  188. .question-header {
  189. width: 100%;
  190. margin-bottom: 48rpx;
  191. }
  192. .question-row {
  193. display: flex;
  194. align-items: center;
  195. }
  196. .question-avatar {
  197. width: 52rpx;
  198. height: 52rpx;
  199. border-radius: 999rpx;
  200. margin-right: 32rpx;
  201. }
  202. .question-title {
  203. font-size: 34rpx;
  204. color: #222;
  205. font-weight: 600;
  206. }
  207. /* 卡片内部布局 */
  208. .card-body {
  209. display: flex;
  210. gap: 20rpx;
  211. align-items: flex-start;
  212. }
  213. .card-logo {
  214. width: 52rpx;
  215. height: 52rpx;
  216. flex: 0 0 52rpx;
  217. border-radius: 8rpx;
  218. }
  219. .card-text {
  220. flex: 1 1 auto;
  221. }
  222. .card-paragraph {
  223. display: block;
  224. color: #333;
  225. font-size: 28rpx;
  226. margin-bottom: 14rpx;
  227. }
  228. .bullet-list {
  229. display: flex;
  230. flex-direction: column;
  231. gap: 12rpx;
  232. }
  233. .bullet-item {
  234. display: flex;
  235. align-items: flex-start;
  236. }
  237. .bullet-dot {
  238. width: 8rpx;
  239. height: 8rpx;
  240. background: #FF7C99;
  241. border-radius: 999rpx;
  242. margin-top: 10rpx;
  243. flex: 0 0 8rpx;
  244. }
  245. .bullet-text {
  246. margin-left: 12rpx;
  247. color: #666;
  248. font-size: 28rpx;
  249. line-height: 40rpx;
  250. /* 提高可读性 */
  251. }
  252. .login-row{
  253. display: flex;
  254. justify-content: center;
  255. width:100%;
  256. margin-top: 100rpx;
  257. }
  258. .login-btn{
  259. width: 300rpx;
  260. height: 100rpx;
  261. border-radius: 50rpx;
  262. background: #F3F3F3;
  263. color: #000000;
  264. display: flex;
  265. justify-content: center;
  266. align-items: center;
  267. font-size: 28rpx;
  268. font-style: normal;
  269. font-weight: 400;
  270. line-height: normal;
  271. }
  272. .register-btn{
  273. width: 300rpx;
  274. height: 100rpx;
  275. border-radius: 60rpx;
  276. background: #000;
  277. color: #ffffff;
  278. display: flex;
  279. justify-content: center;
  280. align-items: center;
  281. font-size: 28rpx;
  282. font-style: normal;
  283. font-weight: 400;
  284. line-height: normal;
  285. }
  286. </style>