首页 > 其他分享 >左侧导航栏element -2024/11/27

左侧导航栏element -2024/11/27

时间:2024-11-27 23:43:39浏览次数:6  
标签:11 style 27 document element getElementById recover display row

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>首页</title>
    <style>
        .demo-table-expand {
            font-size: 0;
        }
        .demo-table-expand label {
            width: 90px;
            color: #99a9bf;
        }
        .demo-table-expand .el-form-item {
            margin-right: 0;
            margin-bottom: 0;
            width: 50%;
        }
    </style>
</head>
<body>
<div id="app">
    <el-menu
            :default-active="activeIndex"
            class="el-menu-demo"
            mode="horizontal"
            @select="handleSelect"
            background-color="#545c64"
            text-color="#fff"
            active-text-color="#ffd04b">
        <el-menu-item index="1">首页</el-menu-item>
        <el-menu-item index="2" v-if="staff.position==='普通职员' || staff.position==='部门经理'">
            出差申请
        </el-menu-item>
        <el-menu-item index="3" v-if="staff.position==='普通职员' || staff.position==='部门经理'">
            报销差旅费
        </el-menu-item>
        <el-submenu index="4" v-if="staff.position==='总经理' || staff.position==='部门经理'">
            <template slot="title">出差审批</template>
            <el-menu-item index="4-1">审批申请</el-menu-item>
            <el-menu-item index="4-2">审批报销</el-menu-item>
            <el-menu-item index="4-3">审核单据</el-menu-item>
            <el-menu-item index="4-4">报销制证</el-menu-item>
        </el-submenu>

        <el-submenu index="5" v-if="staff.position==='财务人员'">
            <template slot="title">汇总统计</template>
            <el-menu-item index="5-1">查询进度</el-menu-item>
            <el-menu-item index="5-2">汇总统计</el-menu-item>
        </el-submenu>
        <el-menu-item index="6"><a href = "http://localhost:8080/travel-recover/index.html" target="_self">退出登录</a></el-menu-item>
    </el-menu>
    <center><span style="font: bold 30px/40px 宋体 ">欢迎使用差旅费报销管理信息系统</span><br></center>
    <div style="width: 100%;height: 500px;" id="homePage">
        <span style="font: bold 30px/40px 宋体 ">员工编号:</span>
        <span style="font: bold 30px/40px 宋体 ">{{staff.userId}}</span><br>
        <span style="font: bold 30px/40px 宋体 ">姓名:</span>
        <span style="font: bold 30px/40px 宋体 ">{{staff.userName}}</span><br>
        <span style="font: bold 30px/40px 宋体 ">部门:</span>
        <span style="font: bold 30px/40px 宋体 ">{{staff.department}}</span><br>
        <span style="font: bold 30px/40px 宋体 ">职位:</span>
        <span style="font: bold 30px/40px 宋体 ">{{staff.position}}</span>
    </div>

    <!--    出差申请界面-->
    <div style="width: 100%;height: 500px; display: none;" id="apply" >
        <el-button type="primary" @click="travelApply()">出差申请</el-button>
        <el-button type="primary" @click="travelApply()">进度查询</el-button>
        <el-divider></el-divider>
        <span>我的出差申请</span>
        <!--表格-->
        <template>
            <el-table
                    :data="tableData.filter(row => row.name === this.staff.userName)"
                    style="width: 100%"
                    :row-class-name="tableRowClassName"
            >
                <el-table-column
                        type="index"
                        width="40">
                </el-table-column>

                <el-table-column
                        prop="requestId"
                        label="申请编号"
                        align="center"
                >
                </el-table-column>
                <el-table-column
                        prop="name"
                        label="姓名"
                        align="center"
                >
                </el-table-column>
                <el-table-column
                        prop="department"
                        align="center"
                        label="部门">
                </el-table-column>
                <el-table-column
                        prop="destination"
                        align="center"
                        label="目的地">
                </el-table-column>
                <el-table-column
                        prop="departureDate"
                        align="center"
                        label="出发日期">
                </el-table-column>
                <el-table-column
                        prop="type"
                        align="center"
                        label="出差类别">
                </el-table-column>
                <el-table-column
                        prop="statusStr"
                        align="center"
                        label="状态">
                </el-table-column>
                <el-table-column
                        prop="id"
                        align="center"
                        label="操作">
                    <template slot-scope="scope">
                        <el-row>
                            <el-button type="primary" @click="detail(scope.row)">详情</el-button>
                            <el-button type="primary" @click="update(scope.row)">修改</el-button>
                            <el-button type="danger" @click="withdraw(scope.row.requestId)">撤回</el-button>
                        </el-row>
                    </template>

                </el-table-column>

            </el-table>
        </template>
    </div>

    <!--    出差审批界面-->
    <div style="width: 100%;height: 500px; display: none;" id = "approval">
        <span>审批出差申请</span>
        <el-table :data="tableData" style="width: 100%">
            <el-table-column
                    prop="name"
                    align="center"
                    label="出差人姓名">
            </el-table-column>
            <el-table-column
                    prop="department"
                    align="center"
                    label="部门">
            </el-table-column>
            <el-table-column
                    prop="destination"
                    align="center"
                    label="目的地">
            </el-table-column>
            <el-table-column
                    prop="departureDate"
                    align="center"
                    label="出发日期">
            </el-table-column>
            <el-table-column
                        prop="statusStr"
                        align="center"
                        label="状态">
                </el-table-column>
            <el-table-column
                        prop="id"
                        align="center"
                        label="操作">
                    <template slot-scope="scope">
                        <el-row>
                            <el-button type="primary" @click="approvalRequest(scope.row)">审批</el-button>
                        </el-row>
                    </template>

                </el-table-column>
        </el-table>
    </div>

<!--    报销差旅费界面-->
    <div style="width: 100%;height: 500px; display: none;" id = "reimbursement">
        <el-button type="primary" @click="openRecover()">报销差旅费</el-button>
        <el-button type="primary" @click="openRecover()">查看报销进度</el-button>
        <el-divider></el-divider>
        <span>我的报销单据</span>
        <template>
            <el-table
                    :data="recoverTableData"
                    style="width: 100%">
                <el-table-column type="expand">
                    <template slot-scope="recover">
                        <el-form label-position="left" inline class="demo-table-expand">
                            <el-form-item label="目的地">
                                <span>{{ recover.row.name }}</span>
                            </el-form-item>
                            <el-form-item label="出发日期">
                                <span>{{ recover.row.departureDate }}</span>
                            </el-form-item>
                            <el-form-item label="返回日期">
                                <span>{{ recover.row.returnDate }}</span>
                            </el-form-item>
                            <el-form-item label="出差事由">
                                <span>{{ recover.row.reason }}</span>
                            </el-form-item>
                            <el-form-item label="出发车费">
                                <span>{{ recover.row.startFare }}</span>
                            </el-form-item>
                            <el-form-item label="返回车费">
                                <span>{{ recover.row.returnFare }}</span>
                            </el-form-item>
                            <el-form-item label="伙食补助">
                                <span>{{ recover.row.foodAllowance }}</span>
                            </el-form-item>
                            <el-form-item label="公杂补助">
                                <span>{{ recover.row.localTrans }}</span>
                            </el-form-item>
                            <el-form-item label="住宿费">
                                <span>{{ recover.row.accommodation }}</span>
                            </el-form-item>
                            <el-form-item label="总金额">
                                <span>{{ recover.row.totalAmount }}</span>
                            </el-form-item>
                            <el-form-item label="报销状态">
                                <span>{{ recover.row.scheduleStr }}</span>
                            </el-form-item>
                            <el-form-item label="审批理由">
                                <span>{{ recover.row.scheduleReason }}</span>
                            </el-form-item>
                        </el-form>
                    </template>
                </el-table-column>
                <el-table-column
                        label="报销编号"
                        prop="recoverId">
                </el-table-column>
                <el-table-column
                        label="出差人姓名"
                        prop="name">
                </el-table-column>
                <el-table-column
                        label="部门"
                        prop="department">
                </el-table-column>
                <el-table-column>
                    <template slot-scope="scope">
                        <el-button type="primary" @click="recoverRequest(scope.row)">修改</el-button>
                        <el-button type="danger" @click="recoverDelete(scope.row)">撤回</el-button>
                    </template>
                </el-table-column>
            </el-table>
        </template>

    </div>



    <!-- 出差申请对话框表单 -->

    <el-dialog title="出差申请" :visible.sync="dialogFormVisible">
        <el-form :model="request">
            <el-form-item label="出差人姓名" label-width="120px">
                <el-input v-model="request.name"></el-input>
            </el-form-item>
            <el-form-item label="部门" label-width="120px">
                <el-input v-model="request.department"></el-input>
            </el-form-item>
            <el-form-item label="目的地" label-width="120px">
                <el-input v-model="request.destination"></el-input>
            </el-form-item>
            <el-form-item label="暂定出发日期" label-width="120px">
                <el-input v-model="request.departureDate"></el-input>
            </el-form-item>
            <el-form-item label="预计返回日期" label-width="120px">
                <el-input v-model="request.returnDate"></el-input>
            </el-form-item>
            <el-form-item label="出差类别">
                <el-radio-group v-model="request.type">
                    <el-radio label="业务洽谈"></el-radio>
                    <el-radio label="培训"></el-radio>
                    <el-radio label="会议"></el-radio>
                    <el-radio label="其他"></el-radio>
                </el-radio-group>
            </el-form-item>
            <el-form-item label="其他(如果出差类别选择其他请填写)">
                <el-input type="textarea" v-model="request.typeContent"></el-input>
            </el-form-item>
            <el-form-item label="出差事由">
                <el-input type="textarea" v-model="request.reason"></el-input>
            </el-form-item>
        </el-form>
        <div slot="footer" class="dialog-footer">
            <el-button @click="dialogFormVisible = false">取 消</el-button>
            <el-button type="primary" @click="summitRequest">提 交</el-button>
        </div>
    </el-dialog>

<!--    修改申请对话框表单-->
    <el-dialog title="修改出差申请" :visible.sync="dialogFormVisible2">
        <el-form :model="request">
            <el-form-item label="出差人姓名" label-width="120px">
                <el-input v-model="request.name"></el-input>
            </el-form-item>
            <el-form-item label="部门" label-width="120px">
                <el-input v-model="request.department"></el-input>
            </el-form-item>
            <el-form-item label="目的地" label-width="120px">
                <el-input v-model="request.destination"></el-input>
            </el-form-item>
            <el-form-item label="暂定出发日期" label-width="120px">
                <el-input v-model="request.departureDate"></el-input>
            </el-form-item>
            <el-form-item label="预计返回日期" label-width="120px">
                <el-input v-model="request.returnDate"></el-input>
            </el-form-item>
            <el-form-item label="出差类别">
                <el-radio-group v-model="request.type">
                    <el-radio label="业务洽谈"></el-radio>
                    <el-radio label="培训"></el-radio>
                    <el-radio label="会议"></el-radio>
                    <el-radio label="其他"></el-radio>
                </el-radio-group>
            </el-form-item>
            <el-form-item label="其他(如果出差类别选择其他请填写)">
                <el-input type="textarea" v-model="request.typeContent"></el-input>
            </el-form-item>
            <el-form-item label="出差事由">
                <el-input type="textarea" v-model="request.reason"></el-input>
            </el-form-item>
        </el-form>
        <div slot="footer" class="dialog-footer">
            <el-button @click="dialogFormVisible2 = false">取 消</el-button>
            <el-button type="primary" @click="updateRequest">提 交</el-button>
        </div>
    </el-dialog>

    <!--    审批对话框表单-->
    <el-dialog title="审批出差申请" :visible.sync="dialogFormVisible3">
        <el-form :model="request">
            <el-form-item label="出差人姓名" label-width="120px">
                <el-input v-model="request.name" disabled></el-input>
            </el-form-item>
            <el-form-item label="部门" label-width="120px">
                <el-input v-model="request.department" disabled></el-input>
            </el-form-item>
            <el-form-item label="目的地" label-width="120px">
                <el-input v-model="request.destination" disabled></el-input>
            </el-form-item>
            <el-form-item label="暂定出发日期" label-width="120px">
                <el-input v-model="request.departureDate" disabled></el-input>
            </el-form-item>
            <el-form-item label="预计返回日期" label-width="120px">
                <el-input v-model="request.returnDate" disabled></el-input>
            </el-form-item>
            <el-form-item label="出差类别">
                <el-radio-group v-model="request.type" disabled>
                    <el-radio label="业务洽谈"></el-radio>
                    <el-radio label="培训"></el-radio>
                    <el-radio label="会议"></el-radio>
                    <el-radio label="其他"></el-radio>
                </el-radio-group>
            </el-form-item>
            <el-form-item label="其他(如果出差类别选择其他请填写)">
                <el-input type="textarea" v-model="request.typeContent" disabled></el-input>
            </el-form-item>
            <el-form-item label="出差事由">
                <el-input type="textarea" v-model="request.reason" disabled></el-input>
            </el-form-item>
            <el-form-item label="审批理由(退回需要填写退回理由)">
                <el-input type="textarea" v-model="request.stateReason"></el-input>
            </el-form-item>
        </el-form>
        <div slot="footer" style="text-align: center;">
            <el-button @click="returnRequest()">退 回</el-button>
            <el-button type="primary" @click="approval()">通 过</el-button>
        </div>
    </el-dialog>

<!--    详细查看对话框表单-->
     <el-dialog title="详细" :visible.sync="dialogFormVisible4">
        <el-form :model="request">
            <el-form-item label="出差人姓名" label-width="120px">
                <el-input v-model="request.name" disabled></el-input>
            </el-form-item>
            <el-form-item label="部门" label-width="120px">
                <el-input v-model="request.department" disabled></el-input>
            </el-form-item>
            <el-form-item label="目的地" label-width="120px">
                <el-input v-model="request.destination" disabled></el-input>
            </el-form-item>
            <el-form-item label="暂定出发日期" label-width="120px">
                <el-input v-model="request.departureDate" disabled></el-input>
            </el-form-item>
            <el-form-item label="预计返回日期" label-width="120px">
                <el-input v-model="request.returnDate" disabled></el-input>
            </el-form-item>
            <el-form-item label="出差类别">
                <el-radio-group v-model="request.type" disabled>
                    <el-radio label="业务洽谈"></el-radio>
                    <el-radio label="培训"></el-radio>
                    <el-radio label="会议"></el-radio>
                    <el-radio label="其他"></el-radio>
                </el-radio-group>
            </el-form-item>
            <el-form-item label="其他(如果出差类别选择其他请填写)">
                <el-input type="textarea" v-model="request.typeContent" disabled></el-input>
            </el-form-item>
            <el-form-item label="出差事由">
                <el-input type="textarea" v-model="request.reason" disabled></el-input>
            </el-form-item>
            <el-form-item label="审批理由(退回需要填写退回理由)">
                <el-input type="textarea" v-model="request.stateReason" disabled></el-input>
            </el-form-item>
        </el-form>
        <div slot="footer" style="text-align: center;">
            <el-button @click="dialogFormVisible4 = false">返 回</el-button>
        </div>
    </el-dialog>

    <!--    报销差旅费对话框表单-->
    <el-dialog title="报销差旅费" :visible.sync="dialogFormVisible5">
        <el-form :model="recover">
            <el-form-item label="出差人姓名" label-width="120px">
                <el-input v-model="recover.name"></el-input>
            </el-form-item>
            <el-form-item label="部门" label-width="120px">
                <el-input v-model="recover.department"></el-input>
            </el-form-item>
            <el-form-item label="目的地" label-width="120px">
                <el-input v-model="recover.destination"></el-input>
            </el-form-item>
            <el-form-item label="出发日期" label-width="120px">
                <el-input v-model="recover.departureDate"></el-input>
            </el-form-item>
            <el-form-item label="返回日期" label-width="120px">
                <el-input v-model="recover.returnDate"></el-input>
            </el-form-item>
            <el-form-item label="出差事由">
                <el-input type="textarea" v-model="recover.reason"></el-input>
            </el-form-item>
            <el-form-item label="出发车费" label-width="120px">
                <el-input v-model="recover.startFare"></el-input>
            </el-form-item>
            <el-form-item label="返回车费" label-width="120px">
                <el-input v-model="recover.returnFare"></el-input>
            </el-form-item>
            <el-form-item label="伙食补助" label-width="120px">
                <el-input v-model="recover.foodAllowance"></el-input>
            </el-form-item>
            <el-form-item label="公杂补助" label-width="120px">
                <el-input v-model="recover.localTrans"></el-input>
            </el-form-item>
            <el-form-item label="住宿费" label-width="120px">
                <el-input v-model="recover.accommodation"></el-input>
            </el-form-item>

        </el-form>
        <div slot="footer" class="dialog-footer">
            <el-button @click="dialogFormVisible5 = false">取 消</el-button>
            <el-button type="primary" @click="addRecover">提 交</el-button>
        </div>
    </el-dialog>

</div>

<script src="js/vue.js"></script>
<script src="js/axios-0.18.0.js"></script>
<script src="element-ui/lib/index.js"></script>
<link rel="stylesheet" href="element-ui/lib/theme-chalk/index.css">
<script>
    new Vue({
        el: '#app',
        data() {
            return {
                // 修改弹框
                dialogFormVisible2:false,
                // 审批弹框
                dialogFormVisible3:false,
                // 详情弹框
                dialogFormVisible4:false,
                // 报销差旅费弹框
                dialogFormVisible5:false,

                activeIndex: '1',
                staff:{
                    userId:'1',
                    userName:'1',
                    position:'1',
                    department:'1'
                },
                dialogFormVisible: false,
                request: {
                    name: '',
                    typeContent: '',
                    department: '',
                    destination:'',
                    departureDate: '',
                    returnDate: '',
                    type: '',
                    reason: '',
                    stateReason:''
                },
                //报销数据
                recover:{
                    recoverId:'',
                    name:'',
                    department:'',
                    destination:'',
                    departureDate:'',
                    returnDate:'',
                    reason:'',
                    startFare:'',
                    returnFare:'',
                    foodAllowance:'',
                    localTrans:'',
                    accommodation:'',
                    totalAmount:'',
                    schedule:'',
                    scheduleReason:'',
                    scheduleStr:''
                },
                // 表格数据
                tableData: [],
                recoverTableData:[],
            }
        },
        methods: {
            addRecover(){
                axios({
                    method:'post',
                    url:"http://localhost:8080/travel-recover/recover/addRecover",
                    data:this.recover
                }).then(res=>{
                    console.log(res.data);
                    if(res.data != null){
                        this.$message({
                            message: '报销申请提交成功',
                            type: 'success'
                        });
                        this.dialogFormVisible5 = false;
                    }
                })
                this.selectAll();
            },
            // 报销差旅费申请
            openRecover(){
                this.dialogFormVisible5 = true;
            },
            // 详情
            detail(row){
                this.request = row;
                this.dialogFormVisible4 = true;
            },
            // 退回
            returnRequest(){
                this.request.state = 2;
                this.updateRequest();
                this.dialogFormVisible3 = false;
            },
            // 通过
            approval(){
                this.request.state = 1;
                this.updateRequest();
                this.dialogFormVisible3 = false;
            },
            // 审批
            approvalRequest(row){
                this.request = row;
                this.dialogFormVisible3 = true;

            },
            // 撤回
            withdraw(id){
                console.log(id);
                 this.$confirm('是否撤回此条出差申请?', '提示', {
                    confirmButtonText: '确定',
                    cancelButtonText: '取消',
                    type: 'warning'
                }).then(() => {
                    axios({
                    method:'get',
                    url:"http://localhost:8080/travel-recover/request/withdraw",
                    params:{
                        id:id
                    }
                }).then(res=>{
                    if(res.data == "success"){
                        this.selectAll();
                        this.$message({
                            message: '撤回成功',
                            type: 'success'
                        });
                    }
                })
                }).catch(() => {
                    this.$message({
                        type: 'info',
                        message: '已取消撤回'
                    });
                });
            },
            // 修改出出差申请
            updateRequest(){
                axios({
                    method:'post',
                    url:"http://localhost:8080/travel-recover/request/update",
                    data:this.request
                }).then(res=>{
                        if(res.data == "success"){
                            this.dialogFormVisible2 = false;
                            this.selectAll();
                            this.$message({
                                message: '修改成功',
                                type: 'success'
                            });
                        }
                    })
            },
            //修改
            update(row){
                this.dialogFormVisible2 = true;
                this.request = row;
            },
            // 表格样式
            tableRowClassName({row, rowIndex}) {
                if (rowIndex === 1) {
                    return 'warning-row';
                } else if (rowIndex === 3) {
                    return 'success-row';
                }
                return '';
            },
            //查询出差申请
            selectAll(){
                axios({
                    method:'get',
                    url:"http://localhost:8080/travel-recover/request/selectAll"
                }).then(res=>{
                    console.log(res.data);
                    this.tableData = res.data;
                })
                axios({
                    method:'get',
                    url:"http://localhost:8080/travel-recover/recover/selectAll"
                }).then(res=>{
                    console.log(res.data);
                    this.recoverTableData = res.data;
                })
            },

            summitRequest(){
                console.log(this.request);
                axios({
                    method:'post',
                    url:"http://localhost:8080/travel-recover/request/addRequest",
                    data:this.request
                }).then(res=>{
                    if(res.data == "success"){
                        this.dialogFormVisible = false;
                        this.$message({
                            message: '出差申请提交成功',
                            type: 'success'
                        });
                        this.selectAll();
                    }
                })
            },
            //出差申请
            travelApply(){
                this.dialogFormVisible = true;
            },
            //切换导航栏
            handleSelect(key, keyPath) {
                console.log(key);
                if(key == "1"){
                    document.getElementById("homePage").style.display = "block";
                    document.getElementById("apply").style.display = "none";
                    document.getElementById("approval").style.display = "none";
                    document.getElementById("reimbursement").style.display = "none";
                }
                else if(key == "2"){
                    this.selectAll();
                    document.getElementById("reimbursement").style.display = "none";
                    document.getElementById("homePage").style.display = "none";
                    document.getElementById("approval").style.display = "none";
                    document.getElementById("apply").style.display = "block";
                     // window.location.href = "http://localhost:8080/travel-recover/travelApply.html";
                }
                else if(key == "3"){
                    this.selectAll();
                    document.getElementById("homePage").style.display = "none";
                    document.getElementById("approval").style.display = "none";
                    document.getElementById("apply").style.display = "none";
                    document.getElementById("reimbursement").style.display = "block";
                }
                else if(key == "4-1"){
                    this.selectAll();
                    document.getElementById("reimbursement").style.display = "none";
                    document.getElementById("homePage").style.display = "none";
                     document.getElementById("apply").style.display = "none";
                    document.getElementById("approval").style.display = "block";
                }
            },
        },
        mounted(){
            this.$message({
                message: '登录成功',
                type: 'success'
            });
            this.staff.userId = sessionStorage.getItem("userId");
            this.staff.userName = sessionStorage.getItem("userName");
            this.staff.position = sessionStorage.getItem("position");
            this.staff.department = sessionStorage.getItem("department");
        }
    })

</script>
</body>
</html>

标签:11,style,27,document,element,getElementById,recover,display,row
From: https://www.cnblogs.com/XYu1230/p/18573327

相关文章

  • 2024.11.27
    您遇到的org.mybatis.spring.MyBatisSystemException:nestedexceptionisorg.apache.ibatis.binding.BindingException:Parameter'taskId'notfound.Availableparametersare[arg1,arg0,param1,param2]错误通常是由于MyBatis在执行SQL语句时无法找到对应的参数......
  • Java学习笔记——2024.11.27
    2024.11.27一、字符类型1.字符类型初探可以存放一个汉字(2字节)或者数字(这个c4存储的应该是ASCII编码为97的字符,也就是a)2.字符类型细节publicclassChardetial{publicstaticvoidmain(String[]args){charc1=97;System.out.println(c1)......
  • CVE-2024-11477 漏洞中,7-Zip的Zstandard解压缩功能由于对用户提供的数据验证不足,可能
    关于流行文件压缩工具7-Zip中的高危漏洞(CVE-2024-11477)。以下是该漏洞的详细说明和建议:漏洞概述:漏洞名称:CVE-2024-11477影响软件:7-Zip漏洞类型:缓冲区溢出漏洞发现者:趋势科技安全研究员NicholasZubrisky漏洞位置:Zstandard解压缩功能漏洞危害:由于对用户提供的数据验证......
  • 11月27日记录(《代码大全》精读笔记)
    《代码大全(第二版)》是SteveMcConnell所著的经典软件开发书籍,其中关于变量和语句的讨论深刻影响了无数程序员的编程实践。以下是对这部分内容的精读体会:变量命名的重要性:变量的命名是编码中最为直观的文档形式。一个好名字能够清晰地传达变量的用途和含义,减少代码的阅读难度。书......
  • 11/27语法
    感叹句的用法:⭐️⭐️⭐️⭐️⭐️感叹句是用来表达强烈情感的句子,通常使用感叹调并在句末使用感叹号(!)。‌感叹句可以通过“how”和“what”来引导,这两种形式是最常见的感叹句结构。‌12感叹句的基本用法‌由“how”引导的感叹句‌:‌结构‌:How+形容词/副词+主语+谓语!‌用法‌:修饰......
  • 11月阅读笔记
    这里是11月第二篇阅读笔记。前言见上一篇。最近我又读了一部分,特来写一篇笔记:书中在介绍编程的基本概念时,没有使用那些复杂的专业术语,而是用类比的方式来讲解,这种类比的方式让即使没有任何编程基础的人也能快速理解编程的本质。从最基础的编程环境搭建,到简单的代码语句,再到构建......
  • 2024御网杯信息安全大赛个人赛wp_2024-11-27
    MISC题解题目附件以及工具链接:通过网盘分享的文件:御网杯附件链接:https://pan.baidu.com/s/1LNA6Xz6eZodSV0Io9jGSZg提取码:jay1--来自百度网盘超级会员v1的分享一.信息安全大赛的通知Ctrl+A发现存在隐写:选中中间空白那一部分,把文字变成红色,得出flag二、编码转换一......
  • 11/27
    汽水瓶某商店规定:三个空汽水瓶可以换一瓶汽水,允许向老板借空汽水瓶(但是必须要归还)。小张手上有n个空汽水瓶,她想知道自己最多可以喝到多少瓶汽水。数据范围:输入的正整数满足1≤n≤1001≤n≤100注意:本题存在多组输入。输入的0表示输入结束,并不用输出结果。点击查看......
  • 11/27日总结
    阅读理解=阅读+理解阅读=单词+上下文理解=获得作者想要表达的意思阅读是为了理解阅读理解的方法:阅读理解的方法最有效果的就是翻译和理解,翻译的目的是读懂这篇文章,理解的目的是可以更好的去懂得它讲述的内容,而不是胡乱去猜想,因为那是没有意义的,其次,联系上下文也是阅读理解的一......
  • 2024.11.27
    NOIP倒计时3天今日总结:上午机房断网比赛,下午改题,晚上重新看了看以前写过的题1:最大跨距这道题我是用字符串中的stl解决的,当然更加准确的是用KMP来解决,只需要记录第一个访问的位置,和最后一个访问的位置点击查看代码#include<bits/stdc++.h>usingnamespacestd;intmain()......