123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206 |
- 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 { unref, withCtx, createVNode, toDisplayString, useSSRContext } from 'file://D:/zwj/nuxt/sannongzixunwang_web/node_modules/vue/index.mjs';
- import { ssrRenderAttrs, ssrRenderComponent, ssrInterpolate, ssrRenderAttr } from 'file://D:/zwj/nuxt/sannongzixunwang_web/node_modules/vue/server-renderer/index.mjs';
- import { ElTable, ElTableColumn } from 'file://D:/zwj/nuxt/sannongzixunwang_web/node_modules/element-plus/es/index.mjs';
- import { _ as _export_sfc, b as useNuxtApp, e as useRoute } from './server.mjs';
- import { u as useState } from './state-_I5XcLqc.mjs';
- 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 = {
- __name: "adDetail",
- __ssrInlineRender: true,
- setup(__props) {
- const statusStore = useStatusStore();
- const nuxtApp = useNuxtApp();
- nuxtApp.$axios;
- let route = useRoute();
- let order_id = route.query.id;
- route.query.days;
- route.query.status;
- route.query.status;
- console.log(order_id);
- let order = useState("order", () => "");
- let orderDetail = useState("orderDetail", () => "");
- useState("newArr", () => "");
- return (_ctx, _push, _parent, _attrs) => {
- const _component_AdvertisingHead = __nuxt_component_0;
- const _component_HomePagination = __nuxt_component_3;
- const _component_AdvertisingFoot = __nuxt_component_3$1;
- _push(`<div${ssrRenderAttrs(_attrs)} data-v-bf989b0c>`);
- _push(ssrRenderComponent(_component_AdvertisingHead, null, null, _parent));
- _push(`<div class="adDetail" data-v-bf989b0c><div class="inner" data-v-bf989b0c><h3 data-v-bf989b0c>\u5E7F\u544A\u57FA\u672C\u4FE1\u606F</h3><div class="order" data-v-bf989b0c><div class="title" data-v-bf989b0c><span class="status left" data-v-bf989b0c>${ssrInterpolate(unref(statusStore).orderStatus[unref(order).status])}</span><span class="code left" data-v-bf989b0c> \u5DE5\u5355\u7F16\u53F7: <span data-v-bf989b0c>${ssrInterpolate(unref(order).order_num)}</span></span><span class="createTime right" data-v-bf989b0c>${ssrInterpolate(unref(order).created_at)}</span></div><div class="text" data-v-bf989b0c><span data-v-bf989b0c>\u5F00\u59CB\u65F6\u95F4:${ssrInterpolate(unref(order).sttime)}</span><span data-v-bf989b0c>\u7ED3\u675F\u65F6\u95F4:${ssrInterpolate(unref(order).edtime)}</span><span data-v-bf989b0c><span class="money" data-v-bf989b0c>${ssrInterpolate(unref(order).price ? unref(order).price : 260)}</span> \u5143 </span><button data-v-bf989b0c>\u518D\u6B21\u7533\u8BF7</button></div></div><div class="detail" data-v-bf989b0c>`);
- _push(ssrRenderComponent(unref(ElTable), {
- data: unref(orderDetail),
- style: { "width": "100%" }
- }, {
- default: withCtx((_, _push2, _parent2, _scopeId) => {
- if (_push2) {
- _push2(ssrRenderComponent(unref(ElTableColumn), {
- prop: "",
- label: "\u56FE\u7247\u4FE1\u606F",
- align: "center"
- }, {
- default: withCtx((scope, _push3, _parent3, _scopeId2) => {
- if (_push3) {
- _push3(`<div class="content" data-v-bf989b0c${_scopeId2}><img${ssrRenderAttr("src", scope.row.image_src)} alt="" class="left" data-v-bf989b0c${_scopeId2}></div>`);
- } else {
- return [
- createVNode("div", { class: "content" }, [
- createVNode("img", {
- src: scope.row.image_src,
- alt: "",
- class: "left"
- }, null, 8, ["src"])
- ])
- ];
- }
- }),
- _: 1
- }, _parent2, _scopeId));
- _push2(ssrRenderComponent(unref(ElTableColumn), {
- prop: "",
- label: ""
- }, {
- default: withCtx((scope, _push3, _parent3, _scopeId2) => {
- if (_push3) {
- _push3(`<div class="content" data-v-bf989b0c${_scopeId2}><h5 data-v-bf989b0c${_scopeId2}>${ssrInterpolate(scope.row.apname)}</h5><p data-v-bf989b0c${_scopeId2}>${ssrInterpolate(scope.row.adname)}</p></div>`);
- } else {
- return [
- createVNode("div", { class: "content" }, [
- createVNode("h5", null, toDisplayString(scope.row.apname), 1),
- createVNode("p", null, toDisplayString(scope.row.adname), 1)
- ])
- ];
- }
- }),
- _: 1
- }, _parent2, _scopeId));
- _push2(ssrRenderComponent(unref(ElTableColumn), {
- prop: "website_name",
- label: "\u7F51\u5740",
- width: "200px",
- align: "center"
- }, null, _parent2, _scopeId));
- _push2(ssrRenderComponent(unref(ElTableColumn), {
- prop: "days",
- label: "\u5929\u6570",
- width: "200px",
- align: "center"
- }, null, _parent2, _scopeId));
- _push2(ssrRenderComponent(unref(ElTableColumn), {
- prop: "state",
- label: "\u5BA1\u6838\u72B6\u6001",
- width: "200px",
- align: "center"
- }, null, _parent2, _scopeId));
- _push2(ssrRenderComponent(unref(ElTableColumn), {
- prop: "ad_status",
- label: "\u5E7F\u544A\u72B6\u6001",
- width: "200px",
- align: "center"
- }, null, _parent2, _scopeId));
- } else {
- return [
- createVNode(unref(ElTableColumn), {
- prop: "",
- label: "\u56FE\u7247\u4FE1\u606F",
- align: "center"
- }, {
- default: withCtx((scope) => [
- createVNode("div", { class: "content" }, [
- createVNode("img", {
- src: scope.row.image_src,
- alt: "",
- class: "left"
- }, null, 8, ["src"])
- ])
- ]),
- _: 1
- }),
- createVNode(unref(ElTableColumn), {
- prop: "",
- label: ""
- }, {
- default: withCtx((scope) => [
- createVNode("div", { class: "content" }, [
- createVNode("h5", null, toDisplayString(scope.row.apname), 1),
- createVNode("p", null, toDisplayString(scope.row.adname), 1)
- ])
- ]),
- _: 1
- }),
- createVNode(unref(ElTableColumn), {
- prop: "website_name",
- label: "\u7F51\u5740",
- width: "200px",
- align: "center"
- }),
- createVNode(unref(ElTableColumn), {
- prop: "days",
- label: "\u5929\u6570",
- width: "200px",
- align: "center"
- }),
- createVNode(unref(ElTableColumn), {
- prop: "state",
- label: "\u5BA1\u6838\u72B6\u6001",
- width: "200px",
- align: "center"
- }),
- createVNode(unref(ElTableColumn), {
- prop: "ad_status",
- label: "\u5E7F\u544A\u72B6\u6001",
- width: "200px",
- align: "center"
- })
- ];
- }
- }),
- _: 1
- }, _parent));
- _push(`</div><div class="pagination" data-v-bf989b0c>`);
- _push(ssrRenderComponent(_component_HomePagination, null, null, _parent));
- _push(`</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/adDetail.vue");
- return _sfc_setup ? _sfc_setup(props, ctx) : void 0;
- };
- const adDetail = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-bf989b0c"]]);
- export { adDetail as default };
- //# sourceMappingURL=adDetail-CbL4xuDD.mjs.map
|