introduction.vue 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106
  1. <template>
  2. <view class="common">
  3. <view class="body">
  4. <view class="top-class"></view>
  5. <view class="title">
  6. <view class="logo-container">
  7. <image class="logo-text" @click="openDetail" src="https://hyscancode.oss-cn-hangzhou.aliyuncs.com/xiaochengxu/xhc/common/logo.png" />
  8. </view>
  9. <view class="title-1">
  10. <view class="title-image-2"></view>
  11. </view>
  12. </view>
  13. <view class="head">
  14. <u-row class="row-class" justify="flex-end">
  15. <u-col span="4">
  16. <image class="logo-rules-2" @click="openDetail" src="https://hyscancode.oss-cn-hangzhou.aliyuncs.com/xiaochengxu/xhc/common/rules.png" />
  17. </u-col>
  18. </u-row>
  19. </view>
  20. <view class="content-2">
  21. <view class="content-title">
  22. 公司简介
  23. </view>
  24. <view class="content_text">
  25. <view class="js-content">
  26. </view>
  27. </view>
  28. </view>
  29. <view class="return_view">
  30. <view class="return-button" @click="goBack()">返回</view>
  31. </view>
  32. </view>
  33. </view>
  34. </template>
  35. <script>
  36. export default {
  37. data() {
  38. return {
  39. }
  40. },
  41. onLoad() {
  42. },
  43. methods: {
  44. goBack() {
  45. uni.navigateBack();
  46. },
  47. openDetail(){
  48. uni.navigateTo({
  49. url: '/pages/qilang/index/rules'
  50. });
  51. }
  52. }
  53. }
  54. </script>
  55. <style>
  56. @import url('../../../static/scss/common_xhc.css');
  57. .row-class {
  58. height: 80rpx;
  59. }
  60. .logo-rules{
  61. width: 140rpx;
  62. }
  63. .content_text{
  64. height: calc(100% - 80rpx);
  65. overflow: auto;
  66. }
  67. .content {
  68. height: 69vh;
  69. border-radius: 10rpx;
  70. padding: 10rpx 24rpx;
  71. overflow: auto;
  72. align-items: center;
  73. justify-content: center;
  74. border-radius: 48px;
  75. background: #FDE2B1;
  76. border: 6px solid #FB911b;
  77. margin: 10vh 40rpx 0rpx;
  78. }
  79. .js-content{
  80. background-image: url(https://hyscancode.oss-cn-hangzhou.aliyuncs.com/xiaochengxu/xhc/jieshao.png);
  81. background-size: contain;
  82. background-repeat: no-repeat;
  83. background-position: center;
  84. height: 100%;
  85. }
  86. ::v-deep .u-text__value{
  87. text-indent: 2em !important; /* 首行缩进两个汉字宽度 */
  88. }
  89. .text{
  90. color: #3D3D3D;font-size: 13px;text-indent: 2em;
  91. }
  92. </style>