导游中台-游客端
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.

2 lines
5.6 KiB

(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/daoyou/index"],{48:function(t,e,n){"use strict";(function(t,e){var i=n(4);n(26);i(n(25));var s=i(n(49));t.__webpack_require_UNI_MP_PLUGIN__=n,e(s.default)}).call(this,n(1)["default"],n(2)["createPage"])},49:function(t,e,n){"use strict";n.r(e);var i=n(50),s=n(52);for(var o in s)["default"].indexOf(o)<0&&function(t){n.d(e,t,(function(){return s[t]}))}(o);n(54);var a,c=n(32),r=Object(c["default"])(s["default"],i["render"],i["staticRenderFns"],!1,null,"08961c89",null,!1,i["components"],a);r.options.__file="pages/daoyou/index.vue",e["default"]=r.exports},50:function(t,e,n){"use strict";n.r(e);var i=n(51);n.d(e,"render",(function(){return i["render"]})),n.d(e,"staticRenderFns",(function(){return i["staticRenderFns"]})),n.d(e,"recyclableRender",(function(){return i["recyclableRender"]})),n.d(e,"components",(function(){return i["components"]}))},51:function(t,e,n){"use strict";var i;n.r(e),n.d(e,"render",(function(){return s})),n.d(e,"staticRenderFns",(function(){return a})),n.d(e,"recyclableRender",(function(){return o})),n.d(e,"components",(function(){return i}));try{i={uniPopup:function(){return n.e("uni_modules/uni-popup/components/uni-popup/uni-popup").then(n.bind(null,292))}}}catch(c){if(-1===c.message.indexOf("Cannot find module")||-1===c.message.indexOf(".vue"))throw c;console.error(c.message),console.error("1. 排查组件名称拼写是否正确"),console.error("2. 排查组件是否符合 easycom 规范,文档:https://uniapp.dcloud.net.cn/collocation/pages?id=easycom"),console.error("3. 若组件不符合 easycom 规范,需手动引入,并在 components 中注册该组件")}var s=function(){var t=this,e=t.$createElement,n=(t._self._c,t.__map(t.list,(function(e,n){var i=t.__get_orig(e),s=t.showImg(e.image);return{$orig:i,m0:s}}))),i=new Date(t.selectDate.startDay).Format("yyyy-MM-dd"),s=new Date(t.selectDate.endDay).Format("yyyy-MM-dd");t.$mp.data=Object.assign({},{$root:{l0:n,g0:i,g1:s}})},o=!1,a=[];s._withStripped=!0},52:function(t,e,n){"use strict";n.r(e);var i=n(53),s=n.n(i);for(var o in i)["default"].indexOf(o)<0&&function(t){n.d(e,t,(function(){return i[t]}))}(o);e["default"]=s.a},53:function(t,e,n){"use strict";(function(t){var i=n(4);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var s=i(n(18)),o=function(){n.e("components/selectCalendar").then(function(){return resolve(n(299))}.bind(null,n)).catch(n.oe)},a={components:{SelectCalendar:o},data:function(){return{keywords:"",typeList:[{title:"推荐",isSelect:!1},{title:"只看有时间",isSelect:!1},{title:"性别",isSelect:!1,list:[{title:"全部",id:""},{title:"男",id:"1"},{title:"女",id:"2"}],sexIndex:0},{title:"擅长景区",isSelect:!1,num:0,list:[],typeIndex:0},{title:"时间段",isSelect:!1,num:0}],list:[],selectDate:{startDay:(new Date).Format("yyyy-MM-dd"),endDay:new Date((new Date).getFullYear(),(new Date).getMonth(),(new Date).getDate()+1).Format("yyyy-MM-dd"),differDays:1},finished:!1}},onLoad:function(){var e=this;t.$on("changeScenicDate",(function(t){t&&(e.selectDate=t,e.typeList[4].num=e.selectDate.differDays,e.typeList[1].isSelect=!1,e.onReload()),e.$refs.calendarPopup.close()}))},onUnload:function(){t.$off("changeScenicDate")},onShow:function(){this.getList()},onReachBottom:function(){var t=this;setTimeout((function(){t.finished||t.getList()}),1e3)},methods:{onReload:function(){this.list=[],this.finished=!1,this.getList()},getList:function(){var t=this;this.Post({type_id:2,offset:this.list.length,limit:10,start_date:this.typeList[4].num>0?this.selectDate.startDay:this.typeList[1].isSelect?(new Date).Format("yyyy-MM-dd"):"",end_date:this.typeList[4].num>0?this.selectDate.endDay:this.typeList[1].isSelect?(new Date).Format("yyyy-MM-dd"):"",sort:this.typeList[0].isSelect?"sort":"",order:this.typeList[0].isSelect?"desc":"",title:this.keywords,sex:"男"==this.typeList[2].title?1:"女"==this.typeList[2].title?2:""},"/api/goods/getGoodsByDateType").then((function(e){t.list=[].concat((0,s.default)(t.list),(0,s.default)(e.data)),e.data.length<10&&(t.finished=!0)
10 months ago
//# sourceMappingURL=../../../.sourcemap/mp-weixin/pages/daoyou/index.js.map