2025-04-10 11:11:46 +08:00
|
|
|
|
<script setup>
|
2025-06-12 00:24:14 +08:00
|
|
|
|
import { ref, onMounted } from "vue";
|
2025-05-01 16:17:51 +08:00
|
|
|
|
import AppFooter from "@/components/AppFooter.vue";
|
|
|
|
|
|
import AppBackground from "@/components/AppBackground.vue";
|
2025-05-01 21:38:35 +08:00
|
|
|
|
import UserHeader from "@/components/UserHeader.vue";
|
2025-06-12 00:24:14 +08:00
|
|
|
|
import SModal from "@/components/SModal.vue";
|
|
|
|
|
|
import SButton from "@/components/SButton.vue";
|
|
|
|
|
|
import { getAppConfig, getHomeData, getMyDevicesAPI, loginAPI } from "@/apis";
|
2025-05-26 16:28:13 +08:00
|
|
|
|
import useStore from "@/store";
|
2025-05-25 23:51:10 +08:00
|
|
|
|
|
|
|
|
|
|
import { storeToRefs } from "pinia";
|
2025-05-26 16:28:13 +08:00
|
|
|
|
const store = useStore();
|
2025-06-08 13:55:09 +08:00
|
|
|
|
const { updateConfig, updateUser, updateDevice } = store;
|
2025-05-25 23:51:10 +08:00
|
|
|
|
// 使用storeToRefs,用于UI里显示,保持响应性
|
2025-05-26 16:28:13 +08:00
|
|
|
|
const { user } = storeToRefs(store);
|
2025-06-12 00:24:14 +08:00
|
|
|
|
const showModal = ref(false);
|
|
|
|
|
|
const agree = ref(false);
|
2025-05-23 20:58:24 +08:00
|
|
|
|
|
2025-06-12 00:24:14 +08:00
|
|
|
|
const getDevice = async () => {
|
|
|
|
|
|
const devices = await getMyDevicesAPI();
|
|
|
|
|
|
if (devices.bindings.length) {
|
|
|
|
|
|
updateDevice(devices.bindings[0].deviceId, devices.bindings[0].deviceName);
|
2025-05-30 16:14:17 +08:00
|
|
|
|
}
|
|
|
|
|
|
};
|
2025-06-12 00:24:14 +08:00
|
|
|
|
|
|
|
|
|
|
const handleAgree = () => {
|
|
|
|
|
|
agree.value = !agree.value;
|
2025-05-23 20:58:24 +08:00
|
|
|
|
};
|
2025-06-12 00:24:14 +08:00
|
|
|
|
const handleLogin = () => {
|
|
|
|
|
|
if (!agree.value) {
|
|
|
|
|
|
return uni.showToast({
|
|
|
|
|
|
title: "请先同意协议",
|
|
|
|
|
|
icon: "none",
|
2025-05-30 16:14:17 +08:00
|
|
|
|
});
|
|
|
|
|
|
}
|
2025-06-13 16:36:18 +08:00
|
|
|
|
|
|
|
|
|
|
// 先调用wx.getUserProfile获取用户信息
|
|
|
|
|
|
wx.getUserProfile({
|
|
|
|
|
|
desc: "用于完善用户资料", // 声明获取用户个人信息后的用途
|
2025-06-12 00:24:14 +08:00
|
|
|
|
success: (res) => {
|
|
|
|
|
|
const { nickName, avatarUrl } = res.userInfo;
|
2025-06-13 16:36:18 +08:00
|
|
|
|
// 再获取登录凭证
|
2025-06-12 00:24:14 +08:00
|
|
|
|
uni.login({
|
|
|
|
|
|
provider: "weixin",
|
|
|
|
|
|
success: async (loginRes) => {
|
|
|
|
|
|
const { code } = loginRes;
|
|
|
|
|
|
const result = await loginAPI(nickName, avatarUrl, code);
|
|
|
|
|
|
updateUser({ ...result.user, nickName, avatarUrl });
|
|
|
|
|
|
await getDevice();
|
|
|
|
|
|
showModal.value = false;
|
|
|
|
|
|
},
|
|
|
|
|
|
fail: (err) => {
|
|
|
|
|
|
uni.showToast({
|
|
|
|
|
|
title: "登录失败",
|
|
|
|
|
|
icon: "none",
|
|
|
|
|
|
});
|
|
|
|
|
|
console.error("登录失败:", err);
|
|
|
|
|
|
},
|
|
|
|
|
|
});
|
|
|
|
|
|
},
|
|
|
|
|
|
fail: (err) => {
|
|
|
|
|
|
console.log("获取用户信息失败:", err);
|
2025-06-13 16:36:18 +08:00
|
|
|
|
uni.showToast({
|
|
|
|
|
|
title: "获取用户信息失败",
|
|
|
|
|
|
icon: "none",
|
|
|
|
|
|
});
|
2025-06-12 00:24:14 +08:00
|
|
|
|
},
|
2025-05-01 16:36:24 +08:00
|
|
|
|
});
|
|
|
|
|
|
};
|
2025-05-07 23:34:15 +08:00
|
|
|
|
|
2025-06-12 00:24:14 +08:00
|
|
|
|
const toPage = (path) => {
|
|
|
|
|
|
if (!user.value.id) {
|
|
|
|
|
|
showModal.value = true;
|
|
|
|
|
|
} else {
|
2025-05-30 16:14:17 +08:00
|
|
|
|
uni.navigateTo({
|
2025-06-12 00:24:14 +08:00
|
|
|
|
url: path,
|
2025-05-30 16:14:17 +08:00
|
|
|
|
});
|
|
|
|
|
|
}
|
2025-05-08 22:05:53 +08:00
|
|
|
|
};
|
2025-05-10 22:25:06 +08:00
|
|
|
|
|
2025-06-02 14:42:07 +08:00
|
|
|
|
onMounted(async () => {
|
2025-05-10 22:25:06 +08:00
|
|
|
|
try {
|
2025-05-25 23:51:10 +08:00
|
|
|
|
const config = await getAppConfig();
|
|
|
|
|
|
console.log("全局配置:", config);
|
2025-06-02 14:42:07 +08:00
|
|
|
|
updateConfig(config);
|
2025-06-05 17:43:22 +08:00
|
|
|
|
const result = await getHomeData();
|
2025-06-08 13:55:09 +08:00
|
|
|
|
if (result.user) {
|
|
|
|
|
|
updateUser(result.user);
|
2025-06-12 00:24:14 +08:00
|
|
|
|
await getDevice();
|
2025-06-08 13:55:09 +08:00
|
|
|
|
}
|
2025-06-05 17:43:22 +08:00
|
|
|
|
console.log("首页数据:", result);
|
2025-05-10 22:25:06 +08:00
|
|
|
|
} catch (error) {
|
2025-05-25 23:51:10 +08:00
|
|
|
|
console.error("获取配置失败:", error);
|
2025-05-10 22:25:06 +08:00
|
|
|
|
}
|
|
|
|
|
|
});
|
2025-04-10 11:11:46 +08:00
|
|
|
|
</script>
|
|
|
|
|
|
|
|
|
|
|
|
<template>
|
|
|
|
|
|
<view class="root-container">
|
2025-05-01 16:17:51 +08:00
|
|
|
|
<AppBackground />
|
2025-05-23 20:58:24 +08:00
|
|
|
|
<!-- 根据登录状态显示用户信息或登录按钮 -->
|
2025-05-26 16:28:13 +08:00
|
|
|
|
<block v-if="user.id">
|
|
|
|
|
|
<UserHeader :user="user" showRank />
|
2025-05-23 20:58:24 +08:00
|
|
|
|
</block>
|
|
|
|
|
|
<block v-else>
|
2025-05-31 14:17:56 +08:00
|
|
|
|
<view
|
2025-06-13 16:36:18 +08:00
|
|
|
|
@click="() => (showModal = true)"
|
2025-05-31 14:17:56 +08:00
|
|
|
|
:style="{ marginTop: '20px', paddingLeft: '10px' }"
|
|
|
|
|
|
>
|
2025-05-23 20:58:24 +08:00
|
|
|
|
<text>微信登录</text>
|
|
|
|
|
|
</view>
|
|
|
|
|
|
</block>
|
2025-05-01 16:17:51 +08:00
|
|
|
|
|
|
|
|
|
|
<view class="container">
|
|
|
|
|
|
<view class="feature-grid">
|
|
|
|
|
|
<view class="bow-card">
|
2025-05-25 23:51:10 +08:00
|
|
|
|
<image
|
|
|
|
|
|
src="../static/bow-bg.png"
|
|
|
|
|
|
mode="widthFix"
|
2025-06-12 00:24:14 +08:00
|
|
|
|
@click="() => toPage('/pages/my-device')"
|
2025-05-25 23:51:10 +08:00
|
|
|
|
/>
|
2025-05-31 14:17:56 +08:00
|
|
|
|
<text>我的弓箭</text>
|
2025-05-01 16:36:24 +08:00
|
|
|
|
<image
|
|
|
|
|
|
src="../static/a2@2x.png"
|
|
|
|
|
|
mode="widthFix"
|
2025-06-12 00:24:14 +08:00
|
|
|
|
@click="() => toPage('/pages/first-try')"
|
2025-05-01 16:36:24 +08:00
|
|
|
|
/>
|
2025-05-01 16:17:51 +08:00
|
|
|
|
</view>
|
|
|
|
|
|
|
2025-06-12 00:24:14 +08:00
|
|
|
|
<view class="practice-card" @click="() => toPage('/pages/practise')">
|
2025-05-01 16:17:51 +08:00
|
|
|
|
<image src="../static/a2@2x(1).png" mode="widthFix" />
|
|
|
|
|
|
</view>
|
|
|
|
|
|
|
2025-06-12 00:24:14 +08:00
|
|
|
|
<view class="friend-card" @click="() => toPage('/pages/friend-battle')">
|
2025-05-01 16:17:51 +08:00
|
|
|
|
<image src="../static/a3@2x.png" mode="widthFix" />
|
|
|
|
|
|
</view>
|
|
|
|
|
|
</view>
|
|
|
|
|
|
|
2025-06-12 00:24:14 +08:00
|
|
|
|
<view class="ranking-section" @click="() => toPage('/pages/ranking')">
|
2025-05-01 16:17:51 +08:00
|
|
|
|
<image src="../static/a4@2x.png" mode="widthFix" />
|
|
|
|
|
|
<view class="ranking-players">
|
|
|
|
|
|
<img src="../static/juezhanbang.png" mode="widthFix" />
|
|
|
|
|
|
<view class="player-avatars">
|
|
|
|
|
|
<view
|
|
|
|
|
|
v-for="i in 6"
|
|
|
|
|
|
:key="i"
|
|
|
|
|
|
class="player-avatar"
|
|
|
|
|
|
:style="{ zIndex: 6 - i }"
|
|
|
|
|
|
>
|
|
|
|
|
|
<image v-if="i === 1" src="../static/champ1.png" />
|
|
|
|
|
|
<image v-if="i === 2" src="../static/champ2.png" />
|
|
|
|
|
|
<image v-if="i === 3" src="../static/champ3.png" />
|
|
|
|
|
|
<view v-if="i > 3">{{ i }}</view>
|
|
|
|
|
|
<image src="../static/avatar.png" mode="aspectFill" />
|
|
|
|
|
|
</view>
|
|
|
|
|
|
<view class="more-players">4563</view>
|
|
|
|
|
|
</view>
|
|
|
|
|
|
</view>
|
|
|
|
|
|
<view class="region-stats">
|
|
|
|
|
|
<view
|
|
|
|
|
|
v-for="(region, index) in ['广东', '湖南', '内蒙', '海南', '四川']"
|
|
|
|
|
|
:key="index"
|
|
|
|
|
|
class="region-item"
|
|
|
|
|
|
>
|
|
|
|
|
|
<image src="../static/region-bg.png" mode="widthFix" />
|
|
|
|
|
|
<image
|
|
|
|
|
|
v-if="index === 0"
|
|
|
|
|
|
src="../static/region-1.png"
|
|
|
|
|
|
mode="widthFix"
|
|
|
|
|
|
/>
|
|
|
|
|
|
<image
|
|
|
|
|
|
v-if="index === 1"
|
|
|
|
|
|
src="../static/region-2.png"
|
|
|
|
|
|
mode="widthFix"
|
|
|
|
|
|
/>
|
|
|
|
|
|
<image
|
|
|
|
|
|
v-if="index === 2"
|
|
|
|
|
|
src="../static/region-3.png"
|
|
|
|
|
|
mode="widthFix"
|
|
|
|
|
|
/>
|
|
|
|
|
|
<image
|
|
|
|
|
|
v-if="index === 3"
|
|
|
|
|
|
src="../static/region-4.png"
|
|
|
|
|
|
mode="widthFix"
|
|
|
|
|
|
/>
|
|
|
|
|
|
<image
|
|
|
|
|
|
v-if="index === 4"
|
|
|
|
|
|
src="../static/region-5.png"
|
|
|
|
|
|
mode="widthFix"
|
|
|
|
|
|
/>
|
|
|
|
|
|
<text>{{ region }}</text>
|
|
|
|
|
|
<view>
|
|
|
|
|
|
<text :style="{ color: '#fff', marginRight: '2px' }">2323</text>
|
|
|
|
|
|
<text>分</text>
|
|
|
|
|
|
</view>
|
|
|
|
|
|
</view>
|
|
|
|
|
|
<view class="region-more">
|
|
|
|
|
|
<image src="../static/region-more.png" mode="widthFix" />
|
|
|
|
|
|
<text>...</text>
|
|
|
|
|
|
<text>更多</text>
|
|
|
|
|
|
</view>
|
|
|
|
|
|
</view>
|
|
|
|
|
|
</view>
|
|
|
|
|
|
</view>
|
2025-04-10 11:11:46 +08:00
|
|
|
|
<AppFooter />
|
2025-06-12 00:24:14 +08:00
|
|
|
|
<SModal :show="showModal" :onClose="() => (showModal = false)">
|
|
|
|
|
|
<view class="signin">
|
|
|
|
|
|
<SButton :rounded="20" width="80vw" :onClick="handleLogin">
|
|
|
|
|
|
<image
|
|
|
|
|
|
src="../static/wechat-icon.png"
|
|
|
|
|
|
mode="widthFix"
|
|
|
|
|
|
class="wechat-icon"
|
|
|
|
|
|
/>
|
|
|
|
|
|
<text :style="{ color: '#000' }">登录/注册</text>
|
|
|
|
|
|
</SButton>
|
|
|
|
|
|
<view class="protocol" @click="handleAgree">
|
|
|
|
|
|
<view v-if="!agree" />
|
|
|
|
|
|
<image v-if="agree" src="../static/checked.png" mode="widthFix" />
|
|
|
|
|
|
<text
|
|
|
|
|
|
>已同意并阅读<text :style="{ color: '#fff' }">《用户协议》</text
|
|
|
|
|
|
>及<text :style="{ color: '#fff' }">《隐私协议》</text>内容</text
|
|
|
|
|
|
>
|
|
|
|
|
|
</view>
|
|
|
|
|
|
</view>
|
|
|
|
|
|
</SModal>
|
2025-04-10 11:11:46 +08:00
|
|
|
|
</view>
|
|
|
|
|
|
</template>
|
|
|
|
|
|
|
|
|
|
|
|
<style scoped>
|
|
|
|
|
|
.root-container {
|
2025-05-01 21:38:35 +08:00
|
|
|
|
height: calc(100vh - 45px);
|
2025-05-01 16:17:51 +08:00
|
|
|
|
color: white;
|
|
|
|
|
|
position: relative;
|
2025-05-01 21:38:35 +08:00
|
|
|
|
padding-top: 45px;
|
2025-05-01 16:17:51 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.container {
|
|
|
|
|
|
height: calc(100vh - 220px);
|
2025-05-31 14:17:56 +08:00
|
|
|
|
padding: 15px 10px;
|
2025-05-01 16:17:51 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.feature-grid {
|
|
|
|
|
|
display: grid;
|
|
|
|
|
|
grid-template-columns: 1fr 1fr;
|
|
|
|
|
|
grid-template-areas: "bow practice" "bow friend";
|
|
|
|
|
|
row-gap: 5px;
|
|
|
|
|
|
column-gap: 10px;
|
|
|
|
|
|
margin-bottom: 10px;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.bow-card {
|
|
|
|
|
|
grid-area: bow;
|
|
|
|
|
|
position: relative;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.feature-grid > view > image {
|
|
|
|
|
|
width: 100%;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.bow-card > text {
|
|
|
|
|
|
position: absolute;
|
2025-05-23 20:58:24 +08:00
|
|
|
|
top: 67%;
|
2025-05-01 16:17:51 +08:00
|
|
|
|
left: 50%;
|
|
|
|
|
|
transform: translate(-50%, -50%);
|
|
|
|
|
|
font-size: 13px;
|
|
|
|
|
|
color: #b3b3b3;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.bow-card > image:first-child {
|
2025-05-23 20:58:24 +08:00
|
|
|
|
transform: scaleY(1.08) translateY(9px);
|
2025-05-01 16:17:51 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.bow-card > image:last-child {
|
2025-05-23 20:58:24 +08:00
|
|
|
|
transform: translateY(12px);
|
2025-05-01 16:17:51 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.practice-card {
|
|
|
|
|
|
grid-area: practice;
|
|
|
|
|
|
width: 100%;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.friend-card {
|
|
|
|
|
|
grid-area: friend;
|
|
|
|
|
|
width: 100%;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.ranking-section {
|
|
|
|
|
|
border-radius: 15px;
|
|
|
|
|
|
padding: 15px;
|
|
|
|
|
|
position: relative;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.ranking-section > image {
|
|
|
|
|
|
position: absolute;
|
|
|
|
|
|
top: 0;
|
|
|
|
|
|
left: 0;
|
|
|
|
|
|
width: 100%;
|
|
|
|
|
|
z-index: -1;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.ranking-players {
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
align-items: center;
|
|
|
|
|
|
padding-bottom: 20px;
|
2025-05-23 20:58:24 +08:00
|
|
|
|
margin-top: 42%;
|
2025-05-01 16:17:51 +08:00
|
|
|
|
border-bottom: 1px solid rgba(255, 255, 255, 0.2);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.ranking-players > image:first-child {
|
|
|
|
|
|
width: 28%;
|
|
|
|
|
|
margin-right: 10px;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.player-avatars {
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
align-items: center;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.player-avatar,
|
|
|
|
|
|
.more-players {
|
|
|
|
|
|
width: 40px;
|
|
|
|
|
|
height: 40px;
|
|
|
|
|
|
border-radius: 50%;
|
|
|
|
|
|
margin-right: -10px;
|
|
|
|
|
|
border: 1px solid white;
|
|
|
|
|
|
position: relative;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.player-avatar > image:first-child,
|
|
|
|
|
|
.player-avatar > view:first-child {
|
|
|
|
|
|
position: absolute;
|
|
|
|
|
|
top: -10px;
|
|
|
|
|
|
left: 10px;
|
|
|
|
|
|
width: 18px;
|
|
|
|
|
|
height: 18px;
|
|
|
|
|
|
}
|
|
|
|
|
|
.player-avatar > view:first-child {
|
|
|
|
|
|
border-radius: 50%;
|
|
|
|
|
|
background: #777777;
|
|
|
|
|
|
text-align: center;
|
|
|
|
|
|
font-size: 11px;
|
|
|
|
|
|
line-height: 20px;
|
|
|
|
|
|
width: 20px;
|
|
|
|
|
|
height: 20px;
|
|
|
|
|
|
}
|
|
|
|
|
|
.player-avatar > image:last-child {
|
|
|
|
|
|
width: 100%;
|
|
|
|
|
|
height: 100%;
|
|
|
|
|
|
border-radius: 50%;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.more-players {
|
|
|
|
|
|
background: rgba(255, 255, 255, 0.2);
|
|
|
|
|
|
border: none;
|
|
|
|
|
|
font-size: 10px;
|
|
|
|
|
|
line-height: 40px;
|
|
|
|
|
|
text-align: right;
|
|
|
|
|
|
padding-right: 5px;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.region-stats {
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
grid-template-columns: repeat(6, 1fr);
|
|
|
|
|
|
margin-top: 20px;
|
|
|
|
|
|
justify-content: space-between;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.region-item,
|
|
|
|
|
|
.region-more {
|
|
|
|
|
|
border-radius: 10px;
|
2025-04-10 11:11:46 +08:00
|
|
|
|
text-align: center;
|
2025-05-01 16:17:51 +08:00
|
|
|
|
position: relative;
|
|
|
|
|
|
width: 13vw;
|
|
|
|
|
|
height: 13vw;
|
|
|
|
|
|
overflow: hidden;
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
|
justify-content: center;
|
|
|
|
|
|
align-items: center;
|
|
|
|
|
|
color: #b3b3b3;
|
|
|
|
|
|
font-size: 12px;
|
|
|
|
|
|
}
|
|
|
|
|
|
.region-item > text {
|
|
|
|
|
|
margin-top: 10px;
|
|
|
|
|
|
}
|
|
|
|
|
|
.region-more {
|
|
|
|
|
|
width: 8vw;
|
|
|
|
|
|
height: 13vw;
|
|
|
|
|
|
}
|
|
|
|
|
|
.region-item > image:first-child,
|
|
|
|
|
|
.region-more > image:first-child {
|
|
|
|
|
|
position: absolute;
|
|
|
|
|
|
top: 0;
|
|
|
|
|
|
left: 0;
|
|
|
|
|
|
width: 100%;
|
|
|
|
|
|
z-index: -1;
|
|
|
|
|
|
}
|
|
|
|
|
|
.region-item > image:nth-of-type(2) {
|
|
|
|
|
|
position: absolute;
|
|
|
|
|
|
top: 0;
|
|
|
|
|
|
left: 0;
|
|
|
|
|
|
width: 18px;
|
|
|
|
|
|
}
|
|
|
|
|
|
.region-item > view:last-child {
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
justify-content: center;
|
|
|
|
|
|
font-size: 10px;
|
|
|
|
|
|
}
|
|
|
|
|
|
.region-more > text:first-of-type {
|
|
|
|
|
|
font-size: 30px;
|
|
|
|
|
|
line-height: 20px;
|
|
|
|
|
|
margin-bottom: 5px;
|
2025-04-10 11:11:46 +08:00
|
|
|
|
}
|
2025-06-12 00:24:14 +08:00
|
|
|
|
.signin {
|
|
|
|
|
|
width: 100%;
|
|
|
|
|
|
height: 100%;
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
|
justify-content: center;
|
|
|
|
|
|
align-items: center;
|
|
|
|
|
|
}
|
|
|
|
|
|
.protocol {
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
justify-content: center;
|
|
|
|
|
|
align-items: center;
|
|
|
|
|
|
font-size: 13px;
|
|
|
|
|
|
margin-top: 40px;
|
|
|
|
|
|
color: #8a8a8a;
|
|
|
|
|
|
}
|
|
|
|
|
|
.protocol > image {
|
|
|
|
|
|
width: 18px;
|
|
|
|
|
|
height: 18px;
|
|
|
|
|
|
margin-right: 10px;
|
|
|
|
|
|
}
|
|
|
|
|
|
.protocol > view:first-child {
|
|
|
|
|
|
width: 16px;
|
|
|
|
|
|
height: 16px;
|
|
|
|
|
|
border-radius: 50%;
|
|
|
|
|
|
margin-right: 10px;
|
|
|
|
|
|
border: 1px solid #fff;
|
|
|
|
|
|
}
|
|
|
|
|
|
.wechat-icon {
|
|
|
|
|
|
width: 24px;
|
|
|
|
|
|
height: 24px;
|
|
|
|
|
|
margin-right: 20px;
|
|
|
|
|
|
}
|
2025-04-10 11:11:46 +08:00
|
|
|
|
</style>
|