mirror of
https://github.com/talktao/Vue3-Vite-Vant-TS-H5.git
synced 2025-04-06 03:57:55 +08:00
add:dist 不上传git
This commit is contained in:
parent
0c2d1658f3
commit
9a6bb1a2b2
1
.gitignore
vendored
1
.gitignore
vendored
@ -1,2 +1,3 @@
|
||||
node_modules
|
||||
*.local
|
||||
dist
|
1
dist/assets/About.4a0a852a.js
vendored
1
dist/assets/About.4a0a852a.js
vendored
@ -1 +0,0 @@
|
||||
import{U as d,E as h,q as f,V as F,r as a,o as c,s as E,w as i,v as t,u,P as n,x as g,c as y,G as V,y as C}from"./vendor.17bdbd54.js";import{l as v}from"./logo.b28d5e28.js";const B=d("pinia",()=>{const e=h("");return{userName:e,getUserNmae:s=>{e.value=s}}}),N={class:"about"},k={class:"wrapper"},x={class:"list flex-center py-8 flex-column"},A={class:"logo"},b=t("span",{class:"logo fs-1 py-3 opacity-75"},"VUE3 H5\u5F00\u53D1\u6A21\u677F",-1),S=t("span",{class:"fs-6 py-3 opacity-75"},[n(" \u9879\u76EE\u5730\u5740\uFF1A "),t("a",{href:"https://github.com/talktao/Vue3-Vite-Vant-TS-H5"},"https://github.com/talktao/Vue3-Vite-Vant-TS-H5")],-1),H=t("span",{class:"fs-3 py-3 opacity-75"},"\u9879\u76EE\u4F5C\u8005\uFF1Atalktao",-1),U={class:"fs-3 py-3 opacity-75"},w=n("\u70B9\u6211\u6709\u9B54\u6CD5~"),z=f({setup(e){const o=B(),{userName:s}=F(o),{getUserNmae:r}=o,l=()=>{r("\u771F\u4E56\uFF0C\u5982\u679C\u5BF9\u60A8\u6709\u5E2E\u52A9\u8BF7\u5728github\u4E0A\u70B9\u4E2A\u661F\u661F\u54E6~")};return(T,D)=>{const p=a("CustomHeader"),_=a("van-image"),m=a("van-button");return c(),E("div",N,[i(p,{title:"\u6211\u7684"}),t("div",k,[t("div",x,[t("span",A,[i(_,{width:"150",src:u(v)},null,8,["src"])]),b,S,H,t("span",U,[n(g(u(s))+" ",1),u(s)==""?(c(),y(m,{key:0,color:"#f50",size:"small",onClick:l},{default:V(()=>[w]),_:1})):C("",!0)])])])])}}});export{z as default};
|
2
dist/assets/Home.16faad6f.js
vendored
2
dist/assets/Home.16faad6f.js
vendored
File diff suppressed because one or more lines are too long
1
dist/assets/Home.c03e0657.css
vendored
1
dist/assets/Home.c03e0657.css
vendored
@ -1 +0,0 @@
|
||||
h1[data-v-2f2c3acb]{display:block;font-size:40px;text-align:center;padding:20px 0}ul li[data-v-2f2c3acb]{display:block;font-size:20px;padding:20px 0;text-align:center}
|
1
dist/assets/Search.6732d741.css
vendored
1
dist/assets/Search.6732d741.css
vendored
@ -1 +0,0 @@
|
||||
.search[data-v-8deefbe2]{overflow:hidden}.search .search_Box[data-v-8deefbe2]{padding:4px 10px;position:relative;display:flex;background-color:#fff}.search .search_Box>div[data-v-8deefbe2]:nth-child(1){width:1rem;display:flex;justify-content:center;align-items:center;color:#5f656b;font-size:20px}.search .search_Box>div[data-v-8deefbe2]:nth-child(2){width:calc(100% - 8vw)}.search .search_Box>div:nth-child(2) .search_Btn[data-v-8deefbe2]{color:#b91c3b}.search .mrn[data-v-8deefbe2]{width:100vw;height:100vh}.search .mrn>div[data-v-8deefbe2]:nth-child(1){margin-top:10px}.search .mrn .list_content[data-v-8deefbe2]{height:32vw;border-radius:10px;margin:5px;padding:0 10px}.search .mrn .list_content .right[data-v-8deefbe2]{overflow:hidden}.search .mrn .list_content .right>div[data-v-8deefbe2]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.search .mrn .list_content .right .price[data-v-8deefbe2]{color:red}
|
1
dist/assets/Search.8f8f78eb.js
vendored
1
dist/assets/Search.8f8f78eb.js
vendored
@ -1 +0,0 @@
|
||||
import{_ as E}from"./index.4743b0b6.js";import{q as w,t as D,E as T,r as l,o as _,s as v,w as s,G as i,v as n,M as j,O as I,u as x,z as V,Z as $,x as p,X as z,Y as L}from"./vendor.17bdbd54.js";const R=u=>(z("data-v-8deefbe2"),u=u(),L(),u),A={class:"search d-flex flex-column justify-content-start"},H={action:"javascript:return true"},N={class:"card_Box mrn d-flex flex-column justify-content-start"},U={class:"list_content d-flex justify-content-between align-items-center"},q={class:"left"},G={class:"right d-flex flex-column justify-content-around w-100 h-100 ps-4 fs-4"},M=R(()=>n("div",null,"\u526F\u6807\u9898xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",-1)),O={class:"price"},X=w({setup(u){const C=()=>{const a=V({value:"",isSearch:!0,goodsList:[],titleText:"\u641C\u7D22",scrollTop:0});return D(a)},{value:c,isSearch:f,goodsList:Y,titleText:Z,scrollTop:J}=C(),m=T(0);let t=[{id:1,title:"\u56DB\u4EF6\u5957",price:999},{id:2,title:"\u88AB\u5B50",price:555},{id:3,title:"\u6795\u5934",price:888}];const F=a=>{console.log(a,"params")},h=a=>{F(a),console.log(a,"eeeeeehandleSearch")},b=a=>{switch(a.name){case 0:t=t,console.log(t,"000000000");break;case 1:t=t,console.log(t,"111111111");break;case 2:t=t.sort((e,r)=>e.price-r.price),console.log(t,"222222222");break;case 3:t=t.sort((e,r)=>r.price-e.price),console.log(t,"33333333333");break}};return(a,e)=>{const r=l("CustomHeader"),S=l("van-search"),d=l("van-tab"),k=l("van-tabs"),y=l("van-sticky"),B=l("van-loading"),g=l("van-image");return _(),v("div",A,[s(y,null,{default:i(()=>[s(r,{title:"\u641C\u7D22",leftIcon:"arrow-left",leftText:""}),n("form",H,[s(S,{ref:"search",onFocus:e[1]||(e[1]=o=>f.value=!0),placeholder:"\u8BF7\u8F93\u5165\u641C\u7D22\u6587\u5B57",shape:"round",modelValue:x(c),"onUpdate:modelValue":e[2]||(e[2]=o=>$(c)?c.value=o:null),"show-action":"",onClick:e[3]||(e[3]=o=>f.value=!0),onSearch:e[4]||(e[4]=o=>h(x(c))),autofocus:!1},{action:i(()=>[n("div",{class:"search_Btn",onClick:e[0]||(e[0]=o=>h(x(c)))},"\u641C\u7D22")]),_:1},8,["modelValue"])]),s(k,{active:m.value,"onUpdate:active":e[5]||(e[5]=o=>m.value=o),onClickTab:b},{default:i(()=>[s(d,{title:"\u7EFC\u5408"}),s(d,{title:"\u9500\u91CF"}),s(d,{title:"\u4EF7\u683C\u5347\u5E8F"}),s(d,{title:"\u4EF7\u683C\u964D\u5E8F"})]),_:1},8,["active"])]),_:1}),n("div",N,[(_(!0),v(j,null,I(x(t),o=>(_(),v("div",{key:o.id},[n("div",U,[n("div",q,[s(g,{radius:"14",width:"130",height:"120",fit:"cover",src:"https://img.yzcdn.cn/vant/cat.jpeg"},{loading:i(()=>[s(B,{type:"spinner",size:"20"})]),error:i(()=>[s(g)]),_:1})]),n("div",G,[n("div",null,p(o.title),1),M,n("div",O,"\u4EF7\u683C\uFF1A\uFFE5"+p(o.price),1),n("div",null,p(o.id),1)])])]))),128))])])}}});var Q=E(X,[["__scopeId","data-v-8deefbe2"]]);export{Q as default};
|
1
dist/assets/index.4743b0b6.js
vendored
1
dist/assets/index.4743b0b6.js
vendored
File diff suppressed because one or more lines are too long
1
dist/assets/index.b863cb84.css
vendored
1
dist/assets/index.b863cb84.css
vendored
File diff suppressed because one or more lines are too long
1
dist/assets/index.f96d417c.js
vendored
1
dist/assets/index.f96d417c.js
vendored
@ -1 +0,0 @@
|
||||
import{q as d,t as p,r as t,o,s as m,v as s,c,w as a,R as v,u as B,z as h}from"./vendor.17bdbd54.js";const f={class:"app-container"},b={class:"layout-content"},k={class:"layout-footer"},R=d({setup(g){const r=()=>{const e=h({tabBar:[{title:"\u9996\u9875",to:{name:"Home"},icon:"home-o"},{title:"\u6211",to:{name:"About"},icon:"user-o"}]});return p(e)},{tabBar:u}=r(),i=e=>{};return(e,y)=>{const n=t("router-view"),l=t("RequestLoading"),_=t("TabBar");return o(),m("div",f,[s("div",b,[e.$route.meta.keepAlive?(o(),c(v,{key:0},[a(n)],1024)):(o(),c(n,{key:1})),a(l)]),s("div",k,[a(_,{data:B(u),onChang:i},null,8,["data"])])])}}});export{R as default};
|
1
dist/assets/logo.b28d5e28.js
vendored
1
dist/assets/logo.b28d5e28.js
vendored
@ -1 +0,0 @@
|
||||
var e="/Vue3-Vite-Vant-TS-H5/assets/logo.f1443e42.png";export{e as l};
|
BIN
dist/assets/logo.f1443e42.png
vendored
BIN
dist/assets/logo.f1443e42.png
vendored
Binary file not shown.
Before Width: | Height: | Size: 509 KiB |
20
dist/assets/vendor.17bdbd54.js
vendored
20
dist/assets/vendor.17bdbd54.js
vendored
File diff suppressed because one or more lines are too long
1
dist/assets/vendor.7dd8395f.css
vendored
1
dist/assets/vendor.7dd8395f.css
vendored
File diff suppressed because one or more lines are too long
BIN
dist/favicon.ico
vendored
BIN
dist/favicon.ico
vendored
Binary file not shown.
Before Width: | Height: | Size: 4.2 KiB |
17
dist/index.html
vendored
17
dist/index.html
vendored
@ -1,17 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<link rel="icon" href="/Vue3-Vite-Vant-TS-H5/favicon.ico" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<title>Vite App</title>
|
||||
<script type="module" crossorigin src="/Vue3-Vite-Vant-TS-H5/assets/index.4743b0b6.js"></script>
|
||||
<link rel="modulepreload" href="/Vue3-Vite-Vant-TS-H5/assets/vendor.17bdbd54.js">
|
||||
<link rel="stylesheet" href="/Vue3-Vite-Vant-TS-H5/assets/vendor.7dd8395f.css">
|
||||
<link rel="stylesheet" href="/Vue3-Vite-Vant-TS-H5/assets/index.b863cb84.css">
|
||||
</head>
|
||||
<body>
|
||||
<div id="app"></div>
|
||||
|
||||
</body>
|
||||
</html>
|
Loading…
x
Reference in New Issue
Block a user