(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-qianggou-qianggou"],{"017d":function(t,e,n){"use strict";n("7a82");var i=n("4ea4").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a=n("4838"),r=i(n("8259")),o={components:{TabBar:r.default},data:function(){return{swiperList:["/static/image/banner1.png","/static/image/banner2.png","/static/image/banner3.png"],text1:["用户隐私协议","用户注册协议","委托托管协议","用户须知","C2C个人支付风险提示"],list:[],showList:!0,show:!1,content:"",userInfo:{}}},methods:{close:function(){this.show=!1},getText:function(){var t=this;(0,a.privacyPolicy)({id:3}).then((function(e){t.content=e.data.content}))},getUserInfoHandle:function(){var t=this;(0,a.getUserInfo)().then((function(e){t.userInfo=e.data,e.data.sign_image&&0!=e.data.sign_status?(t.showList=!0,t.getWarehouseList()):t.showList=!1}))},goSign:function(){uni.navigateTo({url:"/pages/home/sign"})},jump:function(t){console.log("7777",t);var e=null;switch(t){case 0:e=2;break;case 1:e=1;break;case 2:e=4;break;case 3:e=3;break;case 4:e=5;break}uni.navigateTo({url:"/pages/my/richText?id=".concat(e)})},getWarehouseList:function(){var t=this;(0,a.getWarehouseList)().then((function(e){console.log(e),t.list=e.data}))},goProductList:function(t){if("normal"==t.status)if(0==t.is_allow_access)this.$refs.uToast.show({message:"未到抢购时间"});else{if(1!==this.userInfo.sign_status)return this.$refs.uToast.show({message:"请先完成签约"}),!1;uni.navigateTo({url:"/pages/qianggou/productList?id="+t.id})}else this.$refs.uToast.show({message:t.title+"等待开放"})}},onShow:function(){this.getUserInfoHandle(),this.show=!1},onLoad:function(){this.getText()},onReady:function(){uni.hideTabBar()}};e.default=o},"02da":function(t,e,n){"use strict";var i=n("a2b2"),a=n.n(i);a.a},"0510":function(t,e,n){"use strict";n("7a82"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,n("a9e3"),n("ac1f"),n("841c");var i={data:function(){return{TabBarList:[{index:0,name:"首页",img:"/static/tabBar/tab_01.png",acImg:"/static/tabBar/tab_02.png"},{index:1,name:"抢购",img:"/static/tabBar/tab_03.png",acImg:"/static/tabBar/tab_04.png"},{index:2,name:"购物车",img:"/static/tabBar/tab_07.png",acImg:"/static/tabBar/tab_08.png"},{index:3,name:"我的",img:"/static/tabBar/tab_09.png",acImg:"/static/tabBar/tab_10.png"}],codeheight:0,isOverall:0,phoneModel:""}},props:{tabBarShow:{type:Number,default:0}},mounted:function(){try{uni.getSystemInfoSync();var t=this;uni.getSystemInfo({success:function(e){console.log(e.brand),console.log(e.model),console.log(e.screenWidth),console.log(e.screenHeight),t.codeheight=Math.round(e.screenHeight),t.phoneModel=e.model,e.model.search("iPhone")?t.isOverall=0:Math.round(e.screenHeight)>740&&(t.isOverall=1),console.log(t.isOverall)}})}catch(e){}},methods:{onTabBar:function(t,e){switch(e){case 0:uni.switchTab({url:"/pages/home/home"});break;case 1:uni.switchTab({url:"/pages/qianggou/qianggou"});break;case 2:uni.switchTab({url:"/pages/cart/cart"});break;case 3:uni.switchTab({url:"/pages/my/my"});break}}}};e.default=i},"07e8":function(t,e,n){var i=n("3fb8");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var a=n("4f06").default;a("5a01c0dd",i,!0,{sourceMap:!1,shadowMode:!1})},"0a8b":function(t,e,n){var i=n("24fb");e=i(!1),e.push([t.i,'@charset "UTF-8";\n/**\n * 这里是uni-app内置的常用样式变量\n *\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\n *\n */\n/**\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\n *\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\n */\n/* 颜色变量 */\n/* 主要颜色 */\n/* 行为相关颜色 */\n/* 文字基本颜色 */\n/* 背景颜色 */\n/* 边框颜色 */\n/* 尺寸变量 */\n/* 文字尺寸 */\n/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */\n/* 透明度 */\n/* 文章场景相关 */uni-view[data-v-47c738b8], uni-scroll-view[data-v-47c738b8], uni-swiper-item[data-v-47c738b8]{display:flex;flex-direction:column;flex-shrink:0;flex-grow:0;flex-basis:auto;align-items:stretch;align-content:flex-start}.u-notice-bar[data-v-47c738b8]{overflow:hidden;padding:9px 12px;flex:1}',""]),t.exports=e},"0c92":function(t,e,n){var i=n("72df");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var a=n("4f06").default;a("6628e326",i,!0,{sourceMap:!1,shadowMode:!1})},"0cd1":function(t,e,n){var i=n("24fb");e=i(!1),e.push([t.i,'@charset "UTF-8";\n/**\n * 这里是uni-app内置的常用样式变量\n *\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\n *\n */\n/**\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\n *\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\n */\n/* 颜色变量 */\n/* 主要颜色 */\n/* 行为相关颜色 */\n/* 文字基本颜色 */\n/* 背景颜色 */\n/* 边框颜色 */\n/* 尺寸变量 */\n/* 文字尺寸 */\n/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */\n/* 透明度 */\n/* 文章场景相关 */uni-view[data-v-d4342702], uni-scroll-view[data-v-d4342702], uni-swiper-item[data-v-d4342702]{display:flex;flex-direction:column;flex-shrink:0;flex-grow:0;flex-basis:auto;align-items:stretch;align-content:flex-start}.u-swiper[data-v-d4342702]{display:flex;flex-direction:row;justify-content:center;align-items:center;position:relative;overflow:hidden}.u-swiper__wrapper[data-v-d4342702]{flex:1}.u-swiper__wrapper__item[data-v-d4342702]{flex:1}.u-swiper__wrapper__item__wrapper[data-v-d4342702]{display:flex;flex-direction:row;position:relative;overflow:hidden;transition:-webkit-transform .3s;transition:transform .3s;transition:transform .3s,-webkit-transform .3s;flex:1}.u-swiper__wrapper__item__wrapper__image[data-v-d4342702]{flex:1}.u-swiper__wrapper__item__wrapper__video[data-v-d4342702]{flex:1}.u-swiper__wrapper__item__wrapper__title[data-v-d4342702]{position:absolute;background-color:rgba(0,0,0,.3);bottom:0;left:0;right:0;font-size:%?28?%;padding:%?12?% %?24?%;color:#fff;flex:1}.u-swiper__indicator[data-v-d4342702]{position:absolute;bottom:10px}',""]),t.exports=e},"10d0":function(t,e,n){"use strict";n.r(e);var i=n("5f2a"),a=n.n(i);for(var r in i)["default"].indexOf(r)<0&&function(t){n.d(e,t,(function(){return i[t]}))}(r);e["default"]=a.a},"18d6":function(t,e,n){var i=n("0a8b");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var a=n("4f06").default;a("b34c029e",i,!0,{sourceMap:!1,shadowMode:!1})},"1dad":function(t,e,n){var i=n("9239");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var a=n("4f06").default;a("638915e6",i,!0,{sourceMap:!1,shadowMode:!1})},2304:function(t,e,n){"use strict";n("7a82");var i=n("4ea4").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a=i(n("45ee")),r={name:"u-swiper-indicator",mixins:[uni.$u.mpMixin,uni.$u.mixin,a.default],data:function(){return{lineWidth:22}},computed:{lineStyle:function(){var t={};return t.width=uni.$u.addUnit(this.lineWidth),t.transform="translateX(".concat(uni.$u.addUnit(this.current*this.lineWidth),")"),t.backgroundColor=this.indicatorActiveColor,t},dotStyle:function(){var t=this;return function(e){var n={};return n.backgroundColor=e===t.current?t.indicatorActiveColor:t.indicatorInactiveColor,n}}}};e.default=r},"3e05":function(t,e,n){"use strict";n.r(e);var i=n("0510"),a=n.n(i);for(var r in i)["default"].indexOf(r)<0&&function(t){n.d(e,t,(function(){return i[t]}))}(r);e["default"]=a.a},"3f21":function(t,e,n){"use strict";n("7a82");var i=n("4ea4").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a=i(n("c7eb")),r=i(n("1da1"));n("ac1f"),n("00b4"),n("14d9"),n("fb6a");var o=i(n("adc4")),u={name:"u-row-notice",mixins:[uni.$u.mpMixin,uni.$u.mixin,o.default],data:function(){return{animationDuration:"0",animationPlayState:"paused",nvueInit:!0,show:!0}},watch:{text:{immediate:!0,handler:function(t,e){this.vue(),uni.$u.test.string(t)||uni.$u.error("noticebar组件direction为row时,要求text参数为字符串形式")}},fontSize:function(){this.vue()},speed:function(){this.vue()}},computed:{textStyle:function(){var t={};return t.color=this.color,t.fontSize=uni.$u.addUnit(this.fontSize),t},animationStyle:function(){var t={};return t.animationDuration=this.animationDuration,t.animationPlayState=this.animationPlayState,t},innerText:function(){for(var t=[],e=this.text.split(""),n=0;n