(component): update

This commit is contained in:
就眠儀式 2022-11-09 14:05:23 +08:00
parent cc7b982e92
commit c651e7f61c

View File

@ -1,7 +1,9 @@
<template> <template>
<div class="lay-page-header"> <div class="lay-page-header">
<div class="lay-page-header__left" @click="emits('back')"> <div class="lay-page-header__left" @click="emits('back')">
<slot name="backIcon"><i class="layui-icon" :class="[backIcon]"></i></slot> <slot name="backIcon"
><i class="layui-icon" :class="[backIcon]"></i
></slot>
<div class="lay-page-header__title">{{ backText }}</div> <div class="lay-page-header__title">{{ backText }}</div>
</div> </div>
<div class="lay-page-header__content"> <div class="lay-page-header__content">