This commit is contained in:
weipengfei 2024-06-19 19:24:23 +08:00
parent a9432e3299
commit 66db45b598
20 changed files with 67 additions and 48 deletions

View File

@ -9,7 +9,7 @@ let expire = localStorage.getItem("TRADE_USER") ? JSON.parse(localStorage.getIte
// 创建axios 实例 // 创建axios 实例
const instacne = axios.create({ const instacne = axios.create({
// baseURL: "http://192.168.1.22:8545", // baseURL: "http://192.168.1.22:8545",
baseURL: "https://multi-store.lihaink", baseURL: "https://multi-store.lihaink.cn",
// baseURL: "https://shop.lihaink.cn/", // baseURL: "https://shop.lihaink.cn/",
timeout: 30000, timeout: 30000,
}); });
@ -18,22 +18,22 @@ const instacne = axios.create({
instacne.interceptors.request.use( instacne.interceptors.request.use(
(config) => { (config) => {
// 在发送请求之前做什么 // 在发送请求之前做什么
let timestamp = Math.floor(new Date().getTime() / 1000); // let timestamp = Math.floor(new Date().getTime() / 1000);
if (expire) { // if (expire) {
if (timestamp > expire) { // if (timestamp > expire) {
ElMessage({ // ElMessage({
message: "登录过期,请重新登录", // message: "登录过期,请重新登录",
type: 'warning', // type: 'warning',
}) // })
localStorage.removeItem('TRADE_USER') // localStorage.removeItem('TRADE_USER')
router.replace('/login') // router.replace('/login')
} // }
} // }
return config; return config;
}, },

View File

@ -113,7 +113,7 @@
<script setup> <script setup>
import { getProductCountApi, getViewCountApi } from "@/api.js" import { getProductCountApi, getViewCountApi } from "@/api.js"
import mitt from '@/view/utils/mitt.js' import mitt from '@/view/utils/mitt.js'
import { ref, reactive, defineProps } from "vue" import { ref, reactive, defineProps, onUnmounted } from "vue"
import Remake from "@/components/Remake.vue" import Remake from "@/components/Remake.vue"
import { areaObj } from "../../store"; import { areaObj } from "../../store";
const areaStore = areaObj() const areaStore = areaObj()
@ -160,15 +160,25 @@ getProductCountApi({
}) })
getViewCountApi({
...areaStore.area
}).then(res => {
for (let key in res.data) {
viewData[key] = res.data[key]
}
mitt.emit("header-title", res.data.title)
})
const initViewCount = ()=>{
getViewCountApi({
...areaStore.area
}).then(res => {
for (let key in res.data) {
viewData[key] = res.data[key]
}
mitt.emit("header-title", res.data.title)
})
}
initViewCount()
let timer1 = setInterval(()=>{
initViewCount();
}, 5000)
onUnmounted(()=>{
clearInterval(timer1)
})

View File

@ -8,13 +8,13 @@
<div class="top box"> <div class="top box">
<div class="l"> <div class="l">
<topLeft :code="route.query.code" :key="route.query.code"></topLeft> <topLeft :code="route.query.code" :key="route.query.code+key"></topLeft>
</div> </div>
<div class="c" id=""> <div class="c" id="">
<topCenter :code="route.query.code" :key="route.query.code"></topCenter> <topCenter :code="route.query.code" :key="route.query.code+key"></topCenter>
</div> </div>
<div class="r"> <div class="r">
<topRight :code="route.query.code" :key="route.query.code"></topRight> <topRight :code="route.query.code" :key="route.query.code+key"></topRight>
</div> </div>
@ -22,20 +22,20 @@
<div class="bottom box"> <div class="bottom box">
<div class="l"> <div class="l">
<bottomleft :code="route.query.code" :key="route.query.code"></bottomleft> <bottomleft :code="route.query.code" :key="route.query.code+key"></bottomleft>
</div> </div>
<div class="c"> <div class="c">
<bottomCenter :key="route.query.code"></bottomCenter> <bottomCenter :key="route.query.code+key"></bottomCenter>
</div> </div>
<div class="r"> <div class="r">
<bottomRight :code="route.query.code" :key="route.query.code"></bottomRight> <bottomRight :code="route.query.code" :key="route.query.code+key"></bottomRight>
</div> </div>
</div> </div>
</div> </div>
</template> </template>
<script setup> <script setup>
import { onMounted } from 'vue'; import { onMounted, onUnmounted } from 'vue';
import bottomRight from "@/components/townDetail/bottomRight.vue" import bottomRight from "@/components/townDetail/bottomRight.vue"
import bottomCenter from "@/components/townDetail/bottomCenter.vue" import bottomCenter from "@/components/townDetail/bottomCenter.vue"
import bottomleft from "@/components/townDetail/bottomleft.vue" import bottomleft from "@/components/townDetail/bottomleft.vue"
@ -49,14 +49,23 @@ const show = ref(true)
const route = useRoute() const route = useRoute()
const key = ref(1)
let timer1 = null;
onMounted(() => { onMounted(() => {
setTimeout(() => { setTimeout(() => {
show.value = false show.value = false
}, 1000) }, 1000)
timer1 = setInterval(() => {
key.value++
}, 1000 * 60)
})
onUnmounted(()=>{
clearInterval(timer1)
}) })
</script> </script>

View File

@ -1 +1 @@
import{b as i,f as o,d as t,t as s}from"./index-F1El3hcz.js";const a="/yusi/assets/bg-sv6D9nMu.png",e="data:image/png;base64,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",c={style:{position:"relative","margin-right":"21px","margin-top":"20px"}},n=t("img",{src:a,style:{width:"100%",position:"absolute",height:"50px"},alt:""},null,-1),g=t("img",{src:e,style:{position:"absolute"},alt:""},null,-1),r=["src"],d={style:{position:"relative",padding:"0 10px",top:"5px","margin-left":"45px"}},l={style:{"font-size":"16px","font-family":"FZCYJ",color:"#A9EDFC"}},x={style:{"font-size":"12px",color:"#8395A4","margin-top":"5px"}},E={__name:"Bill",props:{data:Object},setup(A){return(p,w)=>(i(),o("div",c,[n,g,t("img",{src:`/static/a/${A.data.icon}.png`,style:{position:"absolute",top:"50%",transform:"translate(15px,-30%)"},alt:""},null,8,r),t("div",d,[t("div",l,s(A.data.num),1),t("div",x,s(A.data.text),1)])]))}};export{E as _}; import{b as i,f as o,d as t,t as s}from"./index-YcrvWpTH.js";const a="/yusi/assets/bg-sv6D9nMu.png",e="data:image/png;base64,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",c={style:{position:"relative","margin-right":"21px","margin-top":"20px"}},n=t("img",{src:a,style:{width:"100%",position:"absolute",height:"50px"},alt:""},null,-1),g=t("img",{src:e,style:{position:"absolute"},alt:""},null,-1),r=["src"],d={style:{position:"relative",padding:"0 10px",top:"5px","margin-left":"45px"}},l={style:{"font-size":"16px","font-family":"FZCYJ",color:"#A9EDFC"}},x={style:{"font-size":"12px",color:"#8395A4","margin-top":"5px"}},E={__name:"Bill",props:{data:Object},setup(A){return(p,w)=>(i(),o("div",c,[n,g,t("img",{src:`/static/a/${A.data.icon}.png`,style:{position:"absolute",top:"50%",transform:"translate(15px,-30%)"},alt:""},null,8,r),t("div",d,[t("div",l,s(A.data.num),1),t("div",x,s(A.data.text),1)])]))}};export{E as _};

File diff suppressed because one or more lines are too long

View File

@ -1,4 +1,4 @@
import{_ as uI,b as wo,f as To,d as Jy,F as fI,g as hI,q as vI,t as cI}from"./index-F1El3hcz.js";/*! ***************************************************************************** import{_ as uI,b as wo,f as To,d as Jy,F as fI,g as hI,q as vI,t as cI}from"./index-YcrvWpTH.js";/*! *****************************************************************************
Copyright (c) Microsoft Corporation. Copyright (c) Microsoft Corporation.
Permission to use, copy, modify, and/or distribute this software for any Permission to use, copy, modify, and/or distribute this software for any

View File

@ -1 +0,0 @@
import{a as n}from"./axios-QLjAsgXu.js";import{E as r,A as o}from"./index-F1El3hcz.js";let i=localStorage.getItem("TRADE_USER")?JSON.parse(localStorage.getItem("TRADE_USER")).expire:{};const e=n.create({baseURL:"https://multi-store.lihaink",timeout:3e4});e.interceptors.request.use(t=>{let a=Math.floor(new Date().getTime()/1e3);return i&&a>i&&(r({message:"登录过期,请重新登录",type:"warning"}),localStorage.removeItem("TRADE_USER"),o.replace("/login")),t},t=>Promise.reject(t));e.interceptors.response.use(t=>t.data.code!=1?(r({message:t.data.message,type:"warning"}),Promise.reject(t.data.message)):t.data,t=>Promise.reject(t));function c(t){return e.get("/statistics/user",{params:t})}function _(t){return e.get("/api/dataview/order_statistics",{params:t})}function d(t){return e.get("/statistics/sales_ranking",{params:t})}function p(t){return e.get("/api/dataview/curr_day_order_amount",{params:t})}function g(t){return e.get("/statistics/product_count",{params:t})}function l(t){return e.get("/statistics/index",{params:t})}function f(t){return e.get("/statistics/user_trade_count",{params:t})}function m(t){return e.get("/api/dataview/product_category_list",{params:t})}function A(t){return e.get("/api/dataview/product_list",{params:t})}function w(t){return e.get("/api/dataview/merchant_list",{params:t})}function v(t){return e.get("/api/dataview/order_list",{params:t})}function h(t){return e.get("/api/dataview/order_list_count_title",{params:t})}function k(t){return e.get("/api/dataview/refund_order_list",{params:t})}function y(t){return e.get("/api/dataview/take_order_list",{params:t})}function E(t){return e.get("/api/dataview/take_order_count_title",{params:t})}function R(t){return e.get("/api/dataview/financial_record_title",{params:t})}function S(t){return e.get("/api/dataview/financial_record",{params:t})}function x(t){return e.get("/api/dataview/product_status_filter",{params:t})}function P(t){return e.get("/api/dataview/financial_record_detail/1",{params:t})}function T(t){return e.get("/api/dataview/financial_record_detail/2",{params:t})}function U(t){return e.get("/api/dataview/bill_list",{params:t})}function C(t){return e.get("/api/dataview/withdraw_list",{params:t})}function D(t){return e.get("/statistics/street_currday_order_count",{params:t})}function b(t){return e.post("/api/dataview/login",t)}function j(t){return e.post("/api/dataview/mechant_login",t)}function L(t){return e.get("/api/dataview/merchant_count_main",{params:t})}function I(t){return e.get("/statistics/order_user_num_count",{params:t})}function N(t){return e.get("/api/dataview/merchant_product_ranking",{params:t})}function O(t){return e.get("/api/dataview/merchant_product_visit",{params:t})}function q(t){return e.get("/api/dataview/merchant_product_cart",{params:t})}function M(t){return e.get("/api/dataview/merchant",{params:t})}export{U as A,P as B,T as C,j as D,b as E,g as a,l as b,d as c,_ as d,f as e,p as f,c as g,m as h,A as i,M as j,L as k,N as l,w as m,O as n,I as o,x as p,q,v as r,D as s,h as t,k as u,y as v,E as w,R as x,S as y,C as z};

View File

@ -0,0 +1 @@
import{a as i}from"./axios-QLjAsgXu.js";import{G as r}from"./index-YcrvWpTH.js";localStorage.getItem("TRADE_USER")&&JSON.parse(localStorage.getItem("TRADE_USER")).expire;const e=i.create({baseURL:"https://multi-store.lihaink.cn",timeout:3e4});e.interceptors.request.use(t=>t,t=>Promise.reject(t));e.interceptors.response.use(t=>t.data.code!=1?(r({message:t.data.message,type:"warning"}),Promise.reject(t.data.message)):t.data,t=>Promise.reject(t));function u(t){return e.get("/statistics/user",{params:t})}function s(t){return e.get("/api/dataview/order_statistics",{params:t})}function o(t){return e.get("/statistics/sales_ranking",{params:t})}function c(t){return e.get("/api/dataview/curr_day_order_amount",{params:t})}function _(t){return e.get("/statistics/product_count",{params:t})}function d(t){return e.get("/statistics/index",{params:t})}function p(t){return e.get("/statistics/user_trade_count",{params:t})}function g(t){return e.get("/api/dataview/product_category_list",{params:t})}function l(t){return e.get("/api/dataview/product_list",{params:t})}function f(t){return e.get("/api/dataview/merchant_list",{params:t})}function m(t){return e.get("/api/dataview/order_list",{params:t})}function A(t){return e.get("/api/dataview/order_list_count_title",{params:t})}function w(t){return e.get("/api/dataview/refund_order_list",{params:t})}function v(t){return e.get("/api/dataview/take_order_list",{params:t})}function h(t){return e.get("/api/dataview/take_order_count_title",{params:t})}function k(t){return e.get("/api/dataview/financial_record_title",{params:t})}function y(t){return e.get("/api/dataview/financial_record",{params:t})}function E(t){return e.get("/api/dataview/product_status_filter",{params:t})}function P(t){return e.get("/api/dataview/financial_record_detail/1",{params:t})}function R(t){return e.get("/api/dataview/financial_record_detail/2",{params:t})}function S(t){return e.get("/api/dataview/bill_list",{params:t})}function x(t){return e.get("/api/dataview/withdraw_list",{params:t})}function C(t){return e.get("/statistics/street_currday_order_count",{params:t})}function U(t){return e.post("/api/dataview/login",t)}function b(t){return e.post("/api/dataview/mechant_login",t)}function j(t){return e.get("/api/dataview/merchant_count_main",{params:t})}function L(t){return e.get("/statistics/order_user_num_count",{params:t})}function T(t){return e.get("/api/dataview/merchant_product_ranking",{params:t})}function D(t){return e.get("/api/dataview/merchant_product_visit",{params:t})}function N(t){return e.get("/api/dataview/merchant_product_cart",{params:t})}function O(t){return e.get("/api/dataview/merchant",{params:t})}export{S as A,P as B,R as C,b as D,U as E,_ as a,d as b,o as c,s as d,p as e,c as f,u as g,g as h,l as i,O as j,j as k,T as l,f as m,D as n,L as o,E as p,N as q,m as r,C as s,A as t,w as u,v,h as w,k as x,y,x as z};

View File

@ -1,4 +1,4 @@
import{_ as j}from"./TABBG-WY6uizpD.js";import{h as N,p as V,i as z}from"./api-6AhkDDlN.js";import{_ as G,a as S,i as v,r as b,o as L,j as R,b as d,f as r,d as c,q as y,F as A,g as F,e as C,h as x,k as D,t as P,y as q,z as M}from"./index-F1El3hcz.js";import"./axios-QLjAsgXu.js";const O=g=>(q("data-v-893c7b72"),g=g(),M(),g),T={class:"box"},H={class:"img-cls"},J=O(()=>c("img",{src:j,style:{width:"100%",height:"100%",position:"absolute","z-index":"-10000"},alt:""},null,-1)),K={class:"content"},Q={class:"btns"},U={key:0,style:{display:"flex",color:"white","justify-content":"flex-end","margin-right":"5vw",cursor:"pointer"}},W=["onClick"],X={key:1,class:"table"},Y={key:2,class:"table"},Z={__name:"commodity",setup(g){const s=S();N({...s.area}).then(i=>{_(u,i.data)});let h=v(1);const p=i=>{o.data.splice(0,o.data.length),h.value=i,z({...s.area,limit:50,type:h.value}).then(t=>{_(o,t.data.list,!0)})};let w=b([]);V({...s.area}).then(i=>{i.data.forEach(t=>{w.push(t)})}),v(2);const I=i=>{if(i.ceil)if(i.columnIndex==1){let t=document.getElementById(`zmj${i.rowIndex}`),l=document.getElementById(`lj${i.rowIndex}`);t.style.display="none",l.style.display="block"}else{let t=document.getElementsByClassName("zmj"),l=document.getElementsByClassName("lj");for(let e=0;e<t.length;e++)t[e].style.display="block",l[e].style.display="none"}},k=i=>{let t="";for(let l=0;l<i;l++)t=t.concat('<input type="radio" name="rate" readonly>');return t},n=v(!0),_=(i,t,l)=>{l?t.forEach((e,a)=>{var m,f,$,B,E;a%2==0?i.data.push([`<div style='width: 100%;text-align: center; height: 100%; color: aliceblue; background: #02243D;'>${a+1}</div>`,`<div style='width: 100%;text-align: center; height: 100%; color: aliceblue; background: #02243D;dislay:flex;align-items:center'> import{_ as j}from"./TABBG-WY6uizpD.js";import{h as N,p as V,i as z}from"./api-cxsdgs3-.js";import{_ as G,a as S,i as v,r as b,o as L,j as R,b as d,f as r,d as c,q as y,F as A,g as F,e as C,h as x,k as D,t as P,y as q,z as M}from"./index-YcrvWpTH.js";import"./axios-QLjAsgXu.js";const O=g=>(q("data-v-893c7b72"),g=g(),M(),g),T={class:"box"},H={class:"img-cls"},J=O(()=>c("img",{src:j,style:{width:"100%",height:"100%",position:"absolute","z-index":"-10000"},alt:""},null,-1)),K={class:"content"},Q={class:"btns"},U={key:0,style:{display:"flex",color:"white","justify-content":"flex-end","margin-right":"5vw",cursor:"pointer"}},W=["onClick"],X={key:1,class:"table"},Y={key:2,class:"table"},Z={__name:"commodity",setup(g){const s=S();N({...s.area}).then(i=>{_(u,i.data)});let h=v(1);const p=i=>{o.data.splice(0,o.data.length),h.value=i,z({...s.area,limit:50,type:h.value}).then(t=>{_(o,t.data.list,!0)})};let w=b([]);V({...s.area}).then(i=>{i.data.forEach(t=>{w.push(t)})}),v(2);const I=i=>{if(i.ceil)if(i.columnIndex==1){let t=document.getElementById(`zmj${i.rowIndex}`),l=document.getElementById(`lj${i.rowIndex}`);t.style.display="none",l.style.display="block"}else{let t=document.getElementsByClassName("zmj"),l=document.getElementsByClassName("lj");for(let e=0;e<t.length;e++)t[e].style.display="block",l[e].style.display="none"}},k=i=>{let t="";for(let l=0;l<i;l++)t=t.concat('<input type="radio" name="rate" readonly>');return t},n=v(!0),_=(i,t,l)=>{l?t.forEach((e,a)=>{var m,f,$,B,E;a%2==0?i.data.push([`<div style='width: 100%;text-align: center; height: 100%; color: aliceblue; background: #02243D;'>${a+1}</div>`,`<div style='width: 100%;text-align: center; height: 100%; color: aliceblue; background: #02243D;dislay:flex;align-items:center'>
<img src='${e.image}' style='width:25px;height:25px;margin-top:1px'> <img src='${e.image}' style='width:25px;height:25px;margin-top:1px'>
</div>`,`<div style='width: 100%;text-align: center; height: 100%; color: aliceblue; background: #02243D;'>${e.store_name}</div>`,`<div style='width: 100%;text-align: center; height: 100%; color: aliceblue; background: #02243D;'>${((m=e.merchant)==null?void 0:m.mer_name)||"--"}</div>`,`<div style='width: 100%;text-align: center; height: 100%; color: aliceblue; background: #02243D;'>${(f=e.merchant)!=null&&f.is_trader?"":""}</div>`,`<div style='width: 100%;text-align: center; height: 100%; color: aliceblue; background: #02243D;'>${e.price}</div>`,`<div style='width: 100%;text-align: center; height: 100%; color: aliceblue; background: #02243D;'>${(($=e.storeCategory)==null?void 0:$.cate_name)||"--"}</div>`,`<div style='width: 100%;text-align: center; height: 100%; color: aliceblue; background: #02243D;'>${e.attrValue[0].sales}</div>`,`<div style='width: 100%;text-align: center; height: 100%; color: aliceblue; background: #02243D;'>${e.attrValue[0].stock}</div>`,`<div style='width: 100%;text-align: center; height: 100%; color: aliceblue; background: #02243D;'> </div>`,`<div style='width: 100%;text-align: center; height: 100%; color: aliceblue; background: #02243D;'>${e.store_name}</div>`,`<div style='width: 100%;text-align: center; height: 100%; color: aliceblue; background: #02243D;'>${((m=e.merchant)==null?void 0:m.mer_name)||"--"}</div>`,`<div style='width: 100%;text-align: center; height: 100%; color: aliceblue; background: #02243D;'>${(f=e.merchant)!=null&&f.is_trader?"":""}</div>`,`<div style='width: 100%;text-align: center; height: 100%; color: aliceblue; background: #02243D;'>${e.price}</div>`,`<div style='width: 100%;text-align: center; height: 100%; color: aliceblue; background: #02243D;'>${(($=e.storeCategory)==null?void 0:$.cate_name)||"--"}</div>`,`<div style='width: 100%;text-align: center; height: 100%; color: aliceblue; background: #02243D;'>${e.attrValue[0].sales}</div>`,`<div style='width: 100%;text-align: center; height: 100%; color: aliceblue; background: #02243D;'>${e.attrValue[0].stock}</div>`,`<div style='width: 100%;text-align: center; height: 100%; color: aliceblue; background: #02243D;'>
${k(e.star)} ${k(e.star)}

View File

@ -1,4 +1,4 @@
import{_ as V,a as Y,i as B,r as p,o as z,j as L,b as s,f as r,d as t,q as y,h as b,F,g as N,c as k,k as P,w as H,T as X,n as a,t as c,y as q,z as J}from"./index-F1El3hcz.js";import{_ as M}from"./TABBG-WY6uizpD.js";import{_ as O}from"./Bill-ng_iSFaJ.js";import{x as U,y as S,z as W,A as K,B as Q,C as ee}from"./api-6AhkDDlN.js";import"./axios-QLjAsgXu.js";const te="/yusi/assets/TC-V-mBZomo.png",C=w=>(q("data-v-c57eba8c"),w=w(),J(),w),ie={class:"box"},le={class:"img-cls"},ae=C(()=>t("img",{src:M,style:{width:"100%",height:"100%",position:"absolute"},alt:""},null,-1)),ne={class:"content"},ce={class:"btns"},oe={style:{display:"flex"}},se={style:{"margin-right":"0vw"}},de={key:0,style:{display:"flex",color:"white","justify-content":"flex-end","margin-right":"5vw",cursor:"pointer"}},re={key:0,class:"bill"},he={key:1,class:"table"},ue={key:0,class:"pop"},ge=C(()=>t("img",{src:te,alt:"",style:{width:"35vw",height:"40vh",position:"absolute",top:"50%",left:"50%",transform:"translate(-50%,-50%)"}},null,-1)),ve={class:"pop-content"},pe={class:"pop-content-head"},be={class:"gradient-text"},_e={style:{"font-size":"10px"}},xe={class:"pop-li"},ye={style:{margin:"0 .5vw"}},we={class:"price"},fe={style:{display:"flex","justify-content":"space-between"},class:"pop-li"},ke={style:{margin:"0 .5vw"}},me={class:"price",style:{color:"white"}},$e={class:"pop-li",style:{"margin-top":"3vh"}},Be={style:{margin:"0 2vw"}},Ce={class:"price"},De={class:"pop-li",style:{"margin-top":"3vh"}},Ee={style:{margin:"0 2vw"}},Ie={class:"price"},Ge={style:{display:"flex","justify-content":"space-between"},class:"pop-li"},Te={style:{margin:"0 .5vw"}},Ae={class:"price",style:{color:"white"}},Fe={style:{margin:"0 .5vw"}},Ne={class:"price",style:{color:"white"}},Se={style:{margin:"0 1vw"}},je={class:"price",style:{color:"white"}},Re={style:{display:"flex","justify-content":"space-between"},class:"pop-li"},Ze={style:{margin:"0 .5vw"}},Ve={class:"price",style:{color:"white"}},Ye={style:{margin:"0 .5vw"}},ze={class:"price",style:{color:"white"}},Le=C(()=>t("div",{style:{opacity:"0"}},[a(" 返回手续费 "),t("span",{style:{margin:"0 1vw"}},[t("span",{class:"price",style:{color:"white"}},"16.6"),a("元")]),t("span",null,"2笔")],-1)),Pe={class:"pop-li",style:{"margin-top":"3vh"}},He={class:"price"},Xe={__name:"finance",setup(w){const h=Y(),_=B(1),D=i=>{_.value=i,x(2,i)},E=p([{icon:"DD",text:"订单总金额收入",num:1245},{icon:"CZ",text:"退款支出金额",num:1245},{icon:"YJ",text:"佣金支出金额",num:1245},{icon:"PT",text:"平台手续费",num:1245},{icon:"CZ",text:"充值金额",num:1245},{icon:"CZXF",text:"充值消费金额",num:1245},{icon:"CS",text:"产生交易的商户数",num:1245},{icon:"YH",text:"优惠券",num:1245},{icon:"CS",text:"入口商户金额",num:1245},{icon:"YC",text:"云仓库佣金",num:1245},{icon:"XZ",text:"小组服务佣金",num:1245},{icon:"CY",text:"村佣金",num:1245},{icon:"ZY",text:"镇佣金",num:1245},{icon:"PT",text:"平台剩余手续费",num:1245}]);U({...h.area}).then(i=>{i.data.stat.forEach((e,l)=>{E[l].num=e.count})});const x=(i,e)=>{i==0&&(v.data.splice(0,v.data.length),W({...h.area,limit:50}).then(l=>{f(l.data.list)})),i==1&&(u.data.splice(0,u.data.length),K({...h.area,limit:50}).then(l=>{f(l.data.list)})),i==2&&(g.data.splice(0,g.data.length),S({...h.area,limit:50,type:e}).then(l=>{m=l.data.list,f(l.data.list)})),o.value=i,A()},j=i=>{i.columnIndex==10},I=i=>{if(i==0)return"银行卡";if(i==1)return"支付宝";if(i==2)return"微信";if(i==3)return"零钱"},G=i=>{if(i==-1)return"未通过";if(i==0)return"审核中";if(i==1)return"已提现"},f=i=>{i.reverse().forEach((e,l)=>{o.value==0&&(l%2==0?v.data.push([`<div style='width: 100%;text-align: center; height: 100%; color: aliceblue; background: #02243D;'>${l+1}</div>`,`<div style='width: 100%;text-align: center; height: 100%; color: aliceblue; background: #02243D;'> import{_ as V,a as Y,i as B,r as p,o as z,j as L,b as s,f as r,d as t,q as y,h as b,F,g as N,c as k,k as P,w as H,T as X,n as a,t as c,y as q,z as J}from"./index-YcrvWpTH.js";import{_ as M}from"./TABBG-WY6uizpD.js";import{_ as O}from"./Bill-0XrImhvO.js";import{x as U,y as S,z as W,A as K,B as Q,C as ee}from"./api-cxsdgs3-.js";import"./axios-QLjAsgXu.js";const te="/yusi/assets/TC-V-mBZomo.png",C=w=>(q("data-v-c57eba8c"),w=w(),J(),w),ie={class:"box"},le={class:"img-cls"},ae=C(()=>t("img",{src:M,style:{width:"100%",height:"100%",position:"absolute"},alt:""},null,-1)),ne={class:"content"},ce={class:"btns"},oe={style:{display:"flex"}},se={style:{"margin-right":"0vw"}},de={key:0,style:{display:"flex",color:"white","justify-content":"flex-end","margin-right":"5vw",cursor:"pointer"}},re={key:0,class:"bill"},he={key:1,class:"table"},ue={key:0,class:"pop"},ge=C(()=>t("img",{src:te,alt:"",style:{width:"35vw",height:"40vh",position:"absolute",top:"50%",left:"50%",transform:"translate(-50%,-50%)"}},null,-1)),ve={class:"pop-content"},pe={class:"pop-content-head"},be={class:"gradient-text"},_e={style:{"font-size":"10px"}},xe={class:"pop-li"},ye={style:{margin:"0 .5vw"}},we={class:"price"},fe={style:{display:"flex","justify-content":"space-between"},class:"pop-li"},ke={style:{margin:"0 .5vw"}},me={class:"price",style:{color:"white"}},$e={class:"pop-li",style:{"margin-top":"3vh"}},Be={style:{margin:"0 2vw"}},Ce={class:"price"},De={class:"pop-li",style:{"margin-top":"3vh"}},Ee={style:{margin:"0 2vw"}},Ie={class:"price"},Ge={style:{display:"flex","justify-content":"space-between"},class:"pop-li"},Te={style:{margin:"0 .5vw"}},Ae={class:"price",style:{color:"white"}},Fe={style:{margin:"0 .5vw"}},Ne={class:"price",style:{color:"white"}},Se={style:{margin:"0 1vw"}},je={class:"price",style:{color:"white"}},Re={style:{display:"flex","justify-content":"space-between"},class:"pop-li"},Ze={style:{margin:"0 .5vw"}},Ve={class:"price",style:{color:"white"}},Ye={style:{margin:"0 .5vw"}},ze={class:"price",style:{color:"white"}},Le=C(()=>t("div",{style:{opacity:"0"}},[a(" 返回手续费 "),t("span",{style:{margin:"0 1vw"}},[t("span",{class:"price",style:{color:"white"}},"16.6"),a("元")]),t("span",null,"2笔")],-1)),Pe={class:"pop-li",style:{"margin-top":"3vh"}},He={class:"price"},Xe={__name:"finance",setup(w){const h=Y(),_=B(1),D=i=>{_.value=i,x(2,i)},E=p([{icon:"DD",text:"订单总金额收入",num:1245},{icon:"CZ",text:"退款支出金额",num:1245},{icon:"YJ",text:"佣金支出金额",num:1245},{icon:"PT",text:"平台手续费",num:1245},{icon:"CZ",text:"充值金额",num:1245},{icon:"CZXF",text:"充值消费金额",num:1245},{icon:"CS",text:"产生交易的商户数",num:1245},{icon:"YH",text:"优惠券",num:1245},{icon:"CS",text:"入口商户金额",num:1245},{icon:"YC",text:"云仓库佣金",num:1245},{icon:"XZ",text:"小组服务佣金",num:1245},{icon:"CY",text:"村佣金",num:1245},{icon:"ZY",text:"镇佣金",num:1245},{icon:"PT",text:"平台剩余手续费",num:1245}]);U({...h.area}).then(i=>{i.data.stat.forEach((e,l)=>{E[l].num=e.count})});const x=(i,e)=>{i==0&&(v.data.splice(0,v.data.length),W({...h.area,limit:50}).then(l=>{f(l.data.list)})),i==1&&(u.data.splice(0,u.data.length),K({...h.area,limit:50}).then(l=>{f(l.data.list)})),i==2&&(g.data.splice(0,g.data.length),S({...h.area,limit:50,type:e}).then(l=>{m=l.data.list,f(l.data.list)})),o.value=i,A()},j=i=>{i.columnIndex==10},I=i=>{if(i==0)return"银行卡";if(i==1)return"支付宝";if(i==2)return"微信";if(i==3)return"零钱"},G=i=>{if(i==-1)return"未通过";if(i==0)return"审核中";if(i==1)return"已提现"},f=i=>{i.reverse().forEach((e,l)=>{o.value==0&&(l%2==0?v.data.push([`<div style='width: 100%;text-align: center; height: 100%; color: aliceblue; background: #02243D;'>${l+1}</div>`,`<div style='width: 100%;text-align: center; height: 100%; color: aliceblue; background: #02243D;'>
<img src=${e.extract_pic} style='width:30px;height:30px'> <img src=${e.extract_pic} style='width:30px;height:30px'>
</div>`,`<div style='width: 100%;text-align: center; height: 100%; color: aliceblue; background: #02243D;' >${e.real_name}</div>`,`<div style='width: 100%;text-align: center; height: 100%; color: aliceblue; background: #02243D;'>${e.uid}</div>`,`<div style='width: 100%;text-align: center; height: 100%; color: aliceblue; background: #02243D;'>${e.real_name}</div>`,`<div style='width: 100%;text-align: center; height: 100%; color: aliceblue; background: #02243D;'>${e.extract_price}</div>`,`<div style='width: 100%;text-align: center; height: 100%; color: aliceblue; background: #02243D;'>${I(e.extract_type)}</div>`,"<div style='width: 100%;text-align: center; height: 100%; color: aliceblue; background: #02243D;'>--</div>",`<div style='width: 100%;text-align: center; height: 100%; color: aliceblue; background: #02243D;'>${e.bank_code}</div>`,`<div style='width: 100%;text-align: center; height: 100%; color: aliceblue; background: #02243D;'>${G(e.status)}</div>`,`<div style='width: 100%;text-align: center; height: 100%; color: aliceblue; background: #102B3E;'>${e.fail_msg||"--"}</div>`,`<div style='width: 100%;text-align: center; height: 100%; color: aliceblue; background: #102B3E;'>${e.create_time||"--"}</div>`]):v.data.push([`<div style='width: 100%;text-align: center; height: 100%; color: aliceblue; background: #102B3E;'>${e.uid}</div>`,`<div style='width: 100%;text-align: center; height: 100%; color: aliceblue; background: #102B3E;'> </div>`,`<div style='width: 100%;text-align: center; height: 100%; color: aliceblue; background: #02243D;' >${e.real_name}</div>`,`<div style='width: 100%;text-align: center; height: 100%; color: aliceblue; background: #02243D;'>${e.uid}</div>`,`<div style='width: 100%;text-align: center; height: 100%; color: aliceblue; background: #02243D;'>${e.real_name}</div>`,`<div style='width: 100%;text-align: center; height: 100%; color: aliceblue; background: #02243D;'>${e.extract_price}</div>`,`<div style='width: 100%;text-align: center; height: 100%; color: aliceblue; background: #02243D;'>${I(e.extract_type)}</div>`,"<div style='width: 100%;text-align: center; height: 100%; color: aliceblue; background: #02243D;'>--</div>",`<div style='width: 100%;text-align: center; height: 100%; color: aliceblue; background: #02243D;'>${e.bank_code}</div>`,`<div style='width: 100%;text-align: center; height: 100%; color: aliceblue; background: #02243D;'>${G(e.status)}</div>`,`<div style='width: 100%;text-align: center; height: 100%; color: aliceblue; background: #102B3E;'>${e.fail_msg||"--"}</div>`,`<div style='width: 100%;text-align: center; height: 100%; color: aliceblue; background: #102B3E;'>${e.create_time||"--"}</div>`]):v.data.push([`<div style='width: 100%;text-align: center; height: 100%; color: aliceblue; background: #102B3E;'>${e.uid}</div>`,`<div style='width: 100%;text-align: center; height: 100%; color: aliceblue; background: #102B3E;'>
<img src=${e.extract_pic} style='width:30px;height:30px'> <img src=${e.extract_pic} style='width:30px;height:30px'>

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -1,4 +1,4 @@
import{_ as B,a as j,r as l,o as C,j as D,b as o,f as x,d as r,q as f,s as P,v as z,F as G,g as I,c as u,h as b,y as N,z as O}from"./index-F1El3hcz.js";import{_ as R}from"./TABBG-WY6uizpD.js";import{_ as S}from"./Bill-ng_iSFaJ.js";import{r as A,t as F,u as W,v as J,w as L}from"./api-6AhkDDlN.js";import"./axios-QLjAsgXu.js";const M=g=>(N("data-v-2bf103ff"),g=g(),O(),g),V={class:"box"},q={class:"img-cls"},H=M(()=>r("img",{src:R,style:{width:"100%",height:"100%",position:"absolute"},alt:""},null,-1)),T={class:"content"},X={class:"btns"},Y={style:{color:"white",display:"flex"}},Z={key:0,class:"table"},K={__name:"order",setup(g){const s=j(),v=l([{icon:"DD",text:"已支付订单数",num:1245},{icon:"JE",text:"实际支付金额",num:1245},{icon:"JE",text:"已退款金额",num:1245}]);l([{icon:"WX",text:"微信支付金额",num:1245},{icon:"YE",text:"余额支付金额",num:1245},{icon:"ZFB",text:"支付宝支付金额",num:1245}]);const w=t=>{if(t==0)return"待审核";if(t==1)return"待退货";if(t==2)return"待收货";if(t==3)return"已退款";if(t==-1)return"审核未通过"},_=t=>{if(t==0)return"待发货";if(t==1)return"待收货";if(t==2)return"待评价";if(t==3)return"已完成";if(t==9)return"拼团中";if(t==10)return"待付尾款";if(t==11)return"尾款超时未付";if(t==-1)return"已退款"},m=t=>{if(t==0)return"余额支付";if(t==1)return"微信支付";if(t==2)return"小程序支付";if(t==3)return"h5支付";if(t==4)return"支付宝支付";if(t==5)return"支付宝扫码支付";if(t==6)return"微信扫码支付";if(t==8)return"信用购-先货后款"},n=l([!0,!1,!1]),h=t=>{n.forEach((e,i)=>{n[i]=!1}),n[t]=!0,t==0&&(a.data.splice(0,a.data.length),A({...s.area,limit:50}).then(e=>{$(e.data.list)}),F({...s.area,limit:50}).then(e=>{e.data.forEach((i,d)=>{v[d].num=i.count})})),t==1&&(c.data.splice(0,a.data.length),W({...s.area,limit:50}).then(e=>{k(e.data.list)})),t==2&&(p.data.splice(0,a.data.length),J({...s.area,limit:50}).then(e=>{E(e.data.list)}),L({...s.area,limit:50}).then(e=>{e.data.forEach((i,d)=>{v[d].num=i.count})}))},y=t=>{if(t.ceil)if(t.columnIndex==0){let e=document.getElementById(`order${t.rowIndex}`),i=document.getElementById(`card${t.rowIndex}`);e.style.display="none",i.style.display="block"}else{let e=document.getElementsByClassName("order"),i=document.getElementsByClassName("card");for(let d=0;d<e.length;d++)e[d].style.display="block",i[d].style.display="none"}},$=t=>{t.forEach((e,i)=>{i%2==0?a.data.push([`<div style='width: 100%;text-align: center; height: 100%; color: aliceblue; background: #02243D;cursor: pointer;'> import{_ as B,a as j,r as l,o as C,j as D,b as o,f as x,d as r,q as f,s as P,v as z,F as G,g as I,c as u,h as b,y as N,z as O}from"./index-YcrvWpTH.js";import{_ as R}from"./TABBG-WY6uizpD.js";import{_ as S}from"./Bill-0XrImhvO.js";import{r as A,t as F,u as W,v as J,w as L}from"./api-cxsdgs3-.js";import"./axios-QLjAsgXu.js";const M=g=>(N("data-v-2bf103ff"),g=g(),O(),g),V={class:"box"},q={class:"img-cls"},H=M(()=>r("img",{src:R,style:{width:"100%",height:"100%",position:"absolute"},alt:""},null,-1)),T={class:"content"},X={class:"btns"},Y={style:{color:"white",display:"flex"}},Z={key:0,class:"table"},K={__name:"order",setup(g){const s=j(),v=l([{icon:"DD",text:"已支付订单数",num:1245},{icon:"JE",text:"实际支付金额",num:1245},{icon:"JE",text:"已退款金额",num:1245}]);l([{icon:"WX",text:"微信支付金额",num:1245},{icon:"YE",text:"余额支付金额",num:1245},{icon:"ZFB",text:"支付宝支付金额",num:1245}]);const w=t=>{if(t==0)return"待审核";if(t==1)return"待退货";if(t==2)return"待收货";if(t==3)return"已退款";if(t==-1)return"审核未通过"},_=t=>{if(t==0)return"待发货";if(t==1)return"待收货";if(t==2)return"待评价";if(t==3)return"已完成";if(t==9)return"拼团中";if(t==10)return"待付尾款";if(t==11)return"尾款超时未付";if(t==-1)return"已退款"},m=t=>{if(t==0)return"余额支付";if(t==1)return"微信支付";if(t==2)return"小程序支付";if(t==3)return"h5支付";if(t==4)return"支付宝支付";if(t==5)return"支付宝扫码支付";if(t==6)return"微信扫码支付";if(t==8)return"信用购-先货后款"},n=l([!0,!1,!1]),h=t=>{n.forEach((e,i)=>{n[i]=!1}),n[t]=!0,t==0&&(a.data.splice(0,a.data.length),A({...s.area,limit:50}).then(e=>{$(e.data.list)}),F({...s.area,limit:50}).then(e=>{e.data.forEach((i,d)=>{v[d].num=i.count})})),t==1&&(c.data.splice(0,a.data.length),W({...s.area,limit:50}).then(e=>{k(e.data.list)})),t==2&&(p.data.splice(0,a.data.length),J({...s.area,limit:50}).then(e=>{E(e.data.list)}),L({...s.area,limit:50}).then(e=>{e.data.forEach((i,d)=>{v[d].num=i.count})}))},y=t=>{if(t.ceil)if(t.columnIndex==0){let e=document.getElementById(`order${t.rowIndex}`),i=document.getElementById(`card${t.rowIndex}`);e.style.display="none",i.style.display="block"}else{let e=document.getElementsByClassName("order"),i=document.getElementsByClassName("card");for(let d=0;d<e.length;d++)e[d].style.display="block",i[d].style.display="none"}},$=t=>{t.forEach((e,i)=>{i%2==0?a.data.push([`<div style='width: 100%;text-align: center; height: 100%; color: aliceblue; background: #02243D;cursor: pointer;'>
<div class='order' id='order${i}' style='position:relative'> <div class='order' id='order${i}' style='position:relative'>
<div style=' width: 0; <div style=' width: 0;
height: 0; height: 0;

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -5,7 +5,7 @@
<link rel="icon" type="image/svg+xml" href="/yusi/vite.svg" /> <link rel="icon" type="image/svg+xml" href="/yusi/vite.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Vite + Vue</title> <title>Vite + Vue</title>
<script type="module" crossorigin src="/yusi/assets/index-F1El3hcz.js"></script> <script type="module" crossorigin src="/yusi/assets/index-YcrvWpTH.js"></script>
<link rel="stylesheet" crossorigin href="/yusi/assets/index-GchtCmZ4.css"> <link rel="stylesheet" crossorigin href="/yusi/assets/index-GchtCmZ4.css">
</head> </head>
<body> <body>