goodlistone.js.map
19.8 KB
{"version":3,"sources":[null,"webpack:///G:/项目/program/zhiboproject/compontent/goodlistone.vue?691c","webpack:///G:/项目/program/zhiboproject/compontent/goodlistone.vue?4eaa","webpack:///G:/项目/program/zhiboproject/compontent/goodlistone.vue?e90d","uni-app:///compontent/goodlistone.vue","webpack:///G:/项目/program/zhiboproject/compontent/goodlistone.vue?c3cf","webpack:///G:/项目/program/zhiboproject/compontent/goodlistone.vue?b1bd"],"names":[],"mappings":";;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAwH;AACxH;AAC+D;AACL;AACa;;;AAGvE;AACqK;AACrK,gBAAgB,+KAAU;AAC1B,EAAE,iFAAM;AACR,EAAE,sFAAM;AACR,EAAE,+FAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,0FAAU;AACZ;AACA;;AAEA;AACe,gF;;;;;;;;;;;;ACvBf;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;;ACAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACRA;AAAA;AAAA;AAAA;AAAqmB,CAAgB,+nBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AC2EznB,4E;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;eAEA,EACA,6CADA,EAEA,IAFA,kBAEA,CACA,SACA,YADA,EAEA,WAFA,EAEA;AACA,mBAHA,EAGA;AACA,kBAJA,EAIA;AACA,mBALA,GAOA,CAVA,EAWA,iBAXA,6BAWA,GAXA,EAWA,CACA,gBACA;AACA,8BACA,CACA,SACA,YADA,EAEA,8BAFA,GAIA,CApBA,EAqBA,MArBA,oBAqBA,CAIA,CAzBA,EA0BA,WACA;AACA,UAFA,kBAEA,KAFA,EAEA,EAFA,EAEA,CACA,gBACA,8CACA,yBACA,2BACA,0BACA,mBACA,CAFA,MAEA,CACA,oBACA,CACA,uBACA,mBACA,gBACA;AACA,eAFA,mBAEA,GAFA,EAEA,CACA,gDACA;AACA,qBADA,mBACA,GADA,EACA,CACA,oCACA,CAHA,IAKA,CANA,MAMA;AACA,0CACA,wDADA,EACA;AACA,qBAFA,mBAEA,GAFA,EAEA,CACA,wBACA,eAEA,CANA,IAQA,CACA,CAnBA,IAqBA,CAnCA,EAoCA;AACA,gBArCA,wBAqCA,KArCA,EAqCA,EArCA,EAqCA,CACA,mBACA,uBACA,eACA,CAzCA,EA4CA;AACA,WA7CA,qBA6CA,CACA,gBACA,+BACA,cACA,uBADA,GAGA,yBACA,yDACA,sCAEA,uDACA,gDACA;AACA;AACA;AACA;AACA,yBADA;AAEA,wBAFA;;;AAKA,SAVA,MAUA;AACA;AACA;AACA;AACA;AACA;AACA,WAJA;AAKA;AACA,2BADA;AAEA,wBAFA;;AAIA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAJA,MAIA;AACA;AACA;AACA;AACA;AACA,SAVA;AAWA;AACA;AACA;AACA;AACA,SAJA,MAIA;AACA;AACA;;AAEA;AACA;AACA;;;AAGA,OAlDA,EAkDA,KAlDA,CAkDA;AACA;AACA,OApDA;AAqDA,KAzGA;AA0GA;AACA,WA3GA,qBA2GA;AACA;AACA;AACA;AACA;AACA,OAHA,MAGA;AACA;AACA;AACA;AACA,KApHA;AAqHA;AACA,QAtHA,kBAsHA;AACA;AACA,KAxHA;AAyHA;AACA,YA1HA,sBA0HA;AACA;AACA,KA5HA;AA6HA;AACA,eA9HA,uBA8HA,KA9HA,EA8HA,EA9HA,EA8HA,KA9HA,EA8HA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAFA,MAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,iBAFA,mBAEA,GAFA,EAEA;AACA;AACA;AACA,uBADA,mBACA,GADA,EACA;AACA;AACA,iBAHA;;AAKA,aANA,MAMA;AACA;AACA,wEADA,EACA;AACA,uBAFA,mBAEA,GAFA,EAEA;AACA;AACA;;AAEA,iBANA;;AAQA;AACA,WAnBA;;AAqBA,OAhCA,MAgCA;AACA;AACA,uBADA;AAEA,sBAFA;;AAIA;AACA;AACA,mCADA;;AAGA,SAJA,EAIA,IAJA;AAKA;AACA,KA3KA;AA4KA;AACA,aA7KA,qBA6KA,IA7KA,EA6KA;AACA;AACA,0FADA;;AAGA,KAjLA;AAkLA;AACA,WAnLA,mBAmLA,EAnLA,EAmLA;AACA;AACA,kDADA;;AAGA,KAvLA,EA1BA,E;;;;;;;;;;;;;AC7EA;AAAA;AAAA;AAAA;AAAu3B,CAAgB,w3BAAG,EAAC,C;;;;;;;;;;;ACA34B;AACA,OAAO,KAAU,EAAE,kBAKd","file":"compontent/goodlistone.js","sourcesContent":["import { render, staticRenderFns, recyclableRender, components } from \"./goodlistone.vue?vue&type=template&id=3b318162&\"\nvar renderjs\nimport script from \"./goodlistone.vue?vue&type=script&lang=js&\"\nexport * from \"./goodlistone.vue?vue&type=script&lang=js&\"\nimport style0 from \"./goodlistone.vue?vue&type=style&index=0&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\runtime\\\\componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"compontent/goodlistone.vue\"\nexport default component.exports","export * from \"-!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\templateLoader.js??vue-loader-options!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--16-0!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\template.js!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-uni-app-loader\\\\page-meta.js!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./goodlistone.vue?vue&type=template&id=3b318162&\"","var components\nvar render = function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n}\nvar recyclableRender = false\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns, recyclableRender, components }","import mod from \"-!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\babel-loader\\\\lib\\\\index.js!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--12-1!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\script.js!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./goodlistone.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\babel-loader\\\\lib\\\\index.js!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--12-1!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\script.js!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./goodlistone.vue?vue&type=script&lang=js&\"","<template>\n\t<view class=\"container\">\r\n\t\t<view class=\"goodlist\">\r\n\t\t\t<view class=\"goodlistitem flex\" v-for=\"(item,index) in listshilist\" :key=\"index\" @click=\"entergood(item)\">\r\n\t\t\t\t<view class=\"goodlistimg\">\r\n\t\t\t\t\t<image :src=\"item.image\" mode=\"\"></image>\r\n\t\t\t\t</view>\r\n\t\t\t\t<view class=\"goodlistright\">\r\n\t\t\t\t\t<view class=\"goodrighttop flextwo\">\r\n\t\t\t\t\t\t<view class=\"goodname\">{{item.name}}</view>\r\n\t\t\t\t\t\t<view class=\"shareimg\">\r\n\t\t\t\t\t\t\t<image src=\"../static/share.png\" mode=\"\" class=\"sharebtn\"></image>\r\n\t\t\t\t\t\t\t<button open-type=\"share\" class=\"shartype\"></button>\r\n\t\t\t\t\t\t</view>\r\n\t\t\t\t\t</view>\r\n\t\t\t\t\t<view class=\"zhibo flextwo\">\r\n\t\t\t\t\t\t<view class=\"zhiboleft\" @click=\"gozhubo(item.anchor.id)\">{{item.anchor.name}}{{item.anchor.platform}}</view>\r\n\t\t\t\t\t\t<view class=\"kaibo\">{{item.anchor_time.time}}开播</view>\r\n\t\t\t\t\t</view>\r\n\t\t\t\t\t<view class=\"zhiboprice\">\r\n\t\t\t\t\t\t直播价 ¥<text class=\"pricege\">{{item.live_price}}</text>\r\n\t\t\t\t\t</view>\r\n\t\t\t\t\t<view class=\"cankao flextwo\">\r\n\t\t\t\t\t\t<view class=\"cankaoleft\">参考价(京东¥{{item.r_price}}元)</view>\r\n\t\t\t\t\t\t<view v-if=\"item.status_data==1\">\r\n\t\t\t\t\t\t\t<view v-if=\"item.user_goods==0\">\r\n\t\t\t\t\t\t\t\t<view class=\"canlaoright flexone\" v-if=\"item.share==true\" >\r\n\t\t\t\t\t\t\t\t\t<image src=\"../static/naoling.png\" mode=\"\" class=\"naoling\"></image>\r\n\t\t\t\t\t\t\t\t\t提醒我\r\n\t\t\t\t\t\t\t\t\t<button open-type=\"share\" class=\"sharebtnk\" v-if=\"notixing==1\" @click.stop=\"sharefriend(index,item.id,item.share)\"></button>\r\n\t\t\t\t\t\t\t\t</view>\r\n\t\t\t\t\t\t\t\t<view class=\"canlaoright flexone\" v-else @click.stop=\"tixing(index,item.id)\">\r\n\t\t\t\t\t\t\t\t\t<image src=\"../static/naoling.png\" mode=\"\" class=\"naoling\"></image>\r\n\t\t\t\t\t\t\t\t\t提醒我\r\n\t\t\t\t\t\t\t\t</view>\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t</view>\r\n\t\t\t\t\t\t\t<view class=\"canceltixing\" v-else @click.stop=\"canceltixing(index,item.id)\">\r\n\t\t\t\t\t\t\t\t取消提醒\r\n\t\t\t\t\t\t\t</view>\r\n\t\t\t\t\t\t</view>\r\n\t\t\t\t\t\t<view v-if=\"item.status_data==2\">\r\n\t\t\t\t\t\t\t<view class=\"canlaoright flexone\">\r\n\t\t\t\t\t\t\t\t已上架\r\n\t\t\t\t\t\t\t</view>\r\n\t\t\t\t\t\t</view>\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t</view>\r\n\t\t\t\t</view>\r\n\t\t\t</view>\r\n\t\t\t\r\n\t\t</view>\r\n\t\r\n\t<!-- 弹出层 -->\r\n\t<view class=\"register\" v-if=\"noshow\" @click=\"hideding\">\r\n\t\t<view class=\"registerwrap\">\r\n\t\t\t<view class=\"title\">何时提醒我?</view>\r\n\t\t\t<view class=\"titletext\">在主播开始介绍商品时就提醒您</view>\r\n\t\t\t<view class=\"title\">如何提醒我</view>\r\n\t\t\t<view class=\"titletext\">在你允许消息通知后,届时会给您发送微信消息提醒</view>\r\n\t\t\t<view class='noti flexone' @click=\"notibtn\">\r\n\t\t\t\t<image src=\"../static/selectzhong.png\" mode=\"\" class=\"selectxuan\" v-if=\"noti\"></image>\r\n\t\t\t\t<image src=\"../static/select.png\" mode=\"\" class=\"selectxuan\" v-else></image>\r\n\t\r\n\t\t\t\t不再提示\r\n\t\t\t</view>\r\n\t\t\t<button class=\"buzai\" @click.stop=\"know\" v-if=\"share==true\" open-type=\"share\">我知道了</button>\r\n\t\t\t<view class=\"buzai\" @click.stop=\"know\" v-else>我知道了</view>\r\n\t\t</view>\r\n\t</view>\r\n\t\t\r\n\t</view>\n</template>\n\n<script>\r\n\timport app from '../App.vue'\n\t\t\n\t export default {\r\n\t\t\t props: [\"listshilist\",\"mine\",\"dingyuenumk\"],\n\t data() {\n\t return {\n\t goods_id: '',\r\n\t noti: false, //提示和不提示按钮\r\n\t noshow: false, //提示我弹出层\r\n\t notixing: '', //不再提醒判断\r\n\t goodindex: ''\n\t }\n\t },\r\n\t\t\tonShareAppMessage(res) {\r\n\t\t\t\tlet that = this;\r\n\t\t\t\tif (res.from === 'button') { // 来自页面内分享按钮\r\n\t\t\t\t\tconsole.log(res.target)\r\n\t\t\t\t}\r\n\t\t\t\treturn {\r\n\t\t\t\t\ttitle: '早直播',\r\n\t\t\t\t\tpath: '/pages/xinyuan/xinyuan'\r\n\t\t\t\t}\r\n\t\t\t},\n\t onLoad() {\n\t\n\t\n\t\n\t },\n\t methods: {\n\t // 订阅消息\r\n\t tixing(index, id) {\r\n\t \tlet that = this;\r\n\t \tlet notixing = uni.getStorageSync(\"notixing\");\r\n\t \tthis.notixing = notixing;\r\n\t \tconsole.log(that.notixing)\r\n\t \tif (that.notixing == '') {\r\n\t \t\tthat.noshow = true\r\n\t \t} else {\r\n\t \t\tthat.noshow = false\r\n\t \t}\r\n\t \tthat.goodindex = index;\r\n\t \tthis.goods_id = id;\r\n\t \twx.getSetting({\r\n\t \t\t// withSubscriptions: true,//是否获取用户订阅消息的订阅状态,默认false不返回\r\n\t \t\tsuccess(res) {\r\n\t \t\t\tif (res.authSetting['scope.subscribeMessage']) {\r\n\t \t\t\t\tuni.openSetting({ // 打开设置页\r\n\t \t\t\t\t\tsuccess(res) {\r\n\t \t\t\t\t\t\tconsole.log(res.authSetting, 88888)\r\n\t \t\t\t\t\t}\r\n\t \t\t\t\t});\r\n\t \t\t\t} else { // 用户没有点击“总是保持以上,不再询问”则每次都会调起订阅消息\r\n\t \t\t\t\tuni.requestSubscribeMessage({\r\n\t \t\t\t\t\ttmplIds: [\"XrIccvxDK3IfW3DrnLtKAtKS-pL63BrG3W0Du9l7BrU\"], // \r\n\t \t\t\t\t\tsuccess(res) {\r\n\t \t\t\t\t\t\tconsole.log(res, 99999)\r\n\t \t\t\t\t\t\tthat.dingyue()\r\n\t \r\n\t \t\t\t\t\t}\r\n\t \t\t\t\t})\r\n\t \t\t\t}\r\n\t \t\t}\r\n\t \t})\r\n\t },\r\n\t\t\t // 取消订阅\r\n\t\t\t canceltixing(index, id) {\r\n\t\t\t \tthis.goods_id = id;\r\n\t\t\t \tthis.goodindex = index;\r\n\t\t\t \tthis.dingyue()\r\n\t\t\t },\r\n\t\t\t \r\n\t\t\t \r\n\t // 订阅\r\n\t dingyue() {\r\n\t \tlet that = this;\r\n\t \tlet url = \"goods/addUserGoods\";\r\n\t \tlet param = {\r\n\t \t\tgoods_id: that.goods_id\r\n\t \t}\r\n\t \tconsole.log('参数', param)\r\n\t \tapp.post(url, param, \"post\").then(r => {\r\n\t\t\t\t\tlet newdingyuenumk=that.dingyuenumk;\r\n\t\t\t\t\t\r\n\t \t\tif (that.listshilist[that.goodindex].user_goods == 0) {\r\n\t \t\t\tthat.listshilist[that.goodindex].user_goods = 1;\r\n\t\t\t\t\t\tif(newdingyuenumk.indexOf(that.zhigoodlist[that.goodindex].id)==-1){\r\n\t\t\t\t\t\t\tnewdingyuenumk.push(that.zhigoodlist[that.goodindex].id)\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\tuni.showToast({\r\n\t\t\t\t\t\t\ttitle: '订阅成功',\r\n\t\t\t\t\t\t\ticon: \"none\"\r\n\t\t\t\t\t\t})\r\n\t \r\n\t \t\t} else {\r\n\t \t\t\tthat.listshilist[that.goodindex].user_goods = 0;\r\n\t\t\t\t\t\tnewdingyuenumk.forEach(function(value,index,array){\r\n\t\t\t\t\t\t\tif(value==that.zhigoodlist[that.goodindex].id){\r\n\t\t\t\t\t\t\t\tnewdingyuenumk.splice(index,1)\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t})\r\n\t\t\t\t\t\tuni.showToast({\r\n\t\t\t\t\t\t\ttitle: '取消订阅成功',\r\n\t\t\t\t\t\t\ticon: \"none\"\r\n\t\t\t\t\t\t})\r\n\t \t\t}\r\n\t\t\t\t\t// 直播个数超过10个 显示false\r\n\t\t\t\t\t that.zhigoodlist.forEach(function(value,index,array){\r\n\t\t\t\t\t\tif(newdingyuenumk.length>=10){\r\n\t\t\t\t\t\t\tif(value.user_goods ==0){\r\n\t\t\t\t\t\t\t\tvalue.share=true\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t}else{\r\n\t\t\t\t\t\t\tif(value.user_goods ==0){\r\n\t\t\t\t\t\t\t\tvalue.share=false\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t})\r\n\t\t\t\t\tif(that.mine==1){\r\n\t\t\t\t\t\tlet newlistshilist=that.listshilist;\r\n\t\t\t\t\t\tnewlistshilist.splice(that.goodindex,1)\r\n\t\t\t\t\t\tthat.listshilist = newlistshilist;\r\n\t\t\t\t\t}else{\r\n\t\t\t\t\t\tthat.listshilist = that.listshilist;\r\n\t\t\t\t\t}\r\n\t \t\t\r\n\t\t\t\t\tconsole.log(that.listshilist)\r\n\t \t\tthat.$forceUpdate();\r\n\t \t\tthat.$emit('litixing', that.listshilist)\r\n\t \r\n\t \r\n\t \t}).catch(err => {\r\n\t \t\tconsole.log(err)\r\n\t \t})\r\n\t },\r\n\t // 不再提醒\r\n\t notibtn() {\r\n\t \tthis.noti = !this.noti;\r\n\t \tif (this.noti == true) {\r\n\t \t\tuni.setStorageSync(\"notixing\", 1);\r\n\t\t\t\t\t\tthis.notixing=1\r\n\t \t} else {\r\n\t \t\tuni.setStorageSync(\"notixing\", '');\r\n\t\t\t\t\t\tthis.notixing=''\r\n\t \t}\r\n\t },\r\n\t // 我知道了\r\n\t know() {\r\n\t \tthis.noshow = false\r\n\t },\r\n\t // 取消订阅\r\n\t hideding() {\r\n\t \tthis.noshow = false\r\n\t },\r\n\t\t\t // 分享给好友\r\n\t\t\t sharefriend(index,id,share) {\r\n\t\t\t \tlet that = this;\r\n\t\t\t \tif (uni.getStorageSync(\"token\")) {\r\n\t\t\t \t\tlet notixing = uni.getStorageSync(\"notixing\");\r\n\t\t\t \t\tthis.notixing = notixing;\r\n\t\t\t \t\tif (that.notixing == '') {\r\n\t\t\t \t\t\tthat.noshow = true\r\n\t\t\t \t\t} else {\r\n\t\t\t \t\t\tthat.noshow = false\r\n\t\t\t \t\t}\r\n\t\t\t \t\tthat.goodindex = index;\r\n\t\t\t \t\tthat.goods_id = id;\r\n\t\t\t \t\tthat.share=share;\r\n\t\t\t \t\twx.getSetting({\r\n\t\t\t \t\t\t// withSubscriptions: true,//是否获取用户订阅消息的订阅状态,默认false不返回\r\n\t\t\t \t\t\tsuccess(res) {\r\n\t\t\t \t\t\t\tif (res.authSetting['scope.subscribeMessage']) {\r\n\t\t\t \t\t\t\t\tuni.openSetting({ // 打开设置页\r\n\t\t\t \t\t\t\t\t\tsuccess(res) {\r\n\t\t\t \t\t\t\t\t\t\tconsole.log(res.authSetting, 88888)\r\n\t\t\t \t\t\t\t\t\t}\r\n\t\t\t \t\t\t\t\t});\r\n\t\t\t \t\t\t\t} else { // 用户没有点击“总是保持以上,不再询问”则每次都会调起订阅消息\r\n\t\t\t \t\t\t\t\tuni.requestSubscribeMessage({\r\n\t\t\t \t\t\t\t\t\ttmplIds: [\"XrIccvxDK3IfW3DrnLtKAtKS-pL63BrG3W0Du9l7BrU\"], // \r\n\t\t\t \t\t\t\t\t\tsuccess(res) {\r\n\t\t\t \t\t\t\t\t\t\t// 去订阅\r\n\t\t\t \t\t\t\t\t\t\tthat.dingyue()\r\n\t\t\t \r\n\t\t\t \t\t\t\t\t\t}\r\n\t\t\t \t\t\t\t\t})\r\n\t\t\t \t\t\t\t}\r\n\t\t\t \t\t\t}\r\n\t\t\t \t\t})\r\n\t\t\t \t} else {\r\n\t\t\t \t\tuni.showToast({\r\n\t\t\t \t\t\ttitle: '请先登录',\r\n\t\t\t \t\t\ticon: 'none'\r\n\t\t\t \t\t})\r\n\t\t\t \t\tsetTimeout(function() {\r\n\t\t\t \t\t\tuni.switchTab({\r\n\t\t\t \t\t\t\turl: '/pages/mine/mine'\r\n\t\t\t \t\t\t})\r\n\t\t\t \t\t}, 1500)\r\n\t\t\t \t}\r\n\t\t\t },\r\n\t\t\t // 进入链接页面\r\n\t\t\t entergood(item){\r\n\t\t\t \tuni.navigateTo({\r\n\t\t\t \t\turl:\"/pages/xinyuan/goodlianjie?code=\"+item.code+'&platform='+item.platform\r\n\t\t\t \t})\r\n\t\t\t },\r\n\t\t\t // 进入主播页面\r\n\t\t\t gozhubo(id){\r\n\t\t\t \tuni.navigateTo({\r\n\t\t\t \t\turl:'/pages/xinyuan/zhibodetail?id='+id\r\n\t\t\t \t})\r\n\t\t\t }\n\t \n\t }\n\t\n\t }\n</script>\n\n<style>\r\n\t@import url(\"../style/goodlist\");\n</style>\n","import mod from \"-!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\mini-css-extract-plugin\\\\dist\\\\loader.js??ref--6-oneOf-1-0!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\css-loader\\\\dist\\\\cjs.js??ref--6-oneOf-1-1!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\stylePostLoader.js!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--6-oneOf-1-2!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\postcss-loader\\\\src\\\\index.js??ref--6-oneOf-1-3!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./goodlistone.vue?vue&type=style&index=0&lang=css&\"; export default mod; export * from \"-!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\mini-css-extract-plugin\\\\dist\\\\loader.js??ref--6-oneOf-1-0!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\css-loader\\\\dist\\\\cjs.js??ref--6-oneOf-1-1!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\stylePostLoader.js!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--6-oneOf-1-2!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\postcss-loader\\\\src\\\\index.js??ref--6-oneOf-1-3!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./goodlistone.vue?vue&type=style&index=0&lang=css&\"","// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1603794407235\n var cssReload = require(\"F:/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/hmr/hotModuleReplacement.js\")(module.id, {\"hmr\":true,\"publicPath\":\"../../\",\"locals\":false});\n module.hot.dispose(cssReload);\n module.hot.accept(undefined, cssReload);\n }\n "],"sourceRoot":""}