wanglizhong
2025-05-05 2876dd05c0528ec665791a0844f643f566f7c31b
1
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-shop-Itmdetail-Itmdetail"],{"0c8b":function(t,e,i){"use strict";var a=i("fef8"),n=i.n(a);n.a},"73b8":function(t,e,i){"use strict";i.r(e);var a=i("b52b"),n=i("ae0c");for(var o in n)"default"!==o&&function(t){i.d(e,t,(function(){return n[t]}))}(o);i("0c8b");var c,s=i("f0c5"),d=Object(s["a"])(n["default"],a["b"],a["c"],!1,null,"23c866f0",null,!1,a["a"],c);e["default"]=d.exports},ae0c:function(t,e,i){"use strict";i.r(e);var a=i("dddd"),n=i.n(a);for(var o in a)"default"!==o&&function(t){i.d(e,t,(function(){return a[t]}))}(o);e["default"]=n.a},b52b:function(t,e,i){"use strict";var a;i.d(e,"b",(function(){return n})),i.d(e,"c",(function(){return o})),i.d(e,"a",(function(){return a}));var n=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view",{staticClass:"page"},[i("v-uni-image",{attrs:{mode:"widthFix",src:"https://api.966120.com.cn/oa_img/966120logo2.jpg"}}),i("v-uni-view",{staticClass:"contentView"},[i("v-uni-view",{staticClass:"detailText"},[i("v-uni-view",{staticClass:"name"},[t._v(t._s(t.ItmData.strItmName))]),i("v-uni-view",{staticClass:"review"},[i("v-uni-rich-text",{attrs:{nodes:t.review}})],1),i("v-uni-view",{staticClass:"text"},[[i("v-uni-text",{staticClass:"price"},[i("v-uni-text",{staticClass:"red"},[t._v("¥"+t._s(t.ItmData.SellingPrice)+"/"+t._s(t.ItmData.strItmUnit))])],1)]],2)],1),i("v-uni-view",{staticClass:"tags"},[i("v-uni-view",{staticClass:"tag",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.showSpecList(1)}}},[i("v-uni-image",{staticClass:"icon",attrs:{mode:"widthFix",src:"/static/check.png"}}),t._v(t._s(t.ItmData.strItmRemarks))],1)],1)],1),i("v-uni-view",{staticClass:"detailNav",attrs:{id:"nav"}},[i("v-uni-view",{staticClass:"nav",class:0==t.current?"selected":"",attrs:{"data-id":"nav1","data-index":"0"},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.menuClick.apply(void 0,arguments)}}},[t._v("保障计划")]),i("v-uni-view",{staticClass:"nav",class:1==t.current?"selected":"",attrs:{"data-id":"nav2","data-index":"1"},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.menuClick.apply(void 0,arguments)}}},[t._v("我要投保")]),i("v-uni-view",{staticClass:"nav",class:2==t.current?"selected":"",attrs:{"data-id":"nav3","data-index":"2"},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.menuClick.apply(void 0,arguments)}}},[t._v("产品特色")])],1),i("v-uni-view",{staticClass:"detailNav",class:t.fixed?"fixed":"none"},[i("v-uni-view",{staticClass:"nav",class:0==t.current?"selected":"",attrs:{"data-id":"nav1","data-index":"0"},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.menuClick.apply(void 0,arguments)}}},[t._v("保障计划")]),i("v-uni-view",{staticClass:"nav",class:1==t.current?"selected":"",attrs:{"data-id":"nav2","data-index":"1"},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.menuClick.apply(void 0,arguments)}}},[t._v("我要投保")]),i("v-uni-view",{staticClass:"nav",class:2==t.current?"selected":"",attrs:{"data-id":"nav3","data-index":"2"},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.menuClick.apply(void 0,arguments)}}},[t._v("产品特色")])],1),i("v-uni-view",{staticClass:"tableView",class:t.isSimple?"simple":"",attrs:{id:"nav1"}},[[i("v-uni-view",{staticClass:"table",class:1==t.index?"last":""},[i("v-uni-view",{staticClass:"left"},[t._v("表名")]),i("v-uni-view",{staticClass:"right"},[t._v("内容")])],1)],t.isSimple?i("v-uni-view",{staticClass:"show",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.showMore.apply(void 0,arguments)}}},[t._v("展开"),i("v-uni-image",{staticClass:"icon",attrs:{mode:"widthFix",src:"/static/right_arrow_black.png"}})],1):t._e()],2),i("v-uni-view",{staticClass:"richText",attrs:{id:"nav2"}},[i("v-uni-rich-text",{attrs:{nodes:t.ItmData.strItmDesc}})],1),i("v-uni-view",{staticClass:"richText",attrs:{id:"nav3"}},[i("v-uni-rich-text",{attrs:{nodes:t.ItmData.strItmDesc}})],1),i("v-uni-view",{staticClass:"specList",class:[t.specList?"fadeIn":"fadeOut",t.first?"show":"hide"]},[i("v-uni-view",{staticClass:"specBG",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.hideSpecList.apply(void 0,arguments)}}}),i("v-uni-view",{staticClass:"specContent",class:[t.specList?"moveTop":"moveBottom",t.isIPX?"IPX":""]},[[t.specIndex==t.index?i("v-uni-view",{staticClass:"specTop"},[i("v-uni-image",{attrs:{mode:"widthFix",src:"https://api.966120.com.cn/oa_img/966120logo2.jpg"}}),i("v-uni-view",{staticClass:"specText"},[t._v(t._s(t.ItmData.strItmName)),i("v-uni-view",{staticClass:"specTextD"},[t._v("¥"+t._s(t.ItmData.SellingPrice)+"/"+t._s(t.ItmData.strItmUnit))])],1)],1):t._e()]],2)],1),i("v-uni-view",{staticStyle:{height:"110upx","padding-bottom":"68upx"}}),i("v-uni-view",{staticClass:"bottomView",class:t.isIPX?"IPX":""},[i("v-uni-view",{staticClass:"left"},[i("v-uni-navigator",{staticClass:"btn",attrs:{"open-type":"switchTab",url:"../../index/index","hover-class":"none"}},[i("v-uni-image",{attrs:{mode:"widthFix",src:"/static/home.png"}}),t._v("首页")],1),i("v-uni-view",{staticClass:"btn",attrs:{"hover-class":"none"},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.call.apply(void 0,arguments)}}},[i("v-uni-image",{attrs:{mode:"widthFix",src:"/static/service.png"}}),t._v("客服")],1)],1),i("v-uni-view",{staticClass:"right"},[i("v-uni-view",{staticClass:"btn btn1",attrs:{"data-type":"1"},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.joinCart.apply(void 0,arguments)}}},[t._v(t._s(t.ItmData.SellingPrice)+"元/"+t._s(t.ItmData.strItmUnit))]),i("v-uni-view",{staticClass:"btn btn2",attrs:{"data-type":"2"},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.joinCart.apply(void 0,arguments)}}},[t._v("立即购买"),i("v-uni-view",{staticClass:"loading",style:"2"==t.loading?"display:flex;":"display:none;"},[i("v-uni-image",{attrs:{mode:"widthFix",src:"/static/loading1.gif"}})],1)],1)],1)],1),i("v-uni-view",{class:t.isIPX?"IPX":"",staticStyle:{"margin-bottom":"50px"}}),i("page-information")],1)},o=[]},dddd:function(t,e,i){"use strict";var a=i("4ea4");i("ac1f"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=a(i("2616")),o=i("28a8"),c={},s={components:{uniIcons:n.default},data:function(){return{ItmData:[],fixed:!1,isIPX:!1,specIndex:0,specList:!1,spec:[],first:!1}},onLoad:function(t){c.options=t,this.isIPX=o.isIPX(),this.getGlobal(0)},onShow:function(){},onPullDownRefresh:function(){this.getDetail(!0)},onPageScroll:function(t){if(c.lock)return!1;var e=this,i=uni.createSelectorQuery().in(this);i.select("#nav").boundingClientRect(),i.select("#nav1").boundingClientRect(),i.select("#nav2").boundingClientRect(),i.select("#nav3").boundingClientRect(),i.exec((function(t){t[0].top<0?e.fixed=!0:e.fixed=!1;for(var i=1;i<t.length;i++)t[i].top<40&&(e.current=i-1)}))},methods:{getGlobal:function(t){var e=this;if(o.storage()){var i=o.storage();for(var a in i)c[a]=i[a];this.getDetail(!0)}else t<10?(t++,setTimeout((function(){e.getGlobal(t)}),500)):c=!1},getDetail:function(t){var e=this,i={method:"StItm_detail",APPID:"GDS-0008-fDwr",strItmID:c.options.strItmID,UserID:c.UserID},a=o.Sign_link(i);uni.showLoading({title:"加载中",mask:!0}),uni.request({url:"https://api.966120.com.cn/shop/?"+a,success:function(t){e.ItmData=t.data,uni.hideLoading(),uni.stopPullDownRefresh()}})},menuClick:function(t){c.lock=!0;var e=this,i=uni.createSelectorQuery().in(this);i.selectViewport().scrollOffset(),i.select("#"+t.currentTarget.dataset.id).boundingClientRect(),i.exec((function(i){var a=i[0].scrollTop+i[1].top-30;e.fixed=!0,e.current=t.currentTarget.dataset.index,setTimeout((function(){uni.pageScrollTo({scrollTop:a,success:function(){c.lock=!1}})}),150)}))},call:function(){uni.makePhoneCall({phoneNumber:"020966120"})},showMore:function(){this.isSimple=!this.isSimple},showSpecList:function(t){this.first||(this.first=!0),this.specList=!0},hideSpecList:function(){this.specList=!1}}};e.default=s},f362:function(t,e,i){var a=i("24fb");e=a(!1),e.push([t.i,"uni-picker-view-column uni-view[data-v-23c866f0]{font-size:%?26?%;justify-content:center}.contentView[data-v-23c866f0]{width:94%;padding:2% 3%;margin-bottom:2%;background:#fff}.detailText[data-v-23c866f0]{background:#fff}.detailText .name[data-v-23c866f0]{font-size:%?34?%;line-height:1.5em;color:#3a3a3a}.detailText .review[data-v-23c866f0]{padding:5px 0}.detailText .review uni-rich-text[data-v-23c866f0]{width:100%;overflow:hidden}.detailText .text[data-v-23c866f0]{border-bottom:1px solid #ededed;margin:5px 0;align-items:flex-end}.detailText .text .price[data-v-23c866f0]{font-size:%?38?%;line-height:2em}.detailText .text .price .red[data-v-23c866f0]{color:#fe4d3d;margin-right:10px}.detailText .text .price.priceT[data-v-23c866f0]{font-size:%?24?%;color:#ccc;text-decoration:line-through}.detailText .text .price.priceJ[data-v-23c866f0]{background-color:#f62f53;border-radius:%?25?%;font-size:%?32?%;color:#fff;padding:%?3?% %?20?% %?3?% %?20?%}.detailText .text .right[data-v-23c866f0]{width:45%;color:#666;align-content:space-around}.detailText .text .right .textR[data-v-23c866f0]{font-size:%?28?%;margin:5px 0;justify-content:flex-end}.detailText .text .right .textR .text1[data-v-23c866f0]{width:auto;margin-right:5px}.detailText .text .right .textR .text1.red[data-v-23c866f0]{color:#fe4d3d}.contentView .tags[data-v-23c866f0]{justify-content:space-around}.contentView .tags .tag[data-v-23c866f0]{width:auto;font-size:%?24?%;color:#666;align-items:center}.contentView .tags .tag .icon[data-v-23c866f0]{width:%?30?%;margin-right:5px;color:#fe4d3d;font-weight:700}.picker[data-v-23c866f0]{margin-bottom:2%;background:#fff;color:#666}.picker .content[data-v-23c866f0]{width:92%;padding:%?20?% 4%;border-bottom:1px solid #eee;font-size:%?28?%;justify-content:space-between;align-items:center}.picker .content[data-v-23c866f0]:last-child{border-bottom:none}.picker .content .red[data-v-23c866f0]{width:auto;color:#fe4d3d}.picker .left[data-v-23c866f0]{width:90%;align-items:center}.picker .tips[data-v-23c866f0]{width:92%;padding:%?20?% 4%;font-size:%?28?%;justify-content:space-between;align-items:center}.picker .tips .icon[data-v-23c866f0]{width:%?30?%;margin-right:5px}.picker .arrow[data-v-23c866f0]{width:%?15?%}.videoView[data-v-23c866f0]{width:92%;padding:%?20?% 4%}.videoView uni-video[data-v-23c866f0]{width:100%;height:%?400?%}.recommend[data-v-23c866f0]{width:92%;padding:2% 4%;margin-bottom:2%;background:#fff}.recommend .title[data-v-23c866f0]{height:25px;line-height:25px;padding:5px 0;font-size:%?30?%;color:#666;justify-content:space-between}.recommend .title .right[data-v-23c866f0]{width:auto;align-items:center}.recommend .title .right .arrow[data-v-23c866f0]{width:%?15?%;margin-left:5px}.recommend .itemList[data-v-23c866f0]{justify-content:space-around}.recommend .item[data-v-23c866f0]{width:31%;display:flex;justify-content:center;align-content:space-between;flex-wrap:wrap;box-shadow:0 2px 3px 0 hsla(0,0%,81.2%,.7);border-radius:5px}.recommend .item uni-image[data-v-23c866f0]{border-top-left-radius:5px;border-top-right-radius:5px}.recommend .item .info[data-v-23c866f0]{width:95%;padding:%?20?% 0 %?20?% 5%}.recommend .item .info .name[data-v-23c866f0]{width:100%;font-size:%?25?%;font-weight:600;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical}.recommend .item .info .price[data-v-23c866f0]{margin-top:%?8?%;font-size:%?26?%;font-weight:600;color:#f2510f;justify-content:space-between;align-items:center}.recommend .item .info .price .btn[data-v-23c866f0]{width:%?36?%;margin-right:5px}.detailNav[data-v-23c866f0]{padding:%?20?% 0;background:#fff;justify-content:center}.detailNav.fixed[data-v-23c866f0]{display:flex;position:fixed;top:0;left:0;box-shadow:0 2px 3px 0 hsla(0,0%,81.2%,.7);z-index:2}.detailNav.none[data-v-23c866f0]{display:none}.detailNav .nav[data-v-23c866f0]{width:30%;font-size:%?32?%;justify-content:center}.detailNav .nav[data-v-23c866f0]:nth-child(2){border-left:1px solid #999;border-right:1px solid #999}.detailNav .nav.selected[data-v-23c866f0]{color:#f76910}.tableView[data-v-23c866f0]{width:92%;padding:4%;background:#fff;position:relative;overflow:hidden}.tableView.simple[data-v-23c866f0]{height:%?250?%}.tableView .table[data-v-23c866f0]{border-bottom:1px solid #ddd;border-left:1px solid #666;border-right:1px solid #666;font-size:%?26?%;box-sizing:border-box}.tableView .table[data-v-23c866f0]:first-of-type{border-top:1px solid #666}.tableView .table.last[data-v-23c866f0]{border-bottom:1px solid #666}.tableView .table .left[data-v-23c866f0]{width:30%;padding:%?16?% 5%;border-right:1px solid #999;color:#999;box-sizing:border-box;align-items:center}.tableView .table .right[data-v-23c866f0]{width:70%;padding:%?16?% 5%;color:#333;box-sizing:border-box;align-items:center}.tableView .show[data-v-23c866f0]{padding:%?20?% 0;justify-content:center;font-size:%?28?%;color:#666;position:absolute;left:0;bottom:0;background-color:hsla(0,0%,100%,.5);background-image:linear-gradient(hsla(0,0%,100%,0),#fff)}.tableView .show .icon[data-v-23c866f0]{width:3%;margin-left:5%;-webkit-transform:rotate(90deg);transform:rotate(90deg)}.richText[data-v-23c866f0]{width:94%;padding:2% 3%;background:#fff}.richText uni-rich-text[data-v-23c866f0]{width:100%;overflow:hidden}.specList[data-v-23c866f0]{height:100%;position:fixed;top:0;left:0;z-index:10}.specList .specBG[data-v-23c866f0]{height:100%;background-color:rgba(0,0,0,.7)}.specList .specContent[data-v-23c866f0]{width:94%;padding-top:3%;padding-left:3%;padding-right:3%;background:#fff;position:absolute;left:0;bottom:0;z-index:11}.specList .specContent .specTop[data-v-23c866f0]{align-items:flex-end;margin-bottom:5%}.specList .specContent .specTop uni-image[data-v-23c866f0]{width:40%;height:40%}.specList .specContent .specTop .specText[data-v-23c866f0]{width:50%;padding:0 5%;font-size:%?32?%}.specList .specContent .specTop .specText .specTextD[data-v-23c866f0]{width:%?100?%;color:#fe4d3d}.specList .specContent .specTop .specText .priceJ[data-v-23c866f0]{width:%?180?%;background-color:#f62f53;border-radius:%?25?%;font-size:%?28?%;color:#fff;padding:%?3?% %?20?% %?3?% %?20?%}.specList .specContent .spec[data-v-23c866f0]{width:auto;padding:2px 3%;margin:2% 2% 2% 0;border:1px solid #ededed;color:#666;font-size:%?36?%}.specList .specContent .spec.specD[data-v-23c866f0]{border-color:#fe4d3d;color:#fe4d3d}.specList .specContent .spec.specT[data-v-23c866f0]{background:#ededed;border-color:#ededed}.specList .specContent .button[data-v-23c866f0]{padding:5% 0;align-items:center}.specList .specContent .button .left[data-v-23c866f0]{width:10%;font-size:%?28?%}.specList .specContent .button uni-form[data-v-23c866f0]{width:90%}.specList .specContent .button .btnView[data-v-23c866f0]{width:50%;justify-content:center;align-items:center;float:left}.specList .specContent .button .btnView .num[data-v-23c866f0]{width:%?80?%;font-size:%?30?%;text-align:center}.specList .specContent .button .btnView .btn[data-v-23c866f0]{width:%?50?%;height:%?50?%;border-radius:50%}.specList .specContent .button .btnView .btn uni-image[data-v-23c866f0]{width:100%}.specList .specContent .button .btnView .btn.reduce[data-v-23c866f0]{background:#fff}.specList .specContent .button .btnView .btn.plus[data-v-23c866f0]{background:#fa9139}.specList .specContent .button .btnView .btn.disable[data-v-23c866f0]{border:1px solid #b98b8b;opacity:.5}.specList .specContent .button .joinView[data-v-23c866f0]{width:50%;position:relative;float:right}.specList .specContent .button .joinView .join[data-v-23c866f0]{width:100%;height:2.5em;line-height:2.5em;font-size:%?24?%;border-radius:5px;text-align:center;justify-content:center}.specList .specContent .button .joinView .join.join1[data-v-23c866f0]{border:1px solid #fa9139;color:#fa9139;background:#fff}.specList .specContent .button .joinView .join.join2[data-v-23c866f0]{border:1px solid #f76910;color:#fff;background-image:linear-gradient(90deg,#fa9139,#f76910)}.specList .specContent .button .joinView .loading[data-v-23c866f0]{height:100%;justify-content:center;align-items:center;position:absolute;top:0;left:0;background:rgba(0,0,0,.5);border-radius:5px;display:none}.specList .specContent .button .joinView .loading uni-image[data-v-23c866f0]{width:10%}.bottomView[data-v-23c866f0]{height:%?110?%;background:#fff;position:fixed;left:0;bottom:0;box-shadow:0 -2px 3px 0 hsla(0,0%,81.2%,.7)}.bottomView .left[data-v-23c866f0]{width:26%;padding:%?15?% 0;justify-content:space-between}.bottomView .left .btn[data-v-23c866f0]{width:50%;font-size:%?18?%;color:#999;display:flex;flex-wrap:wrap;justify-content:center;align-items:center}.bottomView .right[data-v-23c866f0]{width:74%;padding:%?15?% 0;justify-content:space-around;align-items:center}.bottomView .right .btn[data-v-23c866f0]{width:45%;height:%?80?%;border-radius:5px;box-sizing:border-box;font-size:%?28?%;justify-content:center;align-items:center;position:relative;overflow:hidden}.bottomView .right .btn.btn1[data-v-23c866f0]{border:1px solid #fa9139;color:#fa9139}.bottomView .right .btn.btn2[data-v-23c866f0]{border:1px solid #f76910;color:#fff;background-image:linear-gradient(90deg,#fa9139,#f76910)}.bottomView .right .btn .loading[data-v-23c866f0]{height:100%;justify-content:center;align-items:center;position:absolute;top:0;left:0;background:rgba(0,0,0,.5);border-radius:5px;display:none}.bottomView .right .btn .loading uni-image[data-v-23c866f0]{width:10%}.fadeIn[data-v-23c866f0]{-webkit-animation-name:fadeIn-data-v-23c866f0;animation-name:fadeIn-data-v-23c866f0;-webkit-animation-duration:.2s;animation-duration:.2s;-webkit-animation-timing-function:linear;animation-timing-function:linear;-webkit-animation-fill-mode:forwards;animation-fill-mode:forwards}.fadeOut[data-v-23c866f0]{-webkit-animation-name:fadeOut-data-v-23c866f0;animation-name:fadeOut-data-v-23c866f0;-webkit-animation-duration:.4s;animation-duration:.4s;-webkit-animation-timing-function:linear;animation-timing-function:linear;-webkit-animation-fill-mode:forwards;animation-fill-mode:forwards}.moveTop[data-v-23c866f0]{-webkit-animation-name:moveTop-data-v-23c866f0;animation-name:moveTop-data-v-23c866f0;-webkit-animation-duration:.2s;animation-duration:.2s;-webkit-animation-timing-function:linear;animation-timing-function:linear;-webkit-animation-fill-mode:forwards;animation-fill-mode:forwards}.moveBottom[data-v-23c866f0]{-webkit-animation-name:moveBottom-data-v-23c866f0;animation-name:moveBottom-data-v-23c866f0;-webkit-animation-duration:.4s;animation-duration:.4s;-webkit-animation-timing-function:linear;animation-timing-function:linear;-webkit-animation-fill-mode:forwards;animation-fill-mode:forwards}.show[data-v-23c866f0]{display:flex}.hide[data-v-23c866f0]{display:none}@-webkit-keyframes fadeIn-data-v-23c866f0{0%{height:0;opacity:0}1%{height:100%}100%{opacity:1}}@keyframes fadeIn-data-v-23c866f0{0%{height:0;opacity:0}1%{height:100%}100%{opacity:1}}@-webkit-keyframes fadeOut-data-v-23c866f0{0%{height:100%;opacity:1}50%{height:100%;opacity:0}100%{height:0;opacity:0}}@keyframes fadeOut-data-v-23c866f0{0%{height:100%;opacity:1}50%{height:100%;opacity:0}100%{height:0;opacity:0}}@-webkit-keyframes moveTop-data-v-23c866f0{0%{bottom:-100%;opacity:0}1%{opacity:1}100%{bottom:0}}@keyframes moveTop-data-v-23c866f0{0%{bottom:-100%;opacity:0}1%{opacity:1}100%{bottom:0}}@-webkit-keyframes moveBottom-data-v-23c866f0{0%{bottom:0}50%{opacity:1}100%{bottom:-100%;opacity:0}}@keyframes moveBottom-data-v-23c866f0{0%{bottom:0}50%{opacity:1}100%{bottom:-100%;opacity:0}}",""]),t.exports=e},fef8:function(t,e,i){var a=i("f362");"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var n=i("4f06").default;n("56e5fc1c",a,!0,{sourceMap:!1,shadowMode:!1})}}]);