123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335 |
- <!DOCTYPE html>
- <html lang="en">
- <head>
- <title>
- 打开志远装饰
- </title>
- <meta charset="UTF-8">
- <meta name="viewport" content="width=device-width, initial-scale=1">
- </head>
- <style>
- html,
- body {
- display: block;
- width: 100%;
- height: 100%;
- overflow: hidden;
- position: relative;
- }
- * {
- margin: 0;
- padding: 0;
- box-sizing: border-box;
- }
- .left {
- float: left;
- }
- .right {
- float: right;
- }
- .clearfix:after {
- content: ".";
- display: block;
- height: 0;
- clear: both;
- visibility: hidden;
- }
- .ellipsis {
- overflow: hidden;
- text-overflow: ellipsis;
- white-space: nowrap;
- }
- .ellipsisfive {
- overflow: hidden;
- text-overflow: ellipsis;
- display: -webkit-box;
- -webkit-line-clamp: 5;
- -webkit-box-orient: vertical;
- }
- .unwxbox,
- .wxenv {
- display: block;
- width: 100%;
- height: 100%;
- position: relative;
- }
- .unwxbox .imgbox,
- .wxenv .imgbox {
- display: block;
- width: 100%;
- height: 100%;
- position: relative;
- overflow: hidden;
- border-radius: 0 0 20px 20px;
- }
- .unwxbox .imgmsg,
- .wxenv .imgmsg {
- display: block;
- width: 100%;
- position: absolute;
- top: 50%;
- left: 50%;
- transform: translateX(-50%) translateY(-50%);
- }
- .unwxbox .layerbox,
- .wxenv .layerbox {
- display: block;
- width: 100%;
- height: 100%;
- background-color: rgba(0, 0, 0, 0.16);
- position: fixed;
- top: 0;
- left: 0;
- z-index: 9;
- }
- .unwxbox {
- max-width: 540px;
- margin: 0 auto;
- }
- #launch-btn {
- display: block;
- width: 100%;
- height: 100%;
- position: fixed;
- top: 0;
- left: 0;
- z-index: 100;
- }
- body {
- box-sizing: border-box;
- padding-bottom: 80px;
- background-color: #000;
- }
- .mianbox {
- display: block;
- width: 100%;
- height: 100%;
- background-color: #ffffff;
- border-radius: 0 0 20px 20px;
- }
- .footer1 {
- display: block;
- position: fixed;
- bottom: 0;
- left: 0;
- width: 100%;
- height: 100px;
- padding: 32px 20px 0;
- box-sizing: border-box;
- color: #ffffff;
- z-index: 98;
- }
- .footimg {
- display: block;
- width: 100%;
- position: absolute;
- bottom: 0;
- left: 0;
- }
- .footbox {
- display: block;
- width: 100%;
- }
- .leftfoot {
- float: left;
- }
- .leftfoot img {
- display: block;
- width: 48px;
- height: 48px;
- border-radius: 50%;
- }
- .leftfoot span {
- font-size: 14px;
- margin-left: 6px;
- display: inline-block;
- line-height: 48px;
- }
- .layerbox1 {
- float: right;
- font-size: 14px;
- line-height: 48px;
- width: 74px;
- height: 48px;
- color: #ffffff;
- }
- #launch-btn1 {
- width: 100px;
- height: 48px;
- display: block;
- }
- .unwxbox img.play,
- .wxenv img.play {
- display: block;
- width: 60px;
- height: 60px;
- position: absolute;
- top: 50%;
- left: 50%;
- transform: translateX(-50%) translateY(-50%);
- z-index: 102;
- }
- .goto {
- display: block;
- width: 140px;
- height: 48px;
- position: fixed;
- top: 50%;
- line-height: 48px;
- z-index: 105;
- color: #fff;
- left: 50%;
- background: rgb(0, 0, 0, 0.4);
- text-align: center;
- transform: translateX(-50%) translateY(-64px);
- }
- .weapp {
- display: block;
- width: 100%;
- height: 100%;
- position: absolute;
- top: 0;
- left: 0;
- z-index: 2;
- }
- #wxenvbox2 {
- display: block;
- width: 100%;
- height: 100%;
- position: absolute;
- top: 0;
- left: 0;
- z-index: 100;
- }
- .footlayerbox {
- display: block;
- width: 100%;
- height: 100%;
- position: absolute;
- top: 0;
- left: 0;
- z-index: 103;
- }
- .topimgbox {
- display: block;
- width: 100%;
- max-height: 55%;
- position: relative;
- overflow: hidden;
- }
- .unwxbox img.topimg,
- .wxenv img.topimg {
- display: block;
- width: 100%;
- position: relative;
- top: 0%;
- left: 0%;
- transform: translateX(0%) translateY(0%);
- }
- .articletitle {
- display: block;
- font-size: 18px;
- padding: 16px 20px 20px;
- font-weight: bold;
- text-align: center;
- }
- .tleft {
- text-align: left;
- }
- .contentmsgbox {
- padding: 0 20px;
- font-size: 16px;
- overflow: hidden;
- }
- .contentmsgbox1 {
- padding: 0 10px;
- font-size: 16px;
- height: calc(100vh - 300px);
- background-color: #F0F4F7;
- }
- .contentmsgbox1 img {
- position: relative;
- top: 0%;
- left: 0%;
- transform: translateX(0%) translateY(0%);
- width: auto;
- max-width: 100%;
- }
- .contentmsgbox img {
- position: relative;
- top: 0%;
- left: 0%;
- transform: translateX(0%) translateY(0%);
- width: auto;
- max-width: 100%;
- }
- .unloginlayer {
- display: block;
- width: 100%;
- position: absolute;
- bottom: 0;
- left: 0;
- height: 20%;
- background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.00) 0%, rgb(255 255 255) 80%);
- }
- .contentbox {
- display: block;
- width: 100%;
- }
- .praisebox {
- display: block;
- width: 100%;
- height: 100%;
- display: flex;
- flex-direction: column;
- justify-content: center;
- }
- .praiseimgbox {
- display: block;
- width: 100%;
- max-height: 70%;
- overflow: hidden;
- }
- .praiseimgbox img {
- display: block;
- width: 100%;
- }
- .praisetitle {
- display: block;
- font-size: 18px;
- padding: 16px 20px 0;
- font-weight: bold;
- text-align: center;
- }
- .hidden {
- display: none !important;
- }
- .posterimg {
- display: block;
- width: 100%;
- }
- html,
- body {
- display: block;
- width: 100%;
- height: 100%;
- overflow: auto;
- }
- * {
- margin: 0;
- padding: 0;
- border: unset;
- box-sizing: border-box;
- max-width: 100%;
- }
- input,
- button,
- textarea {
- outline: 0;
- }
- .width25 {
- width: 25%;
- }
- .bold {
- font-weight: bold;
- }
- .lhr40 {
- line-height: 22px;
- }
- .lhr44 {
- line-height: 24px;
- }
- .color333 {
- color: #333333;
- }
- .color999 {
- color: #999999;
- }
- .fontfpr {
- font-family: PingFangSC-Regular, Source Han Sans CN DemiLight;
- }
- .fontr18 {
- font-size: 10px;
- }
- button {
- border: unset;
- }
- .fontfpb {
- font-family: PingFang-SC-Bold, Source Han Sans CN Black;
- }
- .fontr24 {
- font-size: 14px;
- }
- .tcenter {
- text-align: center;
- }
- .fontr32 {
- font-size: 18px;
- }
- .left {
- float: left;
- }
- .right {
- float: right;
- }
- .width25 {
- width: 25%;
- }
- .width30_ {
- width: 30%;
- }
- .width22_ {
- width: 22%;
- }
- .width23_ {
- width: 23%;
- }
- .clearfix:after {
- content: ".";
- display: block;
- height: 0;
- clear: both;
- visibility: hidden;
- }
- .lhr32 {
- line-height: 18px;
- }
- .color28A1FF {
- color: #28A1FF;
- }
- .fontfpr {
- font-family: PingFangSC-Regular, Source Han Sans CN DemiLight;
- }
- .fontr28 {
- font-size: 16px;
- }
- .pull-left {
- float: left;
- }
- .ellipsis {
- overflow: hidden;
- text-overflow: ellipsis;
- white-space: nowrap;
- }
- .ellipsisTwo {
- overflow: hidden;
- text-overflow: ellipsis;
- display: -webkit-box;
- -webkit-line-clamp: 2;
- -webkit-box-orient: vertical;
- }
- .startimebox {
- margin-top: 2px;
- }
- footer {
- display: block;
- width: 100%;
- height: 49px;
- background-color: #ffffff;
- position: fixed;
- bottom: 0;
- left: 0;
- z-index: 99;
- box-shadow: 0 -2px 6px 0 rgba(0, 145, 255, 0.15);
- }
- .footerLeft {
- display: block;
- width: 50%;
- }
- footer .rightbtn {
- display: block;
- width: 100%;
- height: 49px;
- line-height: 49px;
- background-color: #ff7100;
- color: #ffffff;
- font-size: 16px;
- }
- .inputbox {
- display: none;
- width: 80%;
- padding: 8px 16px 16px;
- position: fixed;
- top: 30%;
- left: 10%;
- z-index: 100;
- background-color: #ffffff;
- border-radius: 5px;
- box-shadow: 0 0px 8px 0 rgba(0, 145, 255, 0.3);
- }
- .inputbox img {
- position: absolute;
- top: -12px;
- right: -12px;
- width: 24px;
- }
- .inputbox .titbox {
- font-family: PingFang-SC-Medium, Source Han Sans CN Medium;
- font-size: 16px;
- text-align: center;
- line-height: 24px;
- margin-bottom: 10px;
- }
- .inputbox .input {
- display: block;
- width: 100%;
- margin-bottom: 16px;
- height: 44px;
- }
- .inputbox .input input {
- display: block;
- width: 100%;
- height: 100%;
- border: 1px solid #ddd;
- padding-left: 8px;
- }
- .inputbox button {
- width: 100%;
- height: 44px;
- color: #fff;
- background-color: #ff7100;
- border-radius: 22px;
- }
- .topcoverbox {
- display: block;
- width: 100%;
- max-height: 30%;
- overflow: hidden;
- }
- .topcoverbox img {
- display: block;
- width: 100%;
- }
- .titlebox {
- display: block;
- width: 100%;
- background-color: #ffffff;
- padding: 15px 15px 10px;
- }
- .startimebox {
- margin-top: 2px;
- }
- .casemsgbox {
- display: block;
- background-color: #FFFFFF;
- position: relative;
- z-index: 1;
- }
- .casemsgbox {
- width: 100%;
- margin: 8px auto 0;
- background-color: #ffffff;
- border-radius: 5px;
- box-shadow: 0px 3px 6px 1px rgba(102, 102, 102, 0.16);
- box-sizing: border-box;
- padding: 10px 0 16px;
- }
- .casepricebox div {
- height: 16px;
- overflow: hidden;
- margin-top: 12px;
- }
- .stepbox {
- display: block;
- width: 100%;
- margin-top: 10px;
- padding: 12px 0;
- background-color: #FFFFFF;
- }
- .everysteps {
- text-align: center;
- position: relative;
- }
- .everysteps .stepnum {
- display: block;
- width: 16px;
- height: 16px;
- background: #FFFFFF;
- border: 2px solid #CCCCCC;
- border-radius: 50%;
- margin: 0 auto 6px;
- position: relative;
- z-index: 2;
- }
- .everysteps::after {
- display: block;
- content: " ";
- width: 100%;
- height: 5px;
- background: #EEEEEE;
- position: absolute;
- top: 5.5px;
- left: -50%;
- z-index: 1;
- }
- .sitestep .everysteps:first-child::after {
- display: none;
- }
- .sitestep {
- margin-top: 16px;
- }
- .stepmsgbox {
- margin-top: 10px;
- padding: 20px 20px 0;
- background-color: #FFFFFF;
- }
- .stepmsgtitbox {
- position: relative;
- }
- .stepmsgtitbox::before {
- content: " ";
- display: block;
- width: 4px;
- height: 19px;
- background: #28A1FF;
- border-radius: 1px;
- position: absolute;
- top: 1px;
- left: -8px;
- }
- .contentbox {
- display: block;
- width: 100%;
- }
- .imgbox .imgdiv {
- display: block;
- width: 30%;
- border-radius: 3px;
- margin-bottom: 17px;
- margin-right: 5%;
- }
- .imgbox .imgdiv div {
- display: block;
- width: 100%;
- padding-bottom: 100%;
- position: relative;
- }
- .imgbox .imgdiv img {
- display: block;
- position: absolute;
- width: 100%;
- height: 100%;
- }
- .imgbox .imgdiv:nth-of-type(3n) {
- margin-right: 0;
- }
- .width20_ {
- width: 20%;
- }
- .lhr28 {
- line-height: 16px;
- }
- .colorA6CAE0 {
- color: #A6CAE0;
- }
- .mglr14 {
- margin-left: 8px;
- }
- .mtr16 {
- margin-top: 10px;
- }
- .colorccc {
- color: #ccc;
- }
- .mgtr20 {
- margin-top: 12px;
- }
- .everysteps {
- text-align: center;
- position: relative;
- }
- .laststeps::after {
- background-color: #28A1FF;
- }
- .lhtext {
- display: flex;
- align-items: center;
- justify-content: center;
- }
- .clearfix:after {
- clear: both;
- content: ' ';
- display: table;
- }
- .clearfix:before {
- content: ' ';
- display: table;
- }
- .page {
- width: 100%;
- max-width: 750px;
- height: 100vh;
- position: relative;
- overflow: auto;
- background-color: #F6F6F6;
- margin: auto;
- }
- .cover-box {
- width: 100%;
- height: 300px;
- position: relative;
- }
- .floorMsg {
- position: relative;
- box-sizing: border-box;
- width: 100%;
- margin: auto;
- padding: 10px 10px 20px;
- background-color: #fff;
- margin-top: -55px;
- z-index: 9;
- border-radius: 5px;
- box-shadow: 0 2px 10px 0 rgba(36, 158, 251, 0.26);
- }
- .f-title {
- color: #333;
- font-size: 18px;
- font-weight: 700;
- padding: 5px 0px;
- }
- .f-area {
- padding: 5px 0px;
- font-size: 16px;
- color: #B5D3E6;
- }
- .f-name {
- color: #6C7B8B;
- font-size: 15px;
- display: flex;
- align-items: center;
- }
- .f-time {
- font-size: 15px;
- }
- .f-house {
- margin: 7px 0px 4px;
- }
- .f-address {
- padding: 5px 0px;
- font-size: 15px;
- margin: 0px 0px 4px;
- }
- .flex {
- display: flex;
- }
- .flex-sub {
- flex: 1;
- }
- .sign-data {
- display: flex;
- align-items: center;
- font-size: 15px;
- margin: 5px 0px;
- }
- .color6C7B8B {
- color: #6C7B8B;
- }
- .sign-data>div {
- flex: 1;
- display: flex;
- align-items: center;
- }
- .justify-end {
- justify-content: flex-end;
- }
- .justify-center {
- justify-content: center;
- }
- .color333 {
- color: #333333;
- }
- .address_icon {
- width: 16px !important;
- height: 16px !important;
- margin-right: 4px;
- }
- .houseType {
- margin-top: 10px;
- padding: 20px 10px;
- background-color: #fff;
- }
- .houseType {
- margin-top: 10px;
- padding: 20px 10px;
- background-color: #fff;
- }
- .success-top {
- width: 100%;
- height: 36%;
- display: flex;
- flex-direction: column;
- justify-content: center;
- align-items: center;
- background-color: #249efb;
- }
- .success-top img {
- display: block;
- width: 260px;
- height: 200px;
- }
- .success-bottom {
- width: 100%;
- height: 79vh;
- position: relative;
- display: flex;
- justify-content: center;
- align-items: center;
- z-index: 4;
- }
- .success-bottom .bottomBg {
- position: absolute;
- width: 100%;
- height: 100%;
- z-index: 0;
- top: -60px;
- }
- .successQrBox {
- width: 80%;
- height: 260px;
- position: relative;
- z-index: 2;
- margin-bottom: 150px;
- display: flex;
- flex-direction: column;
- justify-content: center;
- align-items: center;
- }
- .qrBox {
- width: 240px;
- height: 240px;
- position: relative;
- display: flex;
- justify-content: center;
- align-items: center;
- top: 10px;
- }
- .qrBox .qrBoxBg {
- position: absolute;
- width: 100%;
- height: 100%;
- }
- .imgicon {
- display: block;
- width: 200px;
- height: 200px;
- }
- .text1 {
- font-size: 16px;
- color: #333333;
- font-weight: 700;
- }
- .text2 {
- font-size: 12px;
- color: #999999;
- margin: 5px 0px;
- }
- .pt20 {
- position: relative;
- top: 30px;
- }
- .coverbox {
- display: block;
- width: 100%;
- height: 100%;
- overflow: auto;
- }
- .coverbox img {
- display: block;
- width: 100%;
- }
- .f-dsc-content {
- white-space: nowrap;
- overflow: hidden;
- text-overflow: ellipsis;
- }
- .switchTab {
- max-width: 80%;
- height: 28px;
- background-color: rgba(255, 255, 255, 0.5);
- position: absolute;
- bottom: 45px;
- left: 50%;
- transform: translateX(-50%);
- border-radius: 20px;
- display: flex;
- align-items: center;
- z-index: 9;
- }
- .switchTab>div {
- width: 68px;
- display: flex;
- align-items: center;
- justify-content: center;
- font-size: 12px;
- }
- .activeTab {
- height: 100%;
- color: #fff;
- background-color: #28A1FF;
- border-radius: 20px;
- }
- .allDataStyle {
- width: 100%;
- height: 100px;
- margin: 0px auto;
- background-color: #fff;
- border-radius: 5px;
- margin-top: 20px;
- margin-bottom: 20px;
- padding-bottom: 40px;
- position: relative;
- z-index: 9;
- }
- .tab-list {
- height: 50px;
- background-color: #fff;
- display: flex;
- align-items: center;
- box-sizing: border-box;
- padding: 0px;
- overflow-x: auto;
- overflow-y: hidden;
- color: #6C7B8B;
- border-bottom: 1px solid rgba(212, 228, 237, 1);
- font-size: 14px;
- position: sticky;
- top: 0px;
- z-index: 99;
- }
- .tab-list>div {
- flex: none;
- display: inline-block;
- max-width: 120px;
- height: 48px;
- text-align: center;
- line-height: 48px;
- white-space: nowrap;
- overflow: hidden;
- text-overflow: ellipsis;
- padding: 0px 10px;
- }
- .tabActive {
- color: #222222;
- font-weight: 700;
- position: relative;
- font-size: 16px;
- }
- .tabActive::after {
- content: ' ';
- width: 12px;
- height: 5px;
- background-color: #333333;
- border-radius: 2.5px;
- position: absolute;
- bottom: 1px;
- left: 50%;
- transform: translateX(-50%);
- }
- .relative{
- position: relative;
- }
- .vrbox{
- display: block;
- width: 100%;
- height: 100%;
- overflow: hidden;
- }
- .vrbox iframe{
- display: block;
- width: 100%;
- height: 100%;
- border: unset;
- }
- .vrbox div{
- display: block;
- width: 100%;
- height: 100%;
- position: fixed;
- top: 0;
- left: 0;
- z-index: 7;
- }
- .viewTitle {
- width: 100%;
- font-size: 16px;
- color: #333333;
- font-weight: 700;
- text-align: center;
- box-sizing: border-box;
- padding: 10px 10px;
- }
- .viewImage {
- width: 100%;
- height: auto;
- overflow: hidden;
- box-sizing: border-box;
- padding: 10px 10px 10px;
- }
- .viewImage > img {
- width: 100%;
- height: auto;
- }
- .viewImage > video {
- width: 100%;
- }
- .viewContent {
- width: 100%;
- box-sizing: border-box;
- font-size: 14px;
- color: #333333;
- }
- </style>
- <script src="https://wzh.nczyzs.com/static/js/jquery.min.js"></script>
- <body>
- <div class="mianbox">
- <!-- 非微信环境 -->
- <div class="unwxbox ">
- <div class="imgbox">
- <img class="imgmsg" src="https://o.nczyzs.com/xcx/joincompany.png" />
- </div>
- <div class="layerbox" id="opendiv"></div>
- </div>
- <!-- 微信环境 -->
- <div class="wxenv hidden">
- <div class="imgbox">
- <img class="imgmsg" src="https://o.nczyzs.com/xcx/joincompany.png" />
- </div>
- <div class="" id="wxenvbox2"></div>
- </div>
- </div>
- <div class="goto hidden">
- <div class="" id="unwxwebbox2">请前往小程序查看</div>
- <div class="hidden weapp">
- <wx-open-launch-weapp username="{$mini_account}" path="{$path}?{$query}"
- style="display: block;width: 100%;height: 100%;">
- <script type="text/wxtag-template">
- <style>.testdiv { height: 48px;display: block; color: transparent;}</style>
- <div class="testdiv" >请前往小程序查看</div>
- </script>
- </wx-open-launch-weapp>
- </div>
- </div>
- <div class="footer1">
- <div class="footbox clearfix">
- <div class="leftfoot ">
- {notempty name="company.brand"}<img class="left" src="{$company.brand.logo}" />{/notempty}
- <span class="left">{$company.company_name}</span>
- </div>
- <div class="layerbox1">前往小程序</div>
- </div>
- <div class="footlayerbox unwxbox" id="unwxwebbox1"></div>
- <div class="footlayerbox wxenv hidden" id="wxenvbox1">
- <wx-open-launch-weapp id="launch-btn" username="{$mini_account}" path="{$path}?{$query}"
- style="display: block;width: 100%;height: 100%;position: fixed;top: 0;left: 0;z-index: 101;">
- <script type="text/wxtag-template">
- <style>.testdiv { width: 300px; height: 1000px;display: block;margin: 0 auto;}</style>
- <div class="testdiv" ></div>
- </script>
- </wx-open-launch-weapp>
- </div>
- </div>
- </body>
- <script src="https://mlz2.cn/js/jweixin-1.6.0.js"></script>
- <script>
- // var vConsole = new VConsole();
- // 逻辑处理
- $(function () {
- $('.channelsignup').click(function () {
- location.href = "{$urlsheme}";
- })
- $('#unwxwebbox').click(function () {
- location.href = "{$urlsheme}";
- })
- $('#unwxwebbox1').click(function () {
- location.href = "{$urlsheme}";
- })
- $('#unwxwebbox2').click(function () {
- location.href = "{$urlsheme}";
- })
- $('#opendiv').click(function () {
- $('.goto').removeClass('hidden');
- setTimeout(() => {
- $('.goto').addClass('hidden');
- }, 2000);
- })
- $('.play').click(function () {
- $('.goto').removeClass('hidden');
- setTimeout(() => {
- $('.goto').addClass('hidden');
- }, 2000);
- })
- $('#footwxbtn').click(function () {
- $('.goto').removeClass('hidden');
- setTimeout(() => {
- $('.goto').addClass('hidden');
- }, 2000);
- })
- $('#wxenvbox2').click(function () {
- $('.goto').removeClass('hidden');
- setTimeout(() => {
- $('.goto').addClass('hidden');
- }, 2000);
- })
- var ua = navigator.userAgent.toLowerCase()
- var isWXWork = ua.match(/wxwork/i) == 'wxwork'
- var isWeixin = !isWXWork && ua.match(/MicroMessenger/i) == 'micromessenger'
- var isMobile = false
- var isDesktop = false
- if (navigator.userAgent.match(/(phone|pad|pod|iPhone|iPod|ios|iPad|Android|Mobile|IEMobile)/i)) {
- isMobile = true
- } else {
- isDesktop = true
- }
- var m = ua.match(/MicroMessenger/i)
- if (isWeixin) {
- var system = {
- win: false,
- mac: false
- };
- var p = navigator.platform;
- // 是否在pc展示
- var isPc = false;
- system.win = p.indexOf("Win") == 0;
- system.mac = p.indexOf("Mac") == 0;
- if (system.win || system.mac) {
- isPc = true;
- console.log("在微信PC端上打开内置浏览器");
- } else {
- isPc = false;
- console.log("非微信PC端上打开内置浏览器");
- }
- // 在微信PC端上打开内置浏览器和在浏览器中打开一样
- if (isPc) {
- $('.wxenv').addClass('hidden');
- $('.weapp').addClass('hidden');
- $('.unwxbox').removeClass('hidden');
- location.href = "{$urlsheme}";
- } else {
- wx.config({
- debug: false, // 开启调试模式,调用的所有api的返回值会在客户端alert出来,若要查看传入的参数,可以在pc端打开,参数信息会通过log打出,仅在pc端时才会打印
- appId: "{$wxconfig.appid}",
- timestamp: "{$wxconfig.timestamp}",
- nonceStr: "{$wxconfig.nonceStr}",
- signature: "{$wxconfig.signature}",
- jsApiList: ['updateTimelineShareData', 'updateAppMessageShareData'], // 必填,需要使用的JS接口列表
- openTagList: ['wx-open-launch-weapp']
- });
- var title = document.title;
- var url = document.url;
- //{notempty name="data"}
- wx.ready(function () {
- wx.updateTimelineShareData({
- title: document.title,
- link: document.url,
- imgUrl: 'https://o.nczyzs.com/xcx/joincompany.png?x-oss-process=image/resize,m_fill,h_220,w_240',
- success: function () {
- console.log('updateTimelineShareData分享设置成功');
- }
- })
- wx.updateAppMessageShareData({
- title: document.title,
- desc: document.title,
- link: document.url,
- imgUrl: 'https://o.nczyzs.com/xcx/joincompany.png?x-oss-process=image/resize,m_fill,h_220,w_240',
- success: function () {
- console.log('updateAppMessageShareData分享设置成功');
- }
- })
- });
- // 在手机上的浏览器中打开
- $('.wxenv').removeClass('hidden');
- $('.weapp').removeClass('hidden');
- $('.unwxbox').addClass('hidden');
- }
- } else if (isMobile) {
- // 在手机上的浏览器中打开
- $('.wxenv').addClass('hidden');
- $('.weapp').addClass('hidden');
- $('.unwxbox').removeClass('hidden');
- location.href = "{$urlsheme}";
- } else {
- // 在非微信,非手机,那就是在电脑的浏览器这种打开
- $('.wxenv').addClass('hidden');
- $('.weapp').addClass('hidden');
- $('.unwxbox').removeClass('hidden');
- location.href = "{$urlsheme}";
- }
- })
- </script>
- </html>
|