微信合规调整
This commit is contained in:
@@ -167,12 +167,7 @@ onShow(() => {
|
|||||||
</view>
|
</view>
|
||||||
<SButton :rounded="20" width="80vw" :onClick="handleLogin">
|
<SButton :rounded="20" width="80vw" :onClick="handleLogin">
|
||||||
<block v-if="!loading">
|
<block v-if="!loading">
|
||||||
<image
|
<text :style="{ color: '#000' }">手机号快捷登录</text>
|
||||||
:src="`../static/wechat-icon${noBg ? '' : '-black'}.png`"
|
|
||||||
mode="widthFix"
|
|
||||||
class="wechat-icon"
|
|
||||||
/>
|
|
||||||
<text :style="{ color: '#000' }">登录/注册</text>
|
|
||||||
</block>
|
</block>
|
||||||
<block v-else>
|
<block v-else>
|
||||||
<image
|
<image
|
||||||
|
|||||||
@@ -36,6 +36,7 @@ const toRankListPage = () => {
|
|||||||
url: "/pages/rank-list",
|
url: "/pages/rank-list",
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
||||||
watch(
|
watch(
|
||||||
() => [config.value, user.value],
|
() => [config.value, user.value],
|
||||||
([n_config, n_user]) => {
|
([n_config, n_user]) => {
|
||||||
@@ -111,11 +112,11 @@ watch(
|
|||||||
</view>
|
</view>
|
||||||
</block>
|
</block>
|
||||||
<block v-else>
|
<block v-else>
|
||||||
<view class="signin">
|
<view class="signin" @click="onSignin">
|
||||||
<image src="../static/user-icon.png" mode="widthFix" />
|
<image src="../static/user-icon.png" mode="widthFix" />
|
||||||
<view @click="() => (showModal = true)">
|
<view>
|
||||||
<text>新来的弓箭手你好呀~</text>
|
<text>新来的弓箭手你好呀~</text>
|
||||||
<view @click="onSignin">
|
<view>
|
||||||
<text>登录</text>
|
<text>登录</text>
|
||||||
<image src="../static/enter-arrow-blue.png" mode="widthFix" />
|
<image src="../static/enter-arrow-blue.png" mode="widthFix" />
|
||||||
</view>
|
</view>
|
||||||
|
|||||||
@@ -164,7 +164,7 @@ onShareTimeline(() => {
|
|||||||
/>
|
/>
|
||||||
<image
|
<image
|
||||||
v-else
|
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"
|
mode="widthFix"
|
||||||
@click="() => toPage('/pages/my-device')"
|
@click="() => toPage('/pages/my-device')"
|
||||||
/>
|
/>
|
||||||
@@ -306,6 +306,8 @@ onShareTimeline(() => {
|
|||||||
|
|
||||||
.bow-card {
|
.bow-card {
|
||||||
width: 50%;
|
width: 50%;
|
||||||
|
border-radius: 25rpx;
|
||||||
|
overflow: hidden;
|
||||||
}
|
}
|
||||||
|
|
||||||
.feature-grid > view > image {
|
.feature-grid > view > image {
|
||||||
@@ -314,7 +316,7 @@ onShareTimeline(() => {
|
|||||||
|
|
||||||
.bow-card > text {
|
.bow-card > text {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: 65%;
|
top: 66%;
|
||||||
left: 50%;
|
left: 50%;
|
||||||
transform: translate(-50%, -50%);
|
transform: translate(-50%, -50%);
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
@@ -507,6 +509,7 @@ onShareTimeline(() => {
|
|||||||
justify-content: center;
|
justify-content: center;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 60px;
|
height: 60px;
|
||||||
|
z-index: -1;
|
||||||
}
|
}
|
||||||
.top-theme > image {
|
.top-theme > image {
|
||||||
width: 300rpx;
|
width: 300rpx;
|
||||||
|
|||||||
Binary file not shown.
|
Before Width: | Height: | Size: 713 B |
Binary file not shown.
|
Before Width: | Height: | Size: 1.4 KiB |
@@ -830,7 +830,6 @@ export const wxLogin = () => {
|
|||||||
|
|
||||||
export const canEenter = (user, device, online, page = "") => {
|
export const canEenter = (user, device, online, page = "") => {
|
||||||
const { miniProgram } = uni.getAccountInfoSync();
|
const { miniProgram } = uni.getAccountInfoSync();
|
||||||
if (miniProgram.envVersion !== "release") return true;
|
|
||||||
if (!device.deviceId) {
|
if (!device.deviceId) {
|
||||||
uni.showToast({
|
uni.showToast({
|
||||||
title: "请先绑定设备",
|
title: "请先绑定设备",
|
||||||
@@ -838,6 +837,7 @@ export const canEenter = (user, device, online, page = "") => {
|
|||||||
});
|
});
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
if (miniProgram.envVersion !== "release") return true;
|
||||||
if (!online) {
|
if (!online) {
|
||||||
uni.showToast({
|
uni.showToast({
|
||||||
title: "智能弓未连接",
|
title: "智能弓未连接",
|
||||||
|
|||||||
Reference in New Issue
Block a user