【HTML + CSS】 实现原神纯静态官网

文章目录
一、网页效果演示

二、poster code


2.1、html:

<!-- 页面一 -->
<div class="poster">
    <!-- 头部导航栏 -->
    <div class="header_bar">
        <!-- 头部左边,logo -->
        <div class="header_left">
            <!-- 音乐logo -->
            <div class="musicLogo">
                <a href="###">
                    <img src="img/MusicLogo.png">
                </a>
            </div>
            <!-- 原神logo -->
            <div class="GenshinLogo">
                <img src="img/Genshin.png"/>
            </div>
        </div>

        <!-- 横向导航栏 -->
        <div class="header_navbar">
            <ul>
                <li>
                    <a href="###">首&nbsp;页</a>
                </li>
                <li>
                    <a href="###">新&nbsp;闻</a>                        
                </li>
                <li>
                    <a href="###">角&nbsp;色</a>
                </li>
                <li>
                    <a href="###">世&nbsp;界</a>
                </li>
                <li>
                    <a href="###">漫&nbsp;画</a>
                </li>
                <li>
                    <a href="###">社&nbsp;区</a>
                </li>
            </ul>
        </div>
        
        <!-- 头部右边 -->
        <div class="header_right">
            <!-- 成长关爱系统 -->
            <a href="###" class="header_cs">
                <span>成长关爱系统</span>
                <img src="img/aixin.png"/>
            </a>
            
            <!-- 登录 -->
            <a href="###" class="header_login">
                <span>登&nbsp;录</span>
                <img src="img/loginLogo.png"/>
            </a>
        </div>
    </div>
    
    <!-- 页面一的背景 -->
    <div id="background1" style="height: 1920px; height: 968px;">
        <video id="bg" poster="img/bg1.jpg" loop="loop" muted="muted" autoplay width="1920px" height="1080px">
            <source src="video/bg1.mp4" type="video/mp4"/>
        </video>
    </div>
    
    <!-- 底部标志 -->
    <div class="poster_sign">
        <!-- 播放标志 -->
        <div class="poster_video">
            <button class="poster_video_button">
            </button>
        </div>
        
        <!-- 12+ 标志 -->
        <div class="poster_badge">
            <img src="img/posterBadge.png"/>
        </div>
        
        <!-- 下载标志 -->
        <div class="download_logo">
            <!-- 二维码 -->
            <div class="Genshin_qr">
                <img src="img/Genshin_qrCode.png" class="Genshin_qr_code"/>
                <img src="img/Genshin_qr.jfif" class="Genshin_qr_icon"/>
            </div>
            
            <!-- PS4, ios -->
            <div class="download_pc_group">
                <a href="###">
                    <img src="img/download_pc_ps.png" alt="ps4"/>
                </a>
                
                <a href="###">
                    <img src="img/download_pc_ios.png" alt="ios"/>
                </a>
            </div>
            
            <!-- taptap, android -->
            <div class="download_pc_group">
                <a href="###">
                    <img src="img/download_pc_taptap.png" alt="taptap"/>
                </a>
                <a href="###">
                    <img src="img/download_pc_android.png" alt="android"/>
                </a>
            </div>
            
            <div class="download_pc_image">
                <a href="###">
                    <img src="img/download_pc_image.png" alt="pc"/>
                </a>
            </div>
        </div>
    </div>
    
</div>
 

2.2、css

* {
    margin: 0;
    padding: 0;
}

body {
    overflow-x: hidden;
}

/* page1 :start*/
.poster {
    height: 100%;
    width: 100%;
    overflow: hidden;
    position: relative;
}


/* 头部栏 :start */
.header_bar {
    background-color: rgba(17, 17, 17, 0.75);
    display: inline-block;
    position: absolute;
    height: 66px;
    width: 1920px;
    z-index: 999;
}

/* 头部导航栏左侧 */
.header_left {
    display: flex;
    float: left;
    width: 300px;
}

/* 音乐Logo */
.musicLogo {
    display: flex;
    align-items: center;
    height: 66px;
    position: relative;
    left: 80px;
}

.musicLogo a {
    padding: 0;
}

.musicLogo img {
    height: 30px;
    width: 30px;
}

/* 原神Logo */
.GenshinLogo {
    display: inline-block;
}

/* 头部导航栏 nav*/
.header_navbar {
    float: left;
    display: inline-block;
    height: 66px;
    line-height: 66px;
    text-indent: 20px;
}

/* 头部导航栏右侧 */
.header_right {
    position: absolute;
    right: 30px;
    height: 100%;
    display: flex;
    align-items: center;
}

/* 头部导航栏右侧标签 a 动画特效 */
.header_right a:hover {
    opacity: 1;
}

/* 成长关爱系统 */
.header_cs {
    margin-right: 20px;
    padding: 0px;
    display: flex;
    align-items: center;
}

/* 成长关爱系统图像 */
.header_cs img {
    margin-left: 18px;
    width: 27px;
    height: 27px;
    opacity: 0.6;
}

/* 头部导航栏右侧登录 */
.header_login {
    margin-right: 20px;
    padding: 0px;
    display: flex;
    align-items: center;
}

/* 右侧登录Logo */
.header_login img {
    margin-left: 18px;
    width: 27px;
    height: 27px;
    opacity: 0.6;
}


ul {
    list-style: none;
    overflow: hidden;
}

ul li {
    float: left
}

a {
    font-size: 17px;
    color: #ccc;
    text-decoration: none;
    padding: 22px 16px;
    opacity: 0.8;
}

/* 导航栏窗口字体鼠标接触特效 */
.header_navbar a:hover {
    text-shadow: 0 0 20px skyblue,0 0 20px skyblue,0 0 20px skyblue,0 0 20px skyblue;
    color: white;
}
/* 头部栏 :end */


.poster_sign {
    display: flex;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    align-items: center;
    justify-content: center;   /* 居中排列 */
    flex-direction: column;    /* 灵活的项目将垂直显示,正如一个列一样。 */
    box-sizing: border-box;
}


/* page1的播放按钮 :start*/
.poster_video {
    position: absolute;
    bottom: 200px;
    width: 356px;
    height: 76px;
    background: url("../img/poster_video_decoration.png") no-repeat center center;
    margin-bottom: 20px;
}

.poster_video_button {
    position: relative;
    height: 48px;
    width: 48px;
    border-radius: 50%;
    border: 0;
    display: block;
    cursor: pointer;
    left: 154px;
    bottom: -14px;
}

.poster_video_button::before {
    content: '';
    display: block;
    position: absolute;
    left: 50%;
    top: 50%;
    background: url("../img/poster_button_video.png");
    width: 28px;
    height: 28px;
    transform: translate(-50%, -50%);    /* 2D转换 向左上移动*/
    background-position: center top;
}

.poster_video_button:hover {
    opacity: 0.5;
}
/* page1的播放按钮 :end*/


.poster_badge {
    position: absolute;
    width: 100px;
    bottom: 20px;
    left: 20px;
    cursor: pointer;
}

.poster_badge img {
    width: 100%;
}

/* 下载标志 :start*/
.download_logo {
    display: flex;
    position: absolute;
    width: 540px;
    height: 125px;
    bottom: 70px;
    align-items: center;
}

.Genshin_qr {
    height: 102px;
    width: 102px;
    position: relative;
}
/* 二维码上的派蒙图片 */
.Genshin_qr_icon {
    position: relative;
    left: 50%;
    top: -66px;
    width: 26px;
    height: 26px;
    border: 2px solid gray;
    border-radius: 4px;
    transform: translateX(-50%);
}
/* 二维码 */
.Genshin_qr_code {
    width: 100%;
    display: block;
}

/* 下载路径组(ps4和ios一组,TapTap和Android一组) */
.download_pc_group {
    display: flex;
    height: 112px;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding: 3px;
}

.download_pc_group a {
    padding: 0px;
    width: 160px;
    height: 52px;
}

.download_pc_group a img {
    width: 100%;
    height: 100%;
}

.download_pc_group a img:hover {
    opacity: 0.8;
}

/* PC 下载路径 */
.download_pc_image {
    width: 111px;
    height: 111px;
}

.download_pc_image a {
    padding: 0px;
}

.download_pc_image a img:hover {
    opacity: 0.8;
}
/* 下载标志 :end*/

/* page1 :end */
 

三、news code

3.1、html:

<div class="news">
    <h3>新闻资讯</h3>
    
    <!-- 新闻主题 -->
    <div class="news_main">
        <!-- 轮播图 -->
        <div class="carousel_map">
            <div class="slide">
                <input type="radio" name="pic" id="pic1" checked/>
                <input type="radio" name="pic" id="pic2"/>
                <input type="radio" name="pic" id="pic3"/>
                <input type="radio" name="pic" id="pic4"/>
                
                <div class="labels">
                    <label for="pic1"></label>
                    <label for="pic2"></label>
                    <label for="pic3"></label>
                    <label for="pic4"></label>
                </div>
                
                <ul class="list">
                    <li class="item">
                        <a href="###">
                            <img src="img/news1.jpg" style="height: 100%; width: 100%;"/>
                        </a>
                    </li>
                    <li class="item">
                        <a href="###">
                            <img src="img/news2.jpg" style="height: 100%; width: 100%;"/>
                        </a>
                    </li>
                    <li class="item">
                        <a href="###">
                            <img src="img/news3.jpg" style="height: 100%; width: 100%;"/>
                        </a>
                    </li>
                    <li class="item">
                        <a href="###">
                            <img src="img/news4.jpg" style="height: 100%; width: 100%;"/>
                        </a>
                    </li>
                    <li class="item">
                        <a href="###">
                            <img src="img/news1.jpg" style="height: 100%; width: 100%;"/>
                        </a>
                    </li>
                </ul>
            </div>
        </div>
        
        <!-- 新闻内容 -->
        <div class="news_content">
            <ul class="news_table_list">
                <li id="t1">最新</li>
                <li id="t2">新闻</li>
                <li id="t3">公告</li>
                <li id="t4">活动</li>
            </ul>
            
            <ul class="news_list" id="news_1">
                <li>
                    <a href="###" class="news_item" title="凯亚生日快乐|如果山上风大的话,可以把披风借给你。">
                        <p class="news_title">凯亚生日快乐|如果山上风大的话,可以把披风借给你。</p>
                        <p class="news_date">2022/11/30</p>
                    </a>
                </li>
                <li>
                    <a href="###" class="news_item" title="《原神》新玩法预告PV:「来一局七圣召唤吧!」">
                        <p class="news_title">《原神》新玩法预告PV:「来一局七圣召唤吧!」</p>
                        <p class="news_date">2022/11/30</p>
                    </a>
                </li>
                <li>
                    <a href="###" class="news_item" title="《原神》「无相交响诗」活动小贴士 回旋曲·森郁之笼">
                        <p class="news_title">《原神》「无相交响诗」活动小贴士 回旋曲·森郁之笼</p>
                        <p class="news_date">2022/11/30</p>
                    </a>
                </li>
                <li>
                    <a href="###" class="news_item" title="《原神》「花坂豪快」荒泷一斗同人绘画作品征集开启">
                        <p class="news_title">《原神》「花坂豪快」荒泷一斗同人绘画作品征集开启</p>
                        <p class="news_date">2022/11/28</p>
                    </a>
                </li>
                <li>
                    <a href="###" class="news_item" title="《原神》「无相交响诗」活动小贴士 谐谑曲·束浪之池">
                        <p class="news_title">《原神》「无相交响诗」活动小贴士 谐谑曲·束浪之池</p>
                        <p class="news_date">2022/11/28</p>
                    </a>
                </li>
            </ul>
        </div>
    </div>
</div>
 

3.2、css

/* page2 :start*/
.news {
    display: flex;
    position: absolute;
    height: 910px;
    width: 100%;
    background-image: url("../img/bg2.jpg");
}

/* 标题 */
.news h3 {
    position: relative;
    font-size: 50px;
    color: aliceblue;
    font-weight: 400;
    text-align: center;
    margin: 183px auto 60px;
    height: 66px;
}
/* 标题前图 */
.news h3::before {
    content: '';
    position: absolute;
    top: 28px;
    left: -354px;
    background: url("../img/header_decoration.png");
    height: 14px;
    width: 385px;
}
/* 标题后图 */
.news h3::after {
    content: '';
    position: absolute;
    top: 36px;
    left: -255px;
    background: url("../img/header_decoration.png");
    height: 14px;
    width: 385px;
    transform: translate(calc(100% + 32px), -50%) rotateY(180deg);         /* 将图片翻转为镜像 */
}


/* 新闻主体 */
.news_main {
    display: flex;
    position: absolute;
    justify-content: center;
    top: 110px;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    height: 400px;
}

/* 轮播图 :start*/
.carousel_map {
    width: 640px;
    height: 400px;
}

.slide {
    width: inherit;
    height: inherit;
    overflow: hidden;
    position: relative;
}

/* 鼠标放上去显示按钮 */
.slide:hover .labels {
    display: flex;
}

.slide:hover .list {
    animation: none;
}

.slide input {
    display: none;
}

/* 按钮位置 */
.labels {
    position: absolute;
    bottom: 0.5em;
    z-index: 1;
    width: inherit;
    justify-content: center;
    display: none;    /* 鼠标移开隐藏按钮 */
}

/* 按钮样式 */
.labels label {
    width: 1rem;
    height: 1rem;
    border-radius: 50%;
    margin: 0 0.3rem;
    border: 0.1rem solid #fff;
    background-color: transparent;
    box-sizing: border-box;
    cursor: pointer;
}


/* 选择哪个按钮就有被点击的效果 */
input[id=pic1]:checked ~ .labels label[for=pic1],
input[id=pic2]:checked ~ .labels label[for=pic2],
input[id=pic3]:checked ~ .labels label[for=pic3],
input[id=pic4]:checked ~ .labels label[for=pic4] {
    background-color: #fff;
    border: 0.1rem solid #fff;
}
/* 按钮控件选择图片 */
input[id=pic1]:checked ~ .list {
    transform: translate(calc(0 * 640px));
}
input[id=pic2]:checked ~ .list {
    transform: translate(calc(-1 * 640px));
}    
input[id=pic3]:checked ~ .list {
    transform: translate(calc(-2 * 640px));
}
input[id=pic4]:checked ~ .list {
    transform: translate(calc(-3 * 640px));
}

.list {
    width: calc(5 * 640px);
    height: inherit;
    position: relative;
    
    /* 设置动画效果 */
    animation: move 15s ease 1s infinite;
}
/* 动画关键帧轮播 */
@keyframes move {
    0% {
        transform: translate(calc(0 * 640px));
    }
    25% {
        transform: translate(calc(-1 * 640px));
    }
    50% {
        transform: translate(calc(-2 * 640px));
    }
    75% {
        transform: translate(calc(-3 * 640px));
    }
    100% {
        transform: translate(calc(-4 * 640px));
    }
}

.item {
    width: 640px;
    height: 400px;
    box-sizing: border-box;
    float: left;
}

.item a {
    padding: 0;
    opacity: 1;
}
/* 轮播图 :end*/

/* 新闻内容 */
.news_content {
    width: 640px;
    height: 400px;
    background: rgba(17, 17, 17, 0.3);
}

.news_table_list {
    display: flex;
    position: relative;
    width: 592px;
    justify-content: flex-start;
    margin-left: 30px;
    margin-top: 10px;
    border-bottom: 3px solid rgba(255,255,255,0.1);
}

.news_table_list li {
    color: white;
    margin: 25px 20px 10px;
    font-size: 18px;
    cursor: pointer;
    position: relative;
}


.news_table_list li:active {
    color: #ffd49f;
}

.news_list {
    height: 260px;
    width: 592px;
    margin: 0 24px;
}

.news_item {
    display: flex;
    align-items: center;
    font-size: 16px;
    height: 50px;
    width: 100%;
    padding: 0;
    opacity: 1;
    color: white;
    border-bottom: 2px solid rgba(255,255,255,0.08);
}

.news_item:hover {
    background: rgba(80, 80, 80, 0.3);
}

.news_title {
    height: 20px;
    width: 480px;
    padding-left: 10px;
}

.news_date {
    height: 50px;
    font-size: 14px;
    line-height: 50px;
    opacity: 0.5;
}
/* 新闻内容 */
/* page2 end */
 


四、city code

4.1、html

<!-- 页面三 -->
<div class="city">
    <ul class="city_list">
        <!-- city1 -->
        <li class="city_list_item">
            <div class="city_bg1"></div>
            <a href="###">
                <p>蒙德城</p>
            </a>
        </li>
        
        <!-- city2 -->
        <li class="city_list_item">
            <div class="city_bg2"></div>
            <a href="###">
                <p>璃月港</p>
            </a>
        </li>
        
        <!-- city3 -->
        <li class="city_list_item">
            <div class="city_bg3"></div>
            <a href="###">
                <p>稻妻城</p>
            </a>
        </li>
        
        <!-- city4 -->
        <li class="city_list_item">
            <div class="city_bg4"></div>
            <a href="###">
                <p>须弥城</p>
            </a>
        </li>
        
        <!-- city-end -->
        <li class="city_list_item">
            <div class="city_end"></div>
            <a href="###">
                <p>敬请期待</p>
            </a>
        </li>
    </ul>
</div>
 

4.2、css

/* page3 :start*/
/* 城市内容 :start*/
.city {
    height: 1300px;
    width: 100%;
    display: block;
    position: absolute;
    top: calc(910px + 968px);
}

.city_list {
    height: 100%;
}
    
.city_list_item {
    position: relative;
    width: 100%;
    height: 260px;
}    

.city_list_item a{
    background: url("../img/city_dc.png") no-repeat center;
    position: absolute;
    opacity: 1;
    padding: 0;
    width: 100%;
    height: 260px;
}
    
.city_list_item p {
    position: relative;
    font-size: 36px;
    color: #fff;
    text-align: center;
    line-height: 260px;
}
    
.city_bg1 {
    position: absolute;
    width: 100%;
    height: 100%;
    background: url("../img/city1.jpg");
}

.city_bg2 {
    position: absolute;
    width: 100%;
    height: 100%;
    background: url("../img/city2.jpg");
}

.city_bg3 {
    position: absolute;
    width: 100%;
    height: 100%;
    background: url("../img/city3.jpg");
}

.city_bg4 {
    position: absolute;
    width: 100%;
    height: 100%;
    background: url("../img/city4.jpg");
}

.city_end {
    position: absolute;
    width: 100%;
    height: 100%;
    background: url("../img/city_end.jpg");
}
/* 城市内容 :end */
/* page3 :end */
 

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处:http://www.mfbz.cn/a/176923.html

如若内容造成侵权/违法违规/事实不符,请联系我们进行投诉反馈qq邮箱809451989@qq.com,一经查实,立即删除!

相关文章

如何防止网络被入侵?

随着互联网的普及&#xff0c;网络安全问题越来越受到人们的关注。其中&#xff0c;如何防止网络被入侵是一个重要的问题。本文将介绍一些防止网络被入侵的方法&#xff0c;帮助大家保护自己的网络安全。 一、使用强密码 强密码是防止网络被入侵的第一道防线。一个好的密码应该…

算法 全排列的应用

#include <iostream> #include <string>using namespace std;// 交换字符串中两个字符的位置 void swap(char& a, char& b) {char temp a;a b;b temp; }void fun(string str) {string a str.substr(0,4); int aa;sscanf(a.c_str(), "%d",…

xilinx zynq平台 elf文件到bin文件格式转化

在嵌入式实际开发过程中&#xff0c;因为系统资源有限&#xff0c;需要尽可能的节省资源&#xff0c;尤其是flash资源。在某些场景下&#xff0c;需要直接执行占用内存较小的bin文件&#xff0c;而非elf文件。但xilinx SDK编译的输出文件一般为elf文件&#xff0c;所以需要进行…

模型性能评估(第三周)

一、模型评估 把数据集划分成训练集和测试集&#xff0c;用训练集训练模型和参数&#xff0c;然后在测试集上测试他的表现。如下图所示&#xff0c;第一行是线性回归通常的代价函数形式&#xff0c;我们需要将其最小化来获取参数、b。训练好模型&#xff0c;获得参数后&#x…

基于文心一言AI大模型,编写一段python3程序以获取华为分布式块存储REST接口的实时数据

本文尝试基于文心一言AI大模型&#xff0c;编写一段python3程序以获取华为分布式块存储REST接口的实时数据。 一、用文心一言AI大模型将需求转化为样例代码 1、第一次对话&#xff1a;“python3写一段从rest服务器获取数据的样例代码” 同时生成了以下注解 这段代码首先定义…

微软Copilot即将对大陆开放,一起来看看都有什么好用的功能

微软发布了Copilot&#xff0c;12月1日起对大陆用户开放&#xff0c;以下是Copilot的11个新功能&#xff0c;你一定不想错过&#xff1a;1. PowerPoint&#xff1a; 将Word文档转换为演示文稿。从文件中快速创建演示文稿。通过关键幻灯片总结冗长的演示文稿。使用提示添加新的…

ATFX汇市:非美货币扎堆升值,唯有USDCAD表现平平

ATFX汇市&#xff1a;10月4日至今&#xff0c;美元指数累计跌幅已经超过3.6%&#xff0c;最低触及103.18点&#xff0c;中期均线MA30被跌破&#xff0c;强势周期可能即将转变为弱势周期。随着美元的下跌&#xff0c;大部分非美货币快速升值&#xff0c;欧元、英镑、日元的升值幅…

[点云分割] 基于颜色的区域增长分割

效果&#xff1a; 代码&#xff1a; #include <iostream> #include <thread> #include <vector>#include <pcl/point_types.h> #include <pcl/io/pcd_io.h> #include <pcl/search/search.h> #include <pcl/search/kdtree.h> #inclu…

王者荣耀游戏

游戏运行如下&#xff1a; sxt Background package sxt;import java.awt.*; //背景类 public class Background extends GameObject{public Background(GameFrame gameFrame) {super(gameFrame);}Image bg Toolkit.getDefaultToolkit().getImage("C:\\Users\\24465\\D…

微服务学习|初识Docker、使用Docker、自定义镜像、DockerCompose、Docker镜像仓库

初识Docker 项目部署的问题 大型项目组件较多&#xff0c;运行环境也较为复杂&#xff0c;部署时会碰到一些问题 依赖关系复杂&#xff0c;容易出现兼容性问题 开发、测试、生产环境有差异 Docker如何解决依赖的兼容问题的? 将应用的Libs (函数库)、Deps (依赖)配置与应用…

Android:Google三方库之Firebase集成详细步骤(一)

前提条件 安装最新版本的 Android Studio&#xff0c;或更新为最新版本。使用您的 Google 账号登录 Firebase请注意&#xff0c;依赖于 Google Play 服务的 Firebase SDK 要求设备或模拟器上必须安装 Google Play 服务 将Firebase添加到应用&#xff1a; 方式&#xff1a;使用…

关于QT6实现翻金币小程序的避坑指南

QT6实现翻金币小程序的避坑指南 原教学视频说明&#xff1a;https://www.bilibili.com/video/BV1g4411H78N/?spm_id_from333.337.search-card.all.click&vd_source442624ae292ec6b8a3ceccecdfccf14f 本文源码及素材&#xff1a;https://github.com/FifthIntelligence/Retu…

互动话术有套路,直播间人气翻倍就靠它

一场直播如何撬动 GMV 增长&#xff0c;好的话术至关重要。这也是为什么有的直播间总是门庭若市&#xff0c;而有的直播间就是互动寥寥。 无论是欢迎话术、带货话术&#xff0c;还是互动话术等&#xff0c;它们最重要的功能就是拉近与观众的关系。这能让他们产生持续信任&…

半导体工艺控制设备1

半导体工艺控制设备对芯片良率至关重要&#xff0c;随着制程微缩需求倍增。工艺节点每缩减一代&#xff0c;工艺中产生的致命缺陷数量会增加 50%&#xff0c;因此每一道工序的良品率都要保持在非常高的水平才能保证最终的良品率。当工序超过 500 道时&#xff0c;只有保证每一道…

Java 最简单的实现 AES 加密和解密

AES简介 AES&#xff08;Advanced Encryption Standard&#xff09;高级加密标准&#xff0c;是一种被广泛使用的对称加密算法&#xff0c;用于加密和解密数据。它曾经是美国政府的一个机密标准&#xff0c;但现在已成为公开的加密算法&#xff0c;并被广泛使用于商业、政府及…

python命令行交互 引导用户选择宠物

代码 以下代码将在命令行中&#xff0c;引导用户选择一个或者多个宠物&#xff0c;并反馈用户选择的宠物 # -*- coding:UTF-8 -*- """ author: dyy contact: douyaoyuan126.com time: 2023/11/22 15:19 file: 在命令行中引导用户选择宠物.py desc: xxxxxx &qu…

亚马逊买家号用邮箱怎么注册

想要用邮箱注册亚马逊买家号&#xff0c;那么准备好能接受验证码的邮箱后打开相应的亚马逊官网即可。打开官网后点击注册——输入昵称——输入邮箱——输入密码——接受邮箱验证码并输入&#xff0c;如果遇到需要手机号验证就输入手机号&#xff0c;如果不需要验证&#xff0c;…

【蓝桥杯选拔赛真题25】C++两个数比大小 第十三届蓝桥杯青少年创意编程大赛C++编程选拔赛真题解析

目录 C/C++两个数比大小 一、题目要求 1、编程实现 2、输入输出 二、算法分析

[SWPUCTF 2021 新生赛]非常简单的逻辑题 // %的逆向

代码解密题 flag xxxxxxxxxxxxxxxxxxxxx s wesyvbniazxchjko1973652048$-&*<> result for i in range(len(flag)):s1 ord(flag[i])//17s2 ord(flag[i])%17result s[(s1i)%34]s[-(s2i1)%34] print(result) # result v0b9n1nkajzj0c4jjo3oi1h1i937b395i5y5e0e…

[MICROSAR Adaptive] --- Communication Management

0 引言 本期会介绍communicationmanagement通信管理,首先介绍它的特点使用方式,然后介绍模型中的相关元素和c++代码中的相关API,最后我们实现一个应用程序,他有两个Executable组成,一个是提供服务的provider,另一个是使用这个服务的consumer。 1 communication manage…
最新文章