2025/2/24

This commit is contained in:
chinahu-woker
2025-02-24 14:39:19 +08:00
parent 2cbd672783
commit 2d6f736c70
57 changed files with 1090 additions and 263 deletions
@@ -0,0 +1,145 @@
"use strict";
const common_vendor = require("../../../common/vendor.js");
const _sfc_main = {
name: "fui-gallery",
emits: ["change", "hide"],
props: {
urls: {
type: Array,
default() {
return [];
}
},
srcKey: {
type: String,
default: "src"
},
descrKey: {
type: String,
default: "descr"
},
show: {
type: Boolean,
default: false
},
current: {
type: [Number, String],
default: 0
},
//文字超出是否省略成一行
ellipsis: {
type: Boolean,
default: false
},
zIndex: {
type: [Number, String],
default: 1001
},
//是否适配底部安全区
safeArea: {
type: Boolean,
default: true
}
},
watch: {
urls(newVal, oldVal) {
this.initData(newVal);
},
current(newVal) {
this.defActive = this.active;
let val = Number(newVal);
setTimeout(() => {
this.defActive = val;
this.active = val;
}, 20);
}
},
mounted() {
let sys = common_vendor.index.getSystemInfoSync();
this.height = sys.windowHeight;
this.top = sys.statusBarHeight + 20;
this.defActive = Number(this.current);
this.active = this.defActive;
this.initData(this.urls);
},
data() {
let isNvue = false;
return {
isNvue,
imgUrls: [],
active: 0,
defActive: 0,
top: 20,
descr: "",
iphoneX: false,
height: 800
};
},
methods: {
initData(vals) {
if (vals && vals.length > 0) {
if (typeof vals[0] === "string") {
vals = vals.map((item) => {
return {
[this.srcKey]: item
};
});
}
this.imgUrls = vals;
this.$nextTick(() => {
setTimeout(() => {
this.getDescr(this.active);
}, 10);
});
}
},
change(e) {
this.active = e.detail.current;
this.getDescr(this.active);
this.$emit("change", {
index: this.active
});
},
getDescr(index) {
let item = this.imgUrls[index];
if (item) {
this.descr = item[this.descrKey] || "";
}
},
hideGallery() {
this.$emit("hide", {});
}
}
};
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
return common_vendor.e({
a: $props.show || !$data.isNvue
}, $props.show || !$data.isNvue ? common_vendor.e({
b: common_vendor.f($data.imgUrls, (item, index, i0) => {
return {
a: item[$props.srcKey],
b: common_vendor.o((...args) => $options.hideGallery && $options.hideGallery(...args), index),
c: index
};
}),
c: $data.height + "px",
d: $data.height + "px",
e: $data.height + "px",
f: $data.height + "px",
g: common_vendor.o((...args) => $options.change && $options.change(...args)),
h: $data.defActive,
i: common_vendor.t($data.active + 1),
j: common_vendor.t($data.imgUrls.length),
k: $data.top + "px",
l: $data.descr
}, $data.descr ? {
m: common_vendor.t($data.descr),
n: $props.ellipsis ? 1 : "",
o: $data.iphoneX && $props.safeArea ? 1 : ""
} : {}, {
p: $props.zIndex,
q: common_vendor.n($props.show ? "fui-gallery__show" : "fui-gallery__hidden")
}) : {});
}
const Component = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-c9e13cde"]]);
wx.createComponent(Component);
@@ -0,0 +1,4 @@
{
"component": true,
"usingComponents": {}
}
@@ -0,0 +1 @@
<view wx:if="{{a}}" style="{{'z-index:' + p + ';' + virtualHostStyle}}" class="{{['fui-gallery__wrap', 'data-v-c9e13cde', q, virtualHostClass]}}"><swiper class="fui-gallery__img-wrap data-v-c9e13cde" style="{{'height:' + f}}" indicator-dots="{{false}}" bindchange="{{g}}" current="{{h}}" autoplay="{{false}}" duration="{{500}}"><swiper-item wx:for="{{b}}" wx:for-item="item" wx:key="c" class="data-v-c9e13cde" style="{{'height:' + e}}"><view class="fui-gallery__swiper-item data-v-c9e13cde" style="{{'height:' + d}}"><image mode="aspectFit" class="fui-gallery__img data-v-c9e13cde" style="{{'height:' + c}}" src="{{item.a}}" catchtap="{{item.b}}"></image></view></swiper-item></swiper><view class="fui-gallery__index-wrap data-v-c9e13cde" style="{{'top:' + k}}"><text class="fui-gallery__index data-v-c9e13cde">{{i}}/{{j}}</text></view><view wx:if="{{l}}" class="{{['fui-gallery__descr-wrap', 'data-v-c9e13cde', o && 'fui-gallery__weex-safe']}}"><text class="{{['fui-gallery__descr', 'data-v-c9e13cde', n && 'fui-gallery__text-ellipsis']}}">{{m}}</text></view></view>
@@ -0,0 +1,94 @@
.fui-gallery__wrap.data-v-c9e13cde {
position: fixed;
top: 0;
right: 0;
bottom: 0;
left: 0;
background: #000;
}
.fui-gallery__img-wrap.data-v-c9e13cde {
width: 100%;
flex: 1;
position: relative;
font-size: 0;
}
.fui-gallery__swiper-item.data-v-c9e13cde {
width: 100%;
display: flex;
align-items: center;
justify-content: center;
flex-direction: column;
}
.fui-gallery__hidden.data-v-c9e13cde {
display: none;
visibility: hidden;
}
.fui-gallery__show.data-v-c9e13cde {
display: flex;
visibility: visible;
flex-direction: column;
}
.fui-gallery__index-wrap.data-v-c9e13cde {
position: absolute;
left: 0;
right: 0;
display: flex;
align-items: center;
justify-content: center;
}
.fui-gallery__index.data-v-c9e13cde {
display: flex;
align-items: center;
justify-content: center;
font-size: 34rpx;
line-height: 34rpx;
color: #fff;
text-align: center;
font-weight: normal;
padding: 6rpx 20rpx;
border-radius: 100px;
background: rgba(0, 0, 0, .6);
}
.fui-gallery__descr-wrap.data-v-c9e13cde {
position: absolute;
left: 0;
right: 0;
bottom: 0;
background: rgba(17, 17, 17, .6);
padding-bottom: constant(safe-area-inset-bottom);
padding-bottom: env(safe-area-inset-bottom);
}
.fui-gallery__descr.data-v-c9e13cde {
flex: 1;
font-size: 30rpx;
color: #fff;
font-weight: normal;
padding: 26rpx 32rpx;
display: block;
box-sizing: border-box;
z-index: 10;
}
.fui-gallery__text-ellipsis.data-v-c9e13cde {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.fui-gallery__img.data-v-c9e13cde {
width: 100%;
}
+62 -46
View File
@@ -9,6 +9,7 @@ if (!Array) {
const _easycom_fui_tabs2 = common_vendor.resolveComponent("fui-tabs");
const _easycom_fui_sticky2 = common_vendor.resolveComponent("fui-sticky");
const _easycom_fui_section2 = common_vendor.resolveComponent("fui-section");
const _easycom_fui_gallery2 = common_vendor.resolveComponent("fui-gallery");
const _easycom_fui_icon2 = common_vendor.resolveComponent("fui-icon");
const _easycom_fui_load_ani2 = common_vendor.resolveComponent("fui-load-ani");
const _easycom_fui_collapse_item2 = common_vendor.resolveComponent("fui-collapse-item");
@@ -16,12 +17,13 @@ if (!Array) {
const _easycom_fui_timeaxis2 = common_vendor.resolveComponent("fui-timeaxis");
const _easycom_fui_waterfall_item2 = common_vendor.resolveComponent("fui-waterfall-item");
const _easycom_fui_waterfall2 = common_vendor.resolveComponent("fui-waterfall");
(_easycom_fui_background_image2 + _easycom_fui_tabs2 + _easycom_fui_sticky2 + _easycom_fui_section2 + _easycom_fui_icon2 + _easycom_fui_load_ani2 + _easycom_fui_collapse_item2 + _easycom_fui_timeaxis_node2 + _easycom_fui_timeaxis2 + _easycom_fui_waterfall_item2 + _easycom_fui_waterfall2)();
(_easycom_fui_background_image2 + _easycom_fui_tabs2 + _easycom_fui_sticky2 + _easycom_fui_section2 + _easycom_fui_gallery2 + _easycom_fui_icon2 + _easycom_fui_load_ani2 + _easycom_fui_collapse_item2 + _easycom_fui_timeaxis_node2 + _easycom_fui_timeaxis2 + _easycom_fui_waterfall_item2 + _easycom_fui_waterfall2)();
}
const _easycom_fui_background_image = () => "../../../components/firstui/fui-background-image/fui-background-image.js";
const _easycom_fui_tabs = () => "../../../components/firstui/fui-tabs/fui-tabs.js";
const _easycom_fui_sticky = () => "../../../components/firstui/fui-sticky/fui-sticky.js";
const _easycom_fui_section = () => "../../../components/firstui/fui-section/fui-section.js";
const _easycom_fui_gallery = () => "../../../components/firstui/fui-gallery/fui-gallery.js";
const _easycom_fui_icon = () => "../../../components/firstui/fui-icon/fui-icon.js";
const _easycom_fui_load_ani = () => "../../../components/firstui/fui-load-ani/fui-load-ani.js";
const _easycom_fui_collapse_item = () => "../../../components/firstui/fui-collapse-item/fui-collapse-item.js";
@@ -30,7 +32,7 @@ const _easycom_fui_timeaxis = () => "../../../components/firstui/fui-timeaxis/fu
const _easycom_fui_waterfall_item = () => "../../../components/firstui/fui-waterfall-item/fui-waterfall-item.js";
const _easycom_fui_waterfall = () => "../../../components/firstui/fui-waterfall/fui-waterfall.js";
if (!Math) {
(_easycom_fui_background_image + _easycom_fui_tabs + _easycom_fui_sticky + _easycom_fui_section + _easycom_fui_icon + _easycom_fui_load_ani + _easycom_fui_collapse_item + _easycom_fui_timeaxis_node + _easycom_fui_timeaxis + _easycom_fui_waterfall_item + _easycom_fui_waterfall)();
(_easycom_fui_background_image + _easycom_fui_tabs + _easycom_fui_sticky + _easycom_fui_section + _easycom_fui_gallery + _easycom_fui_icon + _easycom_fui_load_ani + _easycom_fui_collapse_item + _easycom_fui_timeaxis_node + _easycom_fui_timeaxis + _easycom_fui_waterfall_item + _easycom_fui_waterfall)();
}
const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
__name: "history_fui",
@@ -113,8 +115,15 @@ const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
currentTabIndex.value = e.index;
}
const show = common_vendor.ref(false);
function showGallery() {
common_vendor.ref();
const GalleryPic = common_vendor.ref();
function showGallery(data) {
show.value = true;
GalleryPic.value = data;
console.log(GalleryPic.value);
}
function hideGallery() {
show.value = false;
}
function linkType(url) {
if (typeof url !== "string")
@@ -190,12 +199,17 @@ const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
}),
f: currentTabIndex.value == 0
}, currentTabIndex.value == 0 ? {
g: common_vendor.f(historyData.value, (item, index, i0) => {
g: common_vendor.o(hideGallery),
h: common_vendor.p({
urls: GalleryPic.value,
show: show.value
}),
i: common_vendor.f(historyData.value, (item, index, i0) => {
var _a, _b, _c, _d, _e;
return common_vendor.e({
a: item.status == 2
}, item.status == 2 ? {
b: "56f14cc7-6-" + i0 + "," + ("56f14cc7-5-" + i0),
b: "56f14cc7-7-" + i0 + "," + ("56f14cc7-6-" + i0),
c: common_vendor.p({
name: "clear-fill",
size: 28,
@@ -204,7 +218,7 @@ const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
} : {}, {
d: item.status == 1
}, item.status == 1 ? {
e: "56f14cc7-7-" + i0 + "," + ("56f14cc7-5-" + i0),
e: "56f14cc7-8-" + i0 + "," + ("56f14cc7-6-" + i0),
f: common_vendor.p({
name: "face",
size: 28,
@@ -213,96 +227,98 @@ const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
} : {}, {
g: item.status == 0
}, item.status == 0 ? {
h: "56f14cc7-8-" + i0 + "," + ("56f14cc7-5-" + i0),
h: "56f14cc7-9-" + i0 + "," + ("56f14cc7-6-" + i0),
i: common_vendor.p({
type: "3"
})
} : {}, {
j: linkType(item.output[0]) == 0
}, linkType(item.output[0]) == 0 ? {
k: "56f14cc7-9-" + i0 + "," + ("56f14cc7-5-" + i0),
k: "56f14cc7-10-" + i0 + "," + ("56f14cc7-6-" + i0),
l: common_vendor.p({
title: "提示词",
descr: (_a = item.params) == null ? void 0 : _a.positive,
descrSize: "32",
descrColor: "#000000"
}),
m: common_vendor.o(showGallery, index),
n: _ctx.scaleToFill,
o: item.output[0],
p: common_vendor.o(($event) => removeHistoryRecord(item._id), index),
q: "56f14cc7-10-" + i0 + "," + ("56f14cc7-5-" + i0),
r: common_vendor.p({
m: common_vendor.f(item.output, (pic, picIndex, i1) => {
return {
a: pic
};
}),
n: common_vendor.o(($event) => showGallery(historyData.value[index].output)),
o: common_vendor.o(($event) => removeHistoryRecord(item.id), index),
p: "56f14cc7-11-" + i0 + "," + ("56f14cc7-6-" + i0),
q: common_vendor.p({
color: "#ff0000",
name: "delete"
})
} : linkType(item.output[0]) == 1 ? {
t: "56f14cc7-11-" + i0 + "," + ("56f14cc7-5-" + i0),
v: common_vendor.p({
s: "56f14cc7-12-" + i0 + "," + ("56f14cc7-6-" + i0),
t: common_vendor.p({
title: "提示词",
descr: (_b = item.params) == null ? void 0 : _b.positive
}),
w: item.output[0],
x: common_vendor.o(($event) => removeHistoryRecord(item._id), index),
y: "56f14cc7-12-" + i0 + "," + ("56f14cc7-5-" + i0),
z: common_vendor.p({
v: item.output[0],
w: common_vendor.o(($event) => removeHistoryRecord(item._id), index),
x: "56f14cc7-13-" + i0 + "," + ("56f14cc7-6-" + i0),
y: common_vendor.p({
color: "#ff0000",
name: "delete"
}),
A: common_vendor.o(($event) => dowonVideo(item.output[0]), index),
B: "56f14cc7-13-" + i0 + "," + ("56f14cc7-5-" + i0),
C: common_vendor.p({
z: common_vendor.o(($event) => dowonVideo(item.output[0]), index),
A: "56f14cc7-14-" + i0 + "," + ("56f14cc7-6-" + i0),
B: common_vendor.p({
color: "#e0e0e0",
name: "pulldown"
})
} : {
D: "56f14cc7-14-" + i0 + "," + ("56f14cc7-5-" + i0),
E: common_vendor.p({
C: "56f14cc7-15-" + i0 + "," + ("56f14cc7-6-" + i0),
D: common_vendor.p({
title: "提示词",
descrSize: "32",
descrColor: "#000000",
descr: (_c = item.params) == null ? void 0 : _c.positive
}),
F: ((_d = item.params) == null ? void 0 : _d.image_path_mask) || ((_e = item.params) == null ? void 0 : _e.image_path_origin) || testData,
G: common_vendor.o(($event) => removeHistoryRecord(item._id), index),
H: "56f14cc7-15-" + i0 + "," + ("56f14cc7-5-" + i0),
I: common_vendor.p({
E: ((_d = item.params) == null ? void 0 : _d.image_path_mask) || ((_e = item.params) == null ? void 0 : _e.image_path_origin) || testData,
F: common_vendor.o(($event) => removeHistoryRecord(item.id), index),
G: "56f14cc7-16-" + i0 + "," + ("56f14cc7-6-" + i0),
H: common_vendor.p({
color: "#ff0000",
name: "delete"
}),
J: common_vendor.o(($event) => handleClick(item.output[0]), index),
K: common_vendor.t(item.output[0]),
L: "56f14cc7-16-" + i0 + "," + ("56f14cc7-5-" + i0),
M: common_vendor.p({
I: common_vendor.o(($event) => handleClick(item.output[0]), index),
J: common_vendor.t(item.output[0]),
K: "56f14cc7-17-" + i0 + "," + ("56f14cc7-6-" + i0),
L: common_vendor.p({
background: "transparent "
})
}, {
s: linkType(item.output[0]) == 1,
N: index,
O: "56f14cc7-5-" + i0 + ",56f14cc7-4"
r: linkType(item.output[0]) == 1,
M: index,
N: "56f14cc7-6-" + i0 + ",56f14cc7-5"
});
}),
h: common_vendor.p({
j: common_vendor.p({
padding: ["32rpx", "16rpx"]
})
} : {}, {
i: currentTabIndex.value == 1
k: currentTabIndex.value == 1
}, currentTabIndex.value == 1 ? {
j: common_vendor.f(historyData.value, (item, index, i0) => {
l: common_vendor.f(historyData.value, (item, index, i0) => {
var _a, _b;
return common_vendor.e({
a: linkType(item.output[0]) == 0
}, linkType(item.output[0]) == 0 ? {
b: _ctx.scaleToFill,
c: item.output[0]
b: item.output[0]
} : linkType(item.output[0]) == 1 ? {
e: item.output[0]
d: item.output[0]
} : {
f: ((_a = item.params) == null ? void 0 : _a.image_path_mask) || ((_b = item.params) == null ? void 0 : _b.image_path_origin) || testData
e: ((_a = item.params) == null ? void 0 : _a.image_path_mask) || ((_b = item.params) == null ? void 0 : _b.image_path_origin) || testData
}, {
d: linkType(item.output[0]) == 1,
g: index,
h: "56f14cc7-18-" + i0 + ",56f14cc7-17"
c: linkType(item.output[0]) == 1,
f: index,
g: "56f14cc7-19-" + i0 + ",56f14cc7-18"
});
})
} : {});
@@ -5,6 +5,7 @@
"fui-tabs": "../../../components/firstui/fui-tabs/fui-tabs",
"fui-sticky": "../../../components/firstui/fui-sticky/fui-sticky",
"fui-section": "../../../components/firstui/fui-section/fui-section",
"fui-gallery": "../../../components/firstui/fui-gallery/fui-gallery",
"fui-icon": "../../../components/firstui/fui-icon/fui-icon",
"fui-load-ani": "../../../components/firstui/fui-load-ani/fui-load-ani",
"fui-collapse-item": "../../../components/firstui/fui-collapse-item/fui-collapse-item",
File diff suppressed because one or more lines are too long
@@ -33,7 +33,6 @@
}
.fui-logo.data-v-56f14cc7 {
width: 300rpx;
height: 400rpx;
margin-right: 24rpx;
display: flex;
text-align: center;
+64 -66
View File
@@ -41,11 +41,10 @@ const _easycom_up_icon = () => "../../node-modules/uview-plus/components/u-icon/
const _easycom_up_cell = () => "../../node-modules/uview-plus/components/u-cell/u-cell.js";
const _easycom_up_cell_group = () => "../../node-modules/uview-plus/components/u-cell-group/u-cell-group.js";
if (!Math) {
(_easycom_fui_tabs + _easycom_fui_nav_bar + fuiBackgroundImage + AppSwiper + _easycom_up_gap + AppTags + AppWaterFall + _easycom_up_status_bar + MyGraphicCard + BaseLayout + _easycom_fui_footer + _easycom_fui_avatar + _easycom_fui_load_ani + _easycom_fui_icon + _easycom_fui_picker + _easycom_fui_safe_area + _easycom_up_avatar + UserMemberInfo + GetUserInfoPopup + _easycom_up_icon + _easycom_up_cell + _easycom_up_cell_group + TnIcon)();
(_easycom_fui_tabs + _easycom_fui_nav_bar + fuiBackgroundImage + AppSwiper + _easycom_up_gap + AppTags + AppWaterFall + _easycom_up_status_bar + MyGraphicCard + BaseLayout + _easycom_fui_footer + _easycom_fui_avatar + _easycom_fui_load_ani + _easycom_fui_icon + _easycom_fui_picker + _easycom_fui_safe_area + _easycom_up_avatar + UserMemberInfo + GetUserInfoPopup + _easycom_up_icon + _easycom_up_cell + _easycom_up_cell_group)();
}
const BaseLayout = () => "../../layouts/BaseLayout.js";
const GetUserInfoPopup = () => "../../components/GetUserInfoPopup.js";
const TnIcon = () => "../../node-modules/@tuniao/tnui-vue3-uniapp/components/icon/src/icon.js";
const UserMemberInfo = () => "../../components/home/UserMemberInfo.js";
const MyGraphicCard = () => "../../components/custom/MyGraphicCard/MyGraphicCard.js";
const AppSwiper = () => "../../components/home/AppSwiper.js";
@@ -132,7 +131,7 @@ const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
const content = common_vendor.ref("");
const msgList = common_vendor.ref([
{
"content": "你好我是Ai聊天助手,有什么问题问我吧!(温馨提示:长按消息可以复制文本哦)",
"content": "你好我是Ai聊天助手,有什么问题问我吧!(温馨提示:点击消息可以复制哦)",
"role": "system"
}
]);
@@ -249,6 +248,7 @@ const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
"role": "system"
});
msg.value = "";
console.log(msgList.value);
}
common_vendor.onReady(() => {
socketInit();
@@ -439,11 +439,11 @@ const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
current: pageindex.value,
size: "28",
fontWeight: "900",
background: true
background: "transparent"
}),
c: common_vendor.p({
custom: true,
background: true
background: "transparent"
}),
d: common_vendor.p({
src: backGroundImage
@@ -451,16 +451,14 @@ const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
e: common_vendor.p({
height: "10"
}),
f: common_vendor.o(img2pay),
g: common_vendor.o(handleGotoHistory),
h: common_vendor.p({
f: common_vendor.p({
height: "10"
}),
i: pageindex.value == 0,
j: common_vendor.p({
g: pageindex.value == 0,
h: common_vendor.p({
src: backGroundImage
}),
k: common_vendor.f(graphicDatas.value, (graphicData, k0, i0) => {
i: common_vendor.f(graphicDatas.value, (graphicData, k0, i0) => {
return {
a: "83a5a03c-11-" + i0 + ",83a5a03c-9",
b: common_vendor.p({
@@ -478,18 +476,18 @@ const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
})
};
}),
l: common_vendor.p({
j: common_vendor.p({
text: "Copyright © 2021 Fuzi-AI"
}),
m: pageindex.value == 1,
n: common_vendor.p({
k: pageindex.value == 1,
l: common_vendor.p({
src: backGroundImage
}),
o: common_vendor.f(msgList.value, (item, index, i0) => {
m: common_vendor.f(msgList.value, (item, index, i0) => {
return common_vendor.e({
a: "83a5a03c-14-" + i0,
b: common_vendor.p({
background: "#fff",
background: "#f9f9f9",
src: item.role == "system" ? "https://wangbo0808.oss-cn-shanghai.aliyuncs.com/assets/gpt4.png" : common_vendor.unref(user).avatar_url
}),
c: item.content.length > 1
@@ -512,95 +510,95 @@ const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
m: index
});
}),
p: common_vendor.unref(items),
q: common_vendor.t(chooseModel.value || modelList.value[0]),
r: common_vendor.o(popupMth),
s: common_vendor.p({
n: common_vendor.unref(items),
o: common_vendor.t(chooseModel.value || modelList.value[0]),
p: common_vendor.o(popupMth),
q: common_vendor.p({
name: "message",
color: "#3b3ee9"
}),
t: -1,
v: common_vendor.o(msgSend),
w: content.value,
x: common_vendor.o(($event) => content.value = $event.detail.value),
y: content.value.length == 0
r: -1,
s: common_vendor.o(msgSend),
t: content.value,
v: common_vendor.o(($event) => content.value = $event.detail.value),
w: content.value.length == 0
}, content.value.length == 0 ? {
z: common_vendor.p({
x: common_vendor.p({
name: "clear",
color: "#3b3ee9"
})
} : {
A: common_vendor.o(msgSend)
y: common_vendor.o(msgSend)
}, {
B: common_vendor.o(change),
C: common_vendor.o(cancel),
D: common_vendor.p({
z: common_vendor.o(change),
A: common_vendor.o(cancel),
B: common_vendor.p({
options: modelList.value,
show: popup.value
}),
E: !_ctx.focus
}, !_ctx.focus ? {
F: common_vendor.p({
C: common_vendor.p({
background: "#f8f8f8"
})
} : {}, {
G: pageindex.value == 2,
H: common_vendor.p({
}),
D: pageindex.value == 2,
E: common_vendor.p({
src: backGroundImage
}),
I: common_vendor.p({
F: common_vendor.p({
src: common_vendor.unref(user).avatar_url,
size: "80"
}),
J: !common_vendor.unref(composables_useCommon.isLogin)
G: !common_vendor.unref(composables_useCommon.isLogin)
}, !common_vendor.unref(composables_useCommon.isLogin) ? {} : {}, {
K: common_vendor.unref(composables_useCommon.isLogin)
H: common_vendor.unref(composables_useCommon.isLogin)
}, common_vendor.unref(composables_useCommon.isLogin) ? {
L: common_vendor.t(common_vendor.unref(user).nickname)
I: common_vendor.t(common_vendor.unref(user).nickname)
} : {}, {
M: common_vendor.unref(composables_useCommon.isLogin)
J: common_vendor.unref(composables_useCommon.isLogin)
}, common_vendor.unref(composables_useCommon.isLogin) ? {
N: common_vendor.t(common_vendor.unref(user).balance)
K: common_vendor.t(common_vendor.unref(user).balance)
} : {}, {
O: common_vendor.p({
L: common_vendor.p({
name: "scan",
color: "#969799",
size: "28"
}),
P: common_vendor.o(toEmpty),
Q: common_vendor.p({
M: common_vendor.o(toEmpty),
N: common_vendor.p({
name: "arrow-right",
color: "#969799",
size: "28"
}),
R: common_vendor.o(toEmpty),
S: common_vendor.o(handleLogin),
T: common_vendor.o(($event) => showPay.value = true),
O: common_vendor.o(toEmpty),
P: common_vendor.o(handleLogin),
Q: common_vendor.o(img2pay),
R: common_vendor.p({
size: "30",
name: "https://chinahu-ai-server.oss-cn-chengdu.aliyuncs.com/Iconly_Glass_Gallery.png"
}),
S: common_vendor.o(handleGotoHistory),
T: common_vendor.p({
border: false
}),
U: common_vendor.p({
icon: "rmb-circle",
title: "算力充值",
size: "30",
name: "https://chinahu-ai-server.oss-cn-chengdu.aliyuncs.com/Iconly_Glass_Chat.png"
}),
V: common_vendor.p({
border: false
}),
V: common_vendor.o(handleGotoHistory),
W: common_vendor.p({
border: false,
icon: "photo",
title: "绘图历史"
size: "30",
name: "https://chinahu-ai-server.oss-cn-chengdu.aliyuncs.com/Iconly_Glass_Home.png"
}),
X: common_vendor.p({
name: "logout"
X: common_vendor.o(handleLoginOut),
Y: common_vendor.p({
border: false
}),
Y: common_vendor.o(handleLoginOut),
Z: common_vendor.p({
border: false,
icon: "setting",
title: "退出登录"
color: "#fff",
border: false
}),
aa: common_vendor.p({
icon: "chat-fill",
title: "微信客服"
}),
ab: pageindex.value == 3
aa: pageindex.value == 3
});
};
}
-1
View File
@@ -18,7 +18,6 @@
"up-cell-group": "../../node-modules/uview-plus/components/u-cell-group/u-cell-group",
"base-layout": "../../layouts/BaseLayout",
"get-user-info-popup": "../../components/GetUserInfoPopup",
"tn-icon": "../../node-modules/@tuniao/tnui-vue3-uniapp/components/icon/src/icon",
"user-member-info": "../../components/home/UserMemberInfo",
"my-graphic-card": "../../components/custom/MyGraphicCard/MyGraphicCard",
"app-swiper": "../../components/home/AppSwiper",
File diff suppressed because one or more lines are too long
Binary file not shown.

Before

Width:  |  Height:  |  Size: 56 KiB

Binary file not shown.
Binary file not shown.
Binary file not shown.

Before

Width:  |  Height:  |  Size: 82 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 56 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 37 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 24 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 755 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 969 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 23 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 25 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 37 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 30 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 138 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 142 KiB