2025/2/8第一次更新

This commit is contained in:
爱吃咸鱼小猫咪
2025-02-08 18:50:38 +08:00
commit d7af560866
26519 changed files with 5046029 additions and 0 deletions
+1
View File
@@ -0,0 +1 @@
"use strict";const e=require("../../common/vendor.js"),t=require("../../composables/useCommon.js"),o=e.defineComponent({__name:"AppSwiper",setup(o){e.ref(0);const n=e.ref();e.onLoad((async()=>{n.value=await t.getPageContent()}));const r=e.computed((()=>{var e;return null==(e=n.value)?void 0:e.home_banner.map((e=>({url:e.src,title:e.label})))}));return(t,o)=>({a:e.f(r.value,((t,o,n)=>({a:"url("+t.url+")",b:e.t(t.title),c:o})))})}}),n=e._export_sfc(o,[["__scopeId","data-v-490b083c"]]);wx.createComponent(n);
+4
View File
@@ -0,0 +1,4 @@
{
"component": true,
"usingComponents": {}
}
+1
View File
@@ -0,0 +1 @@
<view class="{{['data-v-490b083c', virtualHostClass]}}" style="{{'margin-top:0%' + ';' + virtualHostStyle}}"><swiper easing-function="default" previous-margin="20rpx" next-margin="60rpx" class="fui-banner__wrap2 data-v-490b083c" circular indicator-dots="{{false}}" autoplay><swiper-item wx:for="{{a}}" wx:for-item="item" wx:key="c" class="data-v-490b083c"><view class="fui-banner__item2 data-v-490b083c" style="{{'background-image:' + item.a}}"></view><view class="SwTitle2 data-v-490b083c">{{item.b}}</view></swiper-item></swiper></view>
+1
View File
@@ -0,0 +1 @@
.fui-banner__wrap2.data-v-490b083c{background-color:transparent;align-items:center;width:780rpx;height:450rpx;margin-left:0%;margin-right:0%}.fui-banner__item2.data-v-490b083c{background-size:cover;height:450rpx;color:#fff;display:flex;align-items:center;justify-content:center;font-size:34rpx;font-weight:600;border-radius:25rpx;margin-left:2%}
+1
View File
@@ -0,0 +1 @@
"use strict";const e=require("../../common/vendor.js"),o=require("../../stores/appStore.js");if(!Array){e.resolveComponent("up-tabs")()}Math;const n=e.defineComponent({__name:"AppTags",setup(n){const{workflows_all:t,home_tagActiveIndex:s,home_tagsList:a}=e.storeToRefs(o.useAppStore()),r=e.computed((()=>{var e;const o=[];return o.push({name:"全部",count:0}),null==(e=t.value)||e.forEach((e=>{null==e||e.tags.forEach((e=>{if(o.find((o=>o.name===e))){const n=o.findIndex((o=>o.name===e));o[n].count++}else o.push({name:e,count:1})})),o[0].count++})),o.sort(((e,o)=>o.count-e.count)),a.value=[...o],o})),u=e=>{console.log(e),s.value=e.index};return(o,n)=>({a:e.o(u),b:e.p({list:r.value})})}});wx.createComponent(n);
+6
View File
@@ -0,0 +1,6 @@
{
"component": true,
"usingComponents": {
"up-tabs": "../../node-modules/uview-plus/components/u-tabs/u-tabs"
}
}
+1
View File
@@ -0,0 +1 @@
<up-tabs wx:if="{{b}}" bindclick="{{a}}" u-i="adc23882-0" bind:__l="__l" u-p="{{b}}" class="{{[virtualHostClass]}}" virtualHostClass="{{[virtualHostClass]}}" style="{{virtualHostStyle}}" virtualHostStyle="{{virtualHostStyle}}"></up-tabs>
View File
+1
View File
@@ -0,0 +1 @@
"use strict";const e=require("../../common/vendor.js"),o=require("../../stores/appStore.js"),t=require("../../utils/common.js");Math||r();const r=()=>"../../node-modules/@tuniao/tnui-vue3-uniapp/components/water-fall/src/water-fall.js",a=e.defineComponent({__name:"AppWaterFall",setup(r){e.onMounted((()=>{o.useAppStore().initWorkFlows_All().then((()=>i()))}));const{workflows_all:a,home_tagActiveIndex:n,home_tagsList:l}=e.storeToRefs(o.useAppStore()),s=e.ref(),u=e.ref(),i=()=>{if(console.log("home_tagActiveIndex",n.value),0===n.value)return void(u.value=[...a.value]);const e=a.value.filter((e=>{var o;return null==(o=e.tags)?void 0:o.includes(l.value[n.value].name)}));console.log("result",e),u.value=[...e]};e.watch(n,(()=>{s.value&&s.value.reset(),i()}));const d=o.useAppStore(),c=o=>{d.tabbarIndex=null,e.index.navigateTo({url:"/pages/draw/draw_info/draw_info?id="+o._id})};return(o,r)=>({a:e.w((({item:o},r,a)=>e.e({a:e.unref(t.isVideo)(o.cover)},e.unref(t.isVideo)(o.cover)?{b:o.cover}:{c:o.cover},{d:e.o((e=>c(o))),e:a,f:r})),{name:"left",path:"a",vueId:"0bde9b9e-0"}),b:e.w((({item:o},r,a)=>e.e({a:e.unref(t.isVideo)(o.cover)},e.unref(t.isVideo)(o.cover)?{b:o.cover}:{c:o.cover},{d:e.o((e=>c(o))),e:a,f:r})),{name:"right",path:"b",vueId:"0bde9b9e-0"}),c:e.sr(s,"0bde9b9e-0",{k:"waterfallElement"}),d:e.p({data:u.value})})}}),n=e._export_sfc(a,[["__scopeId","data-v-0bde9b9e"]]);wx.createComponent(n);
@@ -0,0 +1,6 @@
{
"component": true,
"usingComponents": {
"tn-water-fall": "../../node-modules/@tuniao/tnui-vue3-uniapp/components/water-fall/src/water-fall"
}
}
@@ -0,0 +1 @@
<tn-water-fall wx:if="{{d}}" u-s="{{['left','right']}}" u-r="waterfallElement" u-i="0bde9b9e-0" bind:__l="__l" u-p="{{d}}" class="{{['r', 'data-v-0bde9b9e', virtualHostClass]}}" virtualHostClass="{{['r', 'data-v-0bde9b9e', virtualHostClass]}}" style="{{'margin-bottom:130rpx' + ';' + virtualHostStyle}}" virtualHostStyle="{{'margin-bottom:130rpx' + ';' + virtualHostStyle}}"><view wx:for="{{a}}" wx:for-item="v0" wx:key="e" slot="{{v0.f}}"><view class="waterfall-data data-v-0bde9b9e" bindtap="{{v0.d}}"><video wx:if="{{v0.a}}" class="video data-v-0bde9b9e" autoplay loop muted style="width:100%" object-fit="cover" controls="{{false}}" src="{{v0.b}}"/><image wx:else class="image data-v-0bde9b9e" src="{{v0.c}}" mode="widthFix"/></view></view><view wx:for="{{b}}" wx:for-item="v0" wx:key="e" slot="{{v0.f}}"><view class="waterfall-data data-v-0bde9b9e" bindtap="{{v0.d}}"><video wx:if="{{v0.a}}" class="video data-v-0bde9b9e" autoplay loop muted style="width:100%" object-fit="cover" controls="{{false}}" src="{{v0.b}}"/><image wx:else class="image data-v-0bde9b9e" src="{{v0.c}}" mode="widthFix"/></view></view></tn-water-fall>
@@ -0,0 +1 @@
.waterfall-data.data-v-0bde9b9e{width:calc(100% - 20rpx);margin:10rpx;border-radius:15rpx;box-shadow:#c8c7cc}.waterfall-data .image.data-v-0bde9b9e{width:100%;height:auto}.waterfall-data .video.data-v-0bde9b9e{border-radius:15rpx}
+1
View File
@@ -0,0 +1 @@
"use strict";const e=require("../../common/vendor.js"),o=require("../../types/index.js"),s=require("../../composables/useCommon.js"),t=require("../../composables/usePayment.js"),n=require("../../composables/useWorkFlow.js"),a=require("../../stores/appStore.js"),u=require("../../utils/emitter.js"),i=require("../../types/event.types.js"),c=require("../../utils/common.js");if(!Array){e.resolveComponent("up-button")()}Math||(l+r+(()=>"../../node-modules/uview-plus/components/u-button/u-button.js")+p)();const p=()=>"../../node-modules/@tuniao/tnui-vue3-uniapp/components/popup/src/popup.js",r=()=>"../../node-modules/@tuniao/tnui-vue3-uniapp/components/scroll-list/src/scroll-list.js",l=()=>"../../node-modules/@tuniao/tnui-vue3-uniapp/components/icon/src/icon.js",m=e.defineComponent({__name:"PaymentPopup",props:{title:{default:"请选择充值套餐"}},emits:["showPay"],setup(p){const{showPay:r}=e.storeToRefs(a.useAppStore()),l=e.computed({set:e=>{r.value=e,e||(d.value=0)},get:()=>{const{osName:o}=e.index.getSystemInfoSync();return!r.value||"ios"!==o&&"macos"!==o||(e.index.showToast({title:"IOS暂不支持在线支付",icon:"none"}),r.value=!1),r.value}});e.watch(l,(()=>{l.value&&v()}));const m=e.ref([]),d=e.ref(0);e.watch(d,(()=>{console.log(d.value)}));const{socketInit:v}=n.useWorkFlow();e.onReady((()=>{(async()=>{const e=await s.getProductList();e&&(m.value=e)})(),v({params:{type:o.IWebsocketSceneType.payStatusPush},onMessage:e=>{console.log("handle pay success message");const o=c.parseJSONToObject(e),{type:s}=o;"pay_success"===s&&(r.value=!1,u.emit(i.EventType.PAY_SUCCESS,{order_id:o.order_id}))}})}));const y=async()=>{if(!s.isLogin.value)return e.index.switchTab({url:"/pages/setting/setting"}),void e.index.showToast({title:"请先登录",icon:"none"});await v({params:{type:o.IWebsocketSceneType.payStatusPush}}),t.usePayHandlePayment(m.value[d.value])};return(o,s)=>({a:e.t(o.title),b:e.f(m.value,((o,s,t)=>e.e({a:e.t(o.name),b:e.t(o.amount/100),c:e.t(o.desc),d:s===d.value},s===d.value?{e:"7e29108b-2-"+t+",7e29108b-1",f:e.p({name:"check"})}:{},{g:e.o((e=>d.value=s),o._id),h:d.value===s?1:"",i:o._id,j:d.value===s?1:"",k:e.o((e=>d.value=s),o._id)}))),c:e.o(y),d:e.p({type:"primary",shape:"circle"}),e:e.o((e=>l.value=e)),f:e.p({"close-btn":!0,height:"66%","open-direction":"bottom",modelValue:l.value})})}}),d=e._export_sfc(m,[["__scopeId","data-v-7e29108b"]]);wx.createComponent(d);
@@ -0,0 +1,9 @@
{
"component": true,
"usingComponents": {
"up-button": "../../node-modules/uview-plus/components/u-button/u-button",
"tn-popup": "../../node-modules/@tuniao/tnui-vue3-uniapp/components/popup/src/popup",
"tn-scroll-list": "../../node-modules/@tuniao/tnui-vue3-uniapp/components/scroll-list/src/scroll-list",
"tn-icon": "../../node-modules/@tuniao/tnui-vue3-uniapp/components/icon/src/icon"
}
}
@@ -0,0 +1 @@
<tn-popup wx:if="{{f}}" u-s="{{['d']}}" u-i="7e29108b-0" bind:__l="__l" bindupdateModelValue="{{e}}" u-p="{{f}}" class="{{['data-v-7e29108b', virtualHostClass]}}" virtualHostClass="{{['data-v-7e29108b', virtualHostClass]}}" style="{{virtualHostStyle}}" virtualHostStyle="{{virtualHostStyle}}"><view class="popup-container data-v-7e29108b"><view class="tn-text-center title tn-text-xl tn-gray-dark_text data-v-7e29108b"><text class="data-v-7e29108b">{{a}}</text></view><view class="data-v-7e29108b"><tn-scroll-list class="data-v-7e29108b" virtualHostClass="data-v-7e29108b" u-s="{{['d']}}" u-i="7e29108b-1,7e29108b-0" bind:__l="__l"><view class="item-container data-v-7e29108b"><view wx:for="{{b}}" wx:for-item="item" wx:key="i" class="{{[item.j && 'selected', 'scroll-item', 'tn-flex-center', 'tn-flex-column', 'data-v-7e29108b']}}" bindtap="{{item.k}}"><view bindtap="{{item.g}}" class="{{[item.h && 'selected', 'empty', 'data-v-7e29108b']}}"><view class="tn-text data-v-7e29108b" style="margin-bottom:10rpx">{{item.a}}</view><view class="data-v-7e29108b"><label class="tn-text-sm data-v-7e29108b">¥</label><label class="tn-text-bold tn-text-xl data-v-7e29108b">{{item.b}}</label></view><view class="tn-text-xs data-v-7e29108b" style="margin-top:20rpx">{{item.c}}</view><view class="selected-icon data-v-7e29108b"><tn-icon wx:if="{{item.d}}" class="data-v-7e29108b" virtualHostClass="data-v-7e29108b" u-i="{{item.e}}" bind:__l="__l" u-p="{{item.f}}"/></view></view></view></view></tn-scroll-list></view><view class="data-v-7e29108b" style="margin:10rpx 10%;width:80%"><up-button wx:if="{{d}}" u-s="{{['d']}}" bindclick="{{c}}" class="button-pay data-v-7e29108b" virtualHostClass="button-pay data-v-7e29108b" u-i="7e29108b-3,7e29108b-0" bind:__l="__l" u-p="{{d}}">立即购买</up-button></view><view class="data-v-7e29108b"></view></view></tn-popup>
@@ -0,0 +1 @@
.popup-container.data-v-7e29108b{height:100%;padding:20rpx;box-sizing:border-box}.popup-container .title.data-v-7e29108b{margin:20rpx 0}.item-container.data-v-7e29108b{position:relative;width:-moz-fit-content;width:fit-content;display:flex;flex-wrap:nowrap}.item-container .scroll-item.data-v-7e29108b{flex-grow:1;flex-shrink:0}.item-container .scroll-item .empty.data-v-7e29108b{margin:10rpx;width:220rpx;height:300rpx;border-radius:15rpx;display:flex;flex-direction:column;justify-content:center;align-items:center;background-color:#f2f4f6;transition:all .3s ease}.item-container .scroll-item .empty.selected.data-v-7e29108b{background:linear-gradient(to bottom,#fdf8f0,#f2e1c9);border:2rpx solid #D6AE70;transform:scale(1.05)}.item-container .scroll-item .title.data-v-7e29108b{margin-top:10rpx}.button-pay.data-v-7e29108b{background:linear-gradient(to right,#857ed1,#4338ca);border-radius:50px;box-shadow:0 3px 5px var(--primary-color-light)}.selected-icon.data-v-7e29108b{position:absolute;bottom:0;right:0;-moz-border-radius-bottomright:15rpx;background-color:#cb9749;color:#fff}
+1
View File
@@ -0,0 +1 @@
"use strict";const e=require("../../common/vendor.js");if(!Array){e.resolveComponent("up-search")()}Math;const o=e.defineComponent({__name:"Search",setup(o){const n=e.ref("");return(o,r)=>({a:e.o((e=>n.value=e)),b:e.p({placeholder:"搜应用搜创意,一键直达",modelValue:n.value})})}});wx.createComponent(o);
+6
View File
@@ -0,0 +1,6 @@
{
"component": true,
"usingComponents": {
"up-search": "../../node-modules/uview-plus/components/u-search/u-search"
}
}
+1
View File
@@ -0,0 +1 @@
<view class="{{['searchColor', virtualHostClass]}}" style="{{virtualHostStyle}}"><up-search wx:if="{{b}}" u-i="6af37b5a-0" bind:__l="__l" bindupdateModelValue="{{a}}" u-p="{{b}}"></up-search></view>
+1
View File
@@ -0,0 +1 @@
.search{border-color:gray}.searchColor{margin-left:5%;margin-right:5%}
@@ -0,0 +1 @@
"use strict";const e=require("../../common/vendor.js"),n=require("../../composables/useCommon.js"),o=require("../../utils/common.js"),t=require("../../utils/emitter.js"),a=require("../../types/event.types.js");Math||i();const i=()=>"../../node-modules/@tuniao/tnui-vue3-uniapp/components/icon/src/icon.js",u=e.defineComponent({__name:"UserMemberInfo",setup(i){const u=e.ref(),r=async()=>{if(!n.isLogin.value)return;const e=await n.getUserVipInfo();e&&(u.value=e)};r(),e.watch(n.isLogin,(()=>{n.isLogin.value&&r()}));const s=e.computed((()=>{var e,t;return n.isLogin.value?{vipName:null==(e=u.value)?void 0:e.org_id.name,expire_date:o.formatDateTime(new Date(null==(t=u.value)?void 0:t.expire_date),"YYYY-MM-DD")}:null}));return e.onLoad((()=>{t.on(a.EventType.PAY_SUCCESS,(()=>{r()}))})),e.onUnload((()=>{t.off(a.EventType.PAY_SUCCESS)})),(n,o)=>{var t,a;return e.e({a:u.value},u.value?{b:e.p({name:"vip-diamond"}),c:e.t(null==(t=s.value)?void 0:t.vipName)}:{},{d:u.value},u.value?{e:e.t(null==(a=s.value)?void 0:a.expire_date)}:{})}}}),r=e._export_sfc(u,[["__scopeId","data-v-079242f1"]]);wx.createComponent(r);
@@ -0,0 +1,6 @@
{
"component": true,
"usingComponents": {
"tn-icon": "../../node-modules/@tuniao/tnui-vue3-uniapp/components/icon/src/icon"
}
}
@@ -0,0 +1 @@
<view wx:if="{{a}}" class="data-v-079242f1"><slot name="username"></slot><label class="tag data-v-079242f1"><tn-icon wx:if="{{b}}" class="data-v-079242f1" virtualHostClass="data-v-079242f1" u-i="079242f1-0" bind:__l="__l" u-p="{{b}}"/>{{c}}</label></view><view wx:if="{{d}}" class="data-v-079242f1"><label class="tn-text-sm tn-gray_text data-v-079242f1">有效期{{e}}</label></view>
@@ -0,0 +1 @@
.tag.data-v-079242f1{background-color:#daa520;color:#fff;padding:0 20rpx;border-radius:20rpx}