teachingDetail.vue 5.7 KB

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