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
6.6 KiB

10 months ago
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-index-index"],{"334a":function(t,e,i){var n=i("c86c");e=n(!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/* 文章场景相关 */.content[data-v-5cf729b7]{background:#fff;min-height:100vh;padding:%?40?% %?26?% %?200?%}.topImg[data-v-5cf729b7]{width:%?299.33?%;height:%?70?%;display:flex;margin:auto}.title[data-v-5cf729b7]{font-weight:700;font-size:%?35?%;color:#000;margin:%?68?% 0 %?34?%}.nav-item[data-v-5cf729b7]{font-weight:500;font-size:%?32?%;color:#000;width:%?338?%;height:%?118?%;background:#f5f5f5;border-radius:%?20?%;padding:0 %?15?%}.nav-item uni-image[data-v-5cf729b7]{width:%?80.67?%;height:%?80.67?%}.type-box[data-v-5cf729b7]{display:flex}.type-box .type-item[data-v-5cf729b7]{margin-right:%?44?%;font-weight:500;font-size:%?32?%;color:#000}.type-box .type-active[data-v-5cf729b7]{color:#96684f}.type-box .type-line[data-v-5cf729b7]{width:%?117?%;height:%?6?%;background:#96684f;border-radius:%?3?%;margin:%?4?% auto 0}.session-item[data-v-5cf729b7]{width:%?697?%;height:%?93?%;background:#f5f5f5;border-radius:%?47?%;margin:%?28?% auto 0;font-family:PingFang SC;font-weight:500;font-size:%?32?%;color:#000;padding:0 %?28?%}',""]),t.exports=e},"4e3c":function(t,e,i){"use strict";var n=i("8330"),s=i.n(n);s.a},8330:function(t,e,i){var n=i("334a");n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var s=i("967d").default;s("ed2a201a",n,!0,{sourceMap:!1,shadowMode:!1})},"93eb":function(t,e,i){"use strict";i("6a54");var n=i("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,i("bf0f"),i("2797");var s=n(i("5b8f")),a={components:{calendarVue:s.default},data:function(){return{typeList:[{title:"导游服务",id:""},{title:"线路产品",id:""}],typeIndex:0,selectDay:"",sessionList:[{title:"上午场",isChecked:!1},{title:"下午场",isChecked:!1},{title:"全天场",isChecked:!1}],sessionLists:[{title:"当天状态",isChecked:!1}],isAllChecked:!1}},onLoad:function(){this.selectDay=this.getNowTime(new Date),this.getList()},methods:{switchChange:function(t,e){t.isChecked=!t.isChecked;var i=this.typeIndex?"/api/Merchants/updateGuideSched":"/api/Merchants/updateGuideSchedService";this.Post({date:this.selectDay,online_type:t.isChecked?1:0,date_half:this.typeIndex?"":e+1,classify:this.typeIndex?2:""},i).then((function(t){}))},getDate:function(t){console.log("传递过来的日期",t),this.selectDay=t,this.sessionList.forEach((function(t){return t.isChecked=!1})),this.sessionLists[0].isChecked=!1,this.getList()},changeWork:function(t){},getList:function(){var t=this;this.Post({start_date:this.selectDay,end_date:this.selectDay,classify:this.typeIndex?2:3},"/api/Merchants/getGuideSchedList").then((function(e){if(e.data&&e.data.length>0){var i=e.data[0];t.typeIndex?t.sessionLists[0].isChecked=!!i.online_type:(t.sessionList[0].isChecked=!!i.morning_type,t.sessionList[1].isChecked=!!i.afternoon_type,t.sessionList[2].isChecked=!!i.day_type)}}))},getNowTime:function(t,e){var i=t,n=i.getFullYear(),s=i.getMonth()+1,a=i.ge