123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152 |
- import { u as useStatusStore, _ as __nuxt_component_0, a as __nuxt_component_3$1 } from './status-B7jmHhdv.mjs';
- import { _ as __nuxt_component_3 } from './Pagination-BIcfmSVd.mjs';
- import { useSSRContext, ref, unref, withCtx, createVNode, isRef, createTextVNode, openBlock, createBlock, Fragment, renderList, mergeProps, withDirectives, toDisplayString, vShow } from 'file://D:/zwj/nuxt/sannongzixunwang_web/node_modules/vue/index.mjs';
- import { ssrRenderAttrs, ssrRenderComponent, ssrRenderStyle, ssrRenderList, ssrInterpolate, ssrRenderClass } from 'file://D:/zwj/nuxt/sannongzixunwang_web/node_modules/vue/server-renderer/index.mjs';
- import { ElIcon, ElInput, ElDatePicker, ElRadioGroup, ElRadio, ElUpload, ElSelect, ElOption, ElTable, ElTableColumn, ElTabs, ElTabPane } from 'file://D:/zwj/nuxt/sannongzixunwang_web/node_modules/element-plus/es/index.mjs';
- import { _ as _export_sfc, b as useNuxtApp, a as navigateTo } from './server.mjs';
- import { u as useState } from './state-_I5XcLqc.mjs';
- import { DArrowRight, Plus } from 'file://D:/zwj/nuxt/sannongzixunwang_web/node_modules/@element-plus/icons-vue/dist/index.js';
- import '../_/renderer.mjs';
- import 'file://D:/zwj/nuxt/sannongzixunwang_web/node_modules/vue-bundle-renderer/dist/runtime.mjs';
- import 'file://D:/zwj/nuxt/sannongzixunwang_web/node_modules/h3/dist/index.mjs';
- import 'file://D:/zwj/nuxt/sannongzixunwang_web/node_modules/devalue/index.js';
- import 'file://D:/zwj/nuxt/sannongzixunwang_web/node_modules/ufo/dist/index.mjs';
- import 'file://D:/zwj/nuxt/sannongzixunwang_web/node_modules/@unhead/ssr/dist/index.mjs';
- import '../routes/index.mjs';
- import 'file://D:/zwj/nuxt/sannongzixunwang_web/node_modules/ofetch/dist/node.mjs';
- import 'file://D:/zwj/nuxt/sannongzixunwang_web/node_modules/destr/dist/index.mjs';
- import 'file://D:/zwj/nuxt/sannongzixunwang_web/node_modules/unenv/runtime/fetch/index.mjs';
- import 'file://D:/zwj/nuxt/sannongzixunwang_web/node_modules/hookable/dist/index.mjs';
- import 'file://D:/zwj/nuxt/sannongzixunwang_web/node_modules/klona/dist/index.mjs';
- import 'file://D:/zwj/nuxt/sannongzixunwang_web/node_modules/scule/dist/index.mjs';
- import 'file://D:/zwj/nuxt/sannongzixunwang_web/node_modules/defu/dist/defu.mjs';
- import 'file://D:/zwj/nuxt/sannongzixunwang_web/node_modules/ohash/dist/index.mjs';
- import 'file://D:/zwj/nuxt/sannongzixunwang_web/node_modules/unstorage/dist/index.mjs';
- import 'file://D:/zwj/nuxt/sannongzixunwang_web/node_modules/unstorage/drivers/fs.mjs';
- import 'file:///D:/zwj/nuxt/sannongzixunwang_web/node_modules/nuxt/dist/core/runtime/nitro/cache-driver.js';
- import 'file://D:/zwj/nuxt/sannongzixunwang_web/node_modules/unstorage/drivers/fs-lite.mjs';
- import 'file://D:/zwj/nuxt/sannongzixunwang_web/node_modules/radix3/dist/index.mjs';
- import 'node:fs';
- import 'node:url';
- import 'file://D:/zwj/nuxt/sannongzixunwang_web/node_modules/pathe/dist/index.mjs';
- import 'file://D:/zwj/nuxt/sannongzixunwang_web/node_modules/unhead/dist/index.mjs';
- import 'file://D:/zwj/nuxt/sannongzixunwang_web/node_modules/@unhead/shared/dist/index.mjs';
- import 'file://D:/zwj/nuxt/sannongzixunwang_web/node_modules/pinia/dist/pinia.prod.cjs';
- import 'file://D:/zwj/nuxt/sannongzixunwang_web/node_modules/unctx/dist/index.mjs';
- import 'file://D:/zwj/nuxt/sannongzixunwang_web/node_modules/vue-router/dist/vue-router.node.mjs';
- const _sfc_main$1 = {
- __name: "OrderList",
- __ssrInlineRender: true,
- setup(__props) {
- useStatusStore();
- const nuxtApp = useNuxtApp();
- const axios = nuxtApp.$axios;
- const activeName = ref("first");
- let orderList = useState("orderList", () => "");
- let order = useState("order", () => "");
- useState("orders", () => "");
- let order_ad = useState("order_ad", () => []);
- let allOrder = useState("allOrder", () => "");
- let allOrderTotal = useState("allOrderTotal", () => "");
- let total1 = useState("total1", () => "");
- let total2 = useState("total2", () => "");
- let total6 = useState("total6", () => "");
- let page = useState("page", () => "1");
- let pageSize = useState("pageSize", () => "10");
- let page1 = useState("page1", () => "1");
- const handleData = (data) => {
- console.log(data.value);
- page.value = data.value;
- console.log(page);
- axios.get(`/order/getOrderList?pageSize=${pageSize.value}&page=${page.value}`).then((response) => {
- console.log(response.data.rows);
- allOrder.value = response.data.rows;
- console.log(orderList.value);
- }).catch((error) => {
- console.log(error);
- });
- };
- const handleData1 = (data) => {
- console.log(data.value);
- page1.value = data.value;
- console.log(page1);
- axios.get(`/order/getOrderList?pageSize=${pageSize.value}&page=${page1.value}&status=${1}`).then((response) => {
- console.log(response.data.rows);
- orderList.value = response.data.rows;
- console.log(orderList.value);
- }).catch((error) => {
- console.log(error);
- });
- };
- const handleData2 = (data) => {
- console.log(data.value);
- page1.value = data.value;
- console.log(page1);
- axios.get(`/order/getOrderList?pageSize=${pageSize.value}&page=${page1.value}&status=${2}`).then((response) => {
- console.log(response.data.rows);
- orderList.value = response.data.rows;
- console.log(orderList.value);
- }).catch((error) => {
- console.log(error);
- });
- };
- const handleData3 = (data) => {
- console.log(data.value);
- page1.value = data.value;
- console.log(page1);
- axios.get(`/order/getOrderList?pageSize=${pageSize.value}&page=${page1.value}&status=${6}`).then((response) => {
- console.log(response.data.rows);
- orderList.value = response.data.rows;
- console.log(orderList.value);
- }).catch((error) => {
- console.log(error);
- });
- };
- const handleClick = (tab, event) => {
- console.log(tab.props.name, event);
- if (tab.props.name = all) {
- axios.get(`/order/getOrderList?pageSize=${pageSize.value}&page=${page.value}`).then((response) => {
- console.log(response.data.rows);
- allOrder.value = response.data.rows;
- console.log(orderList.value);
- }).catch((error) => {
- console.log(error);
- });
- } else {
- axios.get(`/order/getOrderList?pageSize=${pageSize.value}&page=${page.value}&status=${tab.props.name}`).then((response) => {
- console.log(response.data.rows);
- orderList.value = response.data.rows;
- console.log(orderList.value);
- }).catch((error) => {
- console.log(error);
- });
- }
- };
- let goCancel = (item) => {
- if (item.status == 1)
- ;
- };
- let goDetail = (item) => {
- console.log(item);
- const params = {
- id: item.id,
- days: item.days,
- status: item.status,
- ad_status: item.ad_status
- };
- navigateTo({
- path: "/advertising/adDetail",
- query: params
- });
- };
- return (_ctx, _push, _parent, _attrs) => {
- const _component_HomePagination = __nuxt_component_3;
- _push(`<div${ssrRenderAttrs(mergeProps({ class: "orderList" }, _attrs))} data-v-cfc8f80b><div class="inner" data-v-cfc8f80b>`);
- _push(ssrRenderComponent(unref(ElTabs), {
- modelValue: activeName.value,
- "onUpdate:modelValue": ($event) => activeName.value = $event,
- class: "demo-tabs",
- onTabClick: handleClick
- }, {
- default: withCtx((_, _push2, _parent2, _scopeId) => {
- if (_push2) {
- _push2(ssrRenderComponent(unref(ElTabPane), {
- label: "\u5168\u90E8 (" + unref(allOrderTotal) + ")",
- name: "all"
- }, {
- default: withCtx((_2, _push3, _parent3, _scopeId2) => {
- if (_push3) {
- _push3(`<!--[-->`);
- ssrRenderList(unref(allOrder), (item) => {
- _push3(`<div class="order" data-v-cfc8f80b${_scopeId2}><div class="title" data-v-cfc8f80b${_scopeId2}><span style="${ssrRenderStyle(item.status == 6 ? null : { display: "none" })}" class="${ssrRenderClass(item.status == 6 ? "orangeStatus" : "grayStatus")}" data-v-cfc8f80b${_scopeId2}>${ssrInterpolate(unref(order)[item.status])}</span><span style="${ssrRenderStyle(item.status == 1 ? null : { display: "none" })}" class="${ssrRenderClass(item.status == 1 ? "greenStatus" : "grayStatus")}" data-v-cfc8f80b${_scopeId2}>${ssrInterpolate(unref(order)[item.status])}</span><span style="${ssrRenderStyle(item.status != 6 && item.status != 1 ? null : { display: "none" })}" class="${ssrRenderClass(item.status != 6 && item.status != 1 ? "grayStatus" : "")}" data-v-cfc8f80b${_scopeId2}>${ssrInterpolate(unref(order)[item.status])}</span><span class="code" data-v-cfc8f80b${_scopeId2}> \u5DE5\u5355\u7F16\u53F7: <span data-v-cfc8f80b${_scopeId2}>${ssrInterpolate(item.order_num)}</span></span><span class="createTime right" data-v-cfc8f80b${_scopeId2}>${ssrInterpolate(item.created_at)}</span></div><div class="text" data-v-cfc8f80b${_scopeId2}><div class="time" data-v-cfc8f80b${_scopeId2}><p data-v-cfc8f80b${_scopeId2}> \u5F00\u59CB\u65F6\u95F4: <span data-v-cfc8f80b${_scopeId2}>${ssrInterpolate(item.sttime)}</span></p><p data-v-cfc8f80b${_scopeId2}> \u7ED3\u675F\u65F6\u95F4: <span data-v-cfc8f80b${_scopeId2}>${ssrInterpolate(item.edtime)}</span></p></div><div class="num" data-v-cfc8f80b${_scopeId2}><p data-v-cfc8f80b${_scopeId2}> \u5929\u6570: <span data-v-cfc8f80b${_scopeId2}>${ssrInterpolate(item.days)}\u5929</span></p><p data-v-cfc8f80b${_scopeId2}> \u5E7F\u544A\u4E2A\u6570: <span data-v-cfc8f80b${_scopeId2}>${ssrInterpolate(item.num)}\u4E2A</span></p></div><div class="state" data-v-cfc8f80b${_scopeId2}><p data-v-cfc8f80b${_scopeId2}> \u5E7F\u544A\u72B6\u6001: <span data-v-cfc8f80b${_scopeId2}>${ssrInterpolate(unref(order_ad)[item.ad_status])}</span></p><p data-v-cfc8f80b${_scopeId2}><span class="price" data-v-cfc8f80b${_scopeId2}>${ssrInterpolate(item.price)}</span> \u5143 </p></div><div class="btn" data-v-cfc8f80b${_scopeId2}><button data-v-cfc8f80b${_scopeId2}>${ssrInterpolate(item.status == 1 ? "\u518D\u6B21\u7533\u8BF7" : "\u53D6\u6D88\u5DE5\u5355")}</button><button data-v-cfc8f80b${_scopeId2}>\u67E5\u770B\u8BE6\u60C5</button></div></div></div>`);
- });
- _push3(`<!--]--><div class="pagination" data-v-cfc8f80b${_scopeId2}>`);
- _push3(ssrRenderComponent(_component_HomePagination, {
- onSendData: handleData,
- total: unref(allOrderTotal)
- }, null, _parent3, _scopeId2));
- _push3(`</div>`);
- } else {
- return [
- (openBlock(true), createBlock(Fragment, null, renderList(unref(allOrder), (item) => {
- return openBlock(), createBlock("div", {
- class: "order",
- key: item.id
- }, [
- createVNode("div", { class: "title" }, [
- withDirectives(createVNode("span", {
- class: item.status == 6 ? "orangeStatus" : "grayStatus"
- }, toDisplayString(unref(order)[item.status]), 3), [
- [vShow, item.status == 6]
- ]),
- withDirectives(createVNode("span", {
- class: item.status == 1 ? "greenStatus" : "grayStatus"
- }, toDisplayString(unref(order)[item.status]), 3), [
- [vShow, item.status == 1]
- ]),
- withDirectives(createVNode("span", {
- class: item.status != 6 && item.status != 1 ? "grayStatus" : ""
- }, toDisplayString(unref(order)[item.status]), 3), [
- [vShow, item.status != 6 && item.status != 1]
- ]),
- createVNode("span", { class: "code" }, [
- createTextVNode(" \u5DE5\u5355\u7F16\u53F7: "),
- createVNode("span", null, toDisplayString(item.order_num), 1)
- ]),
- createVNode("span", { class: "createTime right" }, toDisplayString(item.created_at), 1)
- ]),
- createVNode("div", { class: "text" }, [
- createVNode("div", { class: "time" }, [
- createVNode("p", null, [
- createTextVNode(" \u5F00\u59CB\u65F6\u95F4: "),
- createVNode("span", null, toDisplayString(item.sttime), 1)
- ]),
- createVNode("p", null, [
- createTextVNode(" \u7ED3\u675F\u65F6\u95F4: "),
- createVNode("span", null, toDisplayString(item.edtime), 1)
- ])
- ]),
- createVNode("div", { class: "num" }, [
- createVNode("p", null, [
- createTextVNode(" \u5929\u6570: "),
- createVNode("span", null, toDisplayString(item.days) + "\u5929", 1)
- ]),
- createVNode("p", null, [
- createTextVNode(" \u5E7F\u544A\u4E2A\u6570: "),
- createVNode("span", null, toDisplayString(item.num) + "\u4E2A", 1)
- ])
- ]),
- createVNode("div", { class: "state" }, [
- createVNode("p", null, [
- createTextVNode(" \u5E7F\u544A\u72B6\u6001: "),
- createVNode("span", null, toDisplayString(unref(order_ad)[item.ad_status]), 1)
- ]),
- createVNode("p", null, [
- createVNode("span", { class: "price" }, toDisplayString(item.price), 1),
- createTextVNode(" \u5143 ")
- ])
- ]),
- createVNode("div", { class: "btn" }, [
- createVNode("button", {
- onClick: ($event) => unref(goCancel)(item)
- }, toDisplayString(item.status == 1 ? "\u518D\u6B21\u7533\u8BF7" : "\u53D6\u6D88\u5DE5\u5355"), 9, ["onClick"]),
- createVNode("button", {
- onClick: ($event) => unref(goDetail)(item)
- }, "\u67E5\u770B\u8BE6\u60C5", 8, ["onClick"])
- ])
- ])
- ]);
- }), 128)),
- createVNode("div", { class: "pagination" }, [
- createVNode(_component_HomePagination, {
- onSendData: handleData,
- total: unref(allOrderTotal)
- }, null, 8, ["total"])
- ])
- ];
- }
- }),
- _: 1
- }, _parent2, _scopeId));
- _push2(ssrRenderComponent(unref(ElTabPane), {
- label: "\u5DF2\u901A\u8FC7 (" + unref(total1) + ")",
- name: "1"
- }, {
- default: withCtx((_2, _push3, _parent3, _scopeId2) => {
- if (_push3) {
- _push3(`<!--[-->`);
- ssrRenderList(unref(orderList), (item) => {
- _push3(`<div class="order1" data-v-cfc8f80b${_scopeId2}><div class="title" data-v-cfc8f80b${_scopeId2}><span class="statusClass" data-v-cfc8f80b${_scopeId2}>\u5DF2\u901A\u8FC7</span><span class="code" data-v-cfc8f80b${_scopeId2}> \u5DE5\u5355\u7F16\u53F7: <span data-v-cfc8f80b${_scopeId2}>${ssrInterpolate(item.order_num)}</span></span><span class="createTime right" data-v-cfc8f80b${_scopeId2}>${ssrInterpolate(item.created_at)}</span></div><div class="text" data-v-cfc8f80b${_scopeId2}><div class="time" data-v-cfc8f80b${_scopeId2}><p data-v-cfc8f80b${_scopeId2}> \u5F00\u59CB\u65F6\u95F4: <span data-v-cfc8f80b${_scopeId2}>${ssrInterpolate(item.sttime)}</span></p><p data-v-cfc8f80b${_scopeId2}> \u7ED3\u675F\u65F6\u95F4: <span data-v-cfc8f80b${_scopeId2}>${ssrInterpolate(item.edtime)}</span></p></div><div class="num" data-v-cfc8f80b${_scopeId2}><p data-v-cfc8f80b${_scopeId2}> \u5929\u6570: <span data-v-cfc8f80b${_scopeId2}>${ssrInterpolate(item.days)}\u5929</span></p><p data-v-cfc8f80b${_scopeId2}> \u5E7F\u544A\u4E2A\u6570: <span data-v-cfc8f80b${_scopeId2}>${ssrInterpolate(item.num)}\u4E2A</span></p></div><div class="state" data-v-cfc8f80b${_scopeId2}><p data-v-cfc8f80b${_scopeId2}> \u5E7F\u544A\u72B6\u6001: <span data-v-cfc8f80b${_scopeId2}>${ssrInterpolate(unref(order_ad)[item.ad_status])}</span></p><p data-v-cfc8f80b${_scopeId2}><span class="price" data-v-cfc8f80b${_scopeId2}>${ssrInterpolate(item.price)}</span> \u5143 </p></div><div class="btn" data-v-cfc8f80b${_scopeId2}><button data-v-cfc8f80b${_scopeId2}>\u53D6\u6D88\u5DE5\u5355</button><button data-v-cfc8f80b${_scopeId2}>\u67E5\u770B\u8BE6\u60C5</button></div></div></div>`);
- });
- _push3(`<!--]--><div class="pagination" data-v-cfc8f80b${_scopeId2}>`);
- _push3(ssrRenderComponent(_component_HomePagination, {
- onSendData: handleData1,
- total: unref(total1)
- }, null, _parent3, _scopeId2));
- _push3(`</div>`);
- } else {
- return [
- (openBlock(true), createBlock(Fragment, null, renderList(unref(orderList), (item) => {
- return openBlock(), createBlock("div", {
- class: "order1",
- key: item.id
- }, [
- createVNode("div", { class: "title" }, [
- createVNode("span", { class: "statusClass" }, "\u5DF2\u901A\u8FC7"),
- createVNode("span", { class: "code" }, [
- createTextVNode(" \u5DE5\u5355\u7F16\u53F7: "),
- createVNode("span", null, toDisplayString(item.order_num), 1)
- ]),
- createVNode("span", { class: "createTime right" }, toDisplayString(item.created_at), 1)
- ]),
- createVNode("div", { class: "text" }, [
- createVNode("div", { class: "time" }, [
- createVNode("p", null, [
- createTextVNode(" \u5F00\u59CB\u65F6\u95F4: "),
- createVNode("span", null, toDisplayString(item.sttime), 1)
- ]),
- createVNode("p", null, [
- createTextVNode(" \u7ED3\u675F\u65F6\u95F4: "),
- createVNode("span", null, toDisplayString(item.edtime), 1)
- ])
- ]),
- createVNode("div", { class: "num" }, [
- createVNode("p", null, [
- createTextVNode(" \u5929\u6570: "),
- createVNode("span", null, toDisplayString(item.days) + "\u5929", 1)
- ]),
- createVNode("p", null, [
- createTextVNode(" \u5E7F\u544A\u4E2A\u6570: "),
- createVNode("span", null, toDisplayString(item.num) + "\u4E2A", 1)
- ])
- ]),
- createVNode("div", { class: "state" }, [
- createVNode("p", null, [
- createTextVNode(" \u5E7F\u544A\u72B6\u6001: "),
- createVNode("span", null, toDisplayString(unref(order_ad)[item.ad_status]), 1)
- ]),
- createVNode("p", null, [
- createVNode("span", { class: "price" }, toDisplayString(item.price), 1),
- createTextVNode(" \u5143 ")
- ])
- ]),
- createVNode("div", { class: "btn" }, [
- createVNode("button", {
- onClick: ($event) => unref(goCancel)(item)
- }, "\u53D6\u6D88\u5DE5\u5355", 8, ["onClick"]),
- createVNode("button", {
- onClick: ($event) => unref(goDetail)(item)
- }, "\u67E5\u770B\u8BE6\u60C5", 8, ["onClick"])
- ])
- ])
- ]);
- }), 128)),
- createVNode("div", { class: "pagination" }, [
- createVNode(_component_HomePagination, {
- onSendData: handleData1,
- total: unref(total1)
- }, null, 8, ["total"])
- ])
- ];
- }
- }),
- _: 1
- }, _parent2, _scopeId));
- _push2(ssrRenderComponent(unref(ElTabPane), {
- label: "\u5DF2\u9A73\u56DE (" + unref(total2) + ")",
- name: "2"
- }, {
- default: withCtx((_2, _push3, _parent3, _scopeId2) => {
- if (_push3) {
- _push3(`<!--[-->`);
- ssrRenderList(unref(orderList), (item) => {
- _push3(`<div class="order2" data-v-cfc8f80b${_scopeId2}><div class="title" data-v-cfc8f80b${_scopeId2}><span class="statusClass" data-v-cfc8f80b${_scopeId2}>\u5DF2\u9A73\u56DE</span><span class="code" data-v-cfc8f80b${_scopeId2}> \u5DE5\u5355\u7F16\u53F7: <span data-v-cfc8f80b${_scopeId2}>${ssrInterpolate(item.order_num)}</span></span><span class="createTime right" data-v-cfc8f80b${_scopeId2}>${ssrInterpolate(item.created_at)}</span></div><div class="text" data-v-cfc8f80b${_scopeId2}><div class="time" data-v-cfc8f80b${_scopeId2}><p data-v-cfc8f80b${_scopeId2}> \u5F00\u59CB\u65F6\u95F4: <span data-v-cfc8f80b${_scopeId2}>${ssrInterpolate(item.sttime)}</span></p><p data-v-cfc8f80b${_scopeId2}> \u7ED3\u675F\u65F6\u95F4: <span data-v-cfc8f80b${_scopeId2}>${ssrInterpolate(item.edtime)}</span></p></div><div class="num" data-v-cfc8f80b${_scopeId2}><p data-v-cfc8f80b${_scopeId2}> \u5929\u6570: <span data-v-cfc8f80b${_scopeId2}>${ssrInterpolate(item.days)}\u5929</span></p><p data-v-cfc8f80b${_scopeId2}> \u5E7F\u544A\u4E2A\u6570: <span data-v-cfc8f80b${_scopeId2}>${ssrInterpolate(item.num)}\u4E2A</span></p></div><div class="state" data-v-cfc8f80b${_scopeId2}><p data-v-cfc8f80b${_scopeId2}> \u5E7F\u544A\u72B6\u6001: <span data-v-cfc8f80b${_scopeId2}>${ssrInterpolate(unref(order_ad)[item.ad_status])}</span></p><p data-v-cfc8f80b${_scopeId2}><span class="price" data-v-cfc8f80b${_scopeId2}>${ssrInterpolate(item.price)}</span> \u5143 </p></div><div class="btn" data-v-cfc8f80b${_scopeId2}><button data-v-cfc8f80b${_scopeId2}>\u53D6\u6D88\u5DE5\u5355</button><button data-v-cfc8f80b${_scopeId2}>\u67E5\u770B\u8BE6\u60C5</button></div></div></div>`);
- });
- _push3(`<!--]--><div class="pagination" data-v-cfc8f80b${_scopeId2}>`);
- _push3(ssrRenderComponent(_component_HomePagination, {
- onSendData: handleData2,
- total: unref(total2)
- }, null, _parent3, _scopeId2));
- _push3(`</div>`);
- } else {
- return [
- (openBlock(true), createBlock(Fragment, null, renderList(unref(orderList), (item) => {
- return openBlock(), createBlock("div", {
- class: "order2",
- key: item.id
- }, [
- createVNode("div", { class: "title" }, [
- createVNode("span", { class: "statusClass" }, "\u5DF2\u9A73\u56DE"),
- createVNode("span", { class: "code" }, [
- createTextVNode(" \u5DE5\u5355\u7F16\u53F7: "),
- createVNode("span", null, toDisplayString(item.order_num), 1)
- ]),
- createVNode("span", { class: "createTime right" }, toDisplayString(item.created_at), 1)
- ]),
- createVNode("div", { class: "text" }, [
- createVNode("div", { class: "time" }, [
- createVNode("p", null, [
- createTextVNode(" \u5F00\u59CB\u65F6\u95F4: "),
- createVNode("span", null, toDisplayString(item.sttime), 1)
- ]),
- createVNode("p", null, [
- createTextVNode(" \u7ED3\u675F\u65F6\u95F4: "),
- createVNode("span", null, toDisplayString(item.edtime), 1)
- ])
- ]),
- createVNode("div", { class: "num" }, [
- createVNode("p", null, [
- createTextVNode(" \u5929\u6570: "),
- createVNode("span", null, toDisplayString(item.days) + "\u5929", 1)
- ]),
- createVNode("p", null, [
- createTextVNode(" \u5E7F\u544A\u4E2A\u6570: "),
- createVNode("span", null, toDisplayString(item.num) + "\u4E2A", 1)
- ])
- ]),
- createVNode("div", { class: "state" }, [
- createVNode("p", null, [
- createTextVNode(" \u5E7F\u544A\u72B6\u6001: "),
- createVNode("span", null, toDisplayString(unref(order_ad)[item.ad_status]), 1)
- ]),
- createVNode("p", null, [
- createVNode("span", { class: "price" }, toDisplayString(item.price), 1),
- createTextVNode(" \u5143 ")
- ])
- ]),
- createVNode("div", { class: "btn" }, [
- createVNode("button", {
- onClick: ($event) => unref(goCancel)(item)
- }, "\u53D6\u6D88\u5DE5\u5355", 8, ["onClick"]),
- createVNode("button", {
- onClick: ($event) => unref(goDetail)(item)
- }, "\u67E5\u770B\u8BE6\u60C5", 8, ["onClick"])
- ])
- ])
- ]);
- }), 128)),
- createVNode("div", { class: "pagination" }, [
- createVNode(_component_HomePagination, {
- onSendData: handleData2,
- total: unref(total2)
- }, null, 8, ["total"])
- ])
- ];
- }
- }),
- _: 1
- }, _parent2, _scopeId));
- _push2(ssrRenderComponent(unref(ElTabPane), {
- label: "\u5F85\u5BA1\u6838 (" + unref(total6) + ")",
- name: "6"
- }, {
- default: withCtx((_2, _push3, _parent3, _scopeId2) => {
- if (_push3) {
- _push3(`<!--[-->`);
- ssrRenderList(unref(orderList), (item) => {
- _push3(`<div class="order6" data-v-cfc8f80b${_scopeId2}><div class="title" data-v-cfc8f80b${_scopeId2}><span class="statusClass" data-v-cfc8f80b${_scopeId2}>\u5F85\u5BA1\u6838</span><span class="code" data-v-cfc8f80b${_scopeId2}> \u5DE5\u5355\u7F16\u53F7: <span data-v-cfc8f80b${_scopeId2}>${ssrInterpolate(item.order_num)}</span></span><span class="createTime right" data-v-cfc8f80b${_scopeId2}>${ssrInterpolate(item.created_at)}</span></div><div class="text" data-v-cfc8f80b${_scopeId2}><div class="time" data-v-cfc8f80b${_scopeId2}><p data-v-cfc8f80b${_scopeId2}> \u5F00\u59CB\u65F6\u95F4: <span data-v-cfc8f80b${_scopeId2}>${ssrInterpolate(item.sttime)}</span></p><p data-v-cfc8f80b${_scopeId2}> \u7ED3\u675F\u65F6\u95F4: <span data-v-cfc8f80b${_scopeId2}>${ssrInterpolate(item.edtime)}</span></p></div><div class="num" data-v-cfc8f80b${_scopeId2}><p data-v-cfc8f80b${_scopeId2}> \u5929\u6570: <span data-v-cfc8f80b${_scopeId2}>${ssrInterpolate(item.days)}\u5929</span></p><p data-v-cfc8f80b${_scopeId2}> \u5E7F\u544A\u4E2A\u6570: <span data-v-cfc8f80b${_scopeId2}>${ssrInterpolate(item.num)}\u4E2A</span></p></div><div class="state" data-v-cfc8f80b${_scopeId2}><p data-v-cfc8f80b${_scopeId2}> \u5E7F\u544A\u72B6\u6001: <span data-v-cfc8f80b${_scopeId2}>${ssrInterpolate(unref(order_ad)[item.ad_status])}</span></p><p data-v-cfc8f80b${_scopeId2}><span class="price" data-v-cfc8f80b${_scopeId2}>${ssrInterpolate(item.price)}</span> \u5143 </p></div><div class="btn" data-v-cfc8f80b${_scopeId2}><button data-v-cfc8f80b${_scopeId2}>\u53D6\u6D88\u5DE5\u5355</button><button data-v-cfc8f80b${_scopeId2}>\u67E5\u770B\u8BE6\u60C5</button></div></div></div>`);
- });
- _push3(`<!--]--><div class="pagination" data-v-cfc8f80b${_scopeId2}>`);
- _push3(ssrRenderComponent(_component_HomePagination, {
- onSendData: handleData3,
- total: unref(total6)
- }, null, _parent3, _scopeId2));
- _push3(`</div>`);
- } else {
- return [
- (openBlock(true), createBlock(Fragment, null, renderList(unref(orderList), (item) => {
- return openBlock(), createBlock("div", {
- class: "order6",
- key: item.id
- }, [
- createVNode("div", { class: "title" }, [
- createVNode("span", { class: "statusClass" }, "\u5F85\u5BA1\u6838"),
- createVNode("span", { class: "code" }, [
- createTextVNode(" \u5DE5\u5355\u7F16\u53F7: "),
- createVNode("span", null, toDisplayString(item.order_num), 1)
- ]),
- createVNode("span", { class: "createTime right" }, toDisplayString(item.created_at), 1)
- ]),
- createVNode("div", { class: "text" }, [
- createVNode("div", { class: "time" }, [
- createVNode("p", null, [
- createTextVNode(" \u5F00\u59CB\u65F6\u95F4: "),
- createVNode("span", null, toDisplayString(item.sttime), 1)
- ]),
- createVNode("p", null, [
- createTextVNode(" \u7ED3\u675F\u65F6\u95F4: "),
- createVNode("span", null, toDisplayString(item.edtime), 1)
- ])
- ]),
- createVNode("div", { class: "num" }, [
- createVNode("p", null, [
- createTextVNode(" \u5929\u6570: "),
- createVNode("span", null, toDisplayString(item.days) + "\u5929", 1)
- ]),
- createVNode("p", null, [
- createTextVNode(" \u5E7F\u544A\u4E2A\u6570: "),
- createVNode("span", null, toDisplayString(item.num) + "\u4E2A", 1)
- ])
- ]),
- createVNode("div", { class: "state" }, [
- createVNode("p", null, [
- createTextVNode(" \u5E7F\u544A\u72B6\u6001: "),
- createVNode("span", null, toDisplayString(unref(order_ad)[item.ad_status]), 1)
- ]),
- createVNode("p", null, [
- createVNode("span", { class: "price" }, toDisplayString(item.price), 1),
- createTextVNode(" \u5143 ")
- ])
- ]),
- createVNode("div", { class: "btn" }, [
- createVNode("button", {
- onClick: ($event) => unref(goCancel)(item)
- }, "\u53D6\u6D88\u5DE5\u5355", 8, ["onClick"]),
- createVNode("button", {
- onClick: ($event) => unref(goDetail)(item)
- }, "\u67E5\u770B\u8BE6\u60C5", 8, ["onClick"])
- ])
- ])
- ]);
- }), 128)),
- createVNode("div", { class: "pagination" }, [
- createVNode(_component_HomePagination, {
- onSendData: handleData3,
- total: unref(total6)
- }, null, 8, ["total"])
- ])
- ];
- }
- }),
- _: 1
- }, _parent2, _scopeId));
- } else {
- return [
- createVNode(unref(ElTabPane), {
- label: "\u5168\u90E8 (" + unref(allOrderTotal) + ")",
- name: "all"
- }, {
- default: withCtx(() => [
- (openBlock(true), createBlock(Fragment, null, renderList(unref(allOrder), (item) => {
- return openBlock(), createBlock("div", {
- class: "order",
- key: item.id
- }, [
- createVNode("div", { class: "title" }, [
- withDirectives(createVNode("span", {
- class: item.status == 6 ? "orangeStatus" : "grayStatus"
- }, toDisplayString(unref(order)[item.status]), 3), [
- [vShow, item.status == 6]
- ]),
- withDirectives(createVNode("span", {
- class: item.status == 1 ? "greenStatus" : "grayStatus"
- }, toDisplayString(unref(order)[item.status]), 3), [
- [vShow, item.status == 1]
- ]),
- withDirectives(createVNode("span", {
- class: item.status != 6 && item.status != 1 ? "grayStatus" : ""
- }, toDisplayString(unref(order)[item.status]), 3), [
- [vShow, item.status != 6 && item.status != 1]
- ]),
- createVNode("span", { class: "code" }, [
- createTextVNode(" \u5DE5\u5355\u7F16\u53F7: "),
- createVNode("span", null, toDisplayString(item.order_num), 1)
- ]),
- createVNode("span", { class: "createTime right" }, toDisplayString(item.created_at), 1)
- ]),
- createVNode("div", { class: "text" }, [
- createVNode("div", { class: "time" }, [
- createVNode("p", null, [
- createTextVNode(" \u5F00\u59CB\u65F6\u95F4: "),
- createVNode("span", null, toDisplayString(item.sttime), 1)
- ]),
- createVNode("p", null, [
- createTextVNode(" \u7ED3\u675F\u65F6\u95F4: "),
- createVNode("span", null, toDisplayString(item.edtime), 1)
- ])
- ]),
- createVNode("div", { class: "num" }, [
- createVNode("p", null, [
- createTextVNode(" \u5929\u6570: "),
- createVNode("span", null, toDisplayString(item.days) + "\u5929", 1)
- ]),
- createVNode("p", null, [
- createTextVNode(" \u5E7F\u544A\u4E2A\u6570: "),
- createVNode("span", null, toDisplayString(item.num) + "\u4E2A", 1)
- ])
- ]),
- createVNode("div", { class: "state" }, [
- createVNode("p", null, [
- createTextVNode(" \u5E7F\u544A\u72B6\u6001: "),
- createVNode("span", null, toDisplayString(unref(order_ad)[item.ad_status]), 1)
- ]),
- createVNode("p", null, [
- createVNode("span", { class: "price" }, toDisplayString(item.price), 1),
- createTextVNode(" \u5143 ")
- ])
- ]),
- createVNode("div", { class: "btn" }, [
- createVNode("button", {
- onClick: ($event) => unref(goCancel)(item)
- }, toDisplayString(item.status == 1 ? "\u518D\u6B21\u7533\u8BF7" : "\u53D6\u6D88\u5DE5\u5355"), 9, ["onClick"]),
- createVNode("button", {
- onClick: ($event) => unref(goDetail)(item)
- }, "\u67E5\u770B\u8BE6\u60C5", 8, ["onClick"])
- ])
- ])
- ]);
- }), 128)),
- createVNode("div", { class: "pagination" }, [
- createVNode(_component_HomePagination, {
- onSendData: handleData,
- total: unref(allOrderTotal)
- }, null, 8, ["total"])
- ])
- ]),
- _: 1
- }, 8, ["label"]),
- createVNode(unref(ElTabPane), {
- label: "\u5DF2\u901A\u8FC7 (" + unref(total1) + ")",
- name: "1"
- }, {
- default: withCtx(() => [
- (openBlock(true), createBlock(Fragment, null, renderList(unref(orderList), (item) => {
- return openBlock(), createBlock("div", {
- class: "order1",
- key: item.id
- }, [
- createVNode("div", { class: "title" }, [
- createVNode("span", { class: "statusClass" }, "\u5DF2\u901A\u8FC7"),
- createVNode("span", { class: "code" }, [
- createTextVNode(" \u5DE5\u5355\u7F16\u53F7: "),
- createVNode("span", null, toDisplayString(item.order_num), 1)
- ]),
- createVNode("span", { class: "createTime right" }, toDisplayString(item.created_at), 1)
- ]),
- createVNode("div", { class: "text" }, [
- createVNode("div", { class: "time" }, [
- createVNode("p", null, [
- createTextVNode(" \u5F00\u59CB\u65F6\u95F4: "),
- createVNode("span", null, toDisplayString(item.sttime), 1)
- ]),
- createVNode("p", null, [
- createTextVNode(" \u7ED3\u675F\u65F6\u95F4: "),
- createVNode("span", null, toDisplayString(item.edtime), 1)
- ])
- ]),
- createVNode("div", { class: "num" }, [
- createVNode("p", null, [
- createTextVNode(" \u5929\u6570: "),
- createVNode("span", null, toDisplayString(item.days) + "\u5929", 1)
- ]),
- createVNode("p", null, [
- createTextVNode(" \u5E7F\u544A\u4E2A\u6570: "),
- createVNode("span", null, toDisplayString(item.num) + "\u4E2A", 1)
- ])
- ]),
- createVNode("div", { class: "state" }, [
- createVNode("p", null, [
- createTextVNode(" \u5E7F\u544A\u72B6\u6001: "),
- createVNode("span", null, toDisplayString(unref(order_ad)[item.ad_status]), 1)
- ]),
- createVNode("p", null, [
- createVNode("span", { class: "price" }, toDisplayString(item.price), 1),
- createTextVNode(" \u5143 ")
- ])
- ]),
- createVNode("div", { class: "btn" }, [
- createVNode("button", {
- onClick: ($event) => unref(goCancel)(item)
- }, "\u53D6\u6D88\u5DE5\u5355", 8, ["onClick"]),
- createVNode("button", {
- onClick: ($event) => unref(goDetail)(item)
- }, "\u67E5\u770B\u8BE6\u60C5", 8, ["onClick"])
- ])
- ])
- ]);
- }), 128)),
- createVNode("div", { class: "pagination" }, [
- createVNode(_component_HomePagination, {
- onSendData: handleData1,
- total: unref(total1)
- }, null, 8, ["total"])
- ])
- ]),
- _: 1
- }, 8, ["label"]),
- createVNode(unref(ElTabPane), {
- label: "\u5DF2\u9A73\u56DE (" + unref(total2) + ")",
- name: "2"
- }, {
- default: withCtx(() => [
- (openBlock(true), createBlock(Fragment, null, renderList(unref(orderList), (item) => {
- return openBlock(), createBlock("div", {
- class: "order2",
- key: item.id
- }, [
- createVNode("div", { class: "title" }, [
- createVNode("span", { class: "statusClass" }, "\u5DF2\u9A73\u56DE"),
- createVNode("span", { class: "code" }, [
- createTextVNode(" \u5DE5\u5355\u7F16\u53F7: "),
- createVNode("span", null, toDisplayString(item.order_num), 1)
- ]),
- createVNode("span", { class: "createTime right" }, toDisplayString(item.created_at), 1)
- ]),
- createVNode("div", { class: "text" }, [
- createVNode("div", { class: "time" }, [
- createVNode("p", null, [
- createTextVNode(" \u5F00\u59CB\u65F6\u95F4: "),
- createVNode("span", null, toDisplayString(item.sttime), 1)
- ]),
- createVNode("p", null, [
- createTextVNode(" \u7ED3\u675F\u65F6\u95F4: "),
- createVNode("span", null, toDisplayString(item.edtime), 1)
- ])
- ]),
- createVNode("div", { class: "num" }, [
- createVNode("p", null, [
- createTextVNode(" \u5929\u6570: "),
- createVNode("span", null, toDisplayString(item.days) + "\u5929", 1)
- ]),
- createVNode("p", null, [
- createTextVNode(" \u5E7F\u544A\u4E2A\u6570: "),
- createVNode("span", null, toDisplayString(item.num) + "\u4E2A", 1)
- ])
- ]),
- createVNode("div", { class: "state" }, [
- createVNode("p", null, [
- createTextVNode(" \u5E7F\u544A\u72B6\u6001: "),
- createVNode("span", null, toDisplayString(unref(order_ad)[item.ad_status]), 1)
- ]),
- createVNode("p", null, [
- createVNode("span", { class: "price" }, toDisplayString(item.price), 1),
- createTextVNode(" \u5143 ")
- ])
- ]),
- createVNode("div", { class: "btn" }, [
- createVNode("button", {
- onClick: ($event) => unref(goCancel)(item)
- }, "\u53D6\u6D88\u5DE5\u5355", 8, ["onClick"]),
- createVNode("button", {
- onClick: ($event) => unref(goDetail)(item)
- }, "\u67E5\u770B\u8BE6\u60C5", 8, ["onClick"])
- ])
- ])
- ]);
- }), 128)),
- createVNode("div", { class: "pagination" }, [
- createVNode(_component_HomePagination, {
- onSendData: handleData2,
- total: unref(total2)
- }, null, 8, ["total"])
- ])
- ]),
- _: 1
- }, 8, ["label"]),
- createVNode(unref(ElTabPane), {
- label: "\u5F85\u5BA1\u6838 (" + unref(total6) + ")",
- name: "6"
- }, {
- default: withCtx(() => [
- (openBlock(true), createBlock(Fragment, null, renderList(unref(orderList), (item) => {
- return openBlock(), createBlock("div", {
- class: "order6",
- key: item.id
- }, [
- createVNode("div", { class: "title" }, [
- createVNode("span", { class: "statusClass" }, "\u5F85\u5BA1\u6838"),
- createVNode("span", { class: "code" }, [
- createTextVNode(" \u5DE5\u5355\u7F16\u53F7: "),
- createVNode("span", null, toDisplayString(item.order_num), 1)
- ]),
- createVNode("span", { class: "createTime right" }, toDisplayString(item.created_at), 1)
- ]),
- createVNode("div", { class: "text" }, [
- createVNode("div", { class: "time" }, [
- createVNode("p", null, [
- createTextVNode(" \u5F00\u59CB\u65F6\u95F4: "),
- createVNode("span", null, toDisplayString(item.sttime), 1)
- ]),
- createVNode("p", null, [
- createTextVNode(" \u7ED3\u675F\u65F6\u95F4: "),
- createVNode("span", null, toDisplayString(item.edtime), 1)
- ])
- ]),
- createVNode("div", { class: "num" }, [
- createVNode("p", null, [
- createTextVNode(" \u5929\u6570: "),
- createVNode("span", null, toDisplayString(item.days) + "\u5929", 1)
- ]),
- createVNode("p", null, [
- createTextVNode(" \u5E7F\u544A\u4E2A\u6570: "),
- createVNode("span", null, toDisplayString(item.num) + "\u4E2A", 1)
- ])
- ]),
- createVNode("div", { class: "state" }, [
- createVNode("p", null, [
- createTextVNode(" \u5E7F\u544A\u72B6\u6001: "),
- createVNode("span", null, toDisplayString(unref(order_ad)[item.ad_status]), 1)
- ]),
- createVNode("p", null, [
- createVNode("span", { class: "price" }, toDisplayString(item.price), 1),
- createTextVNode(" \u5143 ")
- ])
- ]),
- createVNode("div", { class: "btn" }, [
- createVNode("button", {
- onClick: ($event) => unref(goCancel)(item)
- }, "\u53D6\u6D88\u5DE5\u5355", 8, ["onClick"]),
- createVNode("button", {
- onClick: ($event) => unref(goDetail)(item)
- }, "\u67E5\u770B\u8BE6\u60C5", 8, ["onClick"])
- ])
- ])
- ]);
- }), 128)),
- createVNode("div", { class: "pagination" }, [
- createVNode(_component_HomePagination, {
- onSendData: handleData3,
- total: unref(total6)
- }, null, 8, ["total"])
- ])
- ]),
- _: 1
- }, 8, ["label"])
- ];
- }
- }),
- _: 1
- }, _parent));
- _push(`</div></div>`);
- };
- }
- };
- const _sfc_setup$1 = _sfc_main$1.setup;
- _sfc_main$1.setup = (props, ctx) => {
- const ssrContext = useSSRContext();
- (ssrContext.modules || (ssrContext.modules = /* @__PURE__ */ new Set())).add("components/advertising/OrderList.vue");
- return _sfc_setup$1 ? _sfc_setup$1(props, ctx) : void 0;
- };
- const __nuxt_component_2 = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__scopeId", "data-v-cfc8f80b"]]);
- const _sfc_main = {
- __name: "index",
- __ssrInlineRender: true,
- setup(__props) {
- const nuxtApp = useNuxtApp();
- nuxtApp.$axios;
- let ad = useState("ad", () => 1);
- let adCurrent = useState("adCurrent", () => true);
- const size = ref < "default" | "large" | "small" > "default";
- let adName = useState("adName", () => "");
- let adLink = useState("adLink", () => "");
- let startTime = useState("startTime", () => "");
- let endTime = useState("endTime", () => "");
- let adSize = useState("adSize", () => 1);
- useState("adWidth", () => 1200);
- useState("adHeight", () => 90);
- useState("pageSize", () => 10);
- useState("page", () => 1);
- useState("tableData", () => []);
- let processedData = useState("processedData", () => []);
- let pids = useState("pids", () => "");
- let orderInformation = useState("orderInformation", () => "");
- let changeStartTime = (val) => {
- startTime.value = `${val.getFullYear()}-${val.getMonth() + 1}-${val.getDate()}`;
- console.log(startTime.value);
- };
- let changeEndTime = (val) => {
- endTime.value = `${val.getFullYear()}-${val.getMonth() + 1}-${val.getDate()}`;
- console.log(endTime.value);
- };
- let handleUploadSuccess = (response, file, fileList) => {
- console.log(file.name);
- response.fileUrl;
- };
- let handleSelectionChange = (selectedRows) => {
- let selectedpids = [];
- selectedRows.forEach((row) => {
- selectedpids.push(row.pid);
- });
- pids.value = selectedpids.join(",");
- };
- const value = ref("");
- const options = [
- {
- value: "Option1",
- label: "Option1"
- },
- {
- value: "Option2",
- label: "Option2"
- },
- {
- value: "Option3",
- label: "Option3"
- },
- {
- value: "Option4",
- label: "Option4"
- },
- {
- value: "Option5",
- label: "Option5"
- }
- ];
- return (_ctx, _push, _parent, _attrs) => {
- const _component_AdvertisingHead = __nuxt_component_0;
- const _component_HomePagination = __nuxt_component_3;
- const _component_AdvertisingOrderList = __nuxt_component_2;
- const _component_AdvertisingFoot = __nuxt_component_3$1;
- _push(`<div${ssrRenderAttrs(_attrs)} data-v-2a66bd53>`);
- _push(ssrRenderComponent(_component_AdvertisingHead, null, null, _parent));
- _push(`<div class="advertising" data-v-2a66bd53><div class="inner" data-v-2a66bd53><ul class="nav" data-v-2a66bd53><li class="current" data-v-2a66bd53>\u5E7F\u544A\u8D2D\u4E70</li><li data-v-2a66bd53>\u5DE5\u5355\u5217\u8868</li></ul><div id="buyAd" style="${ssrRenderStyle(unref(adCurrent) ? null : { display: "none" })}" data-v-2a66bd53><div class="buyAD" data-v-2a66bd53><div class="inner" data-v-2a66bd53><div class="tabTitle" data-v-2a66bd53><span class="title" data-v-2a66bd53><span class="number" data-v-2a66bd53>1</span> \u586B\u5199\u5E7F\u544A\u4FE1\u606F </span><span class="title" data-v-2a66bd53><span class="icon" data-v-2a66bd53>`);
- _push(ssrRenderComponent(unref(ElIcon), null, {
- default: withCtx((_, _push2, _parent2, _scopeId) => {
- if (_push2) {
- _push2(ssrRenderComponent(unref(DArrowRight), null, null, _parent2, _scopeId));
- } else {
- return [
- createVNode(unref(DArrowRight))
- ];
- }
- }),
- _: 1
- }, _parent));
- _push(`</span><span class="number" data-v-2a66bd53>2</span> \u9009\u62E9\u76F8\u5E94\u7F51\u7AD9 </span><span class="title" data-v-2a66bd53><span class="icon" data-v-2a66bd53>`);
- _push(ssrRenderComponent(unref(ElIcon), null, {
- default: withCtx((_, _push2, _parent2, _scopeId) => {
- if (_push2) {
- _push2(ssrRenderComponent(unref(DArrowRight), null, null, _parent2, _scopeId));
- } else {
- return [
- createVNode(unref(DArrowRight))
- ];
- }
- }),
- _: 1
- }, _parent));
- _push(`</span><span class="number" data-v-2a66bd53>3</span> \u63D0\u4EA4\u5DE5\u5355\u4FE1\u606F </span></div><div class="textOne" style="${ssrRenderStyle(unref(ad) == 1 ? null : { display: "none" })}" data-v-2a66bd53><p data-v-2a66bd53><label for="adName" data-v-2a66bd53>\u5E7F\u544A\u540D\u79F0:</label>`);
- _push(ssrRenderComponent(unref(ElInput), {
- id: "adName",
- modelValue: unref(adName),
- "onUpdate:modelValue": ($event) => isRef(adName) ? adName.value = $event : adName = $event,
- style: { "width": "980px", "height": "44px" },
- placeholder: "\u8BF7\u8F93\u5165\u5E7F\u544A\u540D\u79F0"
- }, null, _parent));
- _push(`<span style="${ssrRenderStyle(!unref(adName) ? null : { display: "none" })}" data-v-2a66bd53>\u8BF7\u8F93\u5165\u5E7F\u544A\u540D\u79F0\u3002</span></p><p data-v-2a66bd53><label for="adLink" data-v-2a66bd53>\u5E7F\u544A\u94FE\u63A5:</label>`);
- _push(ssrRenderComponent(unref(ElInput), {
- class: "adLink",
- modelValue: unref(adLink),
- "onUpdate:modelValue": ($event) => isRef(adLink) ? adLink.value = $event : adLink = $event,
- style: { "width": "980px", "height": "44px" },
- placeholder: "\u8BF7\u8F93\u5165\u5E7F\u544A\u94FE\u63A5"
- }, null, _parent));
- _push(`<span style="${ssrRenderStyle(!unref(adLink) ? null : { display: "none" })}" data-v-2a66bd53>\u8BF7\u8F93\u5165\u5E7F\u544A\u94FE\u63A5\u3002</span></p><p data-v-2a66bd53><label data-v-2a66bd53>\u5E7F\u544A\u6301\u7EED\u65F6\u95F4:</label>`);
- _push(ssrRenderComponent(unref(ElDatePicker), {
- modelValue: unref(startTime),
- "onUpdate:modelValue": ($event) => isRef(startTime) ? startTime.value = $event : startTime = $event,
- type: "date",
- placeholder: "\u8BF7\u9009\u62E9\u5F00\u59CB\u65F6\u95F4",
- onChange: unref(changeStartTime),
- size
- }, null, _parent));
- _push(`<strong data-v-2a66bd53>\u81F3</strong>`);
- _push(ssrRenderComponent(unref(ElDatePicker), {
- modelValue: unref(endTime),
- "onUpdate:modelValue": ($event) => isRef(endTime) ? endTime.value = $event : endTime = $event,
- type: "date",
- placeholder: "\u8BF7\u9009\u62E9\u7ED3\u675F\u65F6\u95F4",
- onChange: unref(changeEndTime),
- size
- }, null, _parent));
- _push(`<span style="${ssrRenderStyle(!unref(endTime) ? null : { display: "none" })}" data-v-2a66bd53>\u8BF7\u9009\u62E9\u5E7F\u544A\u5F00\u59CB\u65F6\u95F4\u548C\u7ED3\u675F\u65F6\u95F4</span></p><p class="AdSize" data-v-2a66bd53><label data-v-2a66bd53>\u5E7F\u544A\u5C3A\u5BF8:</label>`);
- _push(ssrRenderComponent(unref(ElRadioGroup), {
- modelValue: unref(adSize),
- "onUpdate:modelValue": ($event) => isRef(adSize) ? adSize.value = $event : adSize = $event,
- size
- }, {
- default: withCtx((_, _push2, _parent2, _scopeId) => {
- if (_push2) {
- _push2(ssrRenderComponent(unref(ElRadio), { value: 1 }, {
- default: withCtx((_2, _push3, _parent3, _scopeId2) => {
- if (_push3) {
- _push3(` 1200 x 90px `);
- } else {
- return [
- createTextVNode(" 1200 x 90px ")
- ];
- }
- }),
- _: 1
- }, _parent2, _scopeId));
- _push2(ssrRenderComponent(unref(ElRadio), { value: 2 }, {
- default: withCtx((_2, _push3, _parent3, _scopeId2) => {
- if (_push3) {
- _push3(` 420 x 560px `);
- } else {
- return [
- createTextVNode(" 420 x 560px ")
- ];
- }
- }),
- _: 1
- }, _parent2, _scopeId));
- } else {
- return [
- createVNode(unref(ElRadio), { value: 1 }, {
- default: withCtx(() => [
- createTextVNode(" 1200 x 90px ")
- ]),
- _: 1
- }),
- createVNode(unref(ElRadio), { value: 2 }, {
- default: withCtx(() => [
- createTextVNode(" 420 x 560px ")
- ]),
- _: 1
- })
- ];
- }
- }),
- _: 1
- }, _parent));
- _push(`<span style="${ssrRenderStyle(!unref(adSize) ? null : { display: "none" })}" data-v-2a66bd53>\u8BF7\u9009\u62E9\u5E7F\u544A\u5C3A\u5BF8\u3002</span></p><p data-v-2a66bd53><label data-v-2a66bd53>\u5E7F\u544A\u56FE:</label>`);
- _push(ssrRenderComponent(unref(ElUpload), {
- class: "upload-demo",
- action: "http://192.168.1.118:9501",
- "on-success": unref(handleUploadSuccess),
- "on-error": _ctx.handleUploadError,
- drag: "",
- multiple: ""
- }, {
- default: withCtx((_, _push2, _parent2, _scopeId) => {
- if (_push2) {
- _push2(ssrRenderComponent(unref(ElIcon), { class: "el-icon--upload" }, {
- default: withCtx((_2, _push3, _parent3, _scopeId2) => {
- if (_push3) {
- _push3(ssrRenderComponent(unref(Plus), null, null, _parent3, _scopeId2));
- } else {
- return [
- createVNode(unref(Plus))
- ];
- }
- }),
- _: 1
- }, _parent2, _scopeId));
- _push2(`<div class="el-upload__text" data-v-2a66bd53${_scopeId}> \u9009\u62E9\u56FE\u7247 </div>`);
- } else {
- return [
- createVNode(unref(ElIcon), { class: "el-icon--upload" }, {
- default: withCtx(() => [
- createVNode(unref(Plus))
- ]),
- _: 1
- }),
- createVNode("div", { class: "el-upload__text" }, " \u9009\u62E9\u56FE\u7247 ")
- ];
- }
- }),
- _: 1
- }, _parent));
- _push(`<span data-v-2a66bd53>\u8BF7\u6DFB\u52A0\u5E7F\u544A\u56FE\uFF0C\u4E0D\u5927\u4E8E500k\u3002</span></p></div><div class="textTwo" style="${ssrRenderStyle(unref(ad) == 2 ? null : { display: "none" })}" data-v-2a66bd53><div class="inner" data-v-2a66bd53><div class="pageTop" data-v-2a66bd53><div class="left" data-v-2a66bd53> \u7F51\u7AD9\uFF1A `);
- _push(ssrRenderComponent(unref(ElSelect), {
- modelValue: value.value,
- "onUpdate:modelValue": ($event) => value.value = $event,
- placeholder: "\u8BF7\u9009\u62E9\u7F51\u7AD9\u540D\u79F0",
- size: "large",
- style: { "width": "244px", "height": "44px" }
- }, {
- default: withCtx((_, _push2, _parent2, _scopeId) => {
- if (_push2) {
- _push2(`<!--[-->`);
- ssrRenderList(options, (item) => {
- _push2(ssrRenderComponent(unref(ElOption), {
- key: item.value,
- label: item.label,
- value: item.value
- }, null, _parent2, _scopeId));
- });
- _push2(`<!--]-->`);
- } else {
- return [
- (openBlock(), createBlock(Fragment, null, renderList(options, (item) => {
- return createVNode(unref(ElOption), {
- key: item.value,
- label: item.label,
- value: item.value
- }, null, 8, ["label", "value"]);
- }), 64))
- ];
- }
- }),
- _: 1
- }, _parent));
- _push(`<a href="#" data-v-2a66bd53>\u67E5\u770B\u793A\u610F\u56FE</a></div><div class="right" data-v-2a66bd53><button class="reset" data-v-2a66bd53>\u91CD\u7F6E</button><button class="search" data-v-2a66bd53>\u641C\u7D22</button></div></div><div class="pageTable" data-v-2a66bd53>`);
- _push(ssrRenderComponent(unref(ElTable), {
- data: unref(processedData),
- border: "",
- onSelectionChange: unref(handleSelectionChange),
- "select-on-indeterminate": "",
- style: { "width": "100%" },
- "header-row-style": { height: "60px" },
- "row-style": { height: "74px" },
- "header-cell-style": { backgroundColor: "#fafafa", color: "#666" }
- }, {
- default: withCtx((_, _push2, _parent2, _scopeId) => {
- if (_push2) {
- _push2(ssrRenderComponent(unref(ElTableColumn), {
- type: "selection",
- width: "152",
- align: "center"
- }, null, _parent2, _scopeId));
- _push2(ssrRenderComponent(unref(ElTableColumn), {
- prop: "website_name",
- label: "\u7F51\u7AD9",
- width: "240"
- }, null, _parent2, _scopeId));
- _push2(ssrRenderComponent(unref(ElTableColumn), {
- prop: "name",
- label: "\u5E7F\u544A\u4F4D\u540D\u79F0",
- width: "240"
- }, null, _parent2, _scopeId));
- _push2(ssrRenderComponent(unref(ElTableColumn), {
- prop: "combinedField",
- label: "\u5E7F\u544A\u5C3A\u5BF8",
- width: "268"
- }, null, _parent2, _scopeId));
- _push2(ssrRenderComponent(unref(ElTableColumn), {
- prop: "price",
- label: "\u91D1\u989D (\u5143) / \u5929"
- }, null, _parent2, _scopeId));
- } else {
- return [
- createVNode(unref(ElTableColumn), {
- type: "selection",
- width: "152",
- align: "center"
- }),
- createVNode(unref(ElTableColumn), {
- prop: "website_name",
- label: "\u7F51\u7AD9",
- width: "240"
- }),
- createVNode(unref(ElTableColumn), {
- prop: "name",
- label: "\u5E7F\u544A\u4F4D\u540D\u79F0",
- width: "240"
- }),
- createVNode(unref(ElTableColumn), {
- prop: "combinedField",
- label: "\u5E7F\u544A\u5C3A\u5BF8",
- width: "268"
- }),
- createVNode(unref(ElTableColumn), {
- prop: "price",
- label: "\u91D1\u989D (\u5143) / \u5929"
- })
- ];
- }
- }),
- _: 1
- }, _parent));
- _push(`</div><div class="pagination" data-v-2a66bd53>`);
- _push(ssrRenderComponent(_component_HomePagination, null, null, _parent));
- _push(`</div></div></div><div class="submit" style="${ssrRenderStyle(unref(ad) == 3 ? null : { display: "none" })}" data-v-2a66bd53><div class="inner" data-v-2a66bd53><h1 data-v-2a66bd53>\u5E7F\u544A\u4FE1\u606F\u5DF2\u63D0\u4EA4\u6210\u529F\uFF0C\u8BF7\u7B49\u5F85\u5BA1\u6838......</h1><p data-v-2a66bd53> \u5DE5\u5355\u7F16\u53F7: <span data-v-2a66bd53>${ssrInterpolate(unref(orderInformation).$ordernum)}</span></p><div class="btn" data-v-2a66bd53><button class="check" data-v-2a66bd53>\u67E5\u770B\u5DE5\u5355</button><button class="apply" data-v-2a66bd53>\u518D\u6B21\u7533\u8BF7</button></div><span data-v-2a66bd53>\u5982\u6709\u7591\u95EE\uFF0C\u53EF\u8054\u7CFB\u5BA2\u670D\u4EBA\u5458\u3002</span></div></div></div></div></div><div id="orderList" style="${ssrRenderStyle(!unref(adCurrent) ? null : { display: "none" })}" data-v-2a66bd53>`);
- _push(ssrRenderComponent(_component_AdvertisingOrderList, null, null, _parent));
- _push(`</div></div><div class="bottom" style="${ssrRenderStyle(unref(ad) != 3 && unref(adCurrent) ? null : { display: "none" })}" data-v-2a66bd53><div class="inner" data-v-2a66bd53><div class="amount" style="${ssrRenderStyle(unref(ad) == 2 ? null : { display: "none" })}" data-v-2a66bd53> \u603B\u91D1\u989D: <span data-v-2a66bd53>243,210,910</span> \u5143 </div><button class="btn" data-v-2a66bd53>${ssrInterpolate(unref(ad) == 1 ? "\u4E0B\u4E00\u6B65" : "\u63D0\u4EA4\u5DE5\u5355")}</button></div></div></div>`);
- _push(ssrRenderComponent(_component_AdvertisingFoot, null, null, _parent));
- _push(`</div>`);
- };
- }
- };
- const _sfc_setup = _sfc_main.setup;
- _sfc_main.setup = (props, ctx) => {
- const ssrContext = useSSRContext();
- (ssrContext.modules || (ssrContext.modules = /* @__PURE__ */ new Set())).add("pages/advertising/index.vue");
- return _sfc_setup ? _sfc_setup(props, ctx) : void 0;
- };
- const index = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-2a66bd53"]]);
- export { index as default };
- //# sourceMappingURL=index-D4_Ucwxo.mjs.map
|