teachingDetail.vue 5.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276
  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 three-font">xxxx虚拟教研教室</view>
  11. <view class="">
  12. <uni-icons type="star" size="48rpx" color="#ffffff" style="margin-right: 20rpx;"></uni-icons>
  13. <uni-icons type="folder-add" size="48rpx" color="#ffffff"></uni-icons>
  14. </view>
  15. </view>
  16. <view class="col fz-font">
  17. 成立日期:2023.5.12
  18. </view>
  19. <view class="col fz-font">
  20. 人数:23人
  21. </view>
  22. <view class="tag col">
  23. <view class="fz-font">教研标签:</view>
  24. <view class="" style="display: flex;">
  25. <view class="bqZ-font" style="color: #00b2b6; border: 1px #00b2b6 solid;padding: 2rpx 10rpx;border-radius: 5rpx;font-weight: 600;">
  26. 类型标签
  27. </view>
  28. </view>
  29. </view>
  30. </view>
  31. </view>
  32. <!-- 两个大资料文件 -->
  33. <view class="teaData">
  34. <view class="cla">
  35. <view class="tit1 three-font">课程资料</view>
  36. <view class="tit2 fz-font">教研室专属课程</view>
  37. </view>
  38. <view class="cla2">
  39. <view class="tit1 titColor three-font">资源文件</view>
  40. <view class="tit2 titColor fz-font">教研室专属资源</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 btn-font">
  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="btn-font" >当前成员</view>
  61. <view class="fz-font" style="color: #666666;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 fz-font">
  70. 袁一鸣
  71. </view>
  72. </view>
  73. </view>
  74. </view>
  75. </view>
  76. <!-- 申请加入 -->
  77. <view class="btnBlock">
  78. <button class="btn zw-font" @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: 256rpx;
  121. bottom: 10px;
  122. left: 50%;
  123. padding: 30rpx 20rpx;
  124. backdrop-filter: blur(2px);
  125. border-radius: 10px;
  126. transform: translate(-50%,0);
  127. border: 1rpx #667870 solid;
  128. color: #ffffff;
  129. // background-color: #34453f;
  130. .cardTop{
  131. display: flex;
  132. justify-content: space-between;
  133. .title{
  134. // font-weight: 500;
  135. padding-bottom: 20rpx;
  136. color: #ffffff;
  137. // font-size: 35rpx;
  138. }
  139. }
  140. .col{
  141. margin-bottom: 10rpx;
  142. font-weight: 100;
  143. // font-size: 30rpx;
  144. }
  145. .tag{
  146. display: flex;
  147. }
  148. }
  149. // background-image: url(../../static/resource/jqr.png);
  150. }
  151. .teaData{
  152. width: 750rpx;
  153. display: flex;
  154. padding:20px 30rpx;
  155. justify-content: space-between;
  156. // padding: 20px 0;
  157. .cla{
  158. width: 49%;
  159. background: linear-gradient(to bottom , #fcfcff 30%, #e8ecfd 100%);
  160. border-radius: 10px;
  161. padding: 35rpx 30rpx;
  162. color: #424f85;
  163. .tit1{
  164. // font-size: 38rpx;
  165. margin-bottom: 10rpx;
  166. font-weight: bold;
  167. }
  168. .tit2{
  169. // font-size: 22px;
  170. // font-size: 30rpx;
  171. // margin-bottom: 5px;
  172. }
  173. }
  174. .cla2{
  175. width: 45%;
  176. background: linear-gradient(to bottom , #fcfcff 10%, #fef3ea 100%);
  177. border-radius: 10px;
  178. padding: 35rpx 30rpx;
  179. color: #855e42;
  180. .tit1{
  181. // font-size: 38rpx;
  182. margin-bottom: 10rpx;
  183. font-weight: bold;
  184. }
  185. .tit2{
  186. // font-size: 22px;
  187. // margin-bottom: 5px;
  188. // font-size: 30rpx;
  189. }
  190. }
  191. }
  192. .creator{
  193. display: flex;
  194. padding: 10px 30px;
  195. background-color: #ffffff;
  196. align-items: center;
  197. margin-top: 20px;
  198. border-radius: 10px;
  199. image{
  200. width: 96rpx;
  201. height: 96rpx;
  202. border-radius: 50%;
  203. margin-right: 20rpx;
  204. }
  205. .creName{
  206. font-weight: bold;
  207. }
  208. }
  209. .member{
  210. background-color: #ffffff;
  211. margin-top: 20px;
  212. padding: 10px 10px;
  213. border: 10px;
  214. border-radius: 10px;
  215. .memberTop{
  216. display: flex;
  217. justify-content: space-between;
  218. margin-bottom: 10px;
  219. }
  220. .pers{
  221. display: flex;
  222. justify-content: space-around;
  223. align-items: center;
  224. .per{
  225. display: flex;
  226. flex-direction: column;
  227. image{
  228. width: 72rpx;
  229. height: 72rpx;
  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: 432rpx;
  248. height: 88rpx;
  249. font-weight: 500;
  250. display: flex;
  251. justify-content: center;
  252. align-items: center;
  253. margin: auto;
  254. background-color: #0056a8;
  255. color: #ffffff;
  256. }
  257. }
  258. }
  259. </style>