微信合规调整

This commit is contained in:
kron
2026-01-05 09:23:26 +08:00
parent 9f7523839d
commit fd026efc85
6 changed files with 11 additions and 12 deletions

View File

@@ -167,12 +167,7 @@ onShow(() => {
</view>
<SButton :rounded="20" width="80vw" :onClick="handleLogin">
<block v-if="!loading">
<image
:src="`../static/wechat-icon${noBg ? '' : '-black'}.png`"
mode="widthFix"
class="wechat-icon"
/>
<text :style="{ color: '#000' }">登录/注册</text>
<text :style="{ color: '#000' }">手机号快捷登录</text>
</block>
<block v-else>
<image

View File

@@ -36,6 +36,7 @@ const toRankListPage = () => {
url: "/pages/rank-list",
});
};
watch(
() => [config.value, user.value],
([n_config, n_user]) => {
@@ -111,11 +112,11 @@ watch(
</view>
</block>
<block v-else>
<view class="signin">
<view class="signin" @click="onSignin">
<image src="../static/user-icon.png" mode="widthFix" />
<view @click="() => (showModal = true)">
<view>
<text>新来的弓箭手你好呀~</text>
<view @click="onSignin">
<view>
<text>登录</text>
<image src="../static/enter-arrow-blue.png" mode="widthFix" />
</view>

View File

@@ -164,7 +164,7 @@ onShareTimeline(() => {
/>
<image
v-else
src="https://static.shelingxingqiu.com/attachment/2025-12-31/dfc2em8qkf2wkls5fm.png"
src="https://static.shelingxingqiu.com/attachment/2026-01-04/dffohwtk1gwh0xfa6h.png"
mode="widthFix"
@click="() => toPage('/pages/my-device')"
/>
@@ -306,6 +306,8 @@ onShareTimeline(() => {
.bow-card {
width: 50%;
border-radius: 25rpx;
overflow: hidden;
}
.feature-grid > view > image {
@@ -314,7 +316,7 @@ onShareTimeline(() => {
.bow-card > text {
position: absolute;
top: 65%;
top: 66%;
left: 50%;
transform: translate(-50%, -50%);
white-space: nowrap;
@@ -507,6 +509,7 @@ onShareTimeline(() => {
justify-content: center;
width: 100%;
height: 60px;
z-index: -1;
}
.top-theme > image {
width: 300rpx;

Binary file not shown.

Before

Width:  |  Height:  |  Size: 713 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

View File

@@ -830,7 +830,6 @@ export const wxLogin = () => {
export const canEenter = (user, device, online, page = "") => {
const { miniProgram } = uni.getAccountInfoSync();
if (miniProgram.envVersion !== "release") return true;
if (!device.deviceId) {
uni.showToast({
title: "请先绑定设备",
@@ -838,6 +837,7 @@ export const canEenter = (user, device, online, page = "") => {
});
return false;
}
if (miniProgram.envVersion !== "release") return true;
if (!online) {
uni.showToast({
title: "智能弓未连接",