Compare commits
10 Commits
72494ce658
...
b7b4b3b69c
Author | SHA1 | Date | |
---|---|---|---|
![]() |
b7b4b3b69c | ||
![]() |
680597131b | ||
![]() |
83c8734934 | ||
![]() |
5ad510363f | ||
![]() |
1d8ff05f9b | ||
![]() |
34b1687a06 | ||
![]() |
044359a805 | ||
![]() |
82e4a4e51b | ||
![]() |
2d6f736c70 | ||
![]() |
7d0564c408 |
14
README.md
14
README.md
@ -6,7 +6,7 @@ EasyAi-uniapp—前端优化(二开)版本
|
||||
## 另外,作者还支持该小程序的定制修改,以及Comfyui的定制节点,有需要可以加作者微信咨询:hdmlgzs
|
||||
## 关于小程序不能链接 xxxxxxxx/websocket的报错,需要在nginx后台中再以3002端口配置一个/websocket的反向代理就可以了
|
||||
|
||||
<img src="https://github.com/chinahu-woker/easyai2work/blob/master/%E5%BE%AE%E4%BF%A1%E6%88%AA%E5%9B%BE_20250216113853.png" width="210px">
|
||||
|
||||
|
||||
## 安装教程
|
||||
【官网文档】:https://doc.51easyai.com/getting-started/quickstart
|
||||
@ -23,6 +23,16 @@ EasyAi-uniapp—前端优化(二开)版本
|
||||
5.麻烦大家不要用作者的oss图片,作者是按量付费的,项目也没做成,钱也花了一大堆。我把前端用到的静态资源给大家放在/src/static文件里了。大家自己上传oss替换掉就行了
|
||||
|
||||
|
||||
|
||||
|
||||
## 2025/2/24第3次更新
|
||||
### 0. 优化了绘画历史图片显示,新增加画廊
|
||||
### 1. 优化了个人主页的ui
|
||||
<img src="https://github.com/chinahu-woker/easyai2work/blob/master/20250224myself.png" width="210px"/><img src="https://github.com/chinahu-woker/easyai2work/blob/master/pic.png" width="210px"/>
|
||||
|
||||
|
||||
|
||||
|
||||
## 2025/2/16第2次更新
|
||||
### 0. 修改.env文件里的域名VITE_CHAT_URL是你oneapi的域名(完成大语言模型配置)
|
||||
### 1. 新增加了AI聊天页面,支持对接官方的oneapi接口,可以通过oneapi对接各大ai厂商,实现对话功能
|
||||
@ -30,8 +40,6 @@ EasyAi-uniapp—前端优化(二开)版本
|
||||
### 3. 支持官方3.0.2版本的管理后台
|
||||
### 4. 搭建之前请按照官方文档把所有的配置都配置好!!!
|
||||
### 5. 支持点击消息复制消息,AI对话,模型/渠道选择(oneapi的渠道)
|
||||
<img src="https://github.com/chinahu-woker/easyai2work/blob/master/%E5%BE%AE%E4%BF%A1%E6%88%AA%E5%9B%BE_20250216113853.png" width="210px"/>
|
||||
|
||||
|
||||
|
||||
## 2025/2/8第一次更新;
|
||||
|
1
dist/build/mp-weixin/app.js
vendored
1
dist/build/mp-weixin/app.js
vendored
@ -1 +0,0 @@
|
||||
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./common/vendor.js"),o=require("./stores/appStore.js");Math;const n=e.defineComponent({__name:"App",setup(n){e.onLoad((()=>{console.log("App onLoad")})),e.onShow((()=>{console.log("App onShow")})),e.onHide((()=>{console.log("App onHide")})),o.useAppStore().init();const t=e.reactive({socket:null,isInitialized:!1});e.provide("socketState",t);const{uniPlatform:p}=e.index.getSystemInfoSync();return console.log("平台信息",p),()=>{}}});function t(){const o=e.createSSRApp(n),t=e.createPinia();return o.use(t),o.use(e.uviewPlus),{app:o}}t().app.mount("#app"),exports.createApp=t;
|
19
dist/build/mp-weixin/app.json
vendored
19
dist/build/mp-weixin/app.json
vendored
@ -1,19 +0,0 @@
|
||||
{
|
||||
"pages": [
|
||||
"pages/index/index",
|
||||
"pages/creative/creative",
|
||||
"pages/home/home",
|
||||
"pages/setting/setting",
|
||||
"pages/history/history",
|
||||
"pages/draw/apps/apps",
|
||||
"pages/Empty/Empty",
|
||||
"pages/history/history_fui/history_fui",
|
||||
"pages/draw/draw_info/draw_info"
|
||||
],
|
||||
"window": {
|
||||
"navigationBarTextStyle": "black",
|
||||
"navigationBarTitleText": "Fuzi-AI",
|
||||
"navigationStyle": "custom"
|
||||
},
|
||||
"usingComponents": {}
|
||||
}
|
2
dist/build/mp-weixin/app.wxss
vendored
2
dist/build/mp-weixin/app.wxss
vendored
File diff suppressed because one or more lines are too long
1
dist/build/mp-weixin/common/assets.js
vendored
1
dist/build/mp-weixin/common/assets.js
vendored
@ -1 +0,0 @@
|
||||
"use strict";exports._imports_0="/static/images/index/light/icon_member_3x.png";
|
15
dist/build/mp-weixin/common/vendor.js
vendored
15
dist/build/mp-weixin/common/vendor.js
vendored
File diff suppressed because one or more lines are too long
@ -1,7 +0,0 @@
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {
|
||||
"fui-tabs": "./firstui/fui-tabs/fui-tabs",
|
||||
"fui-nav-bar": "./firstui/fui-nav-bar/fui-nav-bar"
|
||||
}
|
||||
}
|
@ -1 +0,0 @@
|
||||
<view class="{{['data-v-b20dfc4d', virtualHostClass]}}" style="{{'margin-top:10%;margin-bottom:10%' + ';' + virtualHostStyle}}"><fui-nav-bar wx:if="{{c}}" class="data-v-b20dfc4d" virtualHostClass="data-v-b20dfc4d" u-s="{{['d']}}" u-i="b20dfc4d-0" bind:__l="__l" u-p="{{c}}"><view class="fui-search__box data-v-b20dfc4d"><fui-tabs wx:if="{{b}}" class="tabs_class data-v-b20dfc4d" virtualHostClass="tabs_class data-v-b20dfc4d" bindchange="{{a}}" u-i="b20dfc4d-1,b20dfc4d-0" bind:__l="__l" u-p="{{b}}"></fui-tabs></view></fui-nav-bar></view>
|
@ -1 +0,0 @@
|
||||
"use strict";const e=require("../common/vendor.js"),n=require("../utils/request.js"),o=require("../composables/useCommon.js");Math||(s+a+u)();const u=()=>"../node-modules/tnuiv3p-tn-update-user-info-popup/index.js",a=()=>"../node-modules/@tuniao/tnui-vue3-uniapp/components/button/src/button.js",s=()=>"../node-modules/@tuniao/tnui-vue3-uniapp/components/icon/src/icon.js",t=e.defineComponent({__name:"GetUserInfoPopup",setup(u){const a=e.ref(!1),s=e.ref(""),t=e.ref(""),i=async e=>{const o=await n.uploadFile(e);o&&(t.value=o)},p=async()=>{const e=await o.updateUserInfo({nickname:s.value,avatar_url:t.value});o.saveLoginInfo(e)};return(n,o)=>({a:e.p({name:"edit"}),b:e.o((()=>a.value=!0)),c:e.p({size:"sm",plain:!0}),d:e.o(i),e:e.o(p),f:e.o((e=>a.value=e)),g:e.o((e=>s.value=e)),h:e.o((e=>t.value=e)),i:e.p({show:a.value,nickname:s.value,avatar:t.value})})}});wx.createComponent(t);
|
@ -1,8 +0,0 @@
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {
|
||||
"tn-update-user-info-popup": "../node-modules/tnuiv3p-tn-update-user-info-popup/index",
|
||||
"tn-button": "../node-modules/@tuniao/tnui-vue3-uniapp/components/button/src/button",
|
||||
"tn-icon": "../node-modules/@tuniao/tnui-vue3-uniapp/components/icon/src/icon"
|
||||
}
|
||||
}
|
@ -1 +0,0 @@
|
||||
<tn-button wx:if="{{c}}" u-s="{{['d']}}" bindclick="{{b}}" u-i="4c9796ca-0" bind:__l="__l" u-p="{{c}}"><tn-icon wx:if="{{a}}" u-i="4c9796ca-1,4c9796ca-0" bind:__l="__l" u-p="{{a}}"/> 修改头像和昵称 </tn-button><tn-update-user-info-popup wx:if="{{i}}" bindchooseAvatar="{{d}}" bindconfirm="{{e}}" u-i="4c9796ca-2" bind:__l="__l" bindupdateShow="{{f}}" bindupdateNickname="{{g}}" bindupdateAvatar="{{h}}" u-p="{{i}}"/>
|
File diff suppressed because one or more lines are too long
@ -1,12 +0,0 @@
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {
|
||||
"fui-background-image": "./firstui/fui-background-image/fui-background-image",
|
||||
"up-swiper": "../node-modules/uview-plus/components/u-swiper/u-swiper",
|
||||
"fui-parse": "./firstui/fui-parse/fui-parse",
|
||||
"fui-parse-group": "./firstui/fui-parse-group/fui-parse-group",
|
||||
"fui-fab": "./firstui/fui-fab/fui-fab",
|
||||
"my-popup": "./common/MyPopup",
|
||||
"tn-icon": "../node-modules/@tuniao/tnui-vue3-uniapp/components/icon/src/icon"
|
||||
}
|
||||
}
|
@ -1 +0,0 @@
|
||||
<my-popup wx:if="{{m}}" u-s="{{['d']}}" u-i="ff8314f5-0" bind:__l="__l" bindupdateModelValue="{{l}}" u-p="{{m}}" class="{{['data-v-ff8314f5', virtualHostClass]}}" virtualHostClass="{{['data-v-ff8314f5', virtualHostClass]}}" style="{{virtualHostStyle}}" virtualHostStyle="{{virtualHostStyle}}"><view class="data-v-ff8314f5"><fui-background-image wx:if="{{a}}" class="data-v-ff8314f5" virtualHostClass="data-v-ff8314f5" style="z-index:1" virtualHostStyle="z-index:1" u-i="ff8314f5-1,ff8314f5-0" bind:__l="__l" u-p="{{a}}"></fui-background-image><view class="data-v-ff8314f5" style="padding:200rpx 40rpx 0 40rpx;position:relative" bindtouchend="{{j}}" bindtouchstart="{{k}}"><view class="data-v-ff8314f5"><view class="data-v-ff8314f5"><view class="data-v-ff8314f5"><swiper class="fui-banner__wrap data-v-ff8314f5" bindchange="{{c}}" circular indicator-dots="{{false}}" autoplay="{{true}}" interval="{{10000}}" duration="{{150}}"><swiper-item wx:for="{{b}}" wx:for-item="item" wx:key="t" class="data-v-ff8314f5"><view class="data-v-ff8314f5"><view wx:if="{{item.a}}" class="data-v-ff8314f5"><up-swiper wx:if="{{item.e}}" class="data-v-ff8314f5" virtualHostClass="data-v-ff8314f5" bindclick="{{item.b}}" bindchange="{{item.c}}" u-i="{{item.d}}" bind:__l="__l" u-p="{{item.e}}"></up-swiper><view class="data-v-ff8314f5" style="margin-top:6rpx"><view class="data-v-ff8314f5"><tn-icon wx:if="{{item.g}}" class="params-icon data-v-ff8314f5" virtualHostClass="params-icon data-v-ff8314f5" u-i="{{item.f}}" bind:__l="__l" u-p="{{item.g}}"/><label class="tn-text data-v-ff8314f5">提示词</label></view><label style="padding:10rpx" class="tn-text tn-text-ellipsis-3 data-v-ff8314f5">{{item.h}}</label><view class="data-v-ff8314f5"></view></view></view><view wx:if="{{item.i}}" class="data-v-ff8314f5"><view class="data-v-ff8314f5"><view class="fui-list__item CardStyle data-v-ff8314f5"><video class="data-v-ff8314f5" style="width:80%;height:480px;margin-top:0%;background-color:transparent" id="myVideo" src="{{item.j}}" controls></video></view></view></view><view wx:if="{{item.k}}" class="data-v-ff8314f5"><view class="data-v-ff8314f5" style="margin-left:10%;margin-right:10%;margin-top:0%"><scroll-view scroll-y="true" class="scroll-Y data-v-ff8314f5"><view class="data-v-ff8314f5" style="text-align:center"><image class="data-v-ff8314f5" style="width:200px;height:300px;background-color:#eeeeee" mode="scaleToFill" src="{{item.l}}"></image></view><fui-parse-group wx:if="{{item.p}}" u-s="{{['d']}}" class="custom-view data-v-ff8314f5" virtualHostClass="custom-view data-v-ff8314f5" u-i="{{item.o}}" bind:__l="__l" u-p="{{item.p}}"><fui-parse wx:if="{{item.n}}" class="data-v-ff8314f5" virtualHostClass="data-v-ff8314f5" u-i="{{item.m}}" bind:__l="__l" u-p="{{item.n}}"></fui-parse></fui-parse-group></scroll-view><fui-fab wx:if="{{item.s}}" class="data-v-ff8314f5" virtualHostClass="data-v-ff8314f5" bindclick="{{item.q}}" u-i="{{item.r}}" bind:__l="__l" u-p="{{item.s}}"></fui-fab></view></view></view></swiper-item></swiper></view><view class="data-v-ff8314f5"><view wx:if="{{d}}" class="progress-container data-v-ff8314f5" animation="{{g}}"><view class="tn-text-center data-v-ff8314f5"><tn-icon wx:if="{{e}}" class="data-v-ff8314f5" virtualHostClass="data-v-ff8314f5" u-i="ff8314f5-7,ff8314f5-0" bind:__l="__l" u-p="{{e}}"/></view><view class="tn-text tn-text-center tn-text-bold tn-white_text data-v-ff8314f5">{{f}}</view><view class="tn-text-sm tn-text-center tn-white_text data-v-ff8314f5"> 关闭页面不影响生成结果 </view><view class="tn-text-sm tn-text-center tn-white_text data-v-ff8314f5"> 视频生成时间较长,稍后可到 </view><view class="tn-text-sm tn-text-center tn-white_text data-v-ff8314f5"> “绘图历史”中查询 </view></view></view><view class="image-count data-v-ff8314f5"><tn-icon wx:if="{{h}}" class="data-v-ff8314f5" virtualHostClass="data-v-ff8314f5" style="color:gainsboro" virtualHostStyle="color:gainsboro" u-i="ff8314f5-8,ff8314f5-0" bind:__l="__l" u-p="{{h}}"></tn-icon><label style="color:gainsboro;margin-left:3rpx" class="tn-text-sm data-v-ff8314f5">{{i}}</label></view></view></view></view><view class="data-v-ff8314f5"></view><view class="bottom-container data-v-ff8314f5"><view class="data-v-ff8314f5" style="display:flex"></view></view></view><view class="data-v-ff8314f5"></view></my-popup>
|
@ -1 +0,0 @@
|
||||
.fui-banner__item.data-v-ff8314f5{width:100%;height:1400rpx;color:#fff;display:flex;align-items:center;justify-content:center;font-size:34rpx;font-weight:600}.fui-banner__wrap.data-v-ff8314f5{z-index:110;height:1500rpx}.CardStyle.data-v-ff8314f5{margin-top:20%;text-align:center}.fui-section__title.data-v-ff8314f5{margin-left:32rpx}.custom-view.data-v-ff8314f5{padding:10px;color:#333;font-size:16px}.scroll-Y.data-v-ff8314f5{height:1200rpx}.fui-scroll__view.data-v-ff8314f5{width:100%;height:600rpx}.progress-container.data-v-ff8314f5{z-index:110;position:absolute;top:35%;left:50%;transform:translate(-50%,-50%)}.bottom-container.data-v-ff8314f5{display:flex;justify-content:space-between;align-items:center;position:fixed;bottom:40rpx;width:100%;padding-bottom:5%;padding-left:5%;padding-right:5%}.bottom-icon.data-v-ff8314f5{position:relative;display:flex;justify-content:center;align-items:center;width:90rpx;height:90rpx;color:#857ed1;margin-right:20rpx;background-color:#f3f4f6;border-radius:50%;font-size:70rpx;box-shadow:0 5px 15px rgba(46,54,80,.3);overflow:hidden}.bottom-icon.data-v-ff8314f5:before{content:"";position:absolute;width:100%;height:100%;border-radius:50%;background:rgba(0,0,0,.2);transform:scale(0);opacity:0;pointer-events:none;transition:transform .6s,opacity .6s}.bottom-icon.data-v-ff8314f5:active:before{transform:scale(4);opacity:1}.params-icon.data-v-ff8314f5{color:gray;margin-right:20rpx}.image-count.data-v-ff8314f5{position:absolute;right:120rpx;bottom:120rpx}
|
@ -1 +0,0 @@
|
||||
"use strict";const e=require("../../common/vendor.js"),o=e.defineComponent({__name:"DragButton2",props:e.mergeModels({disabled:{type:Boolean,default:!1},canDocking:{type:Boolean,default:!0},bottomPx:{default:30},rightPx:{default:0}},{modelValue:{default:{x:1e4,y:1e4}},modelModifiers:{}}),emits:e.mergeModels(["clickBtn"],["update:modelValue"]),setup(o,{emit:l}){const t=o,a=e.ref(0),n=e.ref(0),d=e.ref(0);e.ref(0);const i=e.useModel(o,"modelValue"),u=e.reactive({x:0,y:0});e.onLoad((()=>{e.nextTick$1((()=>{(()=>{let o=e.index.getSystemInfoSync();a.value=o.windowWidth,n.value=o.windowHeight,i.value.x=o.windowWidth-t.rightPx,i.value.y=o.windowHeight-t.bottomPx-300})()}))}));const c=e=>{u.x=e.detail.x,u.y=e.detail.y},v=e.ref(!0),x=e=>{v.value=!0},r=o=>{if(t.canDocking&&void 0!==u.x){i.value.x=u.x,i.value.y=u.y;let o=(a.value-d.value)/2;console.log("bwidth",o),i.value.x<=0||i.value.x>=0&&i.value.x<=o?e.nextTick$1((e=>{i.value.x=0})):e.nextTick$1((e=>{i.value.x=a.value-d.value})),v.value=!1}},s=l,f=()=>{s("clickBtn",null)};return(o,l)=>({a:e.n(v.value?"":"animation-info"),b:e.o(f),c:e.o(x),d:e.o(r),e:e.o(c),f:i.value.x,g:i.value.y,h:o.disabled})}}),l=e._export_sfc(o,[["__scopeId","data-v-4da50619"]]);wx.createComponent(l);
|
@ -1 +0,0 @@
|
||||
<view class="{{['data-v-4da50619', virtualHostClass]}}" style="{{virtualHostStyle}}"><movable-area class="movable-area data-v-4da50619" scale-area="{{false}}"><movable-view id="movable-view" class="{{['movable-view', 'data-v-4da50619', a]}}" style="pointer-events:auto" bindtap="{{b}}" bindtouchstart="{{c}}" bindtouchend="{{d}}" bindchange="{{e}}" direction="all" inertia="true" x="{{f}}" y="{{g}}" disabled="{{h}}" out-of-bounds="{{true}}" damping="{{200}}" friction="{{100}}"><block wx:if="{{$slots.d}}"><slot></slot></block><block wx:else><view class="content-default data-v-4da50619"><slot name="text-content"></slot></view></block></movable-view></movable-area></view>
|
@ -1 +0,0 @@
|
||||
.movable-view.data-v-4da50619{width:100rpx;height:100rpx;background:transparent;font-size:26rpx;touch-action:none;display:flex;align-items:center;justify-content:center}.content-default.data-v-4da50619{width:100rpx;height:100rpx;background:linear-gradient(360deg,#865e4d,#4338ca);box-shadow:0 4rpx 12rpx #adc3f8;border-radius:50rpx;color:#fff;display:flex;align-items:center;justify-content:center;animation:verticalMove 2s ease-in-out infinite}.animation-info.data-v-4da50619{transition:left .25s ease}.movable-area.data-v-4da50619{width:100%;height:100%;position:fixed;top:0;left:0;right:0;bottom:0;z-index:999999!important;pointer-events:none}
|
@ -1 +0,0 @@
|
||||
"use strict";const o=require("../../common/vendor.js");if(!Array){o.resolveComponent("up-back-top")()}Math;const e=o.defineComponent({__name:"MyBackToTop",setup(e){const n=o.ref(0);return o.onPageScroll((o=>{n.value=o.scrollTop})),(e,r)=>({a:o.p({"scroll-top":n.value})})}});e.__runtimeHooks=1,wx.createComponent(e);
|
@ -1,6 +0,0 @@
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {
|
||||
"up-back-top": "../../node-modules/uview-plus/components/u-back-top/u-back-top"
|
||||
}
|
||||
}
|
@ -1 +0,0 @@
|
||||
<up-back-top wx:if="{{a}}" u-i="7f4da841-0" bind:__l="__l" u-p="{{a}}" class="{{[virtualHostClass]}}" virtualHostClass="{{[virtualHostClass]}}" style="{{virtualHostStyle}}" virtualHostStyle="{{virtualHostStyle}}"></up-back-top>
|
@ -1,8 +0,0 @@
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {
|
||||
"up-button": "../../node-modules/uview-plus/components/u-button/u-button",
|
||||
"up-card": "../../node-modules/uview-plus/components/u-card/u-card",
|
||||
"custom-slider": "../dynamic/CustomSlider"
|
||||
}
|
||||
}
|
@ -1 +0,0 @@
|
||||
<up-card wx:if="{{b}}" u-s="{{['body','foot']}}" u-i="1aae44f2-0" bind:__l="__l" u-p="{{b}}" class="{{[virtualHostClass]}}" virtualHostClass="{{[virtualHostClass]}}" style="{{virtualHostStyle}}" virtualHostStyle="{{virtualHostStyle}}"><custom-slider u-i="1aae44f2-1,1aae44f2-0" bind:__l="__l" slot="body"/><up-button u-s="{{['d']}}" u-i="1aae44f2-2,1aae44f2-0" bind:__l="__l" u-p="{{a}}" slot="foot">操作</up-button></up-card>
|
@ -1 +0,0 @@
|
||||
"use strict";const e=require("../../common/vendor.js");if(!Array){e.resolveComponent("up-navbar-mini")()}Math;const n=e.defineComponent({__name:"MyNavbar",setup:n=>(n,o)=>({a:e.p({autoBack:!0,homeUrl:"/pages/index/index"})})});wx.createComponent(n);
|
@ -1,6 +0,0 @@
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {
|
||||
"up-navbar-mini": "../../node-modules/uview-plus/components/u-navbar-mini/u-navbar-mini"
|
||||
}
|
||||
}
|
@ -1 +0,0 @@
|
||||
<up-navbar-mini wx:if="{{a}}" u-i="33bfbb72-0" bind:__l="__l" u-p="{{a}}" class="{{[virtualHostClass]}}" virtualHostClass="{{[virtualHostClass]}}" style="{{virtualHostStyle}}" virtualHostStyle="{{virtualHostStyle}}"></up-navbar-mini>
|
@ -1 +0,0 @@
|
||||
"use strict";const e=require("../../common/vendor.js");Math||o();const o=()=>"../../node-modules/@tuniao/tnui-vue3-uniapp/components/popup/src/popup.js",t=e.defineComponent({__name:"MyPopup",props:{modelValue:{default:!1},modelModifiers:{}},emits:["update:modelValue"],setup(o){const t=e.useModel(o,"modelValue");return(o,u)=>({a:e.o((e=>t.value=e)),b:e.p({top:"100rpx","close-btn":!0,width:"100%",height:"100%",modelValue:t.value})})}});wx.createComponent(t);
|
@ -1,6 +0,0 @@
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {
|
||||
"tn-popup": "../../node-modules/@tuniao/tnui-vue3-uniapp/components/popup/src/popup"
|
||||
}
|
||||
}
|
@ -1 +0,0 @@
|
||||
<tn-popup wx:if="{{b}}" u-s="{{['d']}}" u-i="279bb73a-0" bind:__l="__l" bindupdateModelValue="{{a}}" u-p="{{b}}" class="{{[virtualHostClass]}}" virtualHostClass="{{[virtualHostClass]}}" style="{{'z-index:100' + ';' + virtualHostStyle}}" virtualHostStyle="{{'z-index:100' + ';' + virtualHostStyle}}"><block wx:if="{{$slots.d}}"><slot></slot></block><block wx:else><view class="tn-p-lg"> 弹框内容 </view></block></tn-popup>
|
@ -1 +0,0 @@
|
||||
"use strict";const e=require("../../common/vendor.js");Math||t();const t=()=>"../../node-modules/@tuniao/tnui-vue3-uniapp/components/title/src/title.js",n=e.defineComponent({__name:"MyTitle",props:{title:{default:"默认标题"}},setup:t=>(t,n)=>({a:e.p({title:t.title,mode:"vLine"})})});wx.createComponent(n);
|
@ -1,6 +0,0 @@
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {
|
||||
"tn-title": "../../node-modules/@tuniao/tnui-vue3-uniapp/components/title/src/title"
|
||||
}
|
||||
}
|
@ -1 +0,0 @@
|
||||
<tn-title wx:if="{{a}}" u-i="65ee9a34-0" bind:__l="__l" u-p="{{a}}" class="{{[virtualHostClass]}}" virtualHostClass="{{[virtualHostClass]}}" style="{{virtualHostStyle}}" virtualHostStyle="{{virtualHostStyle}}"/>
|
@ -1 +0,0 @@
|
||||
"use strict";const e=require("../../common/vendor.js"),t={};if(!Array){e.resolveComponent("up-gap")()}Math;const o=e._export_sfc(t,[["render",function(t,o){return{a:e.p({height:"10"}),b:e.p({height:"10"})}}],["__scopeId","data-v-9626f326"]]);wx.createComponent(o);
|
@ -1,6 +0,0 @@
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {
|
||||
"up-gap": "../../node-modules/uview-plus/components/u-gap/u-gap"
|
||||
}
|
||||
}
|
@ -1 +0,0 @@
|
||||
<view class="{{['param-card', 'data-v-9626f326', virtualHostClass]}}" style="{{virtualHostStyle}}"><up-gap wx:if="{{a}}" class="data-v-9626f326" virtualHostClass="data-v-9626f326" u-i="9626f326-0" bind:__l="__l" u-p="{{a}}"></up-gap><slot name="title"></slot><up-gap wx:if="{{b}}" class="data-v-9626f326" virtualHostClass="data-v-9626f326" u-i="9626f326-1" bind:__l="__l" u-p="{{b}}"></up-gap><slot name="body"></slot></view>
|
@ -1 +0,0 @@
|
||||
.param-card.data-v-9626f326{border:2rpx solid #F6F7FA;border-radius:5rpx;background-color:#fff;padding:8rpx;margin:0 8rpx 8rpx}
|
@ -1 +0,0 @@
|
||||
"use strict";const e=require("../../common/vendor.js"),o=require("../../stores/appStore.js");Math||(s+n)();const n=()=>"../../node-modules/@tuniao/tnui-vue3-uniapp/components/popup/src/popup.js",s=()=>"../../node-modules/@tuniao/tnui-vue3-uniapp/components/circle-progress/src/circle-progress.js",t=e.defineComponent({__name:"TaskExcuting",setup(n){const{showExecuting:s}=e.storeToRefs(o.useAppStore());e.watch(s,(()=>{console.log("showExcuting",s)}));const t=e.ref(30);return(o,n)=>e.e({a:e.unref(s)},e.unref(s)?{b:e.t(t.value),c:e.p({percent:t.value}),d:e.o((o=>e.isRef(s)?s.value=o:null)),e:e.p({width:"80%",height:"450","close-btn":!0,"overlay-closeable":!1,modelValue:e.unref(s)})}:{})}});wx.createComponent(t);
|
@ -1,7 +0,0 @@
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {
|
||||
"tn-popup": "../../node-modules/@tuniao/tnui-vue3-uniapp/components/popup/src/popup",
|
||||
"tn-circle-progress": "../../node-modules/@tuniao/tnui-vue3-uniapp/components/circle-progress/src/circle-progress"
|
||||
}
|
||||
}
|
@ -1 +0,0 @@
|
||||
<tn-popup wx:if="{{a}}" u-s="{{['d']}}" u-i="331d61e4-0" bind:__l="__l" bindupdateModelValue="{{d}}" u-p="{{e}}" class="{{[virtualHostClass]}}" virtualHostClass="{{[virtualHostClass]}}" style="{{virtualHostStyle}}" virtualHostStyle="{{virtualHostStyle}}"><view class="tn-p-lg tn"> 正在绘图中 </view><view class="tn-flex-center"><tn-circle-progress wx:if="{{c}}" u-s="{{['d']}}" u-i="331d61e4-1,331d61e4-0" bind:__l="__l" u-p="{{c}}"><text>{{b}}%</text></tn-circle-progress></view></tn-popup>
|
@ -1 +0,0 @@
|
||||
"use strict";const e=require("../../../common/vendor.js"),n=require("./types.js"),a=require("./composables/graphic-card-custom.js"),t=require("./composables/use-graphic-card.js");Math||(i+o+u+r+s)();const o=()=>"../../../node-modules/@tuniao/tnui-vue3-uniapp/components/icon/src/icon.js",r=()=>"../../../node-modules/@tuniao/tnui-vue3-uniapp/components/photo-album/src/photo-album.js",i=()=>"../../../node-modules/@tuniao/tnui-vue3-uniapp/components/avatar/src/avatar.js",s=()=>"../../../node-modules/@tuniao/tnui-vue3-uniapp/components/avatar/src/avatar-group.js",u=()=>"../../../node-modules/@tuniao/tnui-vue3-uniapp/components/lazy-load/src/lazy-load.js",f=e.defineComponent({__name:"MyGraphicCard",props:n.graphicCardProps,emits:n.graphicCardEmits,setup(n,{emit:o}){const r=n,i=o,{viewUserAvatars:s,viewUserCount:u,imageCount:f,previewImageHandle:m,cardClickEvent:c,handleAvatarClick:p,handleMoreClick:l,handleCommentClick:d,handleHotClick:g,handleLikeClick:v}=t.useGraphicCard(r,i),{ns:h,tagClass:C,tagStyle:b,hotClass:w,hotStyle:_,commentClass:k,commentStyle:j,likeClass:y,likeStyle:I}=a.useGraphicCardCustomStyle(r);function H(e){if("string"!=typeof e)return 2;return/\.(jpg|jpeg|png|gif|bmp|webp)$/i.test(e)?0:/\.(mp4|avi|mov|mkv|flv|wmv)$/i.test(e)?1:2}return(n,a)=>{var t;return e.e({a:n.avatar},n.avatar?{b:e.p({url:n.avatar})}:{c:e.t(null==(t=n.username)?void 0:t.slice(0,1)),d:e.p({size:80})},{e:e.n(e.unref(h).e("brief-info__avatar")),f:e.o(((...n)=>e.unref(p)&&e.unref(p)(...n))),g:e.t(n.title),h:n.description},n.description?{i:e.t(n.description)}:{},{j:e.n(e.unref(h).e("brief-info__data")),k:e.n(e.unref(h).e("brief-info__content")),l:n.showMore},n.showMore?{m:e.p({name:"more-vertical"}),n:e.n(e.unref(h).em("brief-info__operation","more")),o:e.o(((...n)=>e.unref(l)&&e.unref(l)(...n))),p:e.n(e.unref(h).e("brief-info__operation"))}:{},{q:e.n(e.unref(h).e("brief-info")),r:e.f(n.tags,((n,a,t)=>({a:"528e8e9f-3-"+t,b:e.t(n),c:a}))),s:e.p({name:"topics-fill"}),t:e.n(e.unref(C)),v:e.s(e.unref(b)),w:e.n(e.unref(h).e("content__tags")),x:e.t(n.content),y:e.n(e.unref(h).e("content__data")),z:e.n(e.unref(h).e("content")),A:0==H(n.images.slice(-1)[0])},0==H(n.images.slice(-1)[0])?e.e({B:!!e.unref(f)},e.unref(f)?e.e({C:1===e.unref(f)},1===e.unref(f)?{D:e.p({mode:"aspectFit",src:n.images[0]}),E:e.n(e.unref(h).em("images","item")),F:e.n(e.unref(h).is("one")),G:e.o((n=>e.unref(m)(0)))}:{},{H:2===e.unref(f)},2===e.unref(f)?{I:e.p({data:n.images,column:2}),J:e.n(e.unref(h).em("images","item")),K:e.n(e.unref(h).is("two"))}:{},{L:3===e.unref(f)},3===e.unref(f)?{M:e.p({mode:"aspectFit",src:n.images[0]}),N:e.o((n=>e.unref(m)(0))),O:e.p({src:n.images[1]}),P:e.o((n=>e.unref(m)(1))),Q:e.p({src:n.images[2]}),R:e.o((n=>e.unref(m)(2))),S:e.n(e.unref(h).em("images","item")),T:e.n(e.unref(h).is("three"))}:{},{U:4===e.unref(f)},4===e.unref(f)?{V:e.p({data:n.images,column:2}),W:e.n(e.unref(h).em("images","item")),X:e.n(e.unref(h).is("four"))}:{},{Y:e.unref(f)>=5},e.unref(f)>=5?{Z:e.p({data:n.images})}:{},{aa:e.n(e.unref(h).e("images"))}):{}):{},{ab:e.n(e.unref(h).e("container")),ac:1==H(n.images.slice(-1)[0])},1==H(n.images.slice(-1)[0])?e.e({ad:!!e.unref(f)},e.unref(f)?e.e({ae:1===e.unref(f)},1===e.unref(f)?{af:e.f(n.images,((e,a,t)=>({a:n.images[a],b:a}))),ag:e.n(e.unref(h).em("images","item")),ah:e.n(e.unref(h).is("one"))}:{ai:n.images.slice(-1)[0]},{aj:e.n(e.unref(h).e("images"))}):{}):{},{ak:n.showHot},n.showHot?{al:e.p({name:n.activeHot?n.activeHotIcon:n.hotIcon}),am:e.t(n.hotCount),an:e.n(e.unref(w)),ao:e.s(e.unref(_)),ap:e.o(((...n)=>e.unref(g)&&e.unref(g)(...n)))}:{},{aq:n.showComment},n.showComment?{ar:e.p({name:n.activeComment?n.activeCommentIcon:n.commentIcon}),as:e.t(n.commentCount),at:e.n(e.unref(k)),av:e.s(e.unref(j)),aw:e.o(((...n)=>e.unref(d)&&e.unref(d)(...n)))}:{},{ax:n.showLike},n.showLike?{ay:e.p({name:n.activeLike?n.activeLikeIcon:n.likeIcon}),az:e.t(n.likeCount),aA:e.n(e.unref(y)),aB:e.s(e.unref(I)),aC:e.o(((...n)=>e.unref(v)&&e.unref(v)(...n)))}:{},{aD:e.n(e.unref(h).e("bottom-info__left")),aE:n.showViewUser&&e.unref(s).length||n.$slots.bottomRight},n.showViewUser&&e.unref(s).length||n.$slots.bottomRight?{aF:e.f(e.unref(s),((n,a,t)=>({a:a,b:"528e8e9f-15-"+t+",528e8e9f-14",c:e.p({url:n})}))),aG:e.p({border:!0,size:"sm"}),aH:e.n(e.unref(h).e("view-user-list")),aI:e.t(void 0!==n.viewCount?n.viewCount:e.unref(u)),aJ:e.n(e.unref(h).e("view-user-count")),aK:e.n(e.unref(h).e("bottom-info__right"))}:{},{aL:e.n(e.unref(h).e("bottom-info")),aM:e.n(e.unref(h).is("no-content",!!n.$slots.bottomRight)),aN:e.n(e.unref(h).b()),aO:e.o(((...n)=>e.unref(c)&&e.unref(c)(...n)))})}}}),m=e._export_sfc(f,[["__scopeId","data-v-528e8e9f"]]);wx.createComponent(m);
|
@ -1,10 +0,0 @@
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {
|
||||
"tn-icon": "../../../node-modules/@tuniao/tnui-vue3-uniapp/components/icon/src/icon",
|
||||
"tn-photo-album": "../../../node-modules/@tuniao/tnui-vue3-uniapp/components/photo-album/src/photo-album",
|
||||
"tn-avatar": "../../../node-modules/@tuniao/tnui-vue3-uniapp/components/avatar/src/avatar",
|
||||
"tn-avatar-group": "../../../node-modules/@tuniao/tnui-vue3-uniapp/components/avatar/src/avatar-group",
|
||||
"tn-lazy-load": "../../../node-modules/@tuniao/tnui-vue3-uniapp/components/lazy-load/src/lazy-load"
|
||||
}
|
||||
}
|
File diff suppressed because one or more lines are too long
@ -1 +0,0 @@
|
||||
.tn-graphic-card.data-v-528e8e9f{position:relative;width:100%;padding:30rpx;background-color:transparent}.tn-graphic-card__brief-info.data-v-528e8e9f{display:flex;align-items:center}.tn-graphic-card__brief-info__content.data-v-528e8e9f{flex-grow:1;display:flex}.tn-graphic-card__brief-info__avatar.data-v-528e8e9f{flex-shrink:0;width:90rpx;height:90rpx;border-radius:50%;background-color:var(--tn-color-gray--disabled)}.tn-graphic-card__brief-info__avatar .image.data-v-528e8e9f{width:100%;height:100%;border-radius:inherit}.tn-graphic-card__brief-info__data.data-v-528e8e9f{flex-grow:1;margin-left:24rpx;color:var(--tn-text-color-primary);line-height:1;padding-top:6rpx}.tn-graphic-card__brief-info__data .title.data-v-528e8e9f{font-size:30rpx}.tn-graphic-card__brief-info__data .desc.data-v-528e8e9f{margin-top:16rpx;font-size:24rpx;color:var(--tn-color-gray)}.tn-graphic-card__brief-info__operation.data-v-528e8e9f{flex-grow:0}.tn-graphic-card__brief-info__operation--more.data-v-528e8e9f{font-size:40rpx;font-weight:700;color:var(--tn-color-gray-disabled);padding-left:20rpx}.tn-graphic-card__container.data-v-528e8e9f{margin-top:20rpx}.tn-graphic-card__content__tags.data-v-528e8e9f{display:flex;float:left;align-items:center;margin-top:4rpx}.tn-graphic-card__content__tags .tag-item.data-v-528e8e9f{width:-moz-fit-content;width:fit-content;height:-moz-fit-content;height:fit-content;padding:8rpx 16rpx;border-radius:6rpx;margin-right:16rpx;font-size:24rpx;line-height:1}.tn-graphic-card__content__data.data-v-528e8e9f{font-size:28rpx;line-height:1.8em;color:var(--tn-text-color-primary);text-align:justify}.tn-graphic-card__images.data-v-528e8e9f{width:100%;margin-top:20rpx}.tn-graphic-card__images--item.is-one.data-v-528e8e9f{width:70%;height:300rpx;border-radius:15rpx}.tn-graphic-card__images--item.is-two.data-v-528e8e9f{width:80%}.tn-graphic-card__images--item.is-three.data-v-528e8e9f{position:relative;width:100%;height:332rpx;display:flex;align-items:center}.tn-graphic-card__images--item.is-three .image-wrapper-left.data-v-528e8e9f{position:relative;width:50%;height:100%}.tn-graphic-card__images--item.is-three .image-wrapper-left .image-container.data-v-528e8e9f{width:100%;height:100%;border-radius:15rpx}.tn-graphic-card__images--item.is-three .image-wrapper-right.data-v-528e8e9f{position:relative;flex:1;height:100%;margin-left:28rpx;display:flex;flex-direction:column;align-items:center}.tn-graphic-card__images--item.is-three .image-wrapper-right .image-container.data-v-528e8e9f{flex:1;width:100%;border-radius:15rpx}.tn-graphic-card__images--item.is-three .image-wrapper-right .image-container+.image-container.data-v-528e8e9f{margin-top:28rpx}.tn-graphic-card__images--item.is-four.data-v-528e8e9f{width:80%}.tn-graphic-card__bottom-info.data-v-528e8e9f{display:flex;align-items:center;justify-content:space-between;margin-top:16rpx}.tn-graphic-card__bottom-info__left.data-v-528e8e9f{display:flex;align-items:center}.tn-graphic-card__bottom-info__left .count-item-data.data-v-528e8e9f{display:flex;align-items:center;margin-right:20rpx}.tn-graphic-card__bottom-info__left .count-item-data .count.data-v-528e8e9f{margin-left:6rpx}.tn-graphic-card__bottom-info__right.data-v-528e8e9f{display:flex;align-items:center}.tn-graphic-card__bottom-info.is-no-content.data-v-528e8e9f{margin-top:24rpx}.tn-graphic-card__view-user-count.data-v-528e8e9f{margin-left:8rpx;font-size:26rpx;color:var(--tn-color-gray)}
|
@ -1 +0,0 @@
|
||||
"use strict";const o=require("../../../../common/vendor.js");exports.useGraphicCardCustomStyle=e=>{const t=o.useNamespace("graphic-card"),[l,r]=o.useComponentColor(o.toRef(e,"tagBgColor"),"bg"),[a,u]=o.useComponentColor(o.toRef(e,"tagTextColor"),"text"),[n,c]=o.useComponentColor(o.toRef(e,"hotColor"),"text"),[v,s]=o.useComponentColor(o.toRef(e,"activeHotColor"),"text"),[m,C]=o.useComponentColor(o.toRef(e,"commentColor"),"text"),[p,i]=o.useComponentColor(o.toRef(e,"activeCommentColor"),"text"),[d,h]=o.useComponentColor(o.toRef(e,"likeColor"),"text"),[g,y]=o.useComponentColor(o.toRef(e,"activeLikeColor"),"text"),x=o.computed((()=>{const o=[];return l.value&&o.push(l.value),a.value&&o.push(a.value),o.join(" ")})),f=o.computed((()=>{const o={};return l.value||(o.backgroundColor=r.value||"var(--tn-color-gray-disabled)"),u.value?o.color=u.value:a.value||l.value||(o.color="var(--tn-text-color-primary)"),o})),k=o.computed((()=>{const o=[t.e("hot")];return e.activeHot?v.value&&o.push(v.value):n.value&&o.push(n.value),o.join(" ")})),R=o.computed((()=>{const o={};return e.activeHot?v.value||(o.color=s.value||"var(--tn-color-primary)"):n.value||(o.color=c.value||"var(--tn-color-gray)"),o})),j=o.computed((()=>{const o=[t.e("comment")];return e.activeComment?p.value&&o.push(p.value):m.value&&o.push(m.value),o.join(" ")})),S=o.computed((()=>{const o={};return e.activeComment?p.value||(o.color=i.value||"var(--tn-color-primary)"):m.value||(o.color=C.value||"var(--tn-color-gray)"),o})),b=o.computed((()=>{const o=[t.e("like")];return e.activeLike?g.value&&o.push(g.value):d.value&&o.push(d.value),o.join(" ")})),H=o.computed((()=>{const o={};return e.activeLike?g.value||(o.color=y.value||"var(--tn-color-red)"):d.value||(o.color=h.value||"var(--tn-color-gray)"),o}));return{ns:t,tagClass:x,tagStyle:f,hotClass:k,hotStyle:R,commentClass:j,commentStyle:S,likeClass:b,likeStyle:H}};
|
@ -1 +0,0 @@
|
||||
"use strict";require("../../../../common/vendor.js");
|
@ -1 +0,0 @@
|
||||
"use strict";const e=require("../../../../common/vendor.js");exports.useGraphicCard=(i,r)=>{const a=e.ref([]),l=e.ref(0);i.showViewUser&&(a.value=i.viewUserAvatars.slice(0,i.maxViewUserAvatarCount),l.value=i.viewUserAvatars.length);return{viewUserAvatars:a,viewUserCount:l,imageCount:e.computed((()=>{var r;return e.isEmptyVariableInDefault(null==(r=null==i?void 0:i.images)?void 0:r.length,0)})),previewImageHandle:r=>{e.index.previewImage({urls:i.images,current:r})},cardClickEvent:()=>{r("click")},handleAvatarClick:()=>{r("avatar-view-click")},handleMoreClick:()=>{r("more-click")},handleHotClick:()=>{r("hot-click")},handleCommentClick:()=>{r("comment-click")},handleLikeClick:()=>{r("like-click")}}};
|
@ -1 +0,0 @@
|
||||
"use strict";const e=require("../../../common/vendor.js"),t=e.buildProps({avatar:{type:String,required:!0},username:{type:String,required:!1},title:{type:String,required:!0},description:{type:String,required:!0},tags:{type:e.definePropType(Array),default:()=>[]},tagBgColor:String,tagTextColor:String,content:String,images:{type:e.definePropType(Array),default:()=>[]},showMore:{type:Boolean,default:!0},showHot:{type:Boolean,default:!0},activeHot:Boolean,hotCount:{type:Number,default:0},hotIcon:{type:String,default:"rocket"},activeHotIcon:{type:String,default:"rocket-fill"},hotColor:String,activeHotColor:String,showComment:{type:Boolean,default:!0},activeComment:Boolean,commentCount:{type:Number,default:0},commentIcon:{type:String,default:"message"},activeCommentIcon:{type:String,default:"message-fill"},commentColor:String,activeCommentColor:String,showLike:{type:Boolean,default:!0},activeLike:Boolean,likeCount:{type:Number,default:0},likeIcon:{type:String,default:"like-lack"},activeLikeIcon:{type:String,default:"like-fill"},likeColor:String,activeLikeColor:String,showViewUser:{type:Boolean,default:!0},viewCount:{type:Number,default:0},viewUserAvatars:{type:e.definePropType(Array),default:()=>[]},maxViewUserAvatarCount:{type:Number,default:4}});exports.graphicCardEmits={click:()=>!0,"avatar-view-click":()=>!0,"more-click":()=>!0,"hot-click":()=>!0,"comment-click":()=>!0,"like-click":()=>!0},exports.graphicCardProps=t;
|
@ -1 +0,0 @@
|
||||
"use strict";const e=require("../../common/vendor.js"),o=require("../../utils/request.js");if(!Array){(e.resolveComponent("fui-icon")+e.resolveComponent("fui-col")+e.resolveComponent("fui-progress")+e.resolveComponent("fui-row"))()}Math||(l+(()=>"../firstui/fui-icon/fui-icon.js")+(()=>"../firstui/fui-col/fui-col.js")+(()=>"../firstui/fui-progress/fui-progress.js")+(()=>"../firstui/fui-row/fui-row.js")+a)();const l=()=>"../common/MyTitle.js",a=()=>"../common/ParamCard.js",s=e.defineComponent({__name:"AudioUpload",props:e.mergeModels({title:{default:"上传"},options:{}},{modelValue:{default:""},modelModifiers:{}}),emits:["update:modelValue"],setup(l){const a=e.useModel(l,"modelValue"),s=e.ref([]),n=e.ref(""),u=e.ref("默认音频");let t=null;const r=e.ref(0),i=e.ref(0),p=e.ref(0);e.onReady((()=>{s.value=a.value?[a.value]:[]})),e.watch(s,(()=>{console.log("audioList",s.value[0]),a.value=s.value[0],s.value[0]&&(n.value=s.value[0],u.value=s.value[0].split("/").pop()||"默认音频",c())}));const c=()=>{t&&t.destroy(),t=e.index.createInnerAudioContext(),t.autoplay=!1,t.src=n.value,t.onPlay((()=>{console.log("开始播放")})),t.onError((e=>{console.log(e.errMsg),console.log(e.errCode)})),t.onTimeUpdate((()=>{r.value=(null==t?void 0:t.currentTime)||0,i.value=(null==t?void 0:t.duration)||0,p.value=i.value>0?r.value/i.value*100:0}))},v=()=>{e.wx$1.chooseMessageFile({count:1,type:"file",extension:["mp3","wav"],success(e){const o=e.tempFiles[0];d(o)},fail(e){console.error("选择文件失败",e)}})},d=async e=>{try{const l=await(async e=>{const l=e.path;return new Promise((async(e,a)=>{const s=await o.uploadFile(l);console.log("uploadResult",s),s&&e(s)}))})(e);l&&(n.value=l,u.value=e.name,s.value=[l],console.log("上传成功",l))}catch(l){console.error("上传失败",l)}},m=e.ref(!1),f=()=>{t&&(t.stop(),t.play()),m.value=!0},g=()=>{t&&(t.pause(),console.log("暂停播放"),m.value=!1)};return e.onUnmounted((()=>{t&&t.destroy()})),(o,l)=>({a:e.p({title:o.title}),b:e.o(f),c:!m.value,d:e.p({name:"suspend"}),e:e.o(g),f:m.value,g:e.p({name:"play"}),h:e.p({span:3}),i:e.t(u.value||o.无),j:e.p({percent:p.value.toFixed(0)||0}),k:e.p({span:21}),l:e.p({"margin-bottom":"24rpx"}),m:e.o(v),n:e.p({name:"pullup"}),o:e.p({span:24}),p:e.p({"margin-bottom":"24rpx"})})}}),n=e._export_sfc(s,[["__scopeId","data-v-921b81d6"]]);wx.createComponent(n);
|
@ -1,11 +0,0 @@
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {
|
||||
"fui-icon": "../firstui/fui-icon/fui-icon",
|
||||
"fui-col": "../firstui/fui-col/fui-col",
|
||||
"fui-progress": "../firstui/fui-progress/fui-progress",
|
||||
"fui-row": "../firstui/fui-row/fui-row",
|
||||
"my-title": "../common/MyTitle",
|
||||
"param-card": "../common/ParamCard"
|
||||
}
|
||||
}
|
@ -1 +0,0 @@
|
||||
<param-card u-s="{{['title','body']}}" u-i="921b81d6-0" bind:__l="__l" class="{{['data-v-921b81d6', virtualHostClass]}}" virtualHostClass="{{['data-v-921b81d6', virtualHostClass]}}" style="{{virtualHostStyle}}" virtualHostStyle="{{virtualHostStyle}}"><my-title class="data-v-921b81d6" virtualHostClass="data-v-921b81d6" u-i="921b81d6-1,921b81d6-0" bind:__l="__l" u-p="{{a}}" slot="title"/><view class="audioCard data-v-921b81d6" slot="body"><fui-row wx:if="{{l}}" class="data-v-921b81d6" virtualHostClass="data-v-921b81d6" u-s="{{['d']}}" style="width:100%;margin-top:15%;text-align:center" virtualHostStyle="width:100%;margin-top:15%;text-align:center" u-i="921b81d6-2,921b81d6-0" bind:__l="__l" u-p="{{l}}"><fui-col wx:if="{{h}}" class="data-v-921b81d6" virtualHostClass="data-v-921b81d6" u-s="{{['d']}}" u-i="921b81d6-3,921b81d6-2" bind:__l="__l" u-p="{{h}}"><view class="data-v-921b81d6" style="margin-top:75%"><fui-icon wx:if="{{d}}" class="data-v-921b81d6" virtualHostClass="data-v-921b81d6" bindclick="{{b}}" data-c-h="{{!c}}" u-i="921b81d6-4,921b81d6-3" bind:__l="__l" u-p="{{d}}"></fui-icon><fui-icon wx:if="{{g}}" class="data-v-921b81d6" virtualHostClass="data-v-921b81d6" bindclick="{{e}}" data-c-h="{{!f}}" u-i="921b81d6-5,921b81d6-3" bind:__l="__l" u-p="{{g}}"></fui-icon></view></fui-col><fui-col wx:if="{{k}}" class="data-v-921b81d6" virtualHostClass="data-v-921b81d6" u-s="{{['d']}}" u-i="921b81d6-6,921b81d6-2" bind:__l="__l" u-p="{{k}}"><view class="data-v-921b81d6" style="margin-top:5%;margin-bottom:5%;text-align:left;overflow:hidden;width:200px;white-space:nowrap;text-overflow:ellipsis">歌名:{{i}}</view><fui-progress wx:if="{{j}}" class="data-v-921b81d6" virtualHostClass="data-v-921b81d6" style="margin-bottom:24%" virtualHostStyle="margin-bottom:24%" u-i="921b81d6-7,921b81d6-6" bind:__l="__l" u-p="{{j}}"></fui-progress></fui-col></fui-row><view class="data-v-921b81d6" style="margin-bottom:10%"></view><fui-row wx:if="{{p}}" class="data-v-921b81d6" virtualHostClass="data-v-921b81d6" u-s="{{['d']}}" style="width:100%;text-align:right" virtualHostStyle="width:100%;text-align:right" u-i="921b81d6-8,921b81d6-0" bind:__l="__l" u-p="{{p}}"><fui-col wx:if="{{o}}" class="data-v-921b81d6" virtualHostClass="data-v-921b81d6" u-s="{{['d']}}" u-i="921b81d6-9,921b81d6-8" bind:__l="__l" u-p="{{o}}"><view class="data-v-921b81d6" style="margin-top:-10%"><fui-icon wx:if="{{n}}" class="data-v-921b81d6" virtualHostClass="data-v-921b81d6" bindclick="{{m}}" u-i="921b81d6-10,921b81d6-9" bind:__l="__l" u-p="{{n}}"></fui-icon></view></fui-col></fui-row></view></param-card>
|
@ -1 +0,0 @@
|
||||
.upload-new-btn.data-v-921b81d6{width:100%;height:300rpx;background-color:#f4f5f6;border-radius:10rpx}.audioCard.data-v-921b81d6{text-align:left}
|
@ -1 +0,0 @@
|
||||
"use strict";const e=require("../../common/vendor.js");if(!Array){e.resolveComponent("View")()}Math||(m+o+n)();const o=()=>"../../node-modules/@tuniao/tnui-vue3-uniapp/components/number-box/src/number-box.js",n=()=>"../common/ParamCard.js",m=()=>"../common/MyTitle.js",t=e.defineComponent({__name:"CustomNumberBox",props:{modelValue:{default:1},modelModifiers:{}},emits:["update:modelValue"],setup(o){const n=e.useModel(o,"modelValue");return(o,m)=>({a:e.p({title:"图像批次"}),b:e.o((e=>n.value=e)),c:e.p({modelValue:n.value})})}});wx.createComponent(t);
|
@ -1,8 +0,0 @@
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {
|
||||
"tn-number-box": "../../node-modules/@tuniao/tnui-vue3-uniapp/components/number-box/src/number-box",
|
||||
"param-card": "../common/ParamCard",
|
||||
"my-title": "../common/MyTitle"
|
||||
}
|
||||
}
|
@ -1 +0,0 @@
|
||||
<param-card u-s="{{['title']}}" u-i="7de6989a-0" bind:__l="__l" class="{{[virtualHostClass]}}" virtualHostClass="{{[virtualHostClass]}}" style="{{virtualHostStyle}}" virtualHostStyle="{{virtualHostStyle}}"><view u-s="{{['d']}}" style="display:flex;justify-content:space-between" virtualHostStyle="display:flex;justify-content:space-between" u-i="7de6989a-1,7de6989a-0" bind:__l="__l" slot="title"><my-title wx:if="{{a}}" u-i="7de6989a-2,7de6989a-1" bind:__l="__l" u-p="{{a}}"></my-title><tn-number-box wx:if="{{c}}" u-i="7de6989a-3,7de6989a-1" bind:__l="__l" bindupdateModelValue="{{b}}" u-p="{{c}}"/></view></param-card>
|
@ -1 +0,0 @@
|
||||
"use strict";const e=require("../../common/vendor.js");if(!Array){e.resolveComponent("up-slider")()}Math||(o+(()=>"../../node-modules/uview-plus/components/u-slider/u-slider.js")+t)();const o=()=>"../common/MyTitle.js",t=()=>"../common/ParamCard.js",s=e.defineComponent({__name:"CustomSlider",props:e.mergeModels({title:{default:"选择大小"},options:{default:{min:512,max:1024,step:8}}},{modelValue:{default:512},modelModifiers:{}}),emits:["update:modelValue"],setup(o){const t=e.useModel(o,"modelValue"),s=o;return console.log(s.options,typeof s.options),(o,s)=>({a:e.p({title:o.title}),b:e.o((e=>t.value=e)),c:e.p({showValue:!0,step:o.options.step,min:o.options.min,max:o.options.max,modelValue:t.value})})}});wx.createComponent(s);
|
@ -1,8 +0,0 @@
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {
|
||||
"up-slider": "../../node-modules/uview-plus/components/u-slider/u-slider",
|
||||
"my-title": "../common/MyTitle",
|
||||
"param-card": "../common/ParamCard"
|
||||
}
|
||||
}
|
@ -1 +0,0 @@
|
||||
<param-card u-s="{{['title','body']}}" u-i="a1c3bd80-0" bind:__l="__l" class="{{[virtualHostClass]}}" virtualHostClass="{{[virtualHostClass]}}" style="{{virtualHostStyle}}" virtualHostStyle="{{virtualHostStyle}}"><my-title u-i="a1c3bd80-1,a1c3bd80-0" bind:__l="__l" u-p="{{a}}" slot="title"></my-title><up-slider u-i="a1c3bd80-2,a1c3bd80-0" bind:__l="__l" bindupdateModelValue="{{b}}" u-p="{{c}}" slot="body"></up-slider></param-card>
|
@ -1 +0,0 @@
|
||||
"use strict";const e=require("../../common/vendor.js");Math||o();const o=()=>"./CustomSlider.js",t=e.defineComponent({__name:"Height",props:{modelValue:{default:512},modelModifiers:{}},emits:["update:modelValue"],setup(o){const t=e.useModel(o,"modelValue");return(o,l)=>({a:e.o((e=>t.value=e)),b:e.p({title:"高度",modelValue:t.value})})}});wx.createComponent(t);
|
@ -1,6 +0,0 @@
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {
|
||||
"custom-slider": "./CustomSlider"
|
||||
}
|
||||
}
|
@ -1 +0,0 @@
|
||||
<custom-slider wx:if="{{b}}" u-i="754fc8b5-0" bind:__l="__l" bindupdateModelValue="{{a}}" u-p="{{b}}" class="{{[virtualHostClass]}}" virtualHostClass="{{[virtualHostClass]}}" style="{{virtualHostStyle}}" virtualHostStyle="{{virtualHostStyle}}"/>
|
@ -1 +0,0 @@
|
||||
"use strict";const e=require("../../common/vendor.js");Math||(t+a+o)();const o=()=>"../common/ParamCard.js",t=()=>"../common/MyTitle.js",a=()=>"../../node-modules/@tuniao/tnui-vue3-uniapp/components/icon/src/icon.js",n=e.defineComponent({__name:"ImageSelectPreview",props:e.mergeModels({title:{default:"选择风格"},options:{}},{modelValue:{default:null},modelModifiers:{}}),emits:["update:modelValue"],setup(o){const t=o;e.onLoad((()=>{}));const a=e.useModel(o,"modelValue"),n=e.ref(0);e.watch(n,(()=>{a.value=s.value[n.value].value}));const s=e.computed((()=>{if(!t.options)return[];if("string"==typeof t.options&&Array.isArray(JSON.parse(t.options)))return JSON.parse(t.options);if(Array.isArray(t.options))return t.options;const e=t.options;return e.imageSelectItems?e.imageSelectItems:[]}));e.computed((()=>s.value[n.value]));return(o,t)=>({a:e.p({title:o.title}),b:e.f(s.value,((o,t,a)=>e.e({a:n.value===t?1:"",b:o.src,c:e.t(o.title),d:t===n.value},t===n.value?{e:"14f0c725-2-"+a+",14f0c725-0",f:e.p({name:"check"})}:{},{g:t,h:n.value===t?1:"",i:e.o((e=>(e=>{n.value=e})(t)),t)})))})}}),s=e._export_sfc(n,[["__scopeId","data-v-14f0c725"]]);wx.createComponent(s);
|
@ -1,8 +0,0 @@
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {
|
||||
"param-card": "../common/ParamCard",
|
||||
"my-title": "../common/MyTitle",
|
||||
"tn-icon": "../../node-modules/@tuniao/tnui-vue3-uniapp/components/icon/src/icon"
|
||||
}
|
||||
}
|
@ -1 +0,0 @@
|
||||
<param-card u-s="{{['title','body']}}" u-i="14f0c725-0" bind:__l="__l" class="{{['data-v-14f0c725', virtualHostClass]}}" virtualHostClass="{{['data-v-14f0c725', virtualHostClass]}}" style="{{virtualHostStyle}}" virtualHostStyle="{{virtualHostStyle}}"><my-title class="data-v-14f0c725" virtualHostClass="data-v-14f0c725" u-i="14f0c725-1,14f0c725-0" bind:__l="__l" u-p="{{a}}" slot="title"></my-title><scroll-view scroll-y="true" class="image-preview-container data-v-14f0c725" slot="body"><view class="image-grid data-v-14f0c725"><view wx:for="{{b}}" wx:for-item="image" wx:key="g" class="{{['image-item', 'data-v-14f0c725', image.h && 'selected']}}" bindtap="{{image.i}}"><image class="{{['data-v-14f0c725', image.a && 'selected']}}" src="{{image.b}}" mode="aspectFill"/><view class="tn-text-xs tn-text-center tn-text-ellipsis-1 data-v-14f0c725">{{image.c}}</view><view class="selected-icon data-v-14f0c725"><tn-icon wx:if="{{image.d}}" class="data-v-14f0c725" virtualHostClass="data-v-14f0c725" u-i="{{image.e}}" bind:__l="__l" u-p="{{image.f}}"/></view></view></view></scroll-view></param-card>
|
@ -1 +0,0 @@
|
||||
.image-preview-container.data-v-14f0c725{min-height:260rpx;max-height:400rpx;padding:10rpx}.image-grid.data-v-14f0c725{display:grid;grid-template-columns:repeat(4,1fr);gap:20rpx}.image-item.data-v-14f0c725{position:relative;overflow:hidden;cursor:pointer;border-radius:10px}.image-item image.selected.data-v-14f0c725{box-shadow:4px 4px 10rpx rgba(2,22,37,.5);transform:scale(1.05)}.image-item.selected.data-v-14f0c725:after{content:"";position:absolute;bottom:0;right:0;background-color:rgba(0,0,0,.2)}.image-item image.data-v-14f0c725{width:100%;height:160rpx;transition:transform .3s;margin:auto}.selected-preview.data-v-14f0c725{flex:1;display:flex;justify-content:center;align-items:center}.selected-image.data-v-14f0c725{max-width:100%;border-radius:10px;box-shadow:0 4px 20px rgba(0,0,0,.3)}.selected-icon.data-v-14f0c725{position:absolute;top:0;right:0;padding:0 0 5rpx 5rpx;background-color:#4338ca;color:#fff}
|
@ -1 +0,0 @@
|
||||
"use strict";const e=require("../../common/vendor.js"),o=require("../../utils/request.js");Math||(l+a+t)();const a=()=>"../../node-modules/@tuniao/tnui-vue3-uniapp/components/image-upload/src/image-upload.js",l=()=>"../common/MyTitle.js",t=()=>"../common/ParamCard.js",s=e.defineComponent({__name:"ImageUpload",props:e.mergeModels({title:{default:"上传"},options:{}},{modelValue:{default:""},modelModifiers:{}}),emits:["update:modelValue"],setup(a){const l=e.useModel(a,"modelValue"),t=e.ref([]);e.onReady((()=>{t.value=l.value?[l.value]:[]})),e.watch(t,(()=>{console.log("imageList",t);for(const e of t.value)l.value=e;l.value=t.value[0]}));const s=async e=>{const a=e.path;return new Promise((async(e,l)=>{const t=await o.uploadFile(a);console.log("uploadResult",t),t&&e(t)}))},u=e.ref();return(o,a)=>({a:e.p({title:o.title}),b:e.sr(u,"02c19669-2,02c19669-0",{k:"imageUploadRef"}),c:e.o((e=>t.value=e)),d:e.p({limit:1,"custom-upload-handler":s,modelValue:t.value})})}}),u=e._export_sfc(s,[["__scopeId","data-v-02c19669"]]);wx.createComponent(u);
|
@ -1,8 +0,0 @@
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {
|
||||
"tn-image-upload": "../../node-modules/@tuniao/tnui-vue3-uniapp/components/image-upload/src/image-upload",
|
||||
"my-title": "../common/MyTitle",
|
||||
"param-card": "../common/ParamCard"
|
||||
}
|
||||
}
|
@ -1 +0,0 @@
|
||||
<param-card u-s="{{['title','body']}}" u-i="02c19669-0" bind:__l="__l" class="{{['data-v-02c19669', virtualHostClass]}}" virtualHostClass="{{['data-v-02c19669', virtualHostClass]}}" style="{{virtualHostStyle}}" virtualHostStyle="{{virtualHostStyle}}"><my-title class="data-v-02c19669" virtualHostClass="data-v-02c19669" u-i="02c19669-1,02c19669-0" bind:__l="__l" u-p="{{a}}" slot="title"/><tn-image-upload class="r data-v-02c19669" virtualHostClass="r data-v-02c19669" u-r="imageUploadRef" u-i="02c19669-2,02c19669-0" bind:__l="__l" bindupdateModelValue="{{c}}" u-p="{{d}}" slot="body"></tn-image-upload></param-card>
|
@ -1 +0,0 @@
|
||||
.upload-new-btn.data-v-02c19669{width:100%;height:300rpx;background-color:#f4f5f6;border-radius:10rpx}
|
@ -1 +0,0 @@
|
||||
"use strict";const e=require("../../common/vendor.js"),o=require("../../composables/useWorkFlow.js");Math||t();const t=()=>"./Picker.js",l=e.defineComponent({__name:"ModeSelect",props:e.mergeModels({title:{default:"选择大模型"},workflow_id:{default:""},options:{default:{}}},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(t){const l=t,s=e.useModel(t,"modelValue"),r=e.ref([]);return(async()=>{if(!l.workflow_id)return;const e=await o.getModelListByWorkflowId(l.workflow_id);e&&(r.value=e)})(),(o,t)=>({a:e.o((e=>s.value=e)),b:e.p({title:o.title,options:r.value,modelValue:s.value})})}});wx.createComponent(l);
|
@ -1,6 +0,0 @@
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {
|
||||
"picker": "./Picker"
|
||||
}
|
||||
}
|
@ -1 +0,0 @@
|
||||
<picker wx:if="{{b}}" u-i="79bcf50d-0" bind:__l="__l" bindupdateModelValue="{{a}}" u-p="{{b}}" class="{{[virtualHostClass]}}" virtualHostClass="{{[virtualHostClass]}}" style="{{virtualHostStyle}}" virtualHostStyle="{{virtualHostStyle}}"/>
|
@ -1 +0,0 @@
|
||||
"use strict";const e=require("../../common/vendor.js"),o=require("../../utils/request.js");Math||(t+a+l)();const a=()=>"../../node-modules/@tuniao/tnui-vue3-uniapp/components/image-upload/src/image-upload.js",t=()=>"../common/MyTitle.js",l=()=>"../common/ParamCard.js",s=e.defineComponent({__name:"MoreImageUpload",props:e.mergeModels({title:{default:"上传"},options:{}},{modelValue:{default:()=>[]},modelModifiers:{}}),emits:["update:modelValue"],setup(a){const t=e.useModel(a,"modelValue"),l=e.ref([]);e.onReady((()=>{l.value=t.value||[]})),e.watch(l,(()=>{console.log("imageList",l),t.value=l.value}));const s=async e=>{const a=e.path;return new Promise((async(e,t)=>{const l=await o.uploadFile(a);console.log("uploadResult",l),l&&e(l)}))},u=e.ref();return(o,a)=>({a:e.p({title:o.title}),b:e.sr(u,"970b9cc2-2,970b9cc2-0",{k:"imageUploadRef"}),c:e.o((e=>l.value=e)),d:e.p({limit:5,"custom-upload-handler":s,modelValue:l.value})})}}),u=e._export_sfc(s,[["__scopeId","data-v-970b9cc2"]]);wx.createComponent(u);
|
@ -1,8 +0,0 @@
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {
|
||||
"tn-image-upload": "../../node-modules/@tuniao/tnui-vue3-uniapp/components/image-upload/src/image-upload",
|
||||
"my-title": "../common/MyTitle",
|
||||
"param-card": "../common/ParamCard"
|
||||
}
|
||||
}
|
@ -1 +0,0 @@
|
||||
<param-card u-s="{{['title','body']}}" u-i="970b9cc2-0" bind:__l="__l" class="{{['data-v-970b9cc2', virtualHostClass]}}" virtualHostClass="{{['data-v-970b9cc2', virtualHostClass]}}" style="{{virtualHostStyle}}" virtualHostStyle="{{virtualHostStyle}}"><my-title class="data-v-970b9cc2" virtualHostClass="data-v-970b9cc2" u-i="970b9cc2-1,970b9cc2-0" bind:__l="__l" u-p="{{a}}" slot="title"/><tn-image-upload class="r data-v-970b9cc2" virtualHostClass="r data-v-970b9cc2" u-r="imageUploadRef" u-i="970b9cc2-2,970b9cc2-0" bind:__l="__l" bindupdateModelValue="{{c}}" u-p="{{d}}" slot="body"></tn-image-upload></param-card>
|
@ -1 +0,0 @@
|
||||
.upload-new-btn.data-v-970b9cc2{width:100%;height:300rpx;background-color:#f4f5f6;border-radius:10rpx}
|
@ -1 +0,0 @@
|
||||
"use strict";const e=require("../../common/vendor.js");Math||(t+l+a+o)();const o=()=>"../common/ParamCard.js",t=()=>"../common/MyTitle.js",l=()=>"../../node-modules/@tuniao/tnui-vue3-uniapp/components/input/src/input.js",a=()=>"../../node-modules/@tuniao/tnui-vue3-uniapp/components/picker/src/picker.js",n=e.defineComponent({__name:"Picker",props:e.mergeModels({title:{default:"请选择"},options:{default:{selectItems:[]}}},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(o){const t=e.ref(!1),l=o,a=e.computed((()=>l.options?Array.isArray(l.options)?l.options[0]&&l.options[0].title?l.options.map((e=>({label:e.title,value:e.value}))):l.options[0]&&"object"!=typeof l.options[0]?l.options.map((e=>({label:e,value:e}))):l.options:l.options.selectItems?l.options.selectItems:[]:[])),n=e.useModel(o,"modelValue"),u=e=>{console.log("confirm",e),e&&(n.value=e,t.value=!1)},s=e=>{t.value=!1},i=e.computed((()=>{var e;return(null==(e=a.value.find((e=>e.value===n.value)))?void 0:e.label)||""}));return(o,l)=>({a:e.p({title:o.title}),b:e.o((e=>t.value=!0)),c:e.o((e=>i.value=e)),d:e.p({type:"select",placeholder:"请选择",modelValue:i.value}),e:e.o(s),f:e.o(u),g:e.o((e=>n.value=e)),h:e.o((e=>t.value=e)),i:e.p({data:a.value,modelValue:n.value,open:t.value})})}});wx.createComponent(n);
|
@ -1,9 +0,0 @@
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {
|
||||
"param-card": "../common/ParamCard",
|
||||
"my-title": "../common/MyTitle",
|
||||
"tn-input": "../../node-modules/@tuniao/tnui-vue3-uniapp/components/input/src/input",
|
||||
"tn-picker": "../../node-modules/@tuniao/tnui-vue3-uniapp/components/picker/src/picker"
|
||||
}
|
||||
}
|
@ -1 +0,0 @@
|
||||
<param-card u-s="{{['title','body']}}" u-i="707796c8-0" bind:__l="__l" class="{{[virtualHostClass]}}" virtualHostClass="{{[virtualHostClass]}}" style="{{virtualHostStyle}}" virtualHostStyle="{{virtualHostStyle}}"><my-title u-i="707796c8-1,707796c8-0" bind:__l="__l" u-p="{{a}}" slot="title"></my-title><view slot="body"><view style="display:flex;justify-content:start;align-items:start"><tn-input wx:if="{{d}}" style="width:100%" virtualHostStyle="width:100%" bindclick="{{b}}" u-i="707796c8-2,707796c8-0" bind:__l="__l" bindupdateModelValue="{{c}}" u-p="{{d}}"/></view><tn-picker wx:if="{{i}}" bindcancel="{{e}}" bindconfirm="{{f}}" u-i="707796c8-3,707796c8-0" bind:__l="__l" bindupdateModelValue="{{g}}" bindupdateOpen="{{h}}" u-p="{{i}}"/></view></param-card>
|
@ -1 +0,0 @@
|
||||
"use strict";const e=require("../../common/vendor.js");Math||(t+a+o)();const o=()=>"../common/ParamCard.js",t=()=>"../common/MyTitle.js",a=()=>"../../node-modules/@tuniao/tnui-vue3-uniapp/components/input/src/input.js",n=e.defineComponent({__name:"Positive",props:{modelValue:{default:""},modelModifiers:{}},emits:["update:modelValue"],setup(o){const t=e.useModel(o,"modelValue");return(o,a)=>({a:e.p({title:"提示词"}),b:e.o((e=>t.value=e)),c:e.p({height:"150",type:"textarea",clearable:!0,placeholder:"请输入内容",modelValue:t.value})})}});wx.createComponent(n);
|
@ -1,8 +0,0 @@
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {
|
||||
"param-card": "../common/ParamCard",
|
||||
"my-title": "../common/MyTitle",
|
||||
"tn-input": "../../node-modules/@tuniao/tnui-vue3-uniapp/components/input/src/input"
|
||||
}
|
||||
}
|
@ -1 +0,0 @@
|
||||
<param-card u-s="{{['title','body']}}" u-i="34dad307-0" bind:__l="__l" class="{{[virtualHostClass]}}" virtualHostClass="{{[virtualHostClass]}}" style="{{virtualHostStyle}}" virtualHostStyle="{{virtualHostStyle}}"><my-title u-i="34dad307-1,34dad307-0" bind:__l="__l" u-p="{{a}}" slot="title"/><tn-input u-i="34dad307-2,34dad307-0" bind:__l="__l" bindupdateModelValue="{{b}}" u-p="{{c}}" slot="body"/></param-card>
|
@ -1 +0,0 @@
|
||||
"use strict";const e=require("../../common/vendor.js"),o=require("../../utils/common.js");Math||(a+t+n+u)();const n=()=>"../../node-modules/@tuniao/tnui-vue3-uniapp/components/input/src/input.js",u=()=>"../common/ParamCard.js",a=()=>"../common/MyTitle.js",t=()=>"../../node-modules/@tuniao/tnui-vue3-uniapp/components/icon/src/icon.js",l=e.defineComponent({__name:"Seed",props:e.mergeModels({title:{default:"随机种子"},options:{default:{}}},{modelValue:{default:0},modelModifiers:{}}),emits:["update:modelValue"],setup(n,{expose:u}){const a=e.useModel(n,"modelValue"),t=()=>{a.value=o.generateRandomNumber(15)};return e.onLoad((()=>{console.log("Seed page onLoad"),a.value&&0!==a.value||t()})),e.onReady((()=>{console.log("Seed page onReady"),a.value&&0!==a.value||t()})),u({getSeed:t}),(o,n)=>({a:e.p({title:o.title}),b:e.o(t),c:e.p({name:"cube"}),d:e.o((e=>a.value=e)),e:e.p({type:"number",placeholder:"请输入用户名",modelValue:a.value})})}});wx.createComponent(l);
|
@ -1,9 +0,0 @@
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {
|
||||
"tn-input": "../../node-modules/@tuniao/tnui-vue3-uniapp/components/input/src/input",
|
||||
"param-card": "../common/ParamCard",
|
||||
"my-title": "../common/MyTitle",
|
||||
"tn-icon": "../../node-modules/@tuniao/tnui-vue3-uniapp/components/icon/src/icon"
|
||||
}
|
||||
}
|
@ -1 +0,0 @@
|
||||
<param-card u-s="{{['title','body']}}" u-i="1166f67f-0" bind:__l="__l" class="{{[virtualHostClass]}}" virtualHostClass="{{[virtualHostClass]}}" style="{{virtualHostStyle}}" virtualHostStyle="{{virtualHostStyle}}"><my-title u-i="1166f67f-1,1166f67f-0" bind:__l="__l" u-p="{{a}}" slot="title"></my-title><tn-input u-s="{{['suffix']}}" u-i="1166f67f-2,1166f67f-0" bind:__l="__l" bindupdateModelValue="{{d}}" u-p="{{e}}" slot="body"><tn-icon bindclick="{{b}}" u-i="1166f67f-3,1166f67f-2" bind:__l="__l" u-p="{{c}}" slot="suffix"/></tn-input></param-card>
|
@ -1 +0,0 @@
|
||||
"use strict";const e=require("../../common/vendor.js");Math||o();const o=()=>"./CustomSlider.js",t=e.defineComponent({__name:"Width",props:e.mergeModels({title:{default:"宽度"},options:{default:{min:512,max:1024,step:8}}},{modelValue:{default:512},modelModifiers:{}}),emits:["update:modelValue"],setup(o){const t=o,l=e.useModel(o,"modelValue");return console.log(111111,t.options),(o,t)=>({a:e.o((e=>l.value=e)),b:e.p({title:o.title,options:o.options,modelValue:l.value})})}});wx.createComponent(t);
|
@ -1,6 +0,0 @@
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {
|
||||
"custom-slider": "./CustomSlider"
|
||||
}
|
||||
}
|
@ -1 +0,0 @@
|
||||
<custom-slider wx:if="{{b}}" u-i="14f393b0-0" bind:__l="__l" bindupdateModelValue="{{a}}" u-p="{{b}}" class="{{[virtualHostClass]}}" virtualHostClass="{{[virtualHostClass]}}" style="{{virtualHostStyle}}" virtualHostStyle="{{virtualHostStyle}}"/>
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user