teachingDetail.vue 5.5 KB

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