审核被拒修改

This commit is contained in:
kron
2025-12-04 09:35:44 +08:00
parent 8cb4a26263
commit fa394bdd87
3 changed files with 17 additions and 4 deletions

View File

@@ -7,7 +7,7 @@ const props = defineProps({
}, },
height: { height: {
type: String, type: String,
default: "630rpx", default: "650rpx",
}, },
onClose: { onClose: {
type: Function, type: Function,
@@ -56,9 +56,12 @@ watch(
> >
<image <image
v-if="!noBg" v-if="!noBg"
src="https://static.shelingxingqiu.com/attachment/2025-12-03/deocxa1dgzebjc0hvo.png" src="https://static.shelingxingqiu.com/attachment/2025-12-04/dep11770wzxg6o2alo.png"
mode="widthFix" mode="widthFix"
/> />
<view class="close-btn" @click="onClose" v-if="!noBg">
<image src="../static/close-yellow.png" mode="widthFix" />
</view>
<slot></slot> <slot></slot>
</view> </view>
</view> </view>
@@ -91,4 +94,14 @@ watch(
position: absolute; position: absolute;
z-index: -1; z-index: -1;
} }
.close-btn {
display: flex;
justify-content: flex-end;
position: absolute;
right: 0;
}
.close-btn > image {
width: 40px;
height: 40px;
}
</style> </style>

View File

@@ -189,13 +189,13 @@ onShow(() => {
<text>已同意并阅读</text> <text>已同意并阅读</text>
<view <view
@click.stop="openServiceLink" @click.stop="openServiceLink"
:style="{ color: noBg ? '#333' : '#fff' }" :style="{ color: noBg ? '#333' : '#ffffff99' }"
>用户协议</view >用户协议</view
> >
<text></text> <text></text>
<view <view
@click.stop="openPrivacyLink" @click.stop="openPrivacyLink"
:style="{ color: noBg ? '#333' : '#fff' }" :style="{ color: noBg ? '#333' : '#ffffff99' }"
>隐私协议</view >隐私协议</view
> >
<text>内容</text> <text>内容</text>

BIN
src/static/close-yellow.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 283 B