mirror of
http://git.coreshop.cn/jianweie/coreshoppro.git
synced 2025-12-06 19:53:27 +08:00
Merge branch 'dev' into 'master'
uniapp【新增】: 头部返回增加返回首页icon See merge request jianweie/coreshoppro!59
This commit is contained in:
@@ -5,6 +5,8 @@
|
||||
<view class="page-back">
|
||||
<image v-if="props.isBack" @click="hanlderBack" class="back"
|
||||
:src="handleStaticResources('/static/images/back.png')"></image>
|
||||
<image v-if="props.isBack" @click="handleRouteSwitchTab(RouteSwitchTabEnum.home)" class="back"
|
||||
:src="handleStaticResources('/static/images/back-home.png')"></image>
|
||||
<text class="name" v-if="props.mode === 'left'"
|
||||
:style="{ 'color': props.titleColor }">{{ props.title }}</text>
|
||||
</view>
|
||||
@@ -18,7 +20,9 @@
|
||||
|
||||
<script setup lang="ts">
|
||||
import { useSystemInfo } from '@/core/hooks';
|
||||
import { handleStaticResources } from '@/core/utils';
|
||||
import { handleStaticResources, handleRouteSwitchTab } from '@/core/utils';
|
||||
import { RouteSwitchTabEnum } from '@/core/enum';
|
||||
|
||||
const { menuButtonHeight } = useSystemInfo();
|
||||
|
||||
const props = withDefaults(defineProps<{
|
||||
|
||||
BIN
CoreCms.Net.Uni-App/CoreShop/static/images/back-home.png
Normal file
BIN
CoreCms.Net.Uni-App/CoreShop/static/images/back-home.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.5 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 691 B After Width: | Height: | Size: 932 B |
Reference in New Issue
Block a user