123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152 |
- <template>
- <div class="doWork">
- <div class="dw_header">
- <div class="dw_h_left">
- <img :src="require('../../../../assets/icon/pblCourse/phaseIcon.png')">
- <span>阶段2:探究</span>
- </div>
- <div class="dw_h_right">
- <span class="dw_h_r_back" @click.stop="back()"></span>
- <span class="dw_h_r_down" @click.stop="down()"></span>
- </div>
- </div>
- <div class="dw_work">
- <work/>
- </div>
- <div class="dw_bottom">
- <div class="dw_b_btn" @click.stop="submitWork()">
- <img :src="require('../../../../assets/icon/pblCourse/bookIcon.png')">
- <span>提交作业</span>
- </div>
- </div>
- </div>
- </template>
- <script>
- import work from './work'
- export default {
- components:{
- work,
- },
- methods:{
- submitWork(){
- this.$message.info("提交作业")
- },
- down(){
- this.$message.info("下一个")
- },
- back(){
- this.$message.info("上一个")
- }
- }
- }
- </script>
- <style scoped>
- .doWork{
- width: 100%;
- height: 100%;
- border-radius: 12px;
- overflow: hidden;
- background-color: white;
- }
- .dw_header{
- width: 100%;
- height: 60px;
- background-color: #FFF3EA;
- margin-bottom: 15px;
- display: flex;
- justify-content: space-between;
- align-items: center;
- box-sizing: border-box;
- padding: 0 20px;
- }
- .dw_h_left{
- display: flex;
- align-items: center;
- }
- .dw_h_left>img{
- width: 40px;
- height: 40px;
- margin-right: 10px;
- }
- .dw_h_left>span{
- font-size: 22px;
- font-weight: bold;
- }
- .dw_h_right{
- display: flex;
- align-items: center;
- }
- .dw_h_right>span{
- display: block;
- width: 30px;
- height: 30px;
- background: url("../../../../assets/icon/pblCourse/backIcon.png") no-repeat;
- background-size: 100% 100%;
- margin-right: 10px;
- margin-left: 5px;
- cursor: pointer;
- }
- .dw_h_r_down{
- transform: rotate(180deg);
- }
- .dw_work{
- width: calc(100% - 30px);
- height: calc(100% - 60px - 100px - 30px);
- box-sizing: border-box;
- margin: 0 15px;
- border-radius: 8px;
- background-color: #F3F7FD;
- }
- .dw_bottom{
- margin-top: 15px;
- width: 100%;
- height: 100px;
- display: flex;
- justify-content: center;
- align-items: center;
- box-sizing: border-box;
- padding: 0 15px 15px 15px;
- }
- .dw_b_btn{
- width: 100%;
- height: 100%;
- background-color: #F3F7FD;
- border-radius: 8px;
- display: flex;
- justify-content: center;
- align-items: center;
- transition: .3s;
- cursor: pointer;
- }
- .dw_b_btn:hover{
- background-color: #eaeef5;
- }
- .dw_b_btn>img{
- width: 50px;
- height: 50px;
- margin-right: 10px;
- cursor: pointer;
- }
- .dw_b_btn>span{
- font-size: 22px;
- background: linear-gradient(to right, #3673E8, #AD88FD);
- -webkit-background-clip: text;
- color: transparent;
- }
- </style>
|