(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-index-index"],{"0093":function(t,e,i){"use strict";i.r(e);var a=i("71c8"),n=i("eefb");for(var s in n)["default"].indexOf(s)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(s);i("ebb9");var r=i("f0c5"),o=Object(r["a"])(n["default"],a["b"],a["c"],!1,null,"3fa99dd0",null,!1,a["a"],void 0);e["default"]=o.exports},"0d0f":function(t,e,i){var a=i("24fb");e=a(!1),e.push([t.i,"uni-page-body[data-v-6d3b46c5]{background:#f5f5f5!important}body.?%PAGE?%[data-v-6d3b46c5]{background:#f5f5f5!important}.search[data-v-6d3b46c5]{width:100%;border-radius:%?46?%;opacity:1;border:%?1?% solid #d3d3d3}.t3[data-v-6d3b46c5]{\n\t/* background: linear-gradient(180deg, #FFF8EF 0%, #FFFFFF 100%); */background:#fff;box-shadow:%?0?% %?8?% %?20?% %?0?% rgba(0,0,0,.06);border-radius:%?28?%;font-family:PingFang SC-粗体,PingFang SC;font-weight:400}.dui[data-v-6d3b46c5]{\n\t/* width: 198rpx; */height:%?226?%;background:#ffefda;border-radius:%?12?%}.z5[data-v-6d3b46c5]{height:%?260?%;width:100%;position:relative}.z4[data-v-6d3b46c5]{height:%?192?%;width:48%;position:relative}.sk[data-v-6d3b46c5]{background-image:url(https://pfapi.86698.cn/static/images/sk.png);background-size:100% 100%;width:%?174?%;height:%?174?%}.vhy[data-v-6d3b46c5]{background-image:url(https://pfapi.86698.cn/static/images/video.png);background-size:100% 100%;width:48%;height:%?248?%}.vqt[data-v-6d3b46c5]{width:56%;height:%?248?%}.one[data-v-6d3b46c5]{overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;width:%?174?%}.chosethis[data-v-6d3b46c5]{font-weight:700;color:#003a6e}.nochossethis[data-v-6d3b46c5]{color:#9d9d9d;font-weight:lighter}.home uni-swiper[data-v-6d3b46c5]{height:%?454?%!important}",""]),t.exports=e},"0f2a":function(t,e,i){"use strict";i("7a82");var a=i("4ea4").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=a(i("4284")),s={name:"u-line-progress",mixins:[uni.$u.mpMixin,uni.$u.mixin,n.default],data:function(){return{lineWidth:0}},watch:{percentage:function(t){this.resizeProgressWidth()}},computed:{progressStyle:function(){var t={};return t.width=this.lineWidth,t.backgroundColor=this.activeColor,t.height=uni.$u.addUnit(this.height),t},innserPercentage:function(){return uni.$u.range(0,100,this.percentage)}},mounted:function(){this.init()},methods:{init:function(){var t=this;uni.$u.sleep(20).then((function(){t.resizeProgressWidth()}))},getProgressWidth:function(){return this.$uGetRect(".u-line-progress__background")},resizeProgressWidth:function(){var t=this;this.getProgressWidth().then((function(e){var i=e.width;t.lineWidth=i*t.innserPercentage/100+"px"}))}}};e.default=s},"1d85":function(t,e,i){"use strict";i.r(e);var a=i("3bad"),n=i.n(a);for(var s in a)["default"].indexOf(s)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(s);e["default"]=n.a},"2abb":function(t,e,i){var a=i("0d0f");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var n=i("4f06").default;n("e33adb14",a,!0,{sourceMap:!1,shadowMode:!1})},"3bad":function(t,e,i){"use strict";i("7a82"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,i("d3b7"),i("159b");var a={data:function(){return{istrue:!1,imgUrl:"",form:{keywords:""},activits2:[{m1:"18.8",tt:"优酷年卡+酷狗豪华年卡",jf:"1500",z:5},{m1:"18.8",tt:"优酷年卡+酷狗豪华年卡",jf:"1500",z:5}],mlist:[],whop:{min_price:"",max_price:"",page:1,pageSize:1100},whoindex:0,goodlist:[],banners:[],hotActivity:[],hotProduct:[],hotproducts:[]}},onLoad:function(){this.imgUrl=this.api.imgUrl,this.gettoken()},methods:{gettoken:function(){var t=this;uni.showLoading({title:"加载中..."}),this.api.login({account:"testq12",password:"123456"}).then((function(e){console.log(e),200==e.data.code?(uni.setStorageSync("token",e.data.data.authtoken),uni.setStorageSync("phone",e.data.data.phone),uni.setStorageSync("uu",e.data.data.id),t.getdata()):uni.showToast({title:e.data.message,icon:"none"})}))},getdata:function(){var t=this;this.api.homedata().then((function(e){console.log(e),200==e.data.code?(0!=e.data.data.hotActivity.length&&e.data.data.hotActivity.forEach((function(t,e){t.rule=JSON.parse(t.rule)})),t.banners=e.data.data.banner,t.hotActivity=e.data.data.hotActivity,t.hotproducts=e.data.data.product1,t.goodlist=e.data.data.hotProduct,t.istrue=!0,uni.hideLoading()):uni.showToast({icon:"error",title:e.data.message})}))},getremtag:function(){var t=this;this.api.getremmedtag().then((function(e){console.log(e),200==e.data.code?(t.mlist=e.data.data,t.whop.min_price=e.data.data[0].min_price,t.whop.max_price=e.data.data[0].max_price):uni.showToast({title:e.data.message,icon:"none"})}))},gethotpro:function(){var t=this;this.api.gethotproduct(this.whop).then((function(e){200==e.data.code?(t.goodlist=e.data.data.data,t.istrue=!0,uni.hideLoading()):uni.showToast({title:e.data.message,icon:"none"})}))},doSearch:function(){if(""==this.form.keywords)return uni.showToast({title:"请输入搜索内容",icon:"none"}),!1;uni.navigateTo({url:"/pages/exchange/index?keywords="+this.form.keywords})},watchgo:function(){uni.showToast({title:"配置中,敬请期待",icon:"none"})},goexchange:function(t){uni.navigateTo({url:"/pages/exchange/index?keyindex="+t})},gomyfen:function(){uni.navigateTo({url:"/pages/my/index"})},gomyorder:function(){uni.navigateTo({url:"/pages/order/index"})},moreac:function(){uni.navigateTo({url:"/pages/activity/index"})},godetail:function(t){uni.navigateTo({url:"/pages/product/detail?id="+t})},goout:function(t){uni.navigateTo({url:"/pages/outline/index?src="+t})},getp:function(t,e,i){2==e?uni.navigateTo({url:"/pages/turntable/index?id="+t}):3==e?uni.navigateTo({url:"/pages/scap/scratch?id="+t}):5==e?uni.navigateTo({url:"/pages/around/index?id="+t}):6==e?uni.navigateTo({url:"/pages/answer/index?id="+t}):1==e&&uni.navigateTo({url:"/pages/product/detail?id="+i})},chosewho:function(t){this.whoindex=t,this.whop.min_price=this.mlist[t].min_price,"以上"!=this.mlist[t].max_price_desc?this.whop.max_price=this.mlist[t].max_price:this.whop.max_price="",uni.showLoading({title:"加载中..."}),this.gethotpro()}},onShareAppMessage:function(){return{title:"浦发积分商城",path:"/pages/index/index"}},onShareTimeline:function(){return{title:"浦发积分商城",path:"/pages/index/index"}}};e.default=a},4284:function(t,e,i){"use strict";i("7a82"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,i("a9e3");var a={props:{activeColor:{type:String,default:uni.$u.props.lineProgress.activeColor},inactiveColor:{type:String,default:uni.$u.props.lineProgress.color},percentage:{type:[String,Number],default:uni.$u.props.lineProgress.inactiveColor},showText:{type:Boolean,default:uni.$u.props.lineProgress.showText},height:{type:[String,Number],default:uni.$u.props.lineProgress.height}}};e.default=a},"71c8":function(t,e,i){"use strict";i.d(e,"b",(function(){return a})),i.d(e,"c",(function(){return n})),i.d(e,"a",(function(){}));var a=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view",{staticClass:"u-line-progress",style:[t.$u.addStyle(t.customStyle)]},[i("v-uni-view",{ref:"u-line-progress__background",staticClass:"u-line-progress__background",style:[{backgroundColor:t.inactiveColor,height:t.$u.addUnit(t.height)}]}),i("v-uni-view",{staticClass:"u-line-progress__line",style:[t.progressStyle]},[t._t("default",[t.showText&&t.percentage>=10?i("v-uni-text",{staticClass:"u-line-progress__text"},[t._v(t._s(t.innserPercentage+"%"))]):t._e()])],2)],1)},n=[]},"7b3e":function(t,e,i){"use strict";var a=i("2abb"),n=i.n(a);n.a},"8f99":function(t,e,i){"use strict";i.d(e,"b",(function(){return n})),i.d(e,"c",(function(){return s})),i.d(e,"a",(function(){return a}));var a={uLineProgress:i("0093").default},n=function(){var t=this,e=t.$createElement,i=t._self._c||e;return t.istrue?i("v-uni-view",{staticClass:"content plr30 home"},[i("v-uni-view",{staticClass:"flex_center flex_items mt30"},[i("v-uni-view",{staticClass:"search flex_start flex_items plr10 ptb15"},[i("v-uni-image",{staticStyle:{width:"32rpx",height:"32rpx"},attrs:{src:t.imgUrl+"search.png",mode:""}}),i("v-uni-input",{staticClass:"uni-input pl10 f26",staticStyle:{width:"100%"},attrs:{"confirm-type":"search",placeholder:"搜索"},on:{confirm:function(e){arguments[0]=e=t.$handleEvent(e),t.doSearch.apply(void 0,arguments)}},model:{value:t.form.keywords,callback:function(e){t.$set(t.form,"keywords",e)},expression:"form.keywords"}})],1)],1),i("v-uni-view",{staticClass:"mt30"},[i("v-uni-swiper",{attrs:{"indicator-dots":!0,autoplay:!0,interval:"5000",duration:"500"}},t._l(t.banners,(function(e,a){return i("v-uni-swiper-item",{key:a},[i("v-uni-image",{staticStyle:{width:"100%",height:"454rpx"},attrs:{src:e.url,mode:"aspectFit"},on:{click:function(i){arguments[0]=i=t.$handleEvent(i),t.goout(e.target_url)}}})],1)})),1)],1),i("v-uni-view",{staticClass:"t3 mt30 p30"},[i("v-uni-view",{staticClass:"flex_between flex_items"},[i("v-uni-text",{staticClass:"f32",staticStyle:{color:"#003A6E"}},[t._v("花积分")]),i("v-uni-text",{staticClass:"f24",staticStyle:{color:"#999"},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.goexchange("0")}}},[t._v("更多")])],1),0!=t.hotproducts.length?i("v-uni-view",{staticClass:"flex_start flex_items mt30"},[i("v-uni-view",{staticClass:"pl30 pt35 flex_column vhy mt30",staticStyle:{"border-radius":"20rpx 0rpx 0rpx 0rpx"}},[i("v-uni-view",{staticClass:"f30 bold",staticStyle:{color:"#fff"}},[t._v(t._s(t.hotproducts[0].name))]),i("v-uni-view",{staticClass:"mt80 flex_items flex_center ml10",staticStyle:{width:"calc(100% - 40rpx)",height:"64rpx",background:"linear-gradient(180deg, #FFFFFF 0%, #FFBFAC 100%)","border-radius":"32rpx"},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.goexchange("0")}}},[i("v-uni-text",{staticClass:"f28",staticStyle:{color:"#FD6F30"}},[t._v("立即查看")])],1)],1),i("v-uni-view",{staticClass:"ml20 vqt"},[i("v-uni-view",{staticClass:"flex_start flex_items pb10 plr10 pt20",staticStyle:{background:"#FFEDEA","border-radius":"20rpx 20rpx 0 0","border-bottom":"1px solid #FAD5D5"}},[i("v-uni-image",{staticStyle:{height:"124rpx",width:"144rpx"},attrs:{src:t.imgUrl+"yphy.png",mode:""}}),i("v-uni-view",{staticClass:"flex_column",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.goexchange("1")}}},[i("v-uni-view",{staticClass:"f30 bold flex_start flex_items",staticStyle:{color:"#003A6E"}},[i("v-uni-text",[t._v(t._s(t.hotproducts[1].name))]),i("v-uni-image",{staticClass:"ml10",staticStyle:{width:"10rpx"},attrs:{src:t.imgUrl+"xjt.png",mode:"widthFix"}})],1)],1)],1),0!=t.hotproducts.length?i("v-uni-view",{staticClass:"flex_start flex_items pt10 plr10",staticStyle:{background:"#FFEDEA","border-radius":"0 0 20rpx 20rpx"}},[i("v-uni-image",{staticStyle:{height:"124rpx",width:"144rpx"},attrs:{src:t.imgUrl+"mssh.png",mode:""}}),i("v-uni-view",{staticClass:"flex_column",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.goexchange("2")}}},[i("v-uni-view",{staticClass:"f30 bold flex_start flex_items",staticStyle:{color:"#003A6E"}},[i("v-uni-text",[t._v(t._s(t.hotproducts[2].name))]),i("v-uni-image",{staticClass:"ml10",staticStyle:{width:"10rpx"},attrs:{src:t.imgUrl+"xjt.png",mode:"widthFix"}})],1)],1)],1):t._e()],1)],1):i("v-uni-view",{staticClass:"flex_center flex_items f24",staticStyle:{color:"#888",height:"240rpx",width:"100%"}},[i("v-uni-text",[t._v("--暂无数据--")])],1),i("v-uni-view",{staticClass:"p30 mt30",staticStyle:{width:"calc(100% - 60rpx)",background:"linear-gradient(180deg, #FDE8E5 0%, rgba(255,255,255,0) 100%)","border-radius":"28rpx"}},[i("v-uni-view",{staticClass:"mt20"},[0!=t.goodlist.length?i("v-uni-view",{staticClass:"flex_start flex_items",staticStyle:{width:"100%","overflow-x":"auto",height:"260rpx","overflow-y":"hidden"}},t._l(t.goodlist,(function(e,a){return i("v-uni-view",{key:a,staticClass:"flex_column flex_items mr30"},[i("v-uni-view",{staticClass:"sk flex_items flex_center",on:{click:function(i){arguments[0]=i=t.$handleEvent(i),t.godetail(e.id)}}},[i("v-uni-image",{staticStyle:{width:"128rpx",height:"114rpx"},attrs:{src:e.main_image,mode:"aspectFit"}})],1),i("v-uni-view",{staticClass:"f26 mt10 one f-center",staticStyle:{color:"#333"}},[t._v(t._s(e.name))]),i("v-uni-view",{staticClass:"mt10 f24 f-center",staticStyle:{color:"#FA5D5E"}},[t._v(t._s(e.price)+"积分")])],1)})),1):i("v-uni-view",{staticClass:"flex_center flex_items f24",staticStyle:{color:"#888",height:"240rpx",width:"100%"}},[i("v-uni-text",[t._v("--暂无数据--")])],1)],1)],1)],1),i("v-uni-view",{staticClass:"mt30 p30 t3"},[i("v-uni-view",{staticClass:"flex_between flex_items"},[i("v-uni-text",{staticClass:"f32",staticStyle:{color:"#003A6E"}},[t._v("热门活动")]),i("v-uni-text",{staticClass:"f24",staticStyle:{color:"#999"},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.moreac.apply(void 0,arguments)}}},[t._v("更多")])],1),0!=t.hotActivity.length?i("v-uni-view",{staticClass:"flex_column flex_items"},t._l(t.hotActivity,(function(e,a){return i("v-uni-view",{key:a,staticClass:"mt30 pb30 bbe9s",staticStyle:{width:"100%"}},[i("v-uni-view",{staticClass:"flex_between flex_items",staticStyle:{width:"100%"}},[i("v-uni-view",{staticClass:"flex_start flex_items"},[i("v-uni-image",{staticStyle:{width:"72rpx",height:"72rpx","border-radius":"50%"},attrs:{src:e.banner,mode:""}}),i("v-uni-view",{staticClass:"flex_column ml20"},[i("v-uni-text",{staticClass:"f30",staticStyle:{color:"#333"}},[t._v(t._s(e.active_name))]),e.rule?i("v-uni-text",{staticClass:"f24 mt10",staticStyle:{color:"#898989"}},[t._v(t._s(e.rule.rate))]):t._e()],1)],1),i("v-uni-view",{staticClass:"flex_items flex_center",staticStyle:{width:"144rpx",height:"48rpx",background:"linear-gradient(90deg, #FF898E 0%, #F43139 100%)","box-shadow":"0rpx 4rpx 12rpx 0rpx #FFC79F","border-radius":"24rpx"},on:{click:function(i){arguments[0]=i=t.$handleEvent(i),t.getp(e.id,e.active_type,e.product_id)}}},[i("v-uni-text",{staticClass:"f24",staticStyle:{color:"#fff"}},[t._v("立即参与")])],1)],1),i("u-line-progress",{staticClass:"mt20",attrs:{percentage:e.process_rate,inactiveColor:"#F8DDC5",activeColor:"#F9535A"}})],1)})),1):i("v-uni-view",{staticClass:"flex_center flex_items f24",staticStyle:{color:"#888",height:"600rpx",width:"100%"}},[i("v-uni-text",[t._v("--暂无数据--")])],1)],1),i("v-uni-view",{staticStyle:{width:"100%",height:"30rpx"}}),i("Ywatermark",{attrs:{info:"蓝色兄弟"}})],1):t._e()},s=[]},"91a5":function(t,e,i){var a=i("b4cd");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var n=i("4f06").default;n("7e4b96c8",a,!0,{sourceMap:!1,shadowMode:!1})},b4cd:function(t,e,i){var a=i("24fb");e=a(!1),e.push([t.i,'@charset "UTF-8";\r\n/**\r\n * 这里是uni-app内置的常用样式变量\r\n *\r\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\r\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\r\n *\r\n */\r\n/**\r\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\r\n *\r\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\r\n */\r\n/* 颜色变量 */\r\n/* 行为相关颜色 */\r\n/* 文字基本颜色 */\r\n/* 背景颜色 */\r\n/* 边框颜色 */\r\n/* 尺寸变量 */\r\n/* 文字尺寸 */\r\n/* 图片尺寸 */\r\n/* Border Radius */\r\n/* 水平间距 */\r\n/* 垂直间距 */\r\n/* 透明度 */\r\n/* 文章场景相关 */uni-view[data-v-3fa99dd0], uni-scroll-view[data-v-3fa99dd0], uni-swiper-item[data-v-3fa99dd0]{display:flex;flex-direction:column;flex-shrink:0;flex-grow:0;flex-basis:auto;align-items:stretch;align-content:flex-start}.u-line-progress[data-v-3fa99dd0]{align-items:stretch;position:relative;display:flex;flex-direction:row;flex:1;overflow:hidden;border-radius:100px}.u-line-progress__background[data-v-3fa99dd0]{background-color:#ececec;border-radius:100px;flex:1}.u-line-progress__line[data-v-3fa99dd0]{position:absolute;top:0;left:0;bottom:0;align-items:center;display:flex;flex-direction:row;color:#fff;border-radius:100px;transition:width .5s ease;justify-content:flex-end}.u-line-progress__text[data-v-3fa99dd0]{font-size:10px;align-items:center;text-align:right;color:#fff;margin-right:5px;-webkit-transform:scale(.9);transform:scale(.9)}',""]),t.exports=e},ebb9:function(t,e,i){"use strict";var a=i("91a5"),n=i.n(a);n.a},eefb:function(t,e,i){"use strict";i.r(e);var a=i("0f2a"),n=i.n(a);for(var s in a)["default"].indexOf(s)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(s);e["default"]=n.a},f461:function(t,e,i){"use strict";i.r(e);var a=i("8f99"),n=i("1d85");for(var s in n)["default"].indexOf(s)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(s);i("7b3e");var r=i("f0c5"),o=Object(r["a"])(n["default"],a["b"],a["c"],!1,null,"6d3b46c5",null,!1,a["a"],void 0);e["default"]=o.exports}}]);