| | |
| | | <template> |
| | | <el-col class="shrink-col"> |
| | | <div class="click-img"> |
| | | <img src="~@/assets/image/rectangle.png" alt="" |
| | | <img |
| | | src="~@/assets/image/rectangle.png" |
| | | alt="" |
| | | style="transform:rotate(180deg)" |
| | | @click="toggleCollapse"> |
| | | @click="toggleCollapse" |
| | | /> |
| | | </div> |
| | | </el-col> |
| | | </template> |
| | |
| | | export default { |
| | | methods: { |
| | | toggleCollapse() { |
| | | this.$emit('toggleCollapse') |
| | | this.$emit("toggleCollapse"); |
| | | } |
| | | } |
| | | } |
| | | }; |
| | | </script> |
| | | |
| | | <style scoped lang="scss"> |
| | | .shrink-col { |
| | | width: 48px; |
| | | background: white; |
| | | margin: 5px 20px 5px 0; |
| | | background: #09256b; |
| | | margin: 0 12px 0 0; |
| | | box-sizing: border-box; |
| | | box-shadow: 0 2px 12px 0 #0000001a; |
| | | padding-top: 22px; |