teachingDetail.vue 5.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268
  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" @click="applyAdd">申请加入</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. applyAdd(){
  99. uni.navigateTo({
  100. url:'/pages/jys/jys'
  101. })
  102. }
  103. }
  104. }
  105. </script>
  106. <style lang="scss">
  107. .teachingDetail{
  108. padding-bottom: 80px;
  109. .backPic{
  110. width: 750rpx;
  111. position: relative;
  112. image{
  113. width: 100%;
  114. display: block;
  115. }
  116. .card{
  117. position: absolute;
  118. width: 650rpx;
  119. height: 130px;
  120. bottom: 10px;
  121. left: 50%;
  122. // filter: blur(10px);
  123. // background-image: url('../../static/resource/jqr.png');
  124. // backdrop-filter: blur(10px) opacity(0.3); /* 调整模糊程度 */
  125. padding: 30rpx 20rpx;
  126. // background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 100%);
  127. backdrop-filter: blur(2px);
  128. border-radius: 10px;
  129. transform: translate(-50%,0);
  130. border: 1rpx #667870 solid;
  131. color: #ffffff;
  132. .cardTop{
  133. display: flex;
  134. justify-content: space-between;
  135. .title{
  136. font-weight: bold;
  137. font-size: 20px;
  138. }
  139. }
  140. .col{
  141. margin-bottom: 10rpx;
  142. font-weight: 100;
  143. }
  144. .tag{
  145. display: flex;
  146. }
  147. }
  148. // background-image: url(../../static/resource/jqr.png);
  149. }
  150. .teaData{
  151. width: 750rpx;
  152. display: flex;
  153. padding:20px 30rpx;
  154. justify-content: space-between;
  155. // padding: 20px 0;
  156. .cla{
  157. width: 49%;
  158. background: linear-gradient(to bottom , #fcfcff 30%, #e8ecfd 100%);
  159. border-radius: 10px;
  160. padding: 20px 10px;
  161. color: #424f85;
  162. .tit1{
  163. font-size: 22px;
  164. margin-bottom: 10px;
  165. font-weight: bold;
  166. }
  167. .tit2{
  168. // font-size: 22px;
  169. margin-bottom: 5px;
  170. }
  171. }
  172. .cla2{
  173. width: 45%;
  174. background: linear-gradient(to bottom , #fcfcff 10%, #fef3ea 100%);
  175. border-radius: 10px;
  176. padding: 20px 10px;
  177. color: #855e42;
  178. .tit1{
  179. font-size: 22px;
  180. margin-bottom: 10px;
  181. font-weight: bold;
  182. }
  183. .tit2{
  184. // font-size: 22px;
  185. margin-bottom: 5px;
  186. }
  187. }
  188. }
  189. .creator{
  190. display: flex;
  191. padding: 10px 30px;
  192. background-color: #ffffff;
  193. align-items: center;
  194. margin-top: 20px;
  195. border-radius: 10px;
  196. image{
  197. width: 60px;
  198. height: 60px;
  199. border-radius: 50%;
  200. margin-right: 20rpx;
  201. }
  202. .creName{
  203. font-weight: bold;
  204. }
  205. }
  206. .member{
  207. background-color: #ffffff;
  208. margin-top: 20px;
  209. padding: 10px 10px;
  210. border: 10px;
  211. border-radius: 10px;
  212. .memberTop{
  213. display: flex;
  214. justify-content: space-between;
  215. margin-bottom: 10px;
  216. }
  217. .pers{
  218. display: flex;
  219. justify-content: space-around;
  220. align-items: center;
  221. .per{
  222. display: inline-block;
  223. image{
  224. width: 40px;
  225. height: 40px;
  226. border-radius: 50%;
  227. }
  228. .perName{
  229. font-size: 14px;
  230. text-align: center;
  231. }
  232. }
  233. }
  234. }
  235. .btnBlock{
  236. position: fixed;
  237. bottom: 0;
  238. width: 750rpx;
  239. background-color: #ffffff;
  240. // padding: 20px 0;
  241. padding: 2vh 0;
  242. .btn{
  243. width: 50%;
  244. margin: auto;
  245. background-color: #0056a8;
  246. color: #ffffff;
  247. font-size: 14px;
  248. }
  249. }
  250. }
  251. </style>