alumni_style.vue 5.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236
  1. <template>
  2. <view class="alumni_style">
  3. <image :src="introduction.cover_resource?introduction.cover_resource.url:''" mode=""></image>
  4. <view class="title">
  5. {{introduction.title}}
  6. </view>
  7. <view class="introduction">
  8. <view class="text">{{introduction.name}}简介
  9. <text class="shadow">INTRODUCTION</text>
  10. </view>
  11. <view class="line">
  12. </view>
  13. </view>
  14. <view class="introduction_text">
  15. <text class="name">{{introduction.name}}简介</text>
  16. <view class="content">
  17. {{introduction.short_description}}
  18. </view>
  19. </view>
  20. <view class="honour" v-if="false">
  21. <view class="titles">"科学探索奖"介绍
  22. <text class="shadow">INTRODUCTION</text>
  23. </view>
  24. <view class="short">
  25. 肖晓波校友入选“全球36位35岁以下创新者下创新者”2019年度青年学者,荣获“科学探索奖”2020年再次荣获全兴学者。
  26. </view>
  27. <view class="content_text">
  28. <text class="honour_title">科学探索奖介绍</text>
  29. <view class="content">
  30. 肖晓波校友入选“全球36位35岁以下创新者下创新者”2019年度青年学者,荣获“科学探索奖”2020年再次荣获全兴学者
  31. </view>
  32. </view>
  33. </view>
  34. <view class="tel_wrap">
  35. <view class="title">
  36. 联系方式
  37. </view>
  38. <view class="tel">
  39. <text>联系电话:{{introduction.tel}}</text>
  40. <text>联系QQ号:{{introduction.qq}}</text>
  41. <text>联系邮箱:{{introduction.email}}</text>
  42. </view>
  43. </view>
  44. </view>
  45. </template>
  46. <script>
  47. export default{
  48. data(){
  49. return{
  50. introduction:{
  51. title:"肖晓波校友入选“全球36位35岁以下创新者下创新者”2019年度青年学者,荣获“科学探索奖”2020年再次荣获全兴学者",
  52. intro:"班级总人数88人班级总人数88人班级总人数88 人班级总班级总人数88人班级总人数88人班级 总人数88人班级总班级总人数88人班级总人数 88人班级总人数88人班级总班级总人数88人班 级总人数88人班级总人数88人班级总班级总人数88人班 级总人数88人班级总",
  53. name:'肖晓波教授',
  54. tel:'1234567899',
  55. qq:'12358475986',
  56. email:'5748945@123.com'
  57. }
  58. }
  59. },
  60. onLoad(option) {
  61. console.log(option.id,'id')
  62. this.get_content(option.id)
  63. },
  64. methods:{
  65. get_content(id){
  66. let params = {
  67. title:'',
  68. organization_id:'',
  69. category_id:2,
  70. id:id
  71. }
  72. this.$u.get('/page/news',params).then(res=>{
  73. console.log(res,'content')
  74. // this.introduction = res.data.data[0]
  75. })
  76. }
  77. }
  78. }
  79. </script>
  80. <style lang="scss" scoped>
  81. .alumni_style{
  82. image{
  83. width: 100%;
  84. height: 198px;
  85. }
  86. .title{
  87. padding: 20px 16px ;
  88. font-size: 17px;
  89. font-family: Graphit;
  90. font-weight: 500;
  91. line-height: 20px;
  92. color: #282828;
  93. }
  94. .introduction{
  95. padding: 0 0 0 16px;
  96. .text{
  97. display: inline-block;
  98. font-size: 17px;
  99. font-family: PingFang HK;
  100. font-weight: 500;
  101. line-height: 20px;
  102. color: #282828;
  103. position: relative;
  104. }
  105. .shadow {
  106. display: block;
  107. position: absolute;
  108. width: 28px;
  109. height: 17px;
  110. font-size: 12px;
  111. font-family: PingFang SC;
  112. font-weight: bold;
  113. line-height: 20px;
  114. color: #84705E;
  115. opacity: 0.24;
  116. bottom: -5px;
  117. left: 14px;
  118. }
  119. .line{
  120. width: 231px;
  121. height: 14px;
  122. background: #EEEEEE;
  123. margin-left: 9px;
  124. display: inline-block;
  125. }
  126. }
  127. .introduction_text{
  128. margin: 17px 16px 0;
  129. background: #EEEEEE;
  130. opacity: 1;
  131. border-radius: 14px;
  132. .name{
  133. display: block;
  134. font-size: 16px;
  135. font-family: PingFang HK;
  136. font-weight: 500;
  137. line-height: 20px;
  138. color: #282828;
  139. padding: 24px 0 16px 24px;
  140. }
  141. .content{
  142. font-size: 14px;
  143. font-family: PingFang HK;
  144. font-weight: 400;
  145. line-height: 20px;
  146. color: #696969;
  147. padding: 0 26px 30px;
  148. }
  149. }
  150. .honour{
  151. padding: 0 16px;
  152. margin-top: 23px;
  153. .titles{
  154. font-size: 17px;
  155. font-family: PingFang HK;
  156. font-weight: 500;
  157. line-height: 20px;
  158. color: #282828;
  159. text-align: center;
  160. position: relative;
  161. }
  162. .shadow {
  163. display: block;
  164. position: absolute;
  165. // padding: 0 16px;
  166. width: 100%;
  167. text-align: center;
  168. height: 17px;
  169. font-size: 12px;
  170. font-family: PingFang SC;
  171. font-weight: bold;
  172. line-height: 20px;
  173. color: #84705E;
  174. opacity: 0.24;
  175. bottom: -5px;
  176. // left: 14px;
  177. }
  178. .short{
  179. margin-top: 17px;
  180. font-size: 17px;
  181. font-family: Graphit;
  182. font-weight: 500;
  183. line-height: 20px;
  184. color: #282828;
  185. }
  186. .content_text{
  187. margin-top: 35px;
  188. background: #EEEEEE;
  189. border-radius: 14px;
  190. .honour_title{
  191. display: block;
  192. font-size: 16px;
  193. font-family: PingFang HK;
  194. font-weight: 500;
  195. line-height: 20px;
  196. color: #282828;
  197. padding: 24px 0 16px 24px;
  198. }
  199. .content{
  200. font-size: 14px;
  201. font-family: PingFang HK;
  202. font-weight: 400;
  203. line-height: 20px;
  204. color: #696969;
  205. padding: 0 26px 30px;
  206. }
  207. }
  208. }
  209. .tel_wrap{
  210. padding-bottom: 20px;
  211. .tel{
  212. margin: 0 16px;
  213. text{
  214. display: block;
  215. font-size: 14px;
  216. font-family: PingFang HK;
  217. font-weight: 400;
  218. line-height: 19px;
  219. color: #101010;
  220. opacity: 0.6;
  221. margin-bottom: 3px;
  222. }
  223. }
  224. }
  225. }
  226. </style>