table-mail-table.js 3.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  1. exports.ids = [35];
  2. exports.modules = {
  3. /***/ 202:
  4. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  5. "use strict";
  6. // ESM COMPAT FLAG
  7. __webpack_require__.r(__webpack_exports__);
  8. // CONCATENATED MODULE: ./node_modules/babel-loader/lib??ref--2-0!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/@nuxt/components/dist/loader.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./components/table/MailTable.vue?vue&type=template&id=13e7bb30&scoped=true
  9. var render = function render() {
  10. var _vm = this,
  11. _c = _vm._self._c;
  12. return _c('div', [_vm._ssrNode("<table border=\"1\" bordercolor=\"#000\" style=\"\\n border-collapse: collapse;\\n font-size: 14px;\\n table-layout: fixed;\\n width: 100%;\\n min-width: 800px;\\n \" data-v-13e7bb30>", "</table>", [_vm._ssrNode("<tbody data-v-13e7bb30>", "</tbody>", [_vm._ssrNode(_vm._ssrList(_vm.mailData, function (items, key, i) {
  13. return "<tr data-v-13e7bb30><td" + _vm._ssrStyle({
  14. "padding": "18px 0",
  15. "width": "40%",
  16. "text-align": "center",
  17. "color": "#000"
  18. }, (i == 1 || i == 10) && _vm.objStyle, null) + " data-v-13e7bb30>" + _vm._ssrEscape("\n " + _vm._s(key) + "\n ") + "</td> <td style=\"padding: 18px 10px\" data-v-13e7bb30>" + (typeof items == 'string' ? "<div data-v-13e7bb30>" + (items.indexOf('@') != -1 || items.indexOf('http') != -1 ? "<a" + _vm._ssrAttr("href", items) + " style=\"color: #6495ed; text-decoration: none\" data-v-13e7bb30><span data-v-13e7bb30>" + _vm._ssrEscape(_vm._s(items)) + "</span></a>" : "<span data-v-13e7bb30>" + _vm._ssrEscape(_vm._s(items)) + "</span>") + "</div>" : _vm.$utils.checkType(items) == 'Object' ? "<div style=\"\\n width: 100%;\\n display: flex;\\n justify-content: space-between;\\n \" data-v-13e7bb30>" + _vm._ssrList(items, function (item, i) {
  19. return "<div style=\"text-align: left; width: 100%\" data-v-13e7bb30>" + (key == 'QTY' ? "<span data-v-13e7bb30>" + _vm._ssrEscape(_vm._s(item)) + "</span>" : "<span data-v-13e7bb30>" + _vm._ssrEscape("$" + _vm._s(item)) + "</span>") + "</div>";
  20. }) + "</div>" : _vm._ssrList(items, function (item, i) {
  21. return "<div style=\"line-height: 20px\" data-v-13e7bb30><span data-v-13e7bb30>" + _vm._ssrEscape(_vm._s(item)) + "</span></div>";
  22. })) + "</td></tr>";
  23. }) + " "), _vm._ssrNode("<tr data-v-13e7bb30>", "</tr>", [_vm._ssrNode("<td colspan=\"2\" style=\"padding: 20px\" data-v-13e7bb30>", "</td>", [_vm._t("default")], 2)])], 2)])]);
  24. };
  25. var staticRenderFns = [];
  26. // CONCATENATED MODULE: ./components/table/MailTable.vue?vue&type=template&id=13e7bb30&scoped=true
  27. // CONCATENATED MODULE: ./node_modules/babel-loader/lib??ref--2-0!./node_modules/@nuxt/components/dist/loader.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./components/table/MailTable.vue?vue&type=script&lang=js
  28. /* harmony default export */ var MailTablevue_type_script_lang_js = ({
  29. props: {
  30. mailData: {},
  31. buyData: {}
  32. },
  33. data() {
  34. return {
  35. objStyle: {
  36. fontWeight: 'bold',
  37. backgroundColor: '#efefef'
  38. }
  39. };
  40. }
  41. });
  42. // CONCATENATED MODULE: ./components/table/MailTable.vue?vue&type=script&lang=js
  43. /* harmony default export */ var table_MailTablevue_type_script_lang_js = (MailTablevue_type_script_lang_js);
  44. // EXTERNAL MODULE: ./node_modules/vue-loader/lib/runtime/componentNormalizer.js
  45. var componentNormalizer = __webpack_require__(2);
  46. // CONCATENATED MODULE: ./components/table/MailTable.vue
  47. function injectStyles (context) {
  48. }
  49. /* normalize component */
  50. var component = Object(componentNormalizer["a" /* default */])(
  51. table_MailTablevue_type_script_lang_js,
  52. render,
  53. staticRenderFns,
  54. false,
  55. injectStyles,
  56. "13e7bb30",
  57. "f622c4d0"
  58. )
  59. /* harmony default export */ var MailTable = __webpack_exports__["default"] = (component.exports);
  60. /***/ })
  61. };;
  62. //# sourceMappingURL=table-mail-table.js.map