teachingDetail.vue 5.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258
  1. <template>
  2. <!-- 教研室详情 -->
  3. <view class="teachingDetail">
  4. <statusBar :item="navbar"></statusBar>
  5. <!-- 顶部 -->
  6. <view class="backPic">
  7. <image src="../../static/yym/Rectangle 40.png" mode="aspectFill"></image>
  8. <view class="card">
  9. <view class="cardTop">
  10. <view class="title">xxx虚拟教室</view>
  11. <view class="">
  12. <uni-icons type="star" size="30" color="#ffffff"></uni-icons>
  13. <uni-icons type="folder-add" size="30" color="#ffffff"></uni-icons>
  14. </view>
  15. </view>
  16. <view class="col">
  17. 成立日期:2023.5.12
  18. </view>
  19. <view class="col">
  20. 人数:23
  21. </view>
  22. <view class="tag col">
  23. <view class="">教研标签:</view>
  24. <view class="">
  25. <uni-tag :inverted="true" text="标签" />
  26. </view>
  27. </view>
  28. </view>
  29. </view>
  30. <!-- 两个大资料文件 -->
  31. <view class="teaData">
  32. <view class="cla">
  33. <view class="tit1">课程资料</view>
  34. <view class="tit2">教研室专属课程</view>
  35. </view>
  36. <view class="cla2">
  37. <view class="tit1 titColor">资源文件</view>
  38. <view class="tit2 titColor">教研室专属资源</view>
  39. </view>
  40. </view>
  41. <!-- 教研室详情 -->
  42. <view class="" style="padding: 0 30rpx;">
  43. <detailBlock></detailBlock>
  44. </view>
  45. <!-- 创建者用户名 -->
  46. <view style="padding: 0 30rpx;">
  47. <view class="creator">
  48. <image src="../../static/mine/Avatar.png" mode="aspectFill"></image>
  49. <view class="creName">
  50. 创建者用户名
  51. </view>
  52. </view>
  53. </view>
  54. <!-- 当前成员 -->
  55. <view style="padding: 0 30rpx;">
  56. <view class="member">
  57. <view class="memberTop">
  58. <view class="" style="font-weight: bold;">当前成员</view>
  59. <view class="" style="color: #666666;font-size: 14px;display: flex;align-items: center;" @click="gotoMorePer">
  60. 查看更多
  61. <uni-icons type="right"></uni-icons>
  62. </view>
  63. </view>
  64. <view class="pers">
  65. <view class="per" v-for="i in 6">
  66. <image src="../../static/mine/Avatar.png" mode="aspectFill"></image>
  67. <view class="perName">
  68. 袁一鸣
  69. </view>
  70. </view>
  71. </view>
  72. </view>
  73. </view>
  74. <!-- 申请加入 -->
  75. <view class="btnBlock">
  76. <button class="btn">申请加入</button>
  77. </view>
  78. </view>
  79. </template>
  80. <script>
  81. export default {
  82. data() {
  83. return {
  84. navbar:{
  85. title:'教研室详情',
  86. btn:1
  87. }
  88. };
  89. },
  90. methods:{
  91. gotoMorePer(){
  92. uni.navigateTo({
  93. url:'/pages/dy/dy'
  94. })
  95. }
  96. }
  97. }
  98. </script>
  99. <style lang="scss">
  100. .teachingDetail{
  101. padding-bottom: 80px;
  102. .backPic{
  103. width: 750rpx;
  104. position: relative;
  105. image{
  106. width: 100%;
  107. display: block;
  108. }
  109. .card{
  110. position: absolute;
  111. width: 650rpx;
  112. height: 130px;
  113. bottom: 10px;
  114. left: 50%;
  115. // filter: blur(10px);
  116. // background-image: url('../../static/resource/jqr.png');
  117. // backdrop-filter: blur(10px) opacity(0.3); /* 调整模糊程度 */
  118. padding: 30rpx 20rpx;
  119. // background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 100%);
  120. backdrop-filter: blur(2px);
  121. border-radius: 10px;
  122. transform: translate(-50%,0);
  123. border: 1rpx #667870 solid;
  124. color: #ffffff;
  125. .cardTop{
  126. display: flex;
  127. justify-content: space-between;
  128. .title{
  129. font-weight: bold;
  130. }
  131. }
  132. .col{
  133. margin-bottom: 10rpx;
  134. }
  135. .tag{
  136. display: flex;
  137. }
  138. }
  139. // background-image: url(../../static/resource/jqr.png);
  140. }
  141. .teaData{
  142. width: 750rpx;
  143. display: flex;
  144. padding:20px 30rpx;
  145. justify-content: space-between;
  146. // padding: 20px 0;
  147. .cla{
  148. width: 49%;
  149. background: linear-gradient(to bottom , #fcfcff 30%, #e8ecfd 100%);
  150. border-radius: 10px;
  151. padding: 20px 10px;
  152. color: #424f85;
  153. .tit1{
  154. font-size: 22px;
  155. margin-bottom: 10px;
  156. font-weight: bold;
  157. }
  158. .tit2{
  159. // font-size: 22px;
  160. margin-bottom: 5px;
  161. }
  162. }
  163. .cla2{
  164. width: 45%;
  165. background: linear-gradient(to bottom , #fcfcff 10%, #fef3ea 100%);
  166. border-radius: 10px;
  167. padding: 20px 10px;
  168. color: #855e42;
  169. .tit1{
  170. font-size: 22px;
  171. margin-bottom: 10px;
  172. font-weight: bold;
  173. }
  174. .tit2{
  175. // font-size: 22px;
  176. margin-bottom: 5px;
  177. }
  178. }
  179. }
  180. .creator{
  181. display: flex;
  182. padding: 10px 30px;
  183. background-color: #ffffff;
  184. align-items: center;
  185. margin-top: 20px;
  186. border-radius: 10px;
  187. image{
  188. width: 60px;
  189. height: 60px;
  190. border-radius: 50%;
  191. margin-right: 20rpx;
  192. }
  193. .creName{
  194. font-weight: bold;
  195. }
  196. }
  197. .member{
  198. background-color: #ffffff;
  199. margin-top: 20px;
  200. padding: 10px 10px;
  201. border: 10px;
  202. border-radius: 10px;
  203. .memberTop{
  204. display: flex;
  205. justify-content: space-between;
  206. margin-bottom: 10px;
  207. }
  208. .pers{
  209. display: flex;
  210. justify-content: space-around;
  211. align-items: center;
  212. .per{
  213. display: inline-block;
  214. image{
  215. width: 40px;
  216. height: 40px;
  217. border-radius: 50%;
  218. }
  219. .perName{
  220. font-size: 14px;
  221. text-align: center;
  222. }
  223. }
  224. }
  225. }
  226. .btnBlock{
  227. position: fixed;
  228. bottom: 0;
  229. width: 750rpx;
  230. background-color: #ffffff;
  231. padding: 20px 0;
  232. .btn{
  233. width: 50%;
  234. margin: auto;
  235. background-color: #0056a8;
  236. color: #ffffff;
  237. font-size: 14px;
  238. }
  239. }
  240. }
  241. </style>