home-brief.vue 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103
  1. <template>
  2. <view class="container">
  3. <view class="briefContent">
  4. <view class="briefContent_info">
  5. <view class="briefContent_info_title">
  6. 智能助理
  7. </view>
  8. <view class="briefContent_info_content">
  9. 基于人工智能技术开发而成的个人助手,能够极大地提高办公和生活效率为用户节省处理事务的时间和精力。无论是在工作还是日常生活中,智能助理都可以帮助用户提高处理信息的速度,更快地完成工作和安排,打造更加便捷、高效的生活。通过智能学习和精准分析,智能助理还可以了解用户的喜好和习惯,为用户提供个性化的服务和建议,让用户的使用更加舒适和无忧。
  10. </view>
  11. <view class="briefContent_button" @click="clickToTiyan">
  12. 立即体验 →
  13. </view>
  14. </view>
  15. <view class="briefContent_robotImg">
  16. <image src="/static/home//home_robot.png" mode="aspectFit"></image>
  17. </view>
  18. </view>
  19. </view>
  20. </template>
  21. <script>
  22. export default {
  23. data() {
  24. return {
  25. }
  26. },
  27. methods: {
  28. clickToTiyan() {
  29. if(this.tools.is_login_gotoLogin(this.config.page_index.ai_chat) == true) {
  30. uni.$emit(this.config.notification.switch_page_index, this.config.page_index.ai_chat)
  31. }
  32. // if(this.tools.is_login()) {
  33. // uni.$emit(this.config.notification.switch_page_index, this.config.page_index.ai_chat)
  34. // } else {
  35. // uni.navigateTo({
  36. // url:'/pages/login/login' +'?login_success_goback_after_gotoAI=true'
  37. // })
  38. // }
  39. }
  40. }
  41. }
  42. </script>
  43. <style lang="scss">
  44. .container{
  45. display: flex;
  46. box-sizing: border-box;
  47. width: 100%;
  48. // background-color: red;
  49. .briefContent{
  50. display: flex;
  51. width: 100%;
  52. height: 250px;
  53. padding: 18px;
  54. align-items: center;
  55. justify-content: space-between;
  56. background-color: #2A2832;
  57. .briefContent_info{
  58. position: relative;
  59. width: 100%;
  60. height: 100%;
  61. // background-color: yellow;
  62. .briefContent_info_title{
  63. font-size: 25px;
  64. font-weight: 700;
  65. color: #ffffff;
  66. }
  67. .briefContent_info_content{
  68. margin-top: 12px;
  69. font-size: 18px;
  70. font-weight: 400;
  71. height: 125px;
  72. line-height: 30px;
  73. color: #ffffff;
  74. overflow: hidden;
  75. text-overflow: ellipsis;
  76. }
  77. .briefContent_button{
  78. position: absolute;
  79. margin-top: 25px;
  80. left: 40%;
  81. display: flex;
  82. width: 170px;
  83. height: 45px;
  84. border-radius: 8px;
  85. font-size: 20px;
  86. color: #ffffff;
  87. background: linear-gradient(to right, #1BC8C8, #D4F906);
  88. justify-content: center;
  89. align-items: center;
  90. }
  91. }
  92. .briefContent_robotImg{
  93. margin-left: 10px;
  94. width: 440px;
  95. height: 225px;
  96. }
  97. }
  98. }
  99. </style>