allComments.js.map 13.0 KB
{"version":3,"sources":["uni-app:///main.js",null,"webpack:///D:/vue/kaoshi3-fangweishangcheng/pages/index/allComments.vue?cb77","webpack:///D:/vue/kaoshi3-fangweishangcheng/pages/index/allComments.vue?fb2a","webpack:///D:/vue/kaoshi3-fangweishangcheng/pages/index/allComments.vue?b110","uni-app:///pages/index/allComments.vue","webpack:///D:/vue/kaoshi3-fangweishangcheng/pages/index/allComments.vue?39c7","webpack:///D:/vue/kaoshi3-fangweishangcheng/pages/index/allComments.vue?ce1b"],"names":["wx","__webpack_require_UNI_MP_PLUGIN__","__webpack_require__","createPage","Page"],"mappings":";;;;;;;;;;kDAAA;AACA;AACA,yG,6FAFmBA,EAAE,CAACC,iCAAH,GAAuCC,mBAAvC;AAGnBC,UAAU,CAACC,oBAAD,CAAV,C;;;;;;;;;;;;;ACHA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAwH;AACxH;AAC+D;AACL;AACc;;;AAGxE;AAC0K;AAC1K,gBAAgB,6KAAU;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,aAAa,gNAEN;AACP;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,GAAG;;AAEH;AACA,MAAM;AACN;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACnDA;AAAA;AAAA;AAAA;AAA2oB,CAAgB,qnBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACyC/pB,2E;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sWAEA,EACA,cACA,wBADA,EADA,EAIA,IAJA,kBAIA,CACA,SACA,YADA,EAEA;AACA,iBAHA,EAIA,WAJA,EAKA,YALA,EAOA;AACA,8EARA,GAUA,CAfA,EAgBA,OAhBA,qBAgBA,CACA,2CACA,qBACA,0BACA,CApBA,EAqBA,MArBA,kBAqBA,OArBA,EAqBA,CACA;AACA,mCACA,qBACA,6DADA,EAEA,+CAFA,IAIA,CAPA,CAQA;AACA,GA9BA,EA+BA,WACA,gBADA,4BACA,IADA,EACA,KADA,EACA,CACA,sBACA,4DACA,CAJA,EAKA,UALA,sBAKA,IALA,EAKA,CACA,yBACA,CAPA,EAQA,eARA,6BAQA,CACA,+CACA,CAVA,EA/BA,E;;;;;;;;;;;;;AC3CA;AAAA;AAAA;AAAA;AAAktC,CAAgB,omCAAG,EAAC,C;;;;;;;;;;;ACAtuC;AACA,OAAO,KAAU,EAAE,kBAKd","file":"pages/index/allComments.js","sourcesContent":["import 'uni-pages';wx.__webpack_require_UNI_MP_PLUGIN__ = __webpack_require__;\nimport Vue from 'vue'\nimport Page from './pages/index/allComments.vue'\ncreatePage(Page)","import { render, staticRenderFns, recyclableRender, components } from \"./allComments.vue?vue&type=template&id=7d20cdcf&\"\nvar renderjs\nimport script from \"./allComments.vue?vue&type=script&lang=js&\"\nexport * from \"./allComments.vue?vue&type=script&lang=js&\"\nimport style0 from \"./allComments.vue?vue&type=style&index=0&lang=scss&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../高级前台制作/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 = \"pages/index/allComments.vue\"\nexport default component.exports","export * from \"-!../../../../高级前台制作/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../高级前台制作/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--16-0!../../../../高级前台制作/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!../../../../高级前台制作/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!../../../../高级前台制作/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../高级前台制作/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./allComments.vue?vue&type=template&id=7d20cdcf&\"","var components\ntry {\n  components = {\n    renCalendar: function() {\n      return import(\n        /* webpackChunkName: \"components/ren-calendar/ren-calendar\" */ \"@/components/ren-calendar/ren-calendar.vue\"\n      )\n    }\n  }\n} catch (e) {\n  if (\n    e.message.indexOf(\"Cannot find module\") !== -1 &&\n    e.message.indexOf(\".vue\") !== -1\n  ) {\n    console.error(e.message)\n    console.error(\"1. 排查组件名称拼写是否正确\")\n    console.error(\n      \"2. 排查组件是否符合 easycom 规范,文档:https://uniapp.dcloud.net.cn/collocation/pages?id=easycom\"\n    )\n    console.error(\n      \"3. 若组件不符合 easycom 规范,需手动引入,并在 components 中注册该组件\"\n    )\n  } else {\n    throw e\n  }\n}\nvar render = function() {\n  var _vm = this\n  var _h = _vm.$createElement\n  var _c = _vm._self._c || _h\n  var l0 = _vm.__map(_vm.dateList, function(item, index) {\n    var $orig = _vm.__get_orig(item)\n\n    var g0 = item.date.slice(5)\n    return {\n      $orig: $orig,\n      g0: g0\n    }\n  })\n\n  _vm.$mp.data = Object.assign(\n    {},\n    {\n      $root: {\n        l0: l0\n      }\n    }\n  )\n}\nvar recyclableRender = false\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns, recyclableRender, components }","import mod from \"-!../../../../高级前台制作/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../高级前台制作/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../高级前台制作/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../高级前台制作/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../高级前台制作/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./allComments.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../高级前台制作/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../高级前台制作/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../高级前台制作/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../高级前台制作/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../高级前台制作/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./allComments.vue?vue&type=script&lang=js&\"","<template>\r\n  <view>\r\n    <view class=\"scrollViewBox\">\r\n      <!-- 日期滑动 -->\r\n      <scroll-view scroll-x>\r\n        <view class=\"flexA\">\r\n          <view v-for=\"(item, index) in dateList\" class=\"delCol flexA\" @click=\"clickDateHandler(item.date, index)\">\r\n            <view class=\"dateSty\">{{ item.date.slice(5) }}</view>\r\n            <view class=\"zhouSty flexC\" :class=\"curDateS == index && 'yellow'\">\r\n              {{\r\n                item.zhou == 0\r\n                  ? '日'\r\n                  : item.zhou == 1\r\n                  ? '一'\r\n                  : item.zhou == 2\r\n                  ? '二'\r\n                  : item.zhou == 3\r\n                  ? '三'\r\n                  : item.zhou == 4\r\n                  ? '四'\r\n                  : item.zhou == 5\r\n                  ? '五'\r\n                  : '六'\r\n              }}\r\n            </view>\r\n          </view>\r\n        </view>\r\n      </scroll-view>\r\n    </view>\r\n\r\n    <!-- 日历 -->\r\n    <view class=\"contentBox\">\r\n      <ren-calendar ref=\"ren\" :markDays=\"markDays\" :selectDateList=\"selectDateList\" :headerBar=\"true\" @onDayClick=\"onDayClick\"></ren-calendar>\r\n      <view class=\"change\">选中日期:{{ curDate }}</view>\r\n    </view>\r\n\r\n    <button @click=\"toPosterHandler\" style=\"margin-top: 100rpx;\">跳转海报</button>\r\n  </view>\r\n</template>\r\n\r\n<script>\r\nimport dayjs from 'dayjs'\r\nimport RenCalendar from '@/components/ren-calendar/ren-calendar.vue'\r\nexport default {\r\n  components: {\r\n    RenCalendar,\r\n  },\r\n  data() {\r\n    return {\r\n      dateList: [],\r\n      // zhouList: []\r\n      curDateS: 0,\r\n      curDate: '',\r\n      markDays: [],\r\n\r\n      // 选中制定的日期加黄色点点\r\n      selectDateList: ['2022-12-09','2022-12-10', '2022-12-11', '2022-12-21']\r\n    }\r\n  },\r\n  onReady() {\r\n    let today = this.$refs.ren.getToday().date\r\n    this.curDate = today\r\n    this.markDays.push(today)\r\n  },\r\n  onLoad(options) {\r\n    // let afterDate = []\r\n    for (let i = 0; i <= 14; i++) {\r\n      this.dateList.push({\r\n        date: dayjs().add(i, 'day').format('YYYY.MM.D'),\r\n        zhou: dayjs().add(i, 'day').day(),\r\n      })\r\n    }\r\n    // console.log(this.dateList)\r\n  },\r\n  methods: {\r\n    clickDateHandler(date, index) {\r\n      this.curDateS = index\r\n      console.log(dayjs(date).format('YYYY.MM.DD'))\r\n    },\r\n    onDayClick(data) {\r\n      this.curDate = data.date\r\n    },\r\n    toPosterHandler(){\r\n      uni.navigateTo({ url: '/pages/index/poster' })\r\n    }\r\n  },\r\n}\r\n</script>\r\n\r\n<style lang=\"scss\">\r\npage {\r\n  background: #ffcc47;\r\n}\r\n.scrollViewBox {\r\n  width: 100%;\r\n  padding: 16rpx 32rpx 24rpx;\r\n  box-sizing: border-box;\r\n  background: #fff;\r\n  border-radius: 0 0 40rpx 40rpx;\r\n}\r\n.delCol {\r\n  flex-direction: column;\r\n  margin-right: 32rpx;\r\n}\r\n.dateSty {\r\n  color: rgba(50, 50, 51, 1);\r\n  font-size: 28rpx;\r\n  margin-bottom: 16rpx;\r\n}\r\n.zhouSty {\r\n  width: 80rpx;\r\n  height: 80rpx;\r\n  color: rgba(50, 50, 51, 1);\r\n  font-size: 28rpx;\r\n  font-weight: 700;\r\n}\r\n.yellow {\r\n  width: 80rpx;\r\n  height: 80rpx;\r\n  border-radius: 24rpx;\r\n  background: rgba(255, 192, 27, 1);\r\n}\r\n.contentBox{\r\n  margin-top: 160rpx;\r\n}\r\n</style>\r\n","import mod from \"-!../../../../高级前台制作/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../高级前台制作/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../高级前台制作/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../高级前台制作/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../高级前台制作/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../高级前台制作/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../高级前台制作/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../高级前台制作/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../高级前台制作/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./allComments.vue?vue&type=style&index=0&lang=scss&\"; export default mod; export * from \"-!../../../../高级前台制作/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../高级前台制作/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../高级前台制作/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../高级前台制作/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../高级前台制作/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../高级前台制作/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../高级前台制作/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../高级前台制作/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../高级前台制作/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./allComments.vue?vue&type=style&index=0&lang=scss&\"","// extracted by mini-css-extract-plugin\n    if(module.hot) {\n      // 1670384181650\n      var cssReload = require(\"D:/高级前台制作/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":""}