"use weex:vue";

if (typeof Promise !== 'undefined' && !Promise.prototype.finally) {
  Promise.prototype.finally = function(callback) {
    const promise = this.constructor
    return this.then(
      value => promise.resolve(callback()).then(() => value),
      reason => promise.resolve(callback()).then(() => {
        throw reason
      })
    )
  }
};

if (typeof uni !== 'undefined' && uni && uni.requireGlobal) {
  const global = uni.requireGlobal()
  ArrayBuffer = global.ArrayBuffer
  Int8Array = global.Int8Array
  Uint8Array = global.Uint8Array
  Uint8ClampedArray = global.Uint8ClampedArray
  Int16Array = global.Int16Array
  Uint16Array = global.Uint16Array
  Int32Array = global.Int32Array
  Uint32Array = global.Uint32Array
  Float32Array = global.Float32Array
  Float64Array = global.Float64Array
  BigInt64Array = global.BigInt64Array
  BigUint64Array = global.BigUint64Array
};


(()=>{var E=Object.create;var S=Object.defineProperty;var F=Object.getOwnPropertyDescriptor;var L=Object.getOwnPropertyNames;var H=Object.getPrototypeOf,R=Object.prototype.hasOwnProperty;var j=(e,i)=>()=>(i||e((i={exports:{}}).exports,i),i.exports);var z=(e,i,r,s)=>{if(i&&typeof i=="object"||typeof i=="function")for(let o of L(i))!R.call(e,o)&&o!==r&&S(e,o,{get:()=>i[o],enumerable:!(s=F(i,o))||s.enumerable});return e};var y=(e,i,r)=>(r=e!=null?E(H(e)):{},z(i||!e||!e.__esModule?S(r,"default",{value:e,enumerable:!0}):r,e));var m=(e,i,r)=>new Promise((s,o)=>{var l=u=>{try{c(r.next(u))}catch(a){o(a)}},n=u=>{try{c(r.throw(u))}catch(a){o(a)}},c=u=>u.done?s(u.value):Promise.resolve(u.value).then(l,n);c((r=r.apply(e,i)).next())});var x=j((J,T)=>{T.exports=Vue});var g=y(x());var _=(e,i)=>{let r=e.__vccOpts||e;for(let[s,o]of i)r[s]=o;return r};var O={tabbar_wrap:{"":{position:"fixed",bottom:0,left:0,width:"750rpx",height:"184rpx",backgroundColor:"rgba(0,0,0,0)",display:"flex",justifyContent:"center",alignItems:"center"}},tabbar:{"":{width:"686rpx",height:"120rpx",flexDirection:"row",paddingLeft:"86rpx",paddingRight:"86rpx",alignItems:"center",justifyContent:"space-between",backgroundColor:"#ffffff",borderRadius:"32rpx",boxShadow:"0rpx 0rpx 32rpx 0rpx rgba(0,0,0,0.1)"}},tab:{"":{alignItems:"center",justifyContent:"center"}},tabimg:{"":{width:"48rpx",height:"48rpx",marginBottom:"3rpx"}},"tab-text":{"":{fontSize:"24rpx",lineHeight:"33rpx",textAlign:"center",fontWeight:"400",color:"#8E8E93"}},"bar-cur":{"":{color:"#333333",fontWeight:"600"}}},$={props:{currentPage:{type:Number,default:0}},data(){return{currentItem:0,tabs:[{id:0,path:"/pages/index/index",text:"\u9996\u9875",icon:"/static/home.png",selectIcon:"/static/home1.png"},{id:1,path:"/pages/select/index",text:"\u9009\u8F66\u4E2D\u5FC3",icon:"/static/select.png",selectIcon:"/static/select1.png"},{id:2,path:"/pages/mycenter/index",text:"\u6211\u7684",icon:"/static/center.png",selectIcon:"/static/center1.png"}]}},mounted(){this.currentItem=this.currentPage,uni.hideTabBar()},methods:{changeItem(e){uni.switchTab({url:e.path})},stopClick(){return!1}}};function N(e,i,r,s,o,l){return(0,g.openBlock)(),(0,g.createElementBlock)("view",{class:"tabbar_wrap",onClick:i[0]||(i[0]=(0,g.withModifiers)((...n)=>l.stopClick&&l.stopClick(...n),["stop"])),renderWhole:!0},[(0,g.createElementVNode)("view",{class:"tabbar"},[((0,g.openBlock)(!0),(0,g.createElementBlock)(g.Fragment,null,(0,g.renderList)(o.tabs,(n,c)=>((0,g.openBlock)(),(0,g.createElementBlock)("view",{class:"tab",onClick:(0,g.withModifiers)(u=>l.changeItem(n),["stop"])},[(0,g.createElementVNode)("u-image",{class:"tabimg",src:o.currentItem==n.id?n.selectIcon:n.icon,mode:""},null,8,["src"]),(0,g.createElementVNode)("u-text",{class:(0,g.normalizeClass)(o.currentItem==n.id?"tab-text bar-cur":"tab-text")},(0,g.toDisplayString)(n.text),3)],8,["onClick"]))),256))])])}var A=_($,[["render",N],["styles",[O]]]);var t=y(x());var ee=y(x()),U=e=>typeof e=="string";function D(e){return weex.requireModule(e)}function k(e,i,...r){uni.__log__?uni.__log__(e,i,...r):console[e].apply(console,[...r,i])}function I(e,i){return U(e)?i:e}var W={tips(e,i=2e3,r="bottom"){plus.nativeUI.toast(e,{type:"text",duration:i,align:"center",verticalAlign:r})},isIOS(){return uni.getSystemInfoSync().platform==="ios"},isAndroid(){return uni.getSystemInfoSync().platform==="android"},getUUID(){return m(this,null,function*(){return new Promise((e,i)=>{plus.device.getInfo({success:r=>{e(r.uuid)},fail:r=>{i(r)}})})})},timeToTimestamp(e){return new Date(e.replace(/-/g,"/"))},friendlyDate(e){let i=this.timeToTimestamp(e);var r={year:"%n% \u5E74\u524D",month:"%n% \u6708\u524D",day:"%n% \u5929\u524D",hour:"%n% \u5C0F\u65F6\u524D",minute:"%n% \u5206\u949F\u524D",second:"%n% \u79D2\u524D"},s=Date.now(),o=Math.floor((s-i)/1e3),l=Math.floor(o/60),n=Math.floor(l/60),c=Math.floor(n/24),u=Math.floor(c/30),a=Math.floor(u/12),p="",h=0;return a>0?(p="year",h=a):u>0?(p="month",h=u):c>0?(p="day",h=c):n>0?(p="hour",h=n):l>0?(p="minute",h=l):(p="second",h=o===0?o=1:o),r[p].replace("%n%",h)},base64Encode(e){var i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",r="",s,o,l,n,c,u,a,p=0;for(e=this.utf8Encode(e);p<e.length;)s=e.charCodeAt(p++),o=e.charCodeAt(p++),l=e.charCodeAt(p++),n=s>>2,c=(s&3)<<4|o>>4,u=(o&15)<<2|l>>6,a=l&63,isNaN(o)?u=a=64:isNaN(l)&&(a=64),r=r+i.charAt(n)+i.charAt(c)+i.charAt(u)+i.charAt(a);return r},utf8Encode(e){e=e.replace(/\r\n/g,`
`);for(var i="",r=0;r<e.length;r++){var s=e.charCodeAt(r);s<128?i+=String.fromCharCode(s):s>127&&s<2048?(i+=String.fromCharCode(s>>6|192),i+=String.fromCharCode(s&63|128)):(i+=String.fromCharCode(s>>12|224),i+=String.fromCharCode(s>>6&63|128),i+=String.fromCharCode(s&63|128))}return i},utf8Decode(e){var i=[],r=0,s=0,o=0,l=0,n=0;for(e+="";r<e.length;)o=e.charCodeAt(r),o<128?(i[s++]=String.fromCharCode(o),r++):o>191&&o<224?(l=e.charCodeAt(r+1),i[s++]=String.fromCharCode((o&31)<<6|l&63),r+=2):(l=e.charCodeAt(r+1),n=e.charCodeAt(r+2),i[s++]=String.fromCharCode((o&15)<<12|(l&63)<<6|n&63),r+=3);return i.join("")},base64Decode(e){var i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",r,s,o,l,n,c,u,a,p=0,h=0,C="",f=[];if(!e)return e;for(e+="";p<e.length;)l=i.indexOf(e.charAt(p++)),n=i.indexOf(e.charAt(p++)),c=i.indexOf(e.charAt(p++)),u=i.indexOf(e.charAt(p++)),a=l<<18|n<<12|c<<6|u,r=a>>16&255,s=a>>8&255,o=a&255,c==64?f[h++]=String.fromCharCode(r):u==64?f[h++]=String.fromCharCode(r,s):f[h++]=String.fromCharCode(r,s,o);return C=f.join(""),this.utf8Decode(C)},hasNotchInScreen(){return plus.navigator.hasNotchInScreen()}},b=W,B=!1;function d(e){uni.getNetworkType({success:function(s){if(s.networkType=="none")return b.tips("\u8BF7\u68C0\u6D4B\u7F51\u7EDC\u8FDE\u63A5"),!1}}),e.loading&&uni.showLoading({title:"\u52A0\u8F7D\u4E2D...",mask:!0,icon:"none"});let i={};var r=uni.getStorageSync("USER_TOKEN");return i.Authorization=r,i["Content-Type"]="application/x-www-form-urlencoded",new Promise((s,o)=>{uni.request({url:e.url,method:e.method||"POST",data:e.data||{},header:i,timeout:5e3,success:l=>{B&&k("log","at utils/request.js:48",l),s(l.data)},fail:l=>{B&&k("log","at utils/request.js:52",l),o(l)},complete:l=>{e.loading&&uni.hideLoading()}})})}d.baseURL="https://newapp.cheshi.com";var M={defaultUserAvatar:"https://img.cheshi-img.com/avatar/default.png",historyMaxLimit:50,browseTypeArr:["series","model","news","review"],likeTypeArr:["news","thread","video","review","topic"],browse_history_key:"user_browsing_history",favorite_history_key:"user_favorite_history",position_history_key:"positionCache",setBrowseHistory(e,i="browse"){let r=this;try{var s=i=="browse"?r.browse_history_key:r.favorite_history_key;let l=uni.getStorageSync(s);if(l){for(let c=0;c<this.browseTypeArr.length;c++)l[this.browseTypeArr[c]]||(l[this.browseTypeArr[c]]=[]);let n=l[e.type];if(n.length){let c=!1;for(var o=0;o<n.length;o++)if(n[o].id==e.id){c=!0,l[e.type].splice(o,1);break}(i=="browse"||i!="browse"&&!c)&&n.unshift(e)}else n.push(e);l[e.type]=n.splice(0,r.historyMaxLimit);try{uni.setStorageSync(s,l)}catch(c){}}else{let n={};for(var o=0;o<this.browseTypeArr.length;o++)n[this.browseTypeArr[o]]=[];n[e.type].push(e);try{uni.setStorageSync(s,n)}catch(c){}}}catch(l){}},getBrowseHistory(e=this.browse_history_key){try{let r=uni.getStorageSync(e)||{};for(var i=0;i<this.browseTypeArr.length;i++)r[this.browseTypeArr[i]]||(r[this.browseTypeArr[i]]=[]);return r}catch(r){}},submitOpinions(e,i){d({url:"https://api.cheshi.com/services/common/api.php?api=common.Common",method:"GET",data:{act:"submitOpinions",desc:e},success:function(r){i&&typeof i=="function"&&i(r)},fail:function(){return uni.showToast({icon:"none",title:"\u670D\u52A1\u5668\u7E41\u5FD9,\u8BF7\u7A0D\u540E\u518D\u8BD5\uFF01"}),!1}})},isLike(e,i){try{let r="user_like_cache",s=uni.getStorageSync(r);return!!(s&&s[e]&&s[e].includes(i))}catch(r){}},addOrDelFavorite(e,i,r){try{let s="user_like_cache",o=uni.getStorageSync(s);if(o){for(let n=0;n<this.likeTypeArr.length;n++)o[this.likeTypeArr[n]]||(o[this.likeTypeArr[n]]=[]);let l=o[e];if(l.length&&l.includes(i)){let n=l.indexOf(i);o[e].splice(n,1)}else l.push(i);try{uni.setStorageSync(s,o),r&&typeof r=="function"&&r()}catch(n){}}else{let l={};for(let n=0;n<this.likeTypeArr.length;n++)l[this.likeTypeArr[n]]=[];l[e].push(i);try{uni.setStorageSync(s,l),r&&typeof r=="function"&&r()}catch(n){}}}catch(s){}},Login(e){uni.getSetting({success(i){i.authSetting["scope.userInfo"]||uni.authorize({scope:"scope.userInfo",success(){}}),uni.login({timeout:2e3,success(r){r.code&&d({url:"https://api.cheshi.com/services/mobile/api.php?api=mobile.weixin_base.Little",data:{act:"login",code:r.code},success:function(s){e&&typeof e=="function"&&e(s)}})},fail:function(){return uni.showToast({icon:"none",title:"\u670D\u52A1\u5668\u7E41\u5FD9,\u8BF7\u7A0D\u540E\u518D\u8BD5\uFF01"}),!1}})}})},setPosition(){let e=this;d({url:"https://api.cheshi.com/services/common/api.php?api=common.PriceInquiry",method:"GET",data:{act:"reGeo"},success:i=>{if(i.data.code==200){let r=i.data.data;[1,2,3,4].includes(r.proid)&&(r.cityid=0,r.cityname=r.proname),uni.setStorageSync(e.position_history_key,r)}},fail:()=>!1})},getPosition(){let e=uni.getStorageSync(this.position_history_key);return e||this.setPosition(),(e.proid==1||e.proid==2||e.proid==3||e.proid==4)&&(e.cityid=0,e.cityname=e.proname),e}},P=M,q=D("dom"),V={data(){return{baseUrl:d.baseURL,iStatusBarHeight:0,baseInfo:{},history:[],letter:"AA",scrollHeight:0,refreshing:!1,refreshText:"\u2193 \u4E0B\u62C9\u5237\u65B0",windowHeight:0,windowWidth:0,windowScale:1,scrollY:0}},mounted(){let e=uni.getSystemInfoSync();this.iStatusBarHeight=e.statusBarHeight,this.windowHeight=e.windowHeight,this.windowWidth=e.windowWidth,this.windowScale=750/this.windowWidth,this.scrollHeight=this.windowHeight-107/this.windowScale-this.iStatusBarHeight},onShow(){let e=P.getBrowseHistory();this.history=e.series?e.series.splice(0,5):[],this.getInfo()},watch:{scrollY(e){let i=this.baseInfo;i.sign_list&&(e<=i.sign_list[0].top?this.letter="AA":e>i.sign_list[i.sign_list.length-1].top&&(this.letter=i.sign_list[i.sign_list.length-1].letter),i.sign_list.forEach((r,s)=>{e>r.top&&e<=i.sign_list[s+1].top&&(this.letter=r.letter)}))}},methods:{onpullingdown(e){this.refreshing||(Math.abs(e.pullingDistance)>Math.abs(e.viewHeight)?this.refreshText="\u677E\u624B\u5373\u53EF\u5237\u65B0":this.refreshText="\u4E0B\u62C9\u5237\u65B0")},onrefresh(e){this.refreshing||(this.refreshing=!0,this.refreshText="\u6B63\u5728\u5237\u65B0\u6570\u636E...",setTimeout(()=>{this.refreshing=!1,this.refreshText="\u5DF2\u5237\u65B0"},3e3))},getInfo(){return m(this,null,function*(){let e={url:this.baseUrl+"/v1/select/select-base",method:"GET",loading:!1},i=yield d(e),r=i.data,s=0;this.history.length>0?s=894/this.windowScale:s=894/this.windowScale;let o=60/this.windowScale,l=120/this.windowScale,n=20/this.windowScale;r.sign_list.forEach((c,u)=>{c.height=o+l*c.signList.length,u==0?c.top=s:c.top=r.sign_list[u-1].top+r.sign_list[u-1].height+n}),i.code==200?this.baseInfo=i.data:b.tips(i.message)})},goToLetter(e){this.letter=e;let i=this.$refs["letter_"+e][0];q.scrollToElement(i,{offset:0,animated:!1})},goCondition(e){e.value==""?this.navigateTo("/pages/select/filter"):this.navigateTo("/pages/select/filter?type="+e.type+"&value="+e.value)},cateScroll(e){this.scrollY=-e.contentOffset.y},navigateTo(e){uni.navigateTo({url:e})}}},G={content:{"":{backgroundColor:"#f5f6f9",position:"relative",flex:1,width:"750rpx",paddingTop:"10rpx",paddingRight:0,paddingBottom:"10rpx",paddingLeft:0,alignItems:"center"}},bgimg:{"":{width:"750rpx",height:"450rpx",position:"absolute",left:0,top:0}},history:{"":{width:"686rpx",marginBottom:"20rpx",marginTop:"-20rpx",display:"flex",flexDirection:"row"}},title:{".history ":{width:"74rpx"},".recommend_series ":{marginBottom:"20rpx"}},text:{".history .title ":{color:"#333333",fontWeight:"bold",fontSize:"32rpx",lineHeight:"104rpx"},".history .history_box .history_item ":{color:"#000000",fontSize:"24rpx"},".main_tit ":{fontSize:"48rpx",fontWeight:"bold",color:"#333333",lineHeight:"67rpx"},".imp_box .top_item ":{fontSize:"24rpx",textAlign:"center"},".condition_wrap .condition_box .condition_item ":{color:"#000000",fontSize:"24rpx",textAlign:"center",lineHeight:"64rpx"},".condition_wrap .sign_box .sign_item ":{fontSize:"24rpx",color:"#000000",height:"33rpx",lineHeight:"33rpx"},".recommend_series .title ":{fontSize:"42rpx",color:"#333333",fontWeight:"bold",lineHeight:"59rpx"},".recommend_series .series_list .series_item .name ":{textAlign:"center",width:"200rpx",fontSize:"28rpx",color:"#333333",fontWeight:"bold",lineHeight:"40rpx",height:"40rpx",lines:1,textOverflow:"ellipsis",overflow:"hidden"},".recommend_series .series_list .series_item .price ":{fontSize:"24rpx",color:"#FF0005",fontWeight:"bold",lineHeight:"33rpx"},".letter_item .letter_name ":{fontSize:"28rpx",lineHeight:"40rpx"},".letter_item .sign_item ":{fontSize:"32rpx",color:"#333333",fontWeight:"bold"},".letter_box .letter ":{fontSize:"18rpx",lineHeight:"28rpx",color:"#8E8E93"},".letter_box .letter.cur ":{color:"#ffffff"}},history_box:{".history ":{width:"612rpx",display:"flex",height:"104rpx",flexDirection:"row"}},history_item:{".history .history_box ":{paddingTop:0,paddingRight:"24rpx",paddingBottom:0,paddingLeft:"24rpx",backgroundColor:"#ffffff",borderRadius:"32rpx",height:"64rpx",marginLeft:"20rpx",marginTop:"20rpx",display:"flex",alignItems:"center",justifyContent:"center",boxShadow:"0 0 24rpx 0 rgba(0, 0, 0, 0.1)"}},scroll_big:{"":{width:"686rpx",alignItems:"center"}},scroll_big_item:{".scroll_big ":{width:"686rpx"}},main_tit:{"":{width:"686rpx",paddingBottom:"40rpx"}},imp_box:{"":{width:"686rpx",display:"flex",flexDirection:"row",justifyContent:"space-around",alignItems:"center",marginBottom:"40rpx"}},top_item:{".imp_box ":{display:"flex",justifyContent:"center",alignItems:"center",textAlign:"center",width:"137.2rpx"}},img:{".imp_box .top_item ":{width:"72rpx",height:"72rpx",marginBottom:"16rpx"},".condition_wrap .sign_box .sign_item ":{width:"54rpx",height:"54rpx",marginBottom:"12rpx"},".recommend_series .series_list .series_item ":{width:"198rpx",height:"132rpx",marginBottom:"4rpx"},".letter_item .sign_item ":{width:"80rpx",height:"80rpx",marginRight:"40rpx"}},condition_wrap:{"":{width:"686rpx",display:"flex",marginBottom:"40rpx",backgroundColor:"#ffffff",paddingTop:"30rpx",paddingRight:0,paddingBottom:"30rpx",paddingLeft:0,borderRadius:"16rpx"}},condition_box:{".condition_wrap ":{flexDirection:"row",justifyContent:"space-between",flexWrap:"wrap",marginBottom:"8rpx",paddingTop:0,paddingRight:"19rpx",paddingBottom:0,paddingLeft:"19rpx"}},condition_item:{".condition_wrap .condition_box ":{width:"120rpx",height:"64rpx",backgroundColor:"#EFEFF4",borderRadius:"8rpx",marginBottom:"12rpx"}},sign_box:{".condition_wrap ":{flexDirection:"row",justifyContent:"space-between"}},sign_item:{".condition_wrap .sign_box ":{width:"120rpx",justifyContent:"center",alignItems:"center"},".letter_item ":{width:"646rpx",height:"120rpx",flexDirection:"row",alignItems:"center"}},recommend_series:{"":{display:"flex"}},series_list:{".recommend_series ":{width:"686rpx",display:"flex",flexDirection:"row",justifyContent:"space-between",marginBottom:"40rpx"}},series_item:{".recommend_series .series_list ":{"marginRight::last-child":0,width:"238rpx",height:"257rpx",paddingTop:"20rpx",alignItems:"center",backgroundColor:"#ffffff",marginRight:"20rpx",borderRadius:"16rpx",overflow:"hidden",position:"relative"}},bg:{".recommend_series .series_list .series_item ":{position:"absolute",left:0,top:0,right:0,bottom:0,width:"238rpx",height:"257rpx",borderRadius:"16rpx"}},name:{".recommend_series .series_list .series_item ":{width:"200rpx",marginBottom:"8rpx",alignItems:"center"}},price:{".recommend_series .series_list .series_item ":{height:"33rpx",overflow:"hidden"}},wrap:{".letter_item ":{display:"flex",flexDirection:"column",backgroundColor:"#ffffff",borderRadius:"16rpx",paddingTop:"20rpx",paddingRight:"20rpx",paddingBottom:0,paddingLeft:"20rpx",width:"686rpx",marginBottom:"20rpx",flexWrap:"nowrap"}},letter_name:{".letter_item ":{width:"646rpx"}},letter_box:{"":{position:"fixed",right:0,top:0,justifyContent:"center"}},letter:{".letter_box ":{width:"28rpx",height:"28rpx",marginTop:"4rpx",marginRight:0,marginBottom:"4rpx",marginLeft:0,borderRadius:50,alignItems:"center",justifyContent:"center",backgroundColor:"rgba(0,0,0,0)"},".letter_box .cur":{backgroundColor:"#FF0005"}},refreshbox:{"":{left:0,right:0,position:"relative",paddingTop:"20rpx",paddingRight:"20rpx",paddingBottom:"20rpx",paddingLeft:"20rpx",flexDirection:"row",alignItems:"center",justifyContent:"center",height:"80rpx"}},limg:{".refreshbox ":{marginLeft:"20rpx"}},retext:{".refreshbox ":{fontSize:"26rpx",color:"#333333"}}};function Y(e,i,r,s,o,l){let n=I((0,t.resolveDynamicComponent)("TabBars"),A);return(0,t.openBlock)(),(0,t.createElementBlock)("scroll-view",{scrollY:!0,showScrollbar:!0,enableBackToTop:!0,bubble:"true",style:{flexDirection:"column"}},[(0,t.createElementVNode)("view",{class:"content"},[(0,t.createElementVNode)("u-image",{class:"bgimg",src:"/static/topbg.png"}),(0,t.createElementVNode)("view",{style:(0,t.normalizeStyle)({height:e.iStatusBarHeight+"px"})},null,4),(0,t.createElementVNode)("view",{class:"main_tit"},[(0,t.createElementVNode)("u-text",{class:"text"},"\u9009\u8F66\u4E2D\u5FC3")]),(0,t.createElementVNode)("list",{class:"scroll_big",id:"pageId",bounce:"true",showScrollbar:"false",fixFreezing:"true",style:(0,t.normalizeStyle)("height: "+e.scrollHeight),onScroll:i[5]||(i[5]=(...c)=>e.cateScroll&&e.cateScroll(...c))},[((0,t.openBlock)(),(0,t.createElementBlock)(t.Fragment,null,(0,t.renderList)([1],(c,u)=>(0,t.createElementVNode)("cell",{ref_for:!0,ref:"letter_AA"},[(0,t.createElementVNode)("view",{class:"imp_box"},[(0,t.createElementVNode)("view",{class:"top_item",onClick:i[0]||(i[0]=a=>e.navigateTo("/pages/select/newcar"))},[(0,t.createElementVNode)("u-image",{class:"img",src:"/static/select_newcar.png"}),(0,t.createElementVNode)("u-text",{class:"text"},"\u4E0A\u5E02\u65B0\u8F66")]),(0,t.createElementVNode)("view",{class:"top_item",onClick:i[1]||(i[1]=a=>e.navigateTo("/pages/select/rank"))},[(0,t.createElementVNode)("u-image",{class:"img",src:"/static/select_rank.png"}),(0,t.createElementVNode)("u-text",{class:"text"},"\u9500\u91CF\u6392\u884C")]),(0,t.createElementVNode)("view",{class:"top_item",onClick:i[2]||(i[2]=a=>e.navigateTo("/pages/select/calculator?type=index"))},[(0,t.createElementVNode)("u-image",{class:"img",src:"/static/select_jsq.png"}),(0,t.createElementVNode)("u-text",{class:"text"},"\u8D2D\u8F66\u8BA1\u7B97")]),(0,t.createElementVNode)("view",{class:"top_item",onClick:i[3]||(i[3]=a=>e.navigateTo("/pages/pk/index"))},[(0,t.createElementVNode)("u-image",{class:"img",src:"/static/select_pk.png"}),(0,t.createElementVNode)("u-text",{class:"text"},"\u8F66\u578B\u5BF9\u6BD4")]),(0,t.createElementVNode)("view",{class:"top_item",onClick:i[4]||(i[4]=a=>e.navigateTo("/pages/select/select_step3"))},[(0,t.createElementVNode)("u-image",{class:"img",src:"/static/select_step3.png"}),(0,t.createElementVNode)("u-text",{class:"text"},"\u4E09\u6B65\u9009\u8F66")])]),(0,t.createElementVNode)("view",{class:"condition_wrap"},[(0,t.createElementVNode)("view",{class:"condition_box"},[((0,t.openBlock)(!0),(0,t.createElementBlock)(t.Fragment,null,(0,t.renderList)(e.baseInfo.select_tags,(a,p)=>((0,t.openBlock)(),(0,t.createElementBlock)("view",{class:"condition_item",onClick:h=>e.goCondition(a)},[(0,t.createElementVNode)("u-text",{class:"text"},(0,t.toDisplayString)(a.txt),1)],8,["onClick"]))),256))]),(0,t.createElementVNode)("view",{class:"sign_box"},[((0,t.openBlock)(!0),(0,t.createElementBlock)(t.Fragment,null,(0,t.renderList)(e.baseInfo.hot_signs,(a,p)=>((0,t.openBlock)(),(0,t.createElementBlock)("view",{class:"sign_item",onClick:h=>e.navigateTo("/pages/select/bseries_list?signid="+a.id+"&signname="+a.signname)},[(0,t.createElementVNode)("u-image",{class:"img",src:a.imgurl},null,8,["src"]),(0,t.createElementVNode)("u-text",{class:"text"},(0,t.toDisplayString)(a.signname),1)],8,["onClick"]))),256))])]),(0,t.createElementVNode)("view",{class:"recommend_series"},[(0,t.createElementVNode)("view",{class:"title"},[(0,t.createElementVNode)("u-text",{class:"text"},"\u70ED\u95E8\u63A8\u8350")]),(0,t.createElementVNode)("view",{class:"wrap"},[(0,t.createElementVNode)("scroll-view",{class:"series_list",scrollX:"true",showScrollbar:"false",style:{width:"686rpx"}},[((0,t.openBlock)(!0),(0,t.createElementBlock)(t.Fragment,null,(0,t.renderList)(e.baseInfo.hot_bseries,(a,p)=>((0,t.openBlock)(),(0,t.createElementBlock)("view",{class:"series_item",onClick:h=>e.navigateTo("/pages/bseries/index?id="+a.id)},[(0,t.createElementVNode)("u-image",{class:"bg",src:"/static/select_bserise_bg.jpg"}),(0,t.createElementVNode)("u-image",{class:"img",src:a.png_url?a.png_url:a.imgurl},null,8,["src"]),(0,t.createElementVNode)("view",{class:"name"},[(0,t.createElementVNode)("u-text",{class:"text"},(0,t.toDisplayString)(a.name),1)]),(0,t.createElementVNode)("view",{class:"price"},[(0,t.createElementVNode)("u-text",{class:"text"},(0,t.toDisplayString)(a.price),1)])],8,["onClick"]))),256))])])]),e.history.length>0?((0,t.openBlock)(),(0,t.createElementBlock)("view",{key:0,class:"history"},[(0,t.createElementVNode)("view",{class:"title"},[(0,t.createElementVNode)("u-text",{class:"text"},"\u770B\u8FC7")]),(0,t.createElementVNode)("scroll-view",{class:"history_box",scrollX:"true",showScrollbar:"false"},[((0,t.openBlock)(!0),(0,t.createElementBlock)(t.Fragment,null,(0,t.renderList)(e.history,(a,p)=>((0,t.openBlock)(),(0,t.createElementBlock)("view",{class:"history_item",onClick:h=>e.navigateTo("/pages/bseries/index?id="+a.id)},[(0,t.createElementVNode)("u-text",{class:"text"},(0,t.toDisplayString)(a.name),1)],8,["onClick"]))),256))])])):(0,t.createCommentVNode)("",!0)],512)),64)),((0,t.openBlock)(!0),(0,t.createElementBlock)(t.Fragment,null,(0,t.renderList)(e.baseInfo.sign_list,(c,u)=>((0,t.openBlock)(),(0,t.createElementBlock)("cell",{class:"letter_item",ref_for:!0,ref:"letter_"+c.letter},[(0,t.createElementVNode)("div",{class:"wrap"},[(0,t.createElementVNode)("view",{class:"letter_name"},[(0,t.createElementVNode)("u-text",{class:"text"},(0,t.toDisplayString)(c.letter),1)]),((0,t.openBlock)(!0),(0,t.createElementBlock)(t.Fragment,null,(0,t.renderList)(c.signList,(a,p)=>((0,t.openBlock)(),(0,t.createElementBlock)("view",{class:"sign_item",onClick:h=>e.navigateTo("/pages/select/bseries_list?signid="+a.signid)},[(0,t.createElementVNode)("u-image",{class:"img",src:a.imgurl},null,8,["src"]),(0,t.createElementVNode)("u-text",{class:"text"},(0,t.toDisplayString)(a.signname),1)],8,["onClick"]))),256))])],512))),256)),(0,t.createElementVNode)("cell",null,[(0,t.createElementVNode)("view",{style:{height:"150rpx"}})])],36),(0,t.createElementVNode)("view",{class:"letter_box",style:(0,t.normalizeStyle)("height: "+e.windowHeight)},[(0,t.createElementVNode)("view",{class:"letter",style:(0,t.normalizeStyle)("background-color: "+(e.letter=="AA"?"#FF0005":"transparent")),onClick:i[6]||(i[6]=c=>e.goToLetter("AA"))},[(0,t.createElementVNode)("u-text",{style:(0,t.normalizeStyle)("color: "+(e.letter=="AA"?"#fff":"#8E8E93")),class:"text"},"#",4)],4),((0,t.openBlock)(!0),(0,t.createElementBlock)(t.Fragment,null,(0,t.renderList)(e.baseInfo.sign_list,(c,u)=>((0,t.openBlock)(),(0,t.createElementBlock)("view",{class:"letter",style:(0,t.normalizeStyle)("background-color: "+(e.letter==c.letter?"#FF0005":"transparent")),onClick:a=>e.goToLetter(c.letter)},[(0,t.createElementVNode)("u-text",{style:(0,t.normalizeStyle)("color: "+(e.letter==c.letter?"#fff":"#8E8E93")),class:"text"},(0,t.toDisplayString)(c.letter),5)],12,["onClick"]))),256))],4)]),(0,t.createVNode)(n,{"current-page":1})])}var w=_(V,[["render",Y],["styles",[G]]]);var v=plus.webview.currentWebview();if(v){let e=parseInt(v.id),i="pages/select/index",r={};try{r=JSON.parse(v.__query__)}catch(o){}w.mpType="page";let s=Vue.createPageApp(w,{$store:getApp({allowDefault:!0}).$store,__pageId:e,__pagePath:i,__pageQuery:r});s.provide("__globalStyles",Vue.useCssStyles([...__uniConfig.styles,...w.styles||[]])),s.mount("#root")}})();
