添加创建积分本页面

This commit is contained in:
kron
2025-07-29 10:46:37 +08:00
parent 9d6bcde9ba
commit e073f3eb0f
17 changed files with 515 additions and 10 deletions

View File

@@ -11,6 +11,10 @@ const props = defineProps({
type: Function,
default: null,
},
whiteBackArrow: {
type: Boolean,
default: true,
},
});
const onClick = () => {
@@ -46,9 +50,14 @@ onUnmounted(() => {
<template>
<view class="container" :style="{ paddingTop: isIos ? '80rpx' : '50rpx' }">
<view class="back-btn" @click="onClick">
<image src="../static/back.png" mode="widthFix" />
<image v-if="whiteBackArrow" src="../static/back.png" mode="widthFix" />
<image
v-if="!whiteBackArrow"
src="../static/back-black.png"
mode="widthFix"
/>
</view>
<view>
<view :style="{ color: whiteBackArrow ? '#fff' : '#000' }">
<block
v-if="
'-凹造型-感知距离-小试牛刀'.indexOf(title) === -1 ||
@@ -95,7 +104,6 @@ onUnmounted(() => {
height: 100rpx;
/* margin-top: var(--status-bar-height); */
padding-left: 15px;
color: #fff;
font-size: 16px;
font-weight: bold;
}
@@ -104,8 +112,8 @@ onUnmounted(() => {
align-items: center;
}
.back-btn > image {
width: 18px;
height: 18px;
width: 22px;
height: 22px;
margin-right: 10px;
}
.first-try-steps {