2025-08-10 16:44:02 +08:00
|
|
|
|
<template>
|
|
|
|
|
|
<view class="container">
|
2025-08-20 13:30:34 +08:00
|
|
|
|
<view
|
|
|
|
|
|
:style="{
|
|
|
|
|
|
height: getNavHeight() + 'px',
|
|
|
|
|
|
position: 'sticky',
|
|
|
|
|
|
top: 0,
|
|
|
|
|
|
background: '#fff',
|
|
|
|
|
|
zIndex: '9999',
|
2025-12-18 14:08:31 +08:00
|
|
|
|
}"
|
|
|
|
|
|
>
|
2025-08-18 09:49:28 +08:00
|
|
|
|
</view>
|
|
|
|
|
|
|
2025-08-10 16:44:02 +08:00
|
|
|
|
<!-- 导航栏 start -->
|
2025-12-25 11:13:44 +08:00
|
|
|
|
<!-- <view
|
2025-08-20 13:30:34 +08:00
|
|
|
|
class="custom-bav-bar"
|
|
|
|
|
|
:style="{
|
|
|
|
|
|
position: 'sticky',
|
|
|
|
|
|
top: getNavHeight() + 'px',
|
|
|
|
|
|
background: '#fff',
|
|
|
|
|
|
zIndex: '9999',
|
2025-12-18 14:08:31 +08:00
|
|
|
|
}"
|
|
|
|
|
|
>
|
2025-08-10 16:44:02 +08:00
|
|
|
|
<view class="left">
|
2025-12-18 14:08:31 +08:00
|
|
|
|
<image
|
|
|
|
|
|
src="https://cankao.obs.cn-east-3.myhuaweicloud.com/mini/static/icon_left.png"
|
|
|
|
|
|
class="back_icon"
|
|
|
|
|
|
@click="handleBack"
|
|
|
|
|
|
/>
|
2025-08-10 16:44:02 +08:00
|
|
|
|
</view>
|
|
|
|
|
|
<view class="center">
|
2025-09-11 19:35:07 +08:00
|
|
|
|
<image src="https://cankao.obs.cn-east-3.myhuaweicloud.com/mini/images/detail_logo.png" class="logo_icon" />
|
2025-08-10 16:44:02 +08:00
|
|
|
|
</view>
|
2025-12-25 11:13:44 +08:00
|
|
|
|
</view> -->
|
2025-08-10 16:44:02 +08:00
|
|
|
|
|
|
|
|
|
|
<!-- 文章正文 start -->
|
2025-08-30 21:21:49 +08:00
|
|
|
|
<Article :data="data" :isDomestic="isDomestic" />
|
2025-08-10 16:44:02 +08:00
|
|
|
|
<!-- 分割 -->
|
|
|
|
|
|
<view class="line"></view>
|
|
|
|
|
|
<!-- 推荐栏目 -->
|
|
|
|
|
|
<!-- <Column
|
|
|
|
|
|
:data="columnList"
|
|
|
|
|
|
:columnName="columnName"
|
|
|
|
|
|
@doDetail="jumpDetail"
|
|
|
|
|
|
@doAll="jumpAll"
|
|
|
|
|
|
/> -->
|
|
|
|
|
|
|
|
|
|
|
|
<!-- 底部栏 评论 / 收藏 -->
|
2025-12-18 14:08:31 +08:00
|
|
|
|
<Comment
|
2025-12-23 09:17:51 +08:00
|
|
|
|
v-if="isLogin && !isDomestic && userType == 1"
|
2025-12-18 14:08:31 +08:00
|
|
|
|
:data="data"
|
|
|
|
|
|
@handleClickLike="handleClickLike"
|
|
|
|
|
|
@handleClickStar="handleClickStar"
|
|
|
|
|
|
/>
|
2025-08-17 19:52:46 +08:00
|
|
|
|
|
|
|
|
|
|
<view class="login_unlock" v-if="!isLogin">
|
|
|
|
|
|
<view class="r_image">
|
2025-09-11 19:35:07 +08:00
|
|
|
|
<image src="https://cankao.obs.cn-east-3.myhuaweicloud.com/mini/newmini/lock_banner%402x.png"></image>
|
2025-08-17 19:52:46 +08:00
|
|
|
|
|
|
|
|
|
|
<view class="image_text">
|
|
|
|
|
|
<text class="image_text_title">登录解锁</text>
|
2025-09-11 19:35:07 +08:00
|
|
|
|
<text class="image_text_sub_title">海外独家资讯内容,登录后可查阅全文</text>
|
2025-08-17 19:52:46 +08:00
|
|
|
|
</view>
|
|
|
|
|
|
</view>
|
2025-12-18 14:08:31 +08:00
|
|
|
|
<!-- <view class="login_unlock_btn" @click="goLogin">立即登录</view> -->
|
2025-08-17 19:52:46 +08:00
|
|
|
|
</view>
|
2025-08-10 16:44:02 +08:00
|
|
|
|
</view>
|
|
|
|
|
|
</template>
|
|
|
|
|
|
|
|
|
|
|
|
<script setup lang="ts">
|
|
|
|
|
|
import { ref } from "vue";
|
2025-09-11 19:35:07 +08:00
|
|
|
|
import { onLoad, onShareAppMessage, onShareTimeline, onShow } from "@dcloudio/uni-app";
|
2025-08-10 16:44:02 +08:00
|
|
|
|
import { onReachBottom } from "@dcloudio/uni-app";
|
2025-09-11 19:35:07 +08:00
|
|
|
|
import { fetchArticleDetail, fetchArticleLike, fetchArticleFavorate } from "@/api/detail";
|
2025-08-30 20:33:45 +08:00
|
|
|
|
import { getNewsList, doShare, getDomesticDetail } from "@/api";
|
2025-08-10 16:44:02 +08:00
|
|
|
|
import Article from "@/components/article/indexNewsInfo.vue";
|
|
|
|
|
|
import Column from "@/components/column/index.vue";
|
2025-08-17 18:29:06 +08:00
|
|
|
|
import Comment from "@/components/comment/indexMini.vue";
|
2025-08-10 16:44:02 +08:00
|
|
|
|
import { useShareStore } from "@/stores/shareStore";
|
|
|
|
|
|
import { Session } from "@/utils/storage";
|
2025-08-20 13:30:34 +08:00
|
|
|
|
import { getNavHeight } from "@/utils/util";
|
2025-08-15 13:44:27 +08:00
|
|
|
|
|
2025-08-10 16:44:02 +08:00
|
|
|
|
const stores = useShareStore();
|
|
|
|
|
|
const curPages = getCurrentPages();
|
2025-08-17 19:52:46 +08:00
|
|
|
|
const isLogin = ref<boolean>(uni.getStorageSync("token") ? true : false);
|
|
|
|
|
|
|
2025-08-10 16:44:02 +08:00
|
|
|
|
const data = ref<any>({});
|
|
|
|
|
|
const newType = ref<any>("");
|
|
|
|
|
|
const columnList = ref<any>([]);
|
|
|
|
|
|
const columnName = ref("");
|
|
|
|
|
|
|
|
|
|
|
|
onReachBottom(() => {
|
|
|
|
|
|
console.log("🚀 ~ onReachBottom ~ onReachBottom:");
|
|
|
|
|
|
});
|
|
|
|
|
|
|
2025-12-23 09:17:51 +08:00
|
|
|
|
// 1:经理用户、2:普通用户
|
|
|
|
|
|
const userType = ref(2);
|
2025-08-30 20:33:45 +08:00
|
|
|
|
const isDomestic = ref<boolean>(false);
|
2025-08-10 16:44:02 +08:00
|
|
|
|
onLoad(async (option: any) => {
|
|
|
|
|
|
uni.pageScrollTo({
|
|
|
|
|
|
scrollTop: 0,
|
|
|
|
|
|
});
|
2025-08-30 20:33:45 +08:00
|
|
|
|
if (option?.type == "guonei") {
|
|
|
|
|
|
isDomestic.value = true;
|
|
|
|
|
|
let res = await getDomesticDetail({ id: option.id });
|
|
|
|
|
|
if (res.code === 200) {
|
|
|
|
|
|
data.value = res.data;
|
|
|
|
|
|
|
|
|
|
|
|
data.value.content = res.data.content.replace(/\n{3,}/g, "\n");
|
|
|
|
|
|
|
|
|
|
|
|
columnName.value = data.columnName1;
|
|
|
|
|
|
}
|
|
|
|
|
|
} else {
|
|
|
|
|
|
newType.value = option.type || 14;
|
|
|
|
|
|
const res = await fetchArticleDetail({
|
|
|
|
|
|
id: option.id,
|
|
|
|
|
|
// id: 763,
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
if (res.code === 200) {
|
|
|
|
|
|
data.value = res.data;
|
|
|
|
|
|
|
|
|
|
|
|
res.data.content = res.data.content.replace(/\n{3,}/g, "\n");
|
|
|
|
|
|
|
|
|
|
|
|
columnName.value = res.data.columnName1;
|
|
|
|
|
|
newList(res.data.columnId1);
|
|
|
|
|
|
wxShare();
|
|
|
|
|
|
}
|
2025-08-10 16:44:02 +08:00
|
|
|
|
}
|
2025-12-22 11:17:05 +08:00
|
|
|
|
if (option?.phone) {
|
|
|
|
|
|
uni.setStorageSync("token", option.phone);
|
|
|
|
|
|
// 去除链接中的phone字段
|
|
|
|
|
|
let url = window.location.href;
|
|
|
|
|
|
url = url.replace(/phone=[^&]+&?/i, "");
|
|
|
|
|
|
// 刷新本页面
|
|
|
|
|
|
window.location.href = url;
|
|
|
|
|
|
window.location.reload();
|
|
|
|
|
|
}
|
2025-12-22 11:04:25 +08:00
|
|
|
|
|
2025-12-23 09:17:51 +08:00
|
|
|
|
// 1:经理用户、2:普通用户
|
|
|
|
|
|
if (option?.userType) {
|
|
|
|
|
|
userType.value = option.userType;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
if (option?.userType == 2) {
|
|
|
|
|
|
// 打开页面时链接中带有time字段,表示上次分享的时间
|
|
|
|
|
|
let shareTime = option?.time || 0;
|
|
|
|
|
|
// 现在的时间对比上次的分享时间,如果超过24小时,则刷新推荐栏目
|
|
|
|
|
|
if (uni.getStorageSync("token") && Date.now() - shareTime > 24 * 60 * 60 * 1000) {
|
|
|
|
|
|
uni.removeStorageSync("token");
|
|
|
|
|
|
// 1766373354519
|
|
|
|
|
|
window.location.reload();
|
|
|
|
|
|
}
|
2025-12-22 11:04:25 +08:00
|
|
|
|
}
|
2025-12-25 11:13:44 +08:00
|
|
|
|
|
|
|
|
|
|
console.log("准备发送消息到小程序");
|
|
|
|
|
|
if (typeof wx !== "undefined" && wx.miniProgram) {
|
|
|
|
|
|
wx.miniProgram.postMessage({
|
|
|
|
|
|
data: {
|
|
|
|
|
|
type: "share_info",
|
|
|
|
|
|
userType: option?.userType || null,
|
|
|
|
|
|
phone: option?.phone || null,
|
|
|
|
|
|
id: option?.id || null,
|
|
|
|
|
|
},
|
|
|
|
|
|
});
|
|
|
|
|
|
console.log("消息已发送");
|
|
|
|
|
|
} else {
|
|
|
|
|
|
console.log("非微信小程序环境,无法发送消息");
|
|
|
|
|
|
}
|
2025-08-10 16:44:02 +08:00
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
const newList = async (columnId: number) => {
|
|
|
|
|
|
const res = await getNewsList({
|
|
|
|
|
|
type: 99,
|
|
|
|
|
|
columnId,
|
|
|
|
|
|
page: 1,
|
|
|
|
|
|
size: 5,
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
if (res.code === 200) {
|
|
|
|
|
|
// console.log(res.data)
|
|
|
|
|
|
columnList.value = res.data;
|
|
|
|
|
|
}
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
// 点赞
|
|
|
|
|
|
const handleClickLike = async () => {
|
|
|
|
|
|
// console.log("=== 点赞 ===")
|
|
|
|
|
|
const res = await fetchArticleLike({
|
|
|
|
|
|
id: data.value.id,
|
|
|
|
|
|
likeFlag: data.value.isLike,
|
|
|
|
|
|
});
|
|
|
|
|
|
if (res.code === 200) {
|
|
|
|
|
|
data.value.isLike = data.value.isLike ? 0 : 1;
|
2025-09-11 19:35:07 +08:00
|
|
|
|
data.value.likeNums = data.value.isLike ? data.value.likeNums + 1 : data.value.likeNums - 1;
|
2025-08-10 16:44:02 +08:00
|
|
|
|
}
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
// 收藏
|
|
|
|
|
|
const handleClickStar = async () => {
|
|
|
|
|
|
const res = await fetchArticleFavorate({
|
|
|
|
|
|
id: data.value.id,
|
|
|
|
|
|
favFlag: data.value.isFav,
|
2025-12-22 15:35:47 +08:00
|
|
|
|
phone: uni.getStorageSync("token"),
|
2025-08-10 16:44:02 +08:00
|
|
|
|
});
|
|
|
|
|
|
if (res.code === 200) {
|
|
|
|
|
|
data.value.isFav = data.value.isFav ? 0 : 1;
|
2025-09-11 19:35:07 +08:00
|
|
|
|
data.value.favNums = data.value.isFav ? data.value.favNums + 1 : data.value.favNums - 1;
|
2025-08-10 16:44:02 +08:00
|
|
|
|
}
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
const wxShare = () => {
|
|
|
|
|
|
let link = stores.redirectUrl;
|
|
|
|
|
|
let path = curPages[curPages.length - 1].route;
|
|
|
|
|
|
let query = encodeURIComponent(
|
|
|
|
|
|
JSON.stringify({
|
|
|
|
|
|
id: data.value.id,
|
|
|
|
|
|
type: newType.value,
|
|
|
|
|
|
})
|
|
|
|
|
|
);
|
|
|
|
|
|
link += `?path=${path}&query=${query}`;
|
|
|
|
|
|
// console.log("🚀 ~ WXconfig ~ link:", link);
|
|
|
|
|
|
const shareData = {
|
|
|
|
|
|
title: data.value.title,
|
|
|
|
|
|
desc: "天下事 秒知道",
|
|
|
|
|
|
link: link,
|
|
|
|
|
|
imgUrl: "https://cankao.cs.com.cn/static/share-default.jpg",
|
|
|
|
|
|
};
|
|
|
|
|
|
console.log("output >>>>> initWxConfig", shareData);
|
|
|
|
|
|
|
|
|
|
|
|
stores.initWxConfig(shareData);
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
// 导航栏路由返回
|
|
|
|
|
|
const handleBack = () => {
|
|
|
|
|
|
uni.navigateBack({
|
|
|
|
|
|
delta: 1,
|
|
|
|
|
|
});
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
// 点击全部跳转
|
|
|
|
|
|
const jumpAll = () => {
|
|
|
|
|
|
const __menuStateConfig = Session.get("menuStateConfig");
|
|
|
|
|
|
|
|
|
|
|
|
if (__menuStateConfig) {
|
|
|
|
|
|
for (const key in __menuStateConfig) {
|
|
|
|
|
|
const __item = __menuStateConfig[key];
|
|
|
|
|
|
|
|
|
|
|
|
__item.active = __item.id == 1;
|
|
|
|
|
|
__item.column = __item.active ? data.value.columnId2 : 0;
|
|
|
|
|
|
__item.subColumn = __item.active ? data.value.columnId1 : 0;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
Session.set("menuStateConfig", __menuStateConfig);
|
|
|
|
|
|
|
|
|
|
|
|
uni.redirectTo({
|
|
|
|
|
|
url: `/pages/home/index`,
|
|
|
|
|
|
});
|
|
|
|
|
|
} else {
|
|
|
|
|
|
uni.redirectTo({
|
|
|
|
|
|
url: `/pages/home/index?tabIndex=1&columnIndex=${data.value.columnId2}&subColumnIndex=${data.value.columnId1}`,
|
|
|
|
|
|
});
|
|
|
|
|
|
}
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
// 跳转详情
|
|
|
|
|
|
const jumpDetail = (item: any) => {
|
|
|
|
|
|
// console.log(item)
|
|
|
|
|
|
uni.navigateTo({
|
|
|
|
|
|
url: `/pages/detail/index?id=${item.id}`,
|
|
|
|
|
|
});
|
|
|
|
|
|
};
|
2025-08-18 13:05:24 +08:00
|
|
|
|
|
2025-08-20 13:30:34 +08:00
|
|
|
|
function goLogin() {
|
|
|
|
|
|
uni.navigateTo({
|
|
|
|
|
|
url: "/pages/login/indexMini",
|
|
|
|
|
|
});
|
|
|
|
|
|
}
|
2025-09-11 19:35:07 +08:00
|
|
|
|
|
|
|
|
|
|
import { useTimerStore } from "@/stores/timerStore";
|
|
|
|
|
|
|
|
|
|
|
|
// function initWxConfig() {
|
|
|
|
|
|
// getWeChatSdkData({ url: window.location.href }).then((res: any) => {
|
|
|
|
|
|
// const data: IWxConfig = res.data;
|
|
|
|
|
|
// console.log("🚀 ~ getWeChatSdkData ~ data:", data);
|
|
|
|
|
|
// wx.config({
|
|
|
|
|
|
// debug: false,
|
|
|
|
|
|
// appId: data.appId,
|
|
|
|
|
|
// timestamp: data.timestamp,
|
|
|
|
|
|
// nonceStr: data.nonceStr,
|
|
|
|
|
|
// signature: data.signature,
|
|
|
|
|
|
// jsApiList: ["updateAppMessageShareData", "updateTimelineShareData", "onMenuShareTimeline", "onMenuShareAppMessage"],
|
|
|
|
|
|
// });
|
|
|
|
|
|
|
|
|
|
|
|
// this.wxReady(this.shareData);
|
|
|
|
|
|
|
|
|
|
|
|
// wx.error((err) => {
|
|
|
|
|
|
// console.log("🚀 ~ err:", err);
|
|
|
|
|
|
// });
|
|
|
|
|
|
// });
|
|
|
|
|
|
// }
|
|
|
|
|
|
|
2025-08-26 18:04:38 +08:00
|
|
|
|
onShareTimeline(async (res) => {
|
|
|
|
|
|
let { code } = await doShare({
|
|
|
|
|
|
id: data.value.id,
|
|
|
|
|
|
});
|
|
|
|
|
|
return {
|
|
|
|
|
|
title: data.value.title, //标题
|
2025-08-28 11:32:34 +08:00
|
|
|
|
path: "/pages/detail/indexNewsInfo?id=" + data.value.id, //可以指定动态路径
|
2025-09-11 19:35:07 +08:00
|
|
|
|
imageUrl: "https://cankao.obs.cn-east-3.myhuaweicloud.com/mini/newmini/share_pic_1%402x.png", //分享图
|
2025-08-26 18:04:38 +08:00
|
|
|
|
};
|
|
|
|
|
|
});
|
2025-08-18 13:05:24 +08:00
|
|
|
|
onShareAppMessage(async (res) => {
|
2025-08-20 13:30:34 +08:00
|
|
|
|
console.log("🚀 ~ res:", res);
|
|
|
|
|
|
console.log("🚀 ~ data.value:", data.value);
|
2025-08-18 13:05:24 +08:00
|
|
|
|
|
|
|
|
|
|
let { code } = await doShare({
|
2025-08-20 13:30:34 +08:00
|
|
|
|
id: data.value.id,
|
|
|
|
|
|
});
|
2025-08-18 13:05:24 +08:00
|
|
|
|
return {
|
2025-08-20 13:30:34 +08:00
|
|
|
|
title: data.value.title, //标题
|
2025-08-28 11:32:34 +08:00
|
|
|
|
path: "/pages/detail/indexNewsInfo?id=" + data.value.id, //可以指定动态路径
|
2025-09-11 19:35:07 +08:00
|
|
|
|
imageUrl: "https://cankao.obs.cn-east-3.myhuaweicloud.com/mini/newmini/share_pic_1%402x.png", //分享图
|
2025-08-20 13:30:34 +08:00
|
|
|
|
};
|
|
|
|
|
|
});
|
2025-08-10 16:44:02 +08:00
|
|
|
|
</script>
|
|
|
|
|
|
|
|
|
|
|
|
<style lang="scss" scoped>
|
|
|
|
|
|
.container {
|
|
|
|
|
|
min-height: 100vh;
|
|
|
|
|
|
|
|
|
|
|
|
.line {
|
|
|
|
|
|
height: 16rpx;
|
|
|
|
|
|
background-color: #f5f5f5;
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.custom-bav-bar {
|
|
|
|
|
|
width: 100%;
|
|
|
|
|
|
height: 88rpx;
|
|
|
|
|
|
background-color: #fff;
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
align-items: center;
|
|
|
|
|
|
justify-content: center;
|
|
|
|
|
|
position: relative;
|
|
|
|
|
|
|
|
|
|
|
|
.back_icon {
|
|
|
|
|
|
width: 40rpx;
|
|
|
|
|
|
height: 40rpx;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.logo_icon {
|
|
|
|
|
|
width: 168rpx;
|
|
|
|
|
|
height: 40rpx;
|
|
|
|
|
|
margin-right: 6rpx;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.left {
|
|
|
|
|
|
position: absolute;
|
|
|
|
|
|
top: 24rpx;
|
|
|
|
|
|
left: 40rpx;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.center {
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
align-items: center;
|
|
|
|
|
|
justify-content: center;
|
|
|
|
|
|
// font-size: 28rpx;
|
|
|
|
|
|
font-size: var(--h2-font-size);
|
|
|
|
|
|
color: #333;
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.container {
|
|
|
|
|
|
// background-color: #f5f5f5;
|
|
|
|
|
|
padding-bottom: 112rpx;
|
|
|
|
|
|
box-sizing: border-box;
|
|
|
|
|
|
}
|
2025-08-17 18:29:06 +08:00
|
|
|
|
|
|
|
|
|
|
.comment-count {
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
justify-content: flex-end;
|
|
|
|
|
|
align-items: center;
|
|
|
|
|
|
|
|
|
|
|
|
.count {
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
align-items: center;
|
|
|
|
|
|
margin-left: 24rpx;
|
|
|
|
|
|
|
|
|
|
|
|
.num {
|
|
|
|
|
|
margin-left: 12rpx;
|
|
|
|
|
|
// font-size: 24rpx;
|
|
|
|
|
|
font-size: var(--h4-font-size);
|
|
|
|
|
|
color: #333;
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.icon {
|
|
|
|
|
|
width: 48rpx;
|
|
|
|
|
|
height: 48rpx;
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
2025-08-17 19:52:46 +08:00
|
|
|
|
|
|
|
|
|
|
.login_unlock {
|
|
|
|
|
|
position: fixed;
|
|
|
|
|
|
bottom: 30rpx;
|
|
|
|
|
|
left: 50%;
|
|
|
|
|
|
transform: translateX(-50%);
|
|
|
|
|
|
width: 100vw;
|
|
|
|
|
|
height: 400rpx;
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
|
text-align: center;
|
|
|
|
|
|
justify-content: center;
|
|
|
|
|
|
align-items: center;
|
|
|
|
|
|
|
|
|
|
|
|
.r_image {
|
|
|
|
|
|
position: relative;
|
|
|
|
|
|
color: white;
|
|
|
|
|
|
|
|
|
|
|
|
.image_text {
|
|
|
|
|
|
position: absolute;
|
|
|
|
|
|
top: 0;
|
|
|
|
|
|
left: 0;
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
z-index: 99;
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
|
text-align: start;
|
|
|
|
|
|
justify-content: center;
|
|
|
|
|
|
margin-left: 100rpx;
|
|
|
|
|
|
height: 65%;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.image_text_title {
|
|
|
|
|
|
font-family: PingFangSC, PingFang SC;
|
|
|
|
|
|
font-weight: bold;
|
|
|
|
|
|
font-size: 30rpx;
|
2025-08-20 13:30:34 +08:00
|
|
|
|
color: #ffffff;
|
2025-08-17 19:52:46 +08:00
|
|
|
|
line-height: 42rpx;
|
|
|
|
|
|
text-shadow: 0px 2px 8px rgba(43, 51, 75, 0.35);
|
|
|
|
|
|
text-align: left;
|
|
|
|
|
|
font-style: normal;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.image_text_sub_title {
|
|
|
|
|
|
font-family: PingFangSC, PingFang SC;
|
|
|
|
|
|
font-weight: 400;
|
|
|
|
|
|
font-size: 24rpx;
|
2025-08-20 13:30:34 +08:00
|
|
|
|
color: #b5bed5;
|
2025-08-17 19:52:46 +08:00
|
|
|
|
line-height: 33rpx;
|
|
|
|
|
|
text-shadow: 0px 2px 8px rgba(43, 51, 75, 0.35);
|
|
|
|
|
|
text-align: left;
|
|
|
|
|
|
font-style: normal;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
image {
|
|
|
|
|
|
width: 78vw;
|
|
|
|
|
|
height: 128rpx;
|
|
|
|
|
|
margin-bottom: 60rpx;
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.login_unlock_btn {
|
2025-08-20 13:30:34 +08:00
|
|
|
|
width: 80%;
|
2025-08-17 19:52:46 +08:00
|
|
|
|
height: 88rpx;
|
2025-08-20 13:30:34 +08:00
|
|
|
|
background: #d13e3c;
|
2025-08-17 19:52:46 +08:00
|
|
|
|
border-radius: 44rpx;
|
|
|
|
|
|
|
|
|
|
|
|
font-family: PingFangSC, PingFang SC;
|
|
|
|
|
|
font-weight: 500;
|
|
|
|
|
|
font-size: 32rpx;
|
2025-08-20 13:30:34 +08:00
|
|
|
|
color: #ffffff;
|
2025-08-17 19:52:46 +08:00
|
|
|
|
line-height: 45rpx;
|
|
|
|
|
|
text-align: center;
|
|
|
|
|
|
font-style: normal;
|
|
|
|
|
|
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
text-align: center;
|
|
|
|
|
|
justify-content: center;
|
|
|
|
|
|
align-items: center;
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
2025-08-10 16:44:02 +08:00
|
|
|
|
</style>
|