大数跨境

未来之窗昭和仙君(九十三)用户指引自助教学源码—东方仙盟

未来之窗昭和仙君(九十三)用户指引自助教学源码—东方仙盟 未来之窗软件服务中心
2026-05-19
1
导读:代码代码<!

代码
代码
<!DOCTYPE html><html lang="zh-CN"><head><meta charset="UTF-8"><meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"><title>你的导师-未来之窗</title><style>    *{margin:0;padding:0;box-sizing:border-box;}    body{padding:50px 80px;font-family"Microsoft YaHei", sans-serif;}
    .title{        font-size30px;        font-weight: bold;        color#222;        text-align: center;        margin-bottom8px;    }    .subtitle{        font-size18px;        color#666;        text-align: center;        margin-bottom50px;    }
    .btn-item{        display:inline-block;        padding:14px 30px;        margin:15px;        background:#1976d2;        color:#fff;        border:0;        border-radius:6px;        font-size:15px;        cursor:pointer;        position:relative;        z-index:99998;    }    .inp-item{        padding:12px;        width:260px;        margin:15px;        border:1px solid #ccc;        border-radius:6px;        font-size:15px;        position:relative;        z-index:99998;    }    .tab-box{margin:20px 15px;position:relative;z-index:99998;}    .tab-btn{padding:10px 20px;background:#eee;border:none;margin-right:5px;cursor:pointer;border-radius:4px;}    .tab-btn.active{background:#1976d2;color:#fff;}    .tab-con{padding:20px;border:1px solid #ccc;margin-top:10px;width:300px;}    .tab-item{display:none;}    .tab-item.show{display:block;}</style></head><body>
<div class="title">你的导师-未来之窗</div><div class="subtitle">教操一体化</div>
<button class="btn-item" data-step="1" onclick="alert('点击按钮1成功')">按钮1</button><button class="btn-item" data-step="2" onclick="alert('点击按钮2成功')">按钮2</button>
<input type="text" class="inp-item" data-step="3" placeholder="请输入内容">
<div class="tab-box" data-step="4">    <button class="tab-btn active" onclick="changeTab(1)">标签一</button>    <button class="tab-btn" onclick="changeTab(2)">标签二</button>    <div class="tab-con">        <div class="tab-item show" id="tab1">标签一内容</div>        <div class="tab-item show" id="tab2">标签二内容</div>    </div></div>
<button class="btn-item" data-step="5" onclick="alert('最后一步按钮')">结束按钮</button>
<br><button style="margin:10px;padding:8px 16px;" onclick="GuideModule.setGuide(guideSteps);GuideModule.startRange(1)">从头开始(1到结束)</button><button style="margin:10px;padding:8px 16px;" onclick="GuideModule.setGuide(guideSteps);GuideModule.startRange(3)">从第3步开始到结束</button><button style="margin:10px;padding:8px 16px;" onclick="GuideModule.setGuide(guideSteps);GuideModule.startRange(2,4)">区间2~4步</button>
<script>function changeTab(id){    var tabs = document.getElementsByClassName("tab-item");    var btns = document.getElementsByClassName("tab-btn");    for(var i=0;i<tabs.length;i++){        tabs[i].className = "tab-item";        btns[i].className = "tab-btn";    }    document.getElementById("tab"+id).className = "tab-item show";    btns[id-1].className = "tab-btn active";}
var guideSteps = [    { selector'[data-step="1"]'text'请点击此按钮'checkClicktrue },    { selector'[data-step="2"]'text'点击第二个功能按钮'checkClicktrue },    { selector'[data-step="3"]'text'请在输入框填写内容'checkFilltrue },    { selector'[data-step="4"]'text'点击区域切换标签'checkClicktrue },    { selector'[data-step="5"]'text'点击完成按钮'checkClicktrue }];
var GuideModule = (function(){    var stepList = [];    var curIndex = 0;    var endLimitIndex = 0;    var mask, highlightBox, tipsBox;    var prevBtn, nextBtn;    var styleNode = null;    var targetEl = null;    var lastTargetEl = null;    var areaClickFlag = false;
    function loadGuideStyle(){        if(styleNode) return;        var css = `            .guide-mask{                position:fixed;top:0;left:0;width:100%;height:100%;                background:rgba(0,0,0,0.75);z-index:99997;                pointer-events:auto;            }            .highlight-box{                position:fixed;box-shadow:0 0 12px 4px #fff;border-radius:4px;                pointer-events:none;z-index:99999;            }            .guide-tips{                position:fixed;padding:18px;background:#fff;border-radius:8px;                z-index:100000;min-width:280px;pointer-events:auto;            }            .guide-tips .text{font-size:14px;color:#333;margin-bottom:15px;}            .guide-tips .btn-box{text-align:right;}            .guide-tips .tip-btn{padding:6px 14px;margin-left:8px;border:0;border-radius:4px;cursor:pointer;}            .tip-prev{background:#eee;}            .tip-next{background:#1976d2;color:#fff;}            .tip-close{background:#666;color:#fff;}        `;        styleNode = document.createElement('style');        styleNode.type = 'text/css';        styleNode.innerHTML = css;        document.head.appendChild(styleNode);    }
    function createDom(){        loadGuideStyle();        areaClickFlag = false;
        mask = document.createElement('div');        mask.className = 'guide-mask';        document.body.appendChild(mask);
        highlightBox = document.createElement('div');        highlightBox.className = 'highlight-box';        document.body.appendChild(highlightBox);
        tipsBox = document.createElement('div');        tipsBox.className = 'guide-tips';        tipsBox.innerHTML = `            <div class="text"></div>            <div class="btn-box">                <button class="tip-btn tip-prev">上一步</button>                <button class="tip-btn tip-next">下一步</button>                <button class="tip-btn tip-close">关闭</button>            </div>`;        document.body.appendChild(tipsBox);
        prevBtn = tipsBox.querySelector('.tip-prev');        nextBtn = tipsBox.querySelector('.tip-next');        prevBtn.onclick = prevStep;        nextBtn.onclick = checkNextStep;        tipsBox.querySelector('.tip-close').onclick = closeGuide;    }
    function checkNextStep(){        var currStep = stepList[curIndex];        if(currStep.checkClick && !areaClickFlag){            alert("请先点击当前指引区域,再进行下一步");            return;        }        if(currStep.checkFill){            var inputVal = (targetEl.value || "").trim();            if(inputVal === ""){                alert("请先填写输入框内容,再进行下一步");                return;            }        }        goNext();    }
    function goNext(){        curIndex++;        if(curIndex > endLimitIndex){            closeGuide();            return;        }        renderStep();    }
    function updateBtnStatus(){        prevBtn.style.display = curIndex === 0 ? 'none' : 'inline-block';        nextBtn.innerText = (curIndex >= endLimitIndex) ? "完成" : "下一步";    }
    function renderStep(){        if(lastTargetEl){            // 不清理 z-index,保持可点        }        areaClickFlag = false;
        var step = stepList[curIndex];        targetEl = document.querySelector(step.selector);        if(!targetEl) return;
        // 监听目标元素点击,自动标记完成        targetEl.addEventListener('click'function(){            areaClickFlag = true;        });
        var rect = targetEl.getBoundingClientRect();        highlightBox.style.left = rect.left + 'px';        highlightBox.style.top = rect.top + 'px';        highlightBox.style.width = rect.width + 'px';        highlightBox.style.height = rect.height + 'px';
        tipsBox.querySelector('.text').innerText = step.text;        tipsBox.style.left = rect.left + 'px';        tipsBox.style.top = rect.bottom + 15 + 'px';
        updateBtnStatus();    }
    function prevStep(){        if(curIndex <= 0return;        curIndex--;        renderStep();    }
    function closeGuide(){        if(mask) mask.remove();        if(highlightBox) highlightBox.remove();        if(tipsBox) tipsBox.remove();        if(styleNode) styleNode.remove();        mask = highlightBox = tipsBox = styleNode = targetEl = lastTargetEl = null;        curIndex = 0;        endLimitIndex = 0;    }
    function setGuide(steps){        stepList = steps;    }
    function startRange(startNum, endNum){        if(!stepList || stepList.length === 0return;        var total = stepList.length - 1;        curIndex = Math.max(startNum - 10);        endLimitIndex = (endNum == null) ? total : Math.min(endNum - 1, total);        if(curIndex > endLimitIndex) return;
        lastTargetEl = null;        createDom();        renderStep();    }
    function start(){        startRange(1);    }
    return {        setGuide: setGuide,        start: start,        startRange: startRange,        close: closeGuide    };})();</script>
</body></html>




人人皆为创造者


每个人都是使用者,也是创造者;是数字世界的消费者,更是价值的生产者与分享者。在智能时代的浪潮里,单打独斗的发展模式早已落幕,唯有开放连接、创意共创、利益共享,才能让个体价值汇聚成生态合力,让技术与创意双向奔赴,实现平台与伙伴的快速成长、共赢致远。


原创应该获得永久分成


原创创意共创、永久收益分成,是东方仙盟始终坚守的核心理念。我们坚信,每一份原创智慧都值得被尊重与回馈,以永久分成锚定共创初心,让创意者长期享有价值红利,携手万千伙伴向着科技星辰大海笃定前行,拥抱硅基 生命与数字智能交融的未来,共筑跨越时代的数字文明共同体。



  • 东方仙盟 

    东方仙盟:拥抱知识开源,共筑数字新生态

    在全球化与数字化浪潮中,东方仙盟始终秉持开放协作、知识共享的理念,积极拥抱开源技术与开放标准。我们相信,唯有打破技术壁垒、汇聚全球智慧,才能真正推动行业的可持续发展。

    开源赋能中小商户:通过将前端异常检测、跨系统数据互联等核心能力开源化,东方仙盟为全球中小商户提供了低成本、高可靠的技术解决方案,让更多商家能够平等享受数字转型的红利。共建行业标准:我们积极参与国际技术社区,与全球开发者、合作伙伴共同制定开放协议与技术规范,推动跨境零售、文旅、餐饮等多业态的系统互联互通,构建更加公平、高效的数字生态。知识普惠,共促发展:通过开源社区、技术文档与培训体系,东方仙盟致力于将前沿技术转化为可落地的行业实践,赋能全球合作伙伴,共同培育创新人才,推动数字经济 的普惠式增长

    阿雪技术观

    在科技发展浪潮中,我们不妨积极投身技术共享。不满足于做受益者,更要主动担当贡献者。无论是分享代码、撰写技术博客,还是参与开源项目维护改进,每一个微小举动都可能蕴含推动技术进步的巨大能量。东方仙盟是汇聚力量的天地,我们携手在此探索硅基生命,为科技进步添砖加瓦。


    Hey folks, in this wild tech - driven world, why not dive headfirst into the whole tech - sharing scene? Don't just be the one reaping all the benefits; step up and be a contributor too. Whether you're tossing out your code snippets, hammering out some tech blogs, or getting your hands dirty with maintaining and sprucing up open - source projects, every little thing you do might just end up being a massive force that pushes tech forward. And guess what? The Eastern FairyAlliance is this awesome place where we all come together. We're gonna team up and explore the whole silicon - based life thing, and in the process, we'll be fueling the growth of technology.  

    开通方法


    关注我们

    营销资讯:抖音运营,微信公众号运营,小红书运营

    网站运营:安全、备案、申请网站,漏洞扫描,数字证书

    开发:开发技巧、热点技术,人工智能,数据分析,数据优化,docker

    数据服务:数据恢复,数据安全,数据融合,数据异地容灾,数据优化,数据自动备份、数据清洗

    人工智能:智能物联网,智慧大屏幕,OCR,智慧刷脸,语音交互,智能机器人,数字生命,数字人,大模型,本地化,边缘化智能(手机模型)

    支付:微信支付服务商,支付支付服务商,刷脸支付

    安全服务:WAF安全,网安扫描,漏洞扫描,安全补丁,防火墙定制

    智慧大屏:物资耗材大屏幕,单位用餐大数据,智慧场馆大屏,销售大屏幕,智慧社区大屏幕,大厅查询机,景区自助机

    智慧酒店:酒店系统、酒店押金、酒店房价牌、酒店门锁、布草系统

    行业软件:酒店、餐饮、便利店,美发、超市,批发,景区门票,道闸,堂食,配送系统,烘焙系统,健身,美容系统,月子中心系统

    物联网:智能衣柜,足浴店衣柜,售货柜,酒店自助入住机

    国产化:uos系统答疑,国产软件开发,国产服务器配置,docker

    一体化:酒店一体化(闸机,酒店系统,餐饮系统,售票,布草,无人酒店,在线订房),景区一体化(门票、餐饮、住宿、押金、超市、药店、商铺租赁,通车系统,售票大厅,大屏幕,无人景区,景区自助机)


          


【声明】内容源于网络
0
0
未来之窗软件服务中心
在线工单、售后、配送查询、附近商家 业务范围:餐饮、酒店、KTV、洗浴、客房、美容美发、糕点、POS收银系统 ;商城、团购、分销、众筹、医疗、学校、美容 ;OA、CRM、HRM;智能WIFI、产品、商家推广
内容 182
粉丝 0
未来之窗软件服务中心 在线工单、售后、配送查询、附近商家 业务范围:餐饮、酒店、KTV、洗浴、客房、美容美发、糕点、POS收银系统 ;商城、团购、分销、众筹、医疗、学校、美容 ;OA、CRM、HRM;智能WIFI、产品、商家推广
总阅读152
粉丝0
内容182