1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015 |
- <!DOCTYPE html>
- <html>
- <head>
- <meta charset="UTF-8">
- <title>{$data.title}</title>
- <meta name="viewport"
- content="width=device-width,user-scalable=no,initial-scale=1.0,maximum-scale=1.0,minimum-scale=1.0,viewport-fit=cover,no-cache">
- <script src="https://res.wx.qq.com/open/js/jweixin-1.6.0.js"></script>
- <script src="https://cdn.bootcdn.net/ajax/libs/vConsole/3.3.4/vconsole.min.js"></script>
- <!-- 引入 WeUI CDN 链接 -->
- <link rel="stylesheet" href="https://res.wx.qq.com/open/libs/weui/2.3.0/weui.min.css" />
- <style>
- html,
- body {
- display: block;
- width: 100%;
- height: 100%;
- }
- .pageStyle {
- width: 100%;
- min-height: 100vh;
- position: relative;
- overflow: auto;
- box-sizing: border-box;
- padding-bottom: 60px;
- }
- * {
- margin: 0;
- padding: 0;
- border: unset;
- box-sizing: border-box;
- max-width: 100%;
- }
- input,
- button,
- textarea {
- outline: 0;
- }
- button {
- border: unset;
- }
- .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;
- }
- .ellipsisTwo {
- overflow: hidden;
- text-overflow: ellipsis;
- display: -webkit-box;
- -webkit-line-clamp: 2;
- -webkit-box-orient: vertical;
- }
- .bannerImg {
- display: block;
- width: 100%;
- }
- .contentBox {
- background-color: #ffffff;
- border-radius: 10px;
- padding: 16px 0px 0;
- position: relative;
- z-index: 2;
- margin-bottom: 50px;
- }
- .title {
- font-size: 20px;
- line-height: 32px;
- color: #222;
- font-family: PingFangSC-Regular,Source Han Sans CN DemiLight;
- text-align: center;
- margin-bottom: 14px;
- }
- .tagBox {
- margin: 10px 0 16px;
- font-size: 14px;
- color: #384855;
- margin-right: 12px;
- font-family: PingFangSC-Medium, Source Han Sans CN Medium;
- }
- .articlebox {
- display: block;
- font-family: PingFangSC-Medium, Source Han Sans CN Medium;
- font-size: 14px;
- line-height: 24rpx;
- color: #384855;
- padding-bottom: 20px;
- }
- .articlebox img {
- max-width: 100%;
- margin: 12px auto;
- height: auto !important;
- }
- 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;
- }
- .everyleftbox {
- width: 50%;
- height: 49px;
- position: relative;
- }
- .zanNumBox img {
- display: block;
- height: 17px;
- width: 16.5px;
- margin: 8px auto 5px;
- }
- .zanNumBox div {
- width: 100%;
- text-align: center;
- margin-top: 5px;
- font-size: 10px;
- color: #384855;
- }
- .shareBox div {
- width: 100%;
- text-align: center;
- margin-top: 5px;
- font-size: 10px;
- color: #384855;
- }
- .shareBox img {
- display: block;
- width: 16px;
- height: 16px;
- margin: 8px auto;
- }
- .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;
- }
- body {
- padding-bottom: constant(safe-area-inset-bottom);
- padding-bottom: env(safe-area-inset-bottom);
- }
- @supports (bottom: constant(safe-area-inset-bottom)) or (bottom: env(safe-area-inset-bottom)) {
- footer {
- box-sizing: content-box;
- padding-bottom: constant(safe-area-inset-bottom);
- padding-bottom: env(safe-area-inset-bottom);
- }
- }
- /* 底部 */
- .footer {
- width: 100%;
- height: 60px;
- background-color: #fff;
- position: fixed;
- bottom: 0px;
- left: 0px;
- border-top: 1px solid #ccc;
- display: flex;
- box-sizing: border-box;
- padding: 10px;
- font-size: 15px;
- z-index: 99;
- }
- .f-left {
- flex: 2;
- display: flex;
- align-items: center;
- }
- .f-right {
- flex: 1;
- display: flex;
- align-items: center;
- justify-content: space-between;
- box-sizing: border-box;
- padding-right: 10px;
- }
- .f-msg {
- display: flex;
- flex-direction: column;
- box-sizing: border-box;
- padding-left: 10px;
- }
- .f-msg-company {
- font-size: 12px;
- color: #999999;
- line-height: 25px;
- }
- .f-wx-name {
- font-size: 12px;
- margin-top: 5px;
- }
- .f-mobile-name {
- font-size: 12px;
- margin-top: 8px;
- }
- .f-avatar {
- width: 40px;
- height: 40px;
- border-radius: 50% !important;
- }
- .f-mobile,
- .f-addwx {
- display: flex;
- flex-direction: column;
- align-items: center;
- justify-content: center;
- }
- .avatar-nameCard {
- display: flex;
- align-items: center;
- }
- /* 底部 */
- /* 公司 */
- .companyBox {
- width: 100%;
- height: 80px;
- padding: 0 10px 10px;
- display: flex;
- align-items: center;
- }
- .companyLogo {
- width: 40px;
- height: 40px;
- border-radius: 50%;
- overflow: hidden;
- }
- .companyMsg {
- flex: 1;
- display: flex;
- flex-direction: column;
- box-sizing: border-box;
- padding: 0px 10px;
- overflow: hidden;
- }
- .c_address {
- margin-top: 10px;
- font-size: 12px;
- color: #999999;
- display: flex;
- }
- .c_addressName {
- flex: 1;
- }
- .c_ellipsis {
- overflow: hidden;
- white-space: nowrap;
- text-overflow: ellipsis;
- }
- .c_show_address,
- .c_hide_address {
- color: #28A1FF;
- }
- .c_hide {
- display: none !important;
- }
- /* 公司 */
- .coverBox {
- width: 100%;
- max-height: 500px;
- background-color: #ccc;
- overflow: hidden;
- }
- .coverBox img {
- width: 100%;
- }
- .titleTips {
- border-left: 5px solid #333333;
- box-sizing: border-box;
- padding-left: 5px;
- color: #333333;
- font-weight: bold;
- margin: 10px 5px;
- font-size: 18px;
- height: 20px;
- line-height: 20px;
- }
- .line {
- width: 100%;
- height: 10px;
- background-color: #f6f6f6;
- }
- .boxStyle {
- padding: 0px 5px;
- }
- .fwbold {
- font-weight: bold;
- }
- /* 遮罩层 */
- .a-mask {
- position: fixed;
- width: 100%;
- height: 100vh;
- z-index: 99999;
- top: 0px;
- left: 0px;
- background-color: rgba(0, 0, 0, 0.5);
- display: flex;
- justify-content: center;
- align-items: center;
- }
- .a-mask-block {
- width: 80%;
- height: 300px;
- background-color: #fff;
- border-radius: 4px;
- box-sizing: border-box;
- padding: 10px;
- display: flex;
- flex-direction: column;
- justify-content: center;
- align-items: center;
- position: relative;
- }
- .a-mask-qr {
- width: 220px;
- height: 220px;
- padding: 10px;
- }
- .a-mask-qr img {
- display: block;
- margin: 0 auto;
- }
- .downloadwx {
- height: 30px;
- color: #28A1FF;
- border: none;
- line-height: 30px;
- border-radius: 4px;
- background-color: #fff;
- }
- .maskClose {
- width: 24px;
- height: 24px;
- position: absolute;
- top: -10px;
- right: -10px;
- background-color: #fff;
- border-radius: 50%;
- display: flex;
- justify-content: center;
- align-items: center;
- }
- /* 遮罩层 */
- /* 授权弹窗 */
- .b-mask {
- position: fixed;
- width: 100%;
- height: 100vh;
- top: 0px;
- left: 0px;
- background-color: rgba(0, 0, 0, 0.5);
- z-index: 9999;
- display: flex;
- justify-content: center;
- align-items: center;
- }
- .b-mask-block {
- width: 80%;
- height: 180px;
- background-color: #fff;
- border-radius: 10px;
- display: flex;
- flex-direction: column;
- }
- .b-mask-content {
- flex: 1;
- box-sizing: border-box;
- padding: 10px;
- display: flex;
- flex-direction: column;
- justify-content: center;
- align-items: center;
- }
- .b-mask-footer {
- width: 100%;
- height: 50px;
- display: flex;
- align-items: center;
- border-top: 1px solid #EEEEEE;
- }
- .b-mask-cancel {
- flex: 1;
- display: flex;
- justify-content: center;
- align-items: center;
- color: #CCCCCC;
- }
- .b-mask-confirm {
- flex: 1;
- display: flex;
- justify-content: center;
- align-items: center;
- color: #28A1FF;
- }
- .b-line-middle {
- width: 1px;
- height: 30px;
- background-color: #ececec;
- }
- .b-mask-title {
- font-size: 20px;
- color: #333333;
- margin-top: 10px;
- font-weight: 600;
- }
- .b-mask-msg {
- flex: 1;
- display: flex;
- justify-content: center;
- align-items: center;
- box-sizing: border-box;
- padding: 0px 10px;
- color: #999999;
- font-size: 16px;
- line-height: 25px;
- }
- /* 授权弹窗 */
- /* 报名 */
- .b-mask-signup {
- position: fixed;
- width: 100%;
- height: 100vh;
- background-color: rgba(0, 0, 0, 0.5);
- top: 0px;
- left: 0px;
- z-index: 9999;
- display: flex;
- justify-content: center;
- align-items: center;
- }
- .b-mask-signup-block {
- width: 80%;
- height: 240px;
- background-color: #fff;
- border-radius: 10px;
- display: flex;
- flex-direction: column;
- }
- .b-mask-input {
- width: 100%;
- height: 50px;
- border-radius: 4px;
- overflow: hidden;
- margin-bottom: 10px;
- }
- .b-mask-input>input {
- width: 100%;
- height: 100%;
- background-color: #f5f5f5;
- box-sizing: border-box;
- padding: 0px 20px;
- font-size: 16px;
- }
- .b-mask-signup-cancel {
- flex: 1;
- display: flex;
- justify-content: center;
- align-items: center;
- color: #CCCCCC;
- }
- .b-mask-signup-confirm {
- flex: 1;
- display: flex;
- justify-content: center;
- align-items: center;
- color: #28A1FF;
- }
- /* 报名 */
- /* 头像 */
- .avatar-nameCard {
- display: flex;
- align-items: center;
- }
- .avatarBox {
- position: fixed;
- width: 60px;
- height: 60px;
- bottom: 110px;
- right: 20px;
- display: flex;
- flex-direction: column;
- justify-content: center;
- align-items: center;
- z-index: 9999;
- }
- .avatarImage {
- width: 50px;
- height: 50px;
- border-radius: 50%;
- border: 2px solid #28A1FF;
- overflow: hidden;
- }
- .avatarText {
- padding: 3px 5px;
- background-color: #28A1FF;
- font-size: 10px;
- color: #fff;
- border-radius: 4px;
- margin-top: -13px;
- }
- .m_hide {
- display: none !important;
- }
- /* 头像 */
- .toastbox {
- display: block;
- position: fixed;
- top: 50%;
- left: 50%;
- transform: translateX(-50%) translateY(-50%);
- background-color: rgba(0, 0, 0, 0.7);
- color: #fff;
- z-index: 999999 !important;
- padding: 5px 10px;
- /* font-weight: bold; */
- font-size: 14px;
- /* box-shadow: 0 0 20px -2px rgba(0, 0, 0, 0.3); */
- line-height: 24px;
- border-radius: 4px;
- max-width: 80%;
- text-align: center;
- }
- /* 报价弹窗 */
- .pricelayerbox {
- display: block;
- width: 100%;
- height: 100%;
- position: fixed;
- top: 0;
- left: 0;
- right: 0;
- bottom: 0;
- z-index: 1000;
- background: rgba(0, 0, 0, 0.3);
- }
- .calcpricebox {
- width: 84%;
- height: auto;
- max-width: 500px;
- background: #FFFFFF;
- border-radius: 8px;
- position: absolute;
- top: 50%;
- left: 50%;
- transform: translateX(-50%) translateY(-50%);
- padding-bottom: 16px;
- }
- .pricetbg {
- display: block;
- width: 100%;
- }
- .p_close {
- position: absolute;
- top: 5px;
- right: 5px;
- width: 15px;
- height: 15px;
- z-index: 9;
- }
- .pricetext {
- font-family: PingFangSC-Regular, Source Han Sans CN DemiLight;
- font-weight: bold;
- font-size: 21px;
- color: #fff;
- line-height: 30px;
- position: absolute;
- top: 48px;
- left: 0;
- width: 100%;
- text-align: center;
- z-index: 8;
- padding-right: 12px;
- }
- .calcpricenum {
- justify-content: space-between;
- display: flex;
- margin: 15px auto 12px;
- width: 80%;
- height: 49px;
- background: #EFEFEF;
- box-shadow: inset 0px 2px 3px 1px rgba(0, 0, 0, 0.1600);
- border-radius: 4px;
- line-height: 49px;
- padding-left: 6px;
- padding-right: 16px;
- box-sizing: border-box;
- }
- .textbox {
- display: block;
- width: 12px;
- font-family: Microsoft YaHei-Regular, Microsoft YaHei;
- font-size: 21px;
- color: #999;
- }
- .nowtextbox {
- color: #333;
- font-weight: bold;
- width: 13px;
- }
- .rightextbox {
- width: 12px;
- font-size: 12px;
- font-family: Microsoft YaHei-Regular, Microsoft YaHei;
- color: #333333;
- line-height: 16px;
- position: absolute;
- top: 19px;
- right: 3px;
- }
- .pull-left {
- float: left;
- }
- .houseareabox {
- display: block;
- width: 80%;
- height: 36px;
- box-sizing: border-box;
- background: #FFFFFF;
- border-radius: 2px;
- opacity: 1;
- border: 1px solid #CCCCCC;
- margin: 0 auto 14px;
- padding: 0 30px;
- }
- .houseareabox img {
- display: block;
- width: 15px;
- height: 15px;
- position: absolute;
- left: 7px;
- top: 10px;
- }
- .houseareabox span {
- display: block;
- position: absolute;
- right: 10px;
- top: 0;
- line-height: 34px;
- }
- .houseareabox input {
- display: block;
- width: 100%;
- height: 100%;
- font-size: 14px;
- color: #333333;
- }
- .housemsgbox {
- display: flex;
- width: 80%;
- margin: 0 auto 14px;
- justify-content: space-between;
- }
- .housemsgbox select {
- display: block;
- width: 75px;
- height: 36px;
- background: #FFFFFF;
- border-radius: 2px;
- border: 1px solid #CCCCCC;
- position: relative;
- padding-left: 10px;
- }
- .phonebox {
- margin-bottom: 20px;
- }
- .phonebox img {
- display: block;
- width: 20px;
- height: 20px;
- position: absolute;
- top: 7px;
- left: 4px;
- margin: 0;
- }
- .calcpricebtn {
- display: block;
- width: 80%;
- height: 40px;
- background: #28A1FF;
- border-radius: 2px;
- opacity: 1;
- margin: 0 auto;
- line-height: 40px;
- font-size: 14px;
- font-weight: bold;
- color: #fff;
- border: unset;
- }
- .designPlanGet {
- display: block;
- width: 80%;
- height: 40px;
- background: #D7BA86;
- border-radius: 2px;
- opacity: 1;
- margin: 0 auto;
- line-height: 40px;
- font-size: 14px;
- font-weight: bold;
- color: #fff;
- border: unset;
- }
- input {
- border: unset;
- outline: none;
- }
- select {
- outline: none;
- color: #333333 !important;
- }
- .priceimg {
- display: block;
- position: fixed;
- right: 10px;
- bottom: 150px;
- width: 70px;
- z-index: 999;
- }
- .relative {
- position: relative;
- }
- .calcpricebox input {
- padding-left: 0;
- }
- input::-webkit-outer-spin-button,
- input::-webkit-inner-spin-button {
- -webkit-appearance: none !important;
- margin: 0;
- }
- /* 设计师方案弹窗 */
- .communityMT {
- margin-top: 15px;
- }
- .designlayerbox {
- display: block;
- width: 100%;
- height: 100%;
- position: fixed;
- top: 0;
- left: 0;
- right: 0;
- bottom: 0;
- z-index: 1000;
- background: rgba(0, 0, 0, 0.3);
- }
- .calcdesignbox {
- width: 84%;
- height: auto;
- max-width: 500px;
- background: #FFFFFF;
- border-radius: 8px;
- position: absolute;
- top: 50%;
- left: 50%;
- transform: translateX(-50%) translateY(-50%);
- padding-bottom: 16px;
- }
- .d_close {
- position: absolute;
- top: 5px;
- right: 5px;
- width: 15px;
- height: 15px;
- z-index: 9;
- }
- .d_phonebox {
- margin-bottom: 20px;
- }
- .d_phonebox img {
- display: block;
- width: 20px;
- height: 20px;
- position: absolute;
- top: 7px;
- left: 4px;
- margin: 0;
- }
- </style>
- </head>
- <body>
- <div class="pageStyle">
- <div class="contentBox">
- <div class="boxStyle">
- <div class="title fwbold">{$data.title}</div>
- <div class="companyBox">
- <div class="companyLogo">
- {if condition="$data.company_logo"/}
- <img src="{$data.company_logo}" width="100%" height="100%" alt="">
- {else/}
- <img src="https://o.nczyzs.com/xcx/aaa/nonedatalogo.png?x-oss-process=image/resize,w_200" width="100%"
- height="100%" alt="">
- {/if}
- </div>
- <div class="companyMsg">
- <div>{$data.company_name}</div>
- <div class="c_address">
- <div class="c_addressName c_ellipsis">地址:{$data.company_address|default="暂未填写"}<span
- class="c_hide_address c_hide">隐藏</span></div>
- <span class="c_show_address">展开</span>
- </div>
- </div>
- </div>
- </div>
- <div class="line"></div>
- <div class="titleTips">详情</div>
- <div class="boxStyle">
- <div class="articlebox">{$data.content|raw}</div>
- </div>
- </div>
- </div>
- <div class="toastbox" style="display:none;"></div>
- </body>
- <script src="__STATIC__/js/jquery.min.js"></script>
- <script src="https://mlz2.cn/js/jweixin-1.6.0.js"></script>
- <script>
- var vConsole = new VConsole();
- let addressStr = "{$data.company_address}";
- if (addressStr.length < 17) {
- $('.c_show_address').addClass('c_hide');
- }
- $('.c_show_address').click(() => {
- $('.c_addressName').removeClass('c_ellipsis');
- $('.c_show_address').addClass('c_hide');
- $('.c_hide_address').removeClass('c_hide');
- })
- $('.c_hide_address').click(() => {
- $('.c_show_address').removeClass('c_hide');
- $('.c_addressName').addClass('c_ellipsis');
- $('.c_hide_address').addClass('c_hide');
- })
- </script>
- </html>
|