teachingDetail.vue 7.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315
  1. <template>
  2. <!-- 教研室详情 -->
  3. <view class="teachingDetail">
  4. <statusBar :item="navbar"></statusBar>
  5. <!-- 顶部 -->
  6. <view class="backPic">
  7. <image src="http://43.139.158.220:5007/img/static/yym/Rectangle 40.png" mode="aspectFill"></image>
  8. <view class="card">
  9. <view class="cardTop">
  10. <view class="title three-font">创业者管理能力训练基础</view>
  11. <view class="icons">
  12. <view class="icon">
  13. <image src="http://43.139.158.220:5007/img/static/yym/Star 1 (Stroke) (2).png" style="width: 42rpx;height: 40rpx;" mode="aspectFill"></image>
  14. </view>
  15. <view class="icon">
  16. <image src="http://43.139.158.220:5007/img/static/yym/Vector (Stroke) (1).png" style="width: 38rpx;height: 42rpx;" mode="aspectFill"></image>
  17. </view>
  18. </view>
  19. </view>
  20. <view class="col fz-font">
  21. 成立日期:2023.5.12
  22. </view>
  23. <view class="col fz-font">
  24. 人数:7679人
  25. </view>
  26. <view class="tag col">
  27. <view class="fz-font">教研标签:</view>
  28. <view class="" style="display: flex;">
  29. <view class="bqZ-font" style="color: #00b2b6; border: 1px #00b2b6 solid;padding: 2rpx 10rpx;border-radius: 5rpx;font-weight: 600;">
  30. 类型标签
  31. </view>
  32. </view>
  33. </view>
  34. </view>
  35. </view>
  36. <!-- 两个大资料文件 -->
  37. <view class="teaData">
  38. <view class="cla">
  39. <view class="tit1 three-font">课程资料</view>
  40. <view class="tit2 fz-font">教研室专属课程</view>
  41. </view>
  42. <view class="cla2">
  43. <view class="tit1 titColor three-font">资源文件</view>
  44. <view class="tit2 titColor fz-font">教研室专属资源</view>
  45. </view>
  46. </view>
  47. <!-- 教研室详情 -->
  48. <view class="" style="padding: 0 30rpx;">
  49. <detailBlock :item="judge"></detailBlock>
  50. </view>
  51. <!-- 创建者用户名 -->
  52. <view style="padding: 0 30rpx;">
  53. <view class="creator">
  54. <image src="https://file.icve.com.cn/file_doc_public/950/667/EDAA6EB078AC9BB59B9635A1823CE552.jpg" mode="aspectFill"></image>
  55. <view class="creName btn-font">
  56. 李芳
  57. </view>
  58. </view>
  59. </view>
  60. <!-- 当前成员 -->
  61. <view style="padding: 0 30rpx;">
  62. <view class="member">
  63. <view class="memberTop">
  64. <view class="btn-font" >当前成员</view>
  65. <view class="fz-font" style="color: rgba(0, 0, 0, 0.4);display: flex;align-items: center;" @click="gotoMorePer">
  66. <text>查看更多</text>
  67. <image src="http://43.139.158.220:5007/img/static/mine/arrow-right.png" style="width: 32rpx;height: 32rpx;" mode="aspectFill"></image>
  68. <!-- <uni-icons type="right"></uni-icons> -->
  69. </view>
  70. </view>
  71. <view class="pers">
  72. <view class="per" v-for="i in perNum">
  73. <image :src="i.img"></image>
  74. <view class="perName fz-font">
  75. {{i.Name}}
  76. </view>
  77. </view>
  78. </view>
  79. </view>
  80. </view>
  81. <!-- 申请加入 -->
  82. <view class="btnBlock">
  83. <button class="btn zw-font" @click="applyAdd">申请加入</button>
  84. </view>
  85. </view>
  86. </template>
  87. <script>
  88. export default {
  89. data() {
  90. return {
  91. navbar:{
  92. title:'教研室详情',
  93. btn:1
  94. },
  95. perNum:[
  96. {Name:'金晶',img:'http://43.139.158.220:5007/img/static/yym/Ellipse 4 (1).png'},
  97. {Name:'朱心艺',img:'http://43.139.158.220:5007/img/static/yym/Ellipse 4 (2).png'},
  98. {Name:'李红',img:'http://43.139.158.220:5007/img/static/yym/Ellipse 4 (3).png'},
  99. {Name:'杨婉',img:'http://43.139.158.220:5007/img/static/yym/Ellipse 4 (4).png'},
  100. {Name:'郑元雄',img:'http://43.139.158.220:5007/img/static/yym/Ellipse 4.png'},
  101. {Name:'罗佳诚',img:'http://43.139.158.220:5007/img/static/yym/Ellipse 4 (3).png'}
  102. ],
  103. judge: {
  104. isShow: 0,
  105. info:"《创业者管理能力训练基础》通过管理学、营销学、财税理论、创业基础知识及创业操作实务的提炼,以专题化的形式面向高职类所有专业的学生。本课程一共有三大部分、七个专题。分别为:第一部分,一般管理者能力训练基础,四个专题,即自我管理能力训练、团队管理能力训练、社会关系管理能力训练与团队建设能力训练。第二部分,创业者重要能力的领悟与训练,二个专题,即成功创业者的智力要素、成功创业者商务能力的领悟与训练"
  106. }
  107. };
  108. },
  109. methods:{
  110. gotoMorePer(){
  111. uni.navigateTo({
  112. url:'/pages/dy/dy'
  113. })
  114. },
  115. applyAdd(){
  116. uni.navigateTo({
  117. url:'/pages/jys/jys'
  118. })
  119. }
  120. }
  121. }
  122. </script>
  123. <style lang="scss">
  124. .teachingDetail{
  125. padding-bottom: 80px;
  126. .backPic{
  127. width: 750rpx;
  128. position: relative;
  129. image{
  130. width: 100%;
  131. display: block;
  132. }
  133. .card{
  134. position: absolute;
  135. width: 690rpx;
  136. height: 256rpx;
  137. bottom: 10px;
  138. left: 50%;
  139. padding: 30rpx;
  140. background-color: rgba(0, 0, 0, 0.26);
  141. border-radius: 10px;
  142. transform: translate(-50%,0);
  143. border: 1rpx #667870 solid;
  144. color: #ffffff;
  145. // display: flex;
  146. // flex-direction: column;
  147. // justify-content: space-between;
  148. .cardTop{
  149. display: flex;
  150. justify-content: space-between;
  151. .title{
  152. // padding-bottom: 20rpx;
  153. margin-bottom: 20rpx;
  154. width: 506rpx;
  155. height: 48rpx;
  156. color: #ffffff;
  157. font-family: PingFang SC;
  158. // font-weight: 550;
  159. overflow: hidden;
  160. text-overflow:ellipsis;
  161. white-space: nowrap;
  162. }
  163. .icons{
  164. flex: 1;
  165. display: flex;
  166. align-items: center;
  167. justify-content: space-between;
  168. .icon{
  169. width: 48rpx;
  170. height: 48rpx;
  171. display: flex;
  172. align-items: center;
  173. justify-content: center;
  174. }
  175. }
  176. }
  177. .col{
  178. margin-bottom: 10rpx;
  179. font-weight: 100;
  180. color: #f0edea;
  181. // font-size: 30rpx;
  182. }
  183. .tag{
  184. display: flex;
  185. }
  186. }
  187. // background-image: url(http://43.139.158.220:5007/img/static/resource/jqr.png);
  188. }
  189. .teaData{
  190. width: 750rpx;
  191. display: flex;
  192. padding:20rpx 30rpx;
  193. justify-content: space-between;
  194. // padding: 20px 0;
  195. .cla{
  196. width: 49%;
  197. background: linear-gradient(to bottom , #fcfcff 30%, #e8ecfd 100%);
  198. border-radius: 10px;
  199. padding: 35rpx 30rpx;
  200. color: #424f85;
  201. .tit1{
  202. // font-size: 38rpx;
  203. margin-bottom: 10rpx;
  204. font-weight: bold;
  205. }
  206. .tit2{
  207. // font-size: 22px;
  208. // font-size: 30rpx;
  209. // margin-bottom: 5px;
  210. }
  211. }
  212. .cla2{
  213. width: 45%;
  214. background: linear-gradient(to bottom , #fcfcff 10%, #fef3ea 100%);
  215. border-radius: 10px;
  216. padding: 35rpx 30rpx;
  217. color: #855e42;
  218. .tit1{
  219. // font-size: 38rpx;
  220. margin-bottom: 10rpx;
  221. font-weight: bold;
  222. }
  223. .tit2{
  224. // font-size: 22px;
  225. // margin-bottom: 5px;
  226. // font-size: 30rpx;
  227. }
  228. }
  229. }
  230. .creator{
  231. display: flex;
  232. padding: 30rpx;
  233. background-color: #ffffff;
  234. align-items: center;
  235. margin-top: 20rpx;
  236. border-radius: 10px;
  237. image{
  238. width: 96rpx;
  239. height: 96rpx;
  240. border-radius: 50%;
  241. margin-right: 20rpx;
  242. }
  243. .creName{
  244. font-weight: bold;
  245. }
  246. }
  247. .member{
  248. background-color: #ffffff;
  249. margin-top: 20rpx;
  250. padding: 30rpx;
  251. border-radius: 10px;
  252. margin-bottom: 30rpx;
  253. .memberTop{
  254. display: flex;
  255. justify-content: space-between;
  256. margin-bottom: 10px;
  257. }
  258. .pers{
  259. display: flex;
  260. justify-content: space-between;
  261. align-items: center;
  262. .per{
  263. display: flex;
  264. flex-direction: column;
  265. image{
  266. width: 72rpx;
  267. height: 72rpx;
  268. border-radius: 50%;
  269. }
  270. .perName{
  271. // font-size: 14px;
  272. text-align: center;
  273. }
  274. }
  275. }
  276. }
  277. .btnBlock{
  278. position: fixed;
  279. bottom: 0;
  280. width: 750rpx;
  281. background-color: #ffffff;
  282. // padding: 20px 0;
  283. padding: 2vh 0;
  284. .btn{
  285. width: 432rpx;
  286. height: 88rpx;
  287. font-weight: 500;
  288. display: flex;
  289. justify-content: center;
  290. align-items: center;
  291. margin: auto;
  292. background-color: #0056a8;
  293. color: #ffffff;
  294. }
  295. }
  296. }
  297. </style>