From 244a169b021c4b535a2a44b229b53aa70515bcf6 Mon Sep 17 00:00:00 2001 From: Tomas <tomasysh@gmail.com> Date: 星期日, 31 十月 2021 20:31:16 +0800 Subject: [PATCH] update#129066 - [header] 前端畫面刻版 --- PAMapp/components/BackActionBar.vue | 40 ++++++++++++++++++++++++++++++++++++---- 1 files changed, 36 insertions(+), 4 deletions(-) diff --git a/PAMapp/components/BackActionBar.vue b/PAMapp/components/BackActionBar.vue index 84fd3ff..f527239 100644 --- a/PAMapp/components/BackActionBar.vue +++ b/PAMapp/components/BackActionBar.vue @@ -1,5 +1,37 @@ <template> - <div> - <el-button @click="$router.go(-1)">�����</el-button> - </div> -</template> \ No newline at end of file + <nav class="pam-back-action-bar"> + <a @click="$router.push('/')"> + <i class="icon-left"></i>{{ label }} + </a> + </nav> +</template> + +<script lang="ts"> +import { Vue, Component } from 'vue-property-decorator'; + +@Component +export default class UiCarousel extends Vue { + + label = 'back-action-label-text'; + +} +</script> + +<style lang="scss" scoped> +.pam-back-action-bar { + height: 53px; + border: 1px solid #CCCCCC; + display: flex; + align-items: center; + i { + font-size: 20px; + padding-right: 14px; + } + a { + cursor: pointer; + font-size: 24px; + font-weight: bold; + padding: 20px; + } +} +</style> -- Gitblit v1.8.0