You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1 line
42 KiB
1 line
42 KiB
1 year ago
|
(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 代码中使用如
|