fix:更新

This commit is contained in:
Your Name 2026-04-04 23:24:03 +08:00
parent 55f2e26b8c
commit 598dfb8f21
7 changed files with 316 additions and 296 deletions

View File

@ -1,3 +1,3 @@
{
"version": "0.0.83"
"version": "0.0.84"
}

View File

@ -1 +1 @@
"use strict";const e=require("../../../common/vendor.js");require("../../../common/libraries/getPageConfig.js");const r=require("../../../common/libraries/public.js");if(require("../../../common/store/useWeAppAuthStore.js"),require("../../../gen/Apis.js"),require("../../../common/libraries/request.js"),require("../../../common/store/useWorkStore.js"),require("../../../common/libraries/setTabBar.js"),require("../../../common/libraries/apiLoading.js"),!Array){e.resolveComponent("uni-icons")()}Math;const o=e.defineComponent({__name:"AiInput",setup(o){const i=()=>{e.index.navigateTo({url:"/pages/ai/chat"})};return(o,s)=>({a:e.p({type:"arrow-right",size:"20",color:"#A4A4A4"}),b:e.o(i),c:e.f(e.unref(r.quickActions),((r,o,i)=>({a:`/static/svg/${r.icon}`,b:e.t(r.label),c:`item_${o}`,d:e.o((o=>(r=>{e.index.navigateTo({url:`/pages/ai/chat?message=${null==r?void 0:r.message}`})})(r)),`item_${o}`)})))})}}),i=e._export_sfc(o,[["__scopeId","data-v-726ad5ed"]]);wx.createComponent(i);
"use strict";const e=require("../../../common/vendor.js");require("../../../common/libraries/getPageConfig.js");const r=require("../../../common/libraries/public.js"),o=require("../../../common/libraries/userUserLogin.js");if(require("../../../common/store/useWeAppAuthStore.js"),require("../../../gen/Apis.js"),require("../../../common/libraries/request.js"),require("../../../common/store/useWorkStore.js"),require("../../../common/libraries/setTabBar.js"),require("../../../common/libraries/apiLoading.js"),!Array){e.resolveComponent("uni-icons")()}Math;const i=e.defineComponent({__name:"AiInput",setup(i){const s=()=>{var r;if(!(null==(r=o.getUserLogin)?void 0:r.onBindPhone()))return!1;e.index.navigateTo({url:"/pages/ai/chat"})};return(o,i)=>({a:e.p({type:"arrow-right",size:"20",color:"#A4A4A4"}),b:e.o(s),c:e.f(e.unref(r.quickActions),((r,o,i)=>({a:`/static/svg/${r.icon}`,b:e.t(r.label),c:`item_${o}`,d:e.o((o=>(r=>{e.index.navigateTo({url:`/pages/ai/chat?message=${null==r?void 0:r.message}`})})(r)),`item_${o}`)})))})}}),s=e._export_sfc(i,[["__scopeId","data-v-37d49279"]]);wx.createComponent(s);

View File

@ -1 +1 @@
<view class="ai_contents data-v-726ad5ed"><view class="ai_contents_center data-v-726ad5ed"><view class="ai_contents_header data-v-726ad5ed"><image class="data-v-726ad5ed" src="https://pay-prod-1369486729.cos.ap-guangzhou.myqcloud.com/uploads/cs-test/01KN3YX35D5WJ22MQ1GH4X6BF0.png" mode="heightFix"/><text class="data-v-726ad5ed">我是客服邻邻,遇到问题了,可以问我哦~ </text></view><view class="ai_contents_input data-v-726ad5ed" bindtap="{{b}}"><view class="ai_input data-v-726ad5ed"> 点击联系在线客服 </view><uni-icons wx:if="{{a}}" class="data-v-726ad5ed" u-i="726ad5ed-0" bind:__l="__l" u-p="{{a}}"></uni-icons></view><view class="ai_footer data-v-726ad5ed"><scroll-view class="data-v-726ad5ed" scroll-x="true" style="height:80rpx"><view wx:for="{{c}}" wx:for-item="i" wx:key="c" class="items data-v-726ad5ed" bindtap="{{i.d}}"><view class="items_center data-v-726ad5ed"><image class="data-v-726ad5ed" src="{{i.a}}" mode="heightFix"/> {{i.b}}</view></view></scroll-view></view></view></view>
<view class="ai_contents data-v-37d49279"><view class="ai_contents_center data-v-37d49279"><view class="ai_contents_header data-v-37d49279"><image class="data-v-37d49279" src="https://pay-prod-1369486729.cos.ap-guangzhou.myqcloud.com/uploads/cs-test/01KN3YX35D5WJ22MQ1GH4X6BF0.png" mode="heightFix"/><text class="data-v-37d49279">我是客服邻邻,遇到问题了,可以问我哦~ </text></view><view class="ai_contents_input data-v-37d49279" bindtap="{{b}}"><view class="ai_input data-v-37d49279"> 点击联系在线客服 </view><uni-icons wx:if="{{a}}" class="data-v-37d49279" u-i="37d49279-0" bind:__l="__l" u-p="{{a}}"></uni-icons></view><view class="ai_footer data-v-37d49279"><scroll-view class="data-v-37d49279" scroll-x="true" style="height:80rpx"><view wx:for="{{c}}" wx:for-item="i" wx:key="c" class="items data-v-37d49279" bindtap="{{i.d}}"><view class="items_center data-v-37d49279"><image class="data-v-37d49279" src="{{i.a}}" mode="heightFix"/> {{i.b}}</view></view></scroll-view></view></view></view>

View File

@ -1 +1 @@
.ai_contents.data-v-726ad5ed{background-color:#fff;padding:6rpx;border-radius:20rpx;height:320rpx;margin:30rpx}.ai_contents .ai_contents_center.data-v-726ad5ed{border-radius:20rpx;background:linear-gradient(307deg,rgba(255,137,24,.06) -1%,rgba(255,255,255,0) 29%),linear-gradient(243deg,rgba(75,72,255,.06) 1%,rgba(255,255,255,0) 20%),linear-gradient(303deg,rgba(255,255,255,0) 71%,rgba(40,26,255,.08) 100%),linear-gradient(231deg,rgba(255,255,255,0) 76%,rgba(255,105,0,.06) 98%,rgba(255,145,68,.06) 98%);width:100%;height:100%}.ai_contents .ai_contents_center button.data-v-726ad5ed{padding:0;margin:0 30rpx;text-align:left;display:flex;align-items:center;background-color:transparent;height:90rpx;border-radius:100rpx;box-shadow:0 4px 10px 3px rgba(231,231,231,.3)}.ai_contents .ai_contents_header.data-v-726ad5ed{display:flex;align-items:center;color:#333;font-size:28rpx;padding:0 0 0 50rpx}.ai_contents .ai_contents_header image.data-v-726ad5ed{width:56rpx;height:130rpx;position:relative;margin-top:-22rpx}.ai_contents .ai_contents_header text.data-v-726ad5ed{padding:5rpx 0 0 15rpx}.ai_contents .ai_contents_input.data-v-726ad5ed{display:flex;align-items:center;justify-content:space-between;background-color:#fff;border-radius:10rpx;padding:15rpx 20rpx;margin:5rpx 30rpx;box-shadow:0 4px 10px rgba(231,231,231,.3)}.ai_contents .ai_contents_input .ai_input.data-v-726ad5ed{flex:1;font-size:28rpx;color:#666}.ai_contents .ai_contents_input .ai_input input.data-v-726ad5ed{height:100%}.ai_contents .ai_footer.data-v-726ad5ed{padding:25rpx 0 0;white-space:nowrap}.ai_contents .ai_footer .items.data-v-726ad5ed{background-color:#fff;box-shadow:0 0 6px 3px rgba(199,199,199,.1);border-radius:10rpx;display:inline-block;height:70rpx;color:#3d3d3d;font-size:24rpx;padding:0 20rpx;margin-right:15rpx}.ai_contents .ai_footer .items.data-v-726ad5ed:first-child{margin-left:30rpx}.ai_contents .ai_footer .items.data-v-726ad5ed:last-child{margin-right:30rpx}.ai_contents .ai_footer .items .items_center.data-v-726ad5ed{display:flex;align-items:center;height:100%}.ai_contents .ai_footer .items image.data-v-726ad5ed{width:40rpx;height:40rpx;margin-right:10rpx}
.ai_contents.data-v-37d49279{background-color:#fff;padding:6rpx;border-radius:20rpx;height:320rpx;margin:30rpx}.ai_contents .ai_contents_center.data-v-37d49279{border-radius:20rpx;background:linear-gradient(307deg,rgba(255,137,24,.06) -1%,rgba(255,255,255,0) 29%),linear-gradient(243deg,rgba(75,72,255,.06) 1%,rgba(255,255,255,0) 20%),linear-gradient(303deg,rgba(255,255,255,0) 71%,rgba(40,26,255,.08) 100%),linear-gradient(231deg,rgba(255,255,255,0) 76%,rgba(255,105,0,.06) 98%,rgba(255,145,68,.06) 98%);width:100%;height:100%}.ai_contents .ai_contents_center button.data-v-37d49279{padding:0;margin:0 30rpx;text-align:left;display:flex;align-items:center;background-color:transparent;height:90rpx;border-radius:100rpx;box-shadow:0 4px 10px 3px rgba(231,231,231,.3)}.ai_contents .ai_contents_header.data-v-37d49279{display:flex;align-items:center;color:#333;font-size:28rpx;padding:0 0 0 50rpx}.ai_contents .ai_contents_header image.data-v-37d49279{width:56rpx;height:130rpx;position:relative;margin-top:-22rpx}.ai_contents .ai_contents_header text.data-v-37d49279{padding:5rpx 0 0 15rpx}.ai_contents .ai_contents_input.data-v-37d49279{display:flex;align-items:center;justify-content:space-between;background-color:#fff;border-radius:10rpx;padding:15rpx 20rpx;margin:5rpx 30rpx;box-shadow:0 4px 10px rgba(231,231,231,.3)}.ai_contents .ai_contents_input .ai_input.data-v-37d49279{flex:1;font-size:28rpx;color:#666}.ai_contents .ai_contents_input .ai_input input.data-v-37d49279{height:100%}.ai_contents .ai_footer.data-v-37d49279{padding:25rpx 0 0;white-space:nowrap}.ai_contents .ai_footer .items.data-v-37d49279{background-color:#fff;box-shadow:0 0 6px 3px rgba(199,199,199,.1);border-radius:10rpx;display:inline-block;height:70rpx;color:#3d3d3d;font-size:24rpx;padding:0 20rpx;margin-right:15rpx}.ai_contents .ai_footer .items.data-v-37d49279:first-child{margin-left:30rpx}.ai_contents .ai_footer .items.data-v-37d49279:last-child{margin-right:30rpx}.ai_contents .ai_footer .items .items_center.data-v-37d49279{display:flex;align-items:center;height:100%}.ai_contents .ai_footer .items image.data-v-37d49279{width:40rpx;height:40rpx;margin-right:10rpx}

View File

@ -11680,305 +11680,316 @@ class Request2 {
}
}
var commonjsGlobal = typeof globalThis !== "undefined" ? globalThis : typeof window !== "undefined" ? window : typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : {};
var dayjs_minExports = {};
function getDefaultExportFromCjs(x) {
return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, "default") ? x["default"] : x;
}
var dayjs_minExports$1 = {};
var dayjs_min = {
get exports() {
return dayjs_minExports;
return dayjs_minExports$1;
},
set exports(v) {
dayjs_minExports = v;
dayjs_minExports$1 = v;
}
};
(function(module2, exports2) {
!function(t2, e2) {
module2.exports = e2();
}(commonjsGlobal, function() {
var t2 = 1e3, e2 = 6e4, n2 = 36e5, r2 = "millisecond", i = "second", s2 = "minute", u = "hour", a = "day", o2 = "week", c = "month", f2 = "quarter", h = "year", d = "date", l = "Invalid Date", $ = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, y = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, M = { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(t3) {
var e3 = ["th", "st", "nd", "rd"], n3 = t3 % 100;
return "[" + t3 + (e3[(n3 - 20) % 10] || e3[n3] || e3[0]) + "]";
} }, m = function(t3, e3, n3) {
var r3 = String(t3);
return !r3 || r3.length >= e3 ? t3 : "" + Array(e3 + 1 - r3.length).join(n3) + t3;
}, v = { s: m, z: function(t3) {
var e3 = -t3.utcOffset(), n3 = Math.abs(e3), r3 = Math.floor(n3 / 60), i2 = n3 % 60;
return (e3 <= 0 ? "+" : "-") + m(r3, 2, "0") + ":" + m(i2, 2, "0");
}, m: function t3(e3, n3) {
if (e3.date() < n3.date())
return -t3(n3, e3);
var r3 = 12 * (n3.year() - e3.year()) + (n3.month() - e3.month()), i2 = e3.clone().add(r3, c), s3 = n3 - i2 < 0, u2 = e3.clone().add(r3 + (s3 ? -1 : 1), c);
return +(-(r3 + (n3 - i2) / (s3 ? i2 - u2 : u2 - i2)) || 0);
}, a: function(t3) {
return t3 < 0 ? Math.ceil(t3) || 0 : Math.floor(t3);
}, p: function(t3) {
return { M: c, y: h, w: o2, d: a, D: d, h: u, m: s2, s: i, ms: r2, Q: f2 }[t3] || String(t3 || "").toLowerCase().replace(/s$/, "");
}, u: function(t3) {
return void 0 === t3;
} }, g = "en", D = {};
D[g] = M;
var p2 = "$isDayjsObject", S = function(t3) {
return t3 instanceof _ || !(!t3 || !t3[p2]);
}, w = function t3(e3, n3, r3) {
var i2;
if (!e3)
return g;
if ("string" == typeof e3) {
var s3 = e3.toLowerCase();
D[s3] && (i2 = s3), n3 && (D[s3] = n3, i2 = s3);
var u2 = e3.split("-");
if (!i2 && u2.length > 1)
return t3(u2[0]);
} else {
var a2 = e3.name;
D[a2] = e3, i2 = a2;
}
return !r3 && i2 && (g = i2), i2 || !r3 && g;
}, O = function(t3, e3) {
if (S(t3))
return t3.clone();
var n3 = "object" == typeof e3 ? e3 : {};
return n3.date = t3, n3.args = arguments, new _(n3);
}, b = v;
b.l = w, b.i = S, b.w = function(t3, e3) {
return O(t3, { locale: e3.$L, utc: e3.$u, x: e3.$x, $offset: e3.$offset });
};
var _ = function() {
function M2(t3) {
this.$L = w(t3.locale, null, true), this.parse(t3), this.$x = this.$x || t3.x || {}, this[p2] = true;
}
var m2 = M2.prototype;
return m2.parse = function(t3) {
this.$d = function(t4) {
var e3 = t4.date, n3 = t4.utc;
if (null === e3)
return new Date(NaN);
if (b.u(e3))
return new Date();
if (e3 instanceof Date)
return new Date(e3);
if ("string" == typeof e3 && !/Z$/i.test(e3)) {
var r3 = e3.match($);
if (r3) {
var i2 = r3[2] - 1 || 0, s3 = (r3[7] || "0").substring(0, 3);
return n3 ? new Date(Date.UTC(r3[1], i2, r3[3] || 1, r3[4] || 0, r3[5] || 0, r3[6] || 0, s3)) : new Date(r3[1], i2, r3[3] || 1, r3[4] || 0, r3[5] || 0, r3[6] || 0, s3);
}
}
return new Date(e3);
}(t3), this.init();
}, m2.init = function() {
var t3 = this.$d;
this.$y = t3.getFullYear(), this.$M = t3.getMonth(), this.$D = t3.getDate(), this.$W = t3.getDay(), this.$H = t3.getHours(), this.$m = t3.getMinutes(), this.$s = t3.getSeconds(), this.$ms = t3.getMilliseconds();
}, m2.$utils = function() {
return b;
}, m2.isValid = function() {
return !(this.$d.toString() === l);
}, m2.isSame = function(t3, e3) {
var n3 = O(t3);
return this.startOf(e3) <= n3 && n3 <= this.endOf(e3);
}, m2.isAfter = function(t3, e3) {
return O(t3) < this.startOf(e3);
}, m2.isBefore = function(t3, e3) {
return this.endOf(e3) < O(t3);
}, m2.$g = function(t3, e3, n3) {
return b.u(t3) ? this[e3] : this.set(n3, t3);
}, m2.unix = function() {
return Math.floor(this.valueOf() / 1e3);
}, m2.valueOf = function() {
return this.$d.getTime();
}, m2.startOf = function(t3, e3) {
var n3 = this, r3 = !!b.u(e3) || e3, f3 = b.p(t3), l2 = function(t4, e4) {
var i2 = b.w(n3.$u ? Date.UTC(n3.$y, e4, t4) : new Date(n3.$y, e4, t4), n3);
return r3 ? i2 : i2.endOf(a);
}, $2 = function(t4, e4) {
return b.w(n3.toDate()[t4].apply(n3.toDate("s"), (r3 ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(e4)), n3);
}, y2 = this.$W, M3 = this.$M, m3 = this.$D, v2 = "set" + (this.$u ? "UTC" : "");
switch (f3) {
case h:
return r3 ? l2(1, 0) : l2(31, 11);
case c:
return r3 ? l2(1, M3) : l2(0, M3 + 1);
case o2:
var g2 = this.$locale().weekStart || 0, D2 = (y2 < g2 ? y2 + 7 : y2) - g2;
return l2(r3 ? m3 - D2 : m3 + (6 - D2), M3);
case a:
case d:
return $2(v2 + "Hours", 0);
case u:
return $2(v2 + "Minutes", 1);
case s2:
return $2(v2 + "Seconds", 2);
case i:
return $2(v2 + "Milliseconds", 3);
default:
return this.clone();
var hasRequiredDayjs_min;
function requireDayjs_min() {
if (hasRequiredDayjs_min)
return dayjs_minExports$1;
hasRequiredDayjs_min = 1;
(function(module2, exports2) {
!function(t2, e2) {
module2.exports = e2();
}(commonjsGlobal, function() {
var t2 = 1e3, e2 = 6e4, n2 = 36e5, r2 = "millisecond", i = "second", s2 = "minute", u = "hour", a = "day", o2 = "week", c = "month", f2 = "quarter", h = "year", d = "date", l = "Invalid Date", $ = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, y = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, M = { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(t3) {
var e3 = ["th", "st", "nd", "rd"], n3 = t3 % 100;
return "[" + t3 + (e3[(n3 - 20) % 10] || e3[n3] || e3[0]) + "]";
} }, m = function(t3, e3, n3) {
var r3 = String(t3);
return !r3 || r3.length >= e3 ? t3 : "" + Array(e3 + 1 - r3.length).join(n3) + t3;
}, v = { s: m, z: function(t3) {
var e3 = -t3.utcOffset(), n3 = Math.abs(e3), r3 = Math.floor(n3 / 60), i2 = n3 % 60;
return (e3 <= 0 ? "+" : "-") + m(r3, 2, "0") + ":" + m(i2, 2, "0");
}, m: function t3(e3, n3) {
if (e3.date() < n3.date())
return -t3(n3, e3);
var r3 = 12 * (n3.year() - e3.year()) + (n3.month() - e3.month()), i2 = e3.clone().add(r3, c), s3 = n3 - i2 < 0, u2 = e3.clone().add(r3 + (s3 ? -1 : 1), c);
return +(-(r3 + (n3 - i2) / (s3 ? i2 - u2 : u2 - i2)) || 0);
}, a: function(t3) {
return t3 < 0 ? Math.ceil(t3) || 0 : Math.floor(t3);
}, p: function(t3) {
return { M: c, y: h, w: o2, d: a, D: d, h: u, m: s2, s: i, ms: r2, Q: f2 }[t3] || String(t3 || "").toLowerCase().replace(/s$/, "");
}, u: function(t3) {
return void 0 === t3;
} }, g = "en", D = {};
D[g] = M;
var p2 = "$isDayjsObject", S = function(t3) {
return t3 instanceof _ || !(!t3 || !t3[p2]);
}, w = function t3(e3, n3, r3) {
var i2;
if (!e3)
return g;
if ("string" == typeof e3) {
var s3 = e3.toLowerCase();
D[s3] && (i2 = s3), n3 && (D[s3] = n3, i2 = s3);
var u2 = e3.split("-");
if (!i2 && u2.length > 1)
return t3(u2[0]);
} else {
var a2 = e3.name;
D[a2] = e3, i2 = a2;
}
}, m2.endOf = function(t3) {
return this.startOf(t3, false);
}, m2.$set = function(t3, e3) {
var n3, o3 = b.p(t3), f3 = "set" + (this.$u ? "UTC" : ""), l2 = (n3 = {}, n3[a] = f3 + "Date", n3[d] = f3 + "Date", n3[c] = f3 + "Month", n3[h] = f3 + "FullYear", n3[u] = f3 + "Hours", n3[s2] = f3 + "Minutes", n3[i] = f3 + "Seconds", n3[r2] = f3 + "Milliseconds", n3)[o3], $2 = o3 === a ? this.$D + (e3 - this.$W) : e3;
if (o3 === c || o3 === h) {
var y2 = this.clone().set(d, 1);
y2.$d[l2]($2), y2.init(), this.$d = y2.set(d, Math.min(this.$D, y2.daysInMonth())).$d;
} else
l2 && this.$d[l2]($2);
return this.init(), this;
}, m2.set = function(t3, e3) {
return this.clone().$set(t3, e3);
}, m2.get = function(t3) {
return this[b.p(t3)]();
}, m2.add = function(r3, f3) {
var d2, l2 = this;
r3 = Number(r3);
var $2 = b.p(f3), y2 = function(t3) {
var e3 = O(l2);
return b.w(e3.date(e3.date() + Math.round(t3 * r3)), l2);
};
if ($2 === c)
return this.set(c, this.$M + r3);
if ($2 === h)
return this.set(h, this.$y + r3);
if ($2 === a)
return y2(1);
if ($2 === o2)
return y2(7);
var M3 = (d2 = {}, d2[s2] = e2, d2[u] = n2, d2[i] = t2, d2)[$2] || 1, m3 = this.$d.getTime() + r3 * M3;
return b.w(m3, this);
}, m2.subtract = function(t3, e3) {
return this.add(-1 * t3, e3);
}, m2.format = function(t3) {
var e3 = this, n3 = this.$locale();
if (!this.isValid())
return n3.invalidDate || l;
var r3 = t3 || "YYYY-MM-DDTHH:mm:ssZ", i2 = b.z(this), s3 = this.$H, u2 = this.$m, a2 = this.$M, o3 = n3.weekdays, c2 = n3.months, f3 = n3.meridiem, h2 = function(t4, n4, i3, s4) {
return t4 && (t4[n4] || t4(e3, r3)) || i3[n4].slice(0, s4);
}, d2 = function(t4) {
return b.s(s3 % 12 || 12, t4, "0");
}, $2 = f3 || function(t4, e4, n4) {
var r4 = t4 < 12 ? "AM" : "PM";
return n4 ? r4.toLowerCase() : r4;
};
return r3.replace(y, function(t4, r4) {
return r4 || function(t5) {
switch (t5) {
case "YY":
return String(e3.$y).slice(-2);
case "YYYY":
return b.s(e3.$y, 4, "0");
case "M":
return a2 + 1;
case "MM":
return b.s(a2 + 1, 2, "0");
case "MMM":
return h2(n3.monthsShort, a2, c2, 3);
case "MMMM":
return h2(c2, a2);
case "D":
return e3.$D;
case "DD":
return b.s(e3.$D, 2, "0");
case "d":
return String(e3.$W);
case "dd":
return h2(n3.weekdaysMin, e3.$W, o3, 2);
case "ddd":
return h2(n3.weekdaysShort, e3.$W, o3, 3);
case "dddd":
return o3[e3.$W];
case "H":
return String(s3);
case "HH":
return b.s(s3, 2, "0");
case "h":
return d2(1);
case "hh":
return d2(2);
case "a":
return $2(s3, u2, true);
case "A":
return $2(s3, u2, false);
case "m":
return String(u2);
case "mm":
return b.s(u2, 2, "0");
case "s":
return String(e3.$s);
case "ss":
return b.s(e3.$s, 2, "0");
case "SSS":
return b.s(e3.$ms, 3, "0");
case "Z":
return i2;
}
return null;
}(t4) || i2.replace(":", "");
});
}, m2.utcOffset = function() {
return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
}, m2.diff = function(r3, d2, l2) {
var $2, y2 = this, M3 = b.p(d2), m3 = O(r3), v2 = (m3.utcOffset() - this.utcOffset()) * e2, g2 = this - m3, D2 = function() {
return b.m(y2, m3);
};
switch (M3) {
case h:
$2 = D2() / 12;
break;
case c:
$2 = D2();
break;
case f2:
$2 = D2() / 3;
break;
case o2:
$2 = (g2 - v2) / 6048e5;
break;
case a:
$2 = (g2 - v2) / 864e5;
break;
case u:
$2 = g2 / n2;
break;
case s2:
$2 = g2 / e2;
break;
case i:
$2 = g2 / t2;
break;
default:
$2 = g2;
}
return l2 ? $2 : b.a($2);
}, m2.daysInMonth = function() {
return this.endOf(c).$D;
}, m2.$locale = function() {
return D[this.$L];
}, m2.locale = function(t3, e3) {
if (!t3)
return this.$L;
var n3 = this.clone(), r3 = w(t3, e3, true);
return r3 && (n3.$L = r3), n3;
}, m2.clone = function() {
return b.w(this.$d, this);
}, m2.toDate = function() {
return new Date(this.valueOf());
}, m2.toJSON = function() {
return this.isValid() ? this.toISOString() : null;
}, m2.toISOString = function() {
return this.$d.toISOString();
}, m2.toString = function() {
return this.$d.toUTCString();
}, M2;
}(), k = _.prototype;
return O.prototype = k, [["$ms", r2], ["$s", i], ["$m", s2], ["$H", u], ["$W", a], ["$M", c], ["$y", h], ["$D", d]].forEach(function(t3) {
k[t3[1]] = function(e3) {
return this.$g(e3, t3[0], t3[1]);
return !r3 && i2 && (g = i2), i2 || !r3 && g;
}, O = function(t3, e3) {
if (S(t3))
return t3.clone();
var n3 = "object" == typeof e3 ? e3 : {};
return n3.date = t3, n3.args = arguments, new _(n3);
}, b = v;
b.l = w, b.i = S, b.w = function(t3, e3) {
return O(t3, { locale: e3.$L, utc: e3.$u, x: e3.$x, $offset: e3.$offset });
};
}), O.extend = function(t3, e3) {
return t3.$i || (t3(e3, _, O), t3.$i = true), O;
}, O.locale = w, O.isDayjs = S, O.unix = function(t3) {
return O(1e3 * t3);
}, O.en = D[g], O.Ls = D, O.p = {}, O;
});
})(dayjs_min);
const dayjs = dayjs_minExports;
var _ = function() {
function M2(t3) {
this.$L = w(t3.locale, null, true), this.parse(t3), this.$x = this.$x || t3.x || {}, this[p2] = true;
}
var m2 = M2.prototype;
return m2.parse = function(t3) {
this.$d = function(t4) {
var e3 = t4.date, n3 = t4.utc;
if (null === e3)
return new Date(NaN);
if (b.u(e3))
return new Date();
if (e3 instanceof Date)
return new Date(e3);
if ("string" == typeof e3 && !/Z$/i.test(e3)) {
var r3 = e3.match($);
if (r3) {
var i2 = r3[2] - 1 || 0, s3 = (r3[7] || "0").substring(0, 3);
return n3 ? new Date(Date.UTC(r3[1], i2, r3[3] || 1, r3[4] || 0, r3[5] || 0, r3[6] || 0, s3)) : new Date(r3[1], i2, r3[3] || 1, r3[4] || 0, r3[5] || 0, r3[6] || 0, s3);
}
}
return new Date(e3);
}(t3), this.init();
}, m2.init = function() {
var t3 = this.$d;
this.$y = t3.getFullYear(), this.$M = t3.getMonth(), this.$D = t3.getDate(), this.$W = t3.getDay(), this.$H = t3.getHours(), this.$m = t3.getMinutes(), this.$s = t3.getSeconds(), this.$ms = t3.getMilliseconds();
}, m2.$utils = function() {
return b;
}, m2.isValid = function() {
return !(this.$d.toString() === l);
}, m2.isSame = function(t3, e3) {
var n3 = O(t3);
return this.startOf(e3) <= n3 && n3 <= this.endOf(e3);
}, m2.isAfter = function(t3, e3) {
return O(t3) < this.startOf(e3);
}, m2.isBefore = function(t3, e3) {
return this.endOf(e3) < O(t3);
}, m2.$g = function(t3, e3, n3) {
return b.u(t3) ? this[e3] : this.set(n3, t3);
}, m2.unix = function() {
return Math.floor(this.valueOf() / 1e3);
}, m2.valueOf = function() {
return this.$d.getTime();
}, m2.startOf = function(t3, e3) {
var n3 = this, r3 = !!b.u(e3) || e3, f3 = b.p(t3), l2 = function(t4, e4) {
var i2 = b.w(n3.$u ? Date.UTC(n3.$y, e4, t4) : new Date(n3.$y, e4, t4), n3);
return r3 ? i2 : i2.endOf(a);
}, $2 = function(t4, e4) {
return b.w(n3.toDate()[t4].apply(n3.toDate("s"), (r3 ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(e4)), n3);
}, y2 = this.$W, M3 = this.$M, m3 = this.$D, v2 = "set" + (this.$u ? "UTC" : "");
switch (f3) {
case h:
return r3 ? l2(1, 0) : l2(31, 11);
case c:
return r3 ? l2(1, M3) : l2(0, M3 + 1);
case o2:
var g2 = this.$locale().weekStart || 0, D2 = (y2 < g2 ? y2 + 7 : y2) - g2;
return l2(r3 ? m3 - D2 : m3 + (6 - D2), M3);
case a:
case d:
return $2(v2 + "Hours", 0);
case u:
return $2(v2 + "Minutes", 1);
case s2:
return $2(v2 + "Seconds", 2);
case i:
return $2(v2 + "Milliseconds", 3);
default:
return this.clone();
}
}, m2.endOf = function(t3) {
return this.startOf(t3, false);
}, m2.$set = function(t3, e3) {
var n3, o3 = b.p(t3), f3 = "set" + (this.$u ? "UTC" : ""), l2 = (n3 = {}, n3[a] = f3 + "Date", n3[d] = f3 + "Date", n3[c] = f3 + "Month", n3[h] = f3 + "FullYear", n3[u] = f3 + "Hours", n3[s2] = f3 + "Minutes", n3[i] = f3 + "Seconds", n3[r2] = f3 + "Milliseconds", n3)[o3], $2 = o3 === a ? this.$D + (e3 - this.$W) : e3;
if (o3 === c || o3 === h) {
var y2 = this.clone().set(d, 1);
y2.$d[l2]($2), y2.init(), this.$d = y2.set(d, Math.min(this.$D, y2.daysInMonth())).$d;
} else
l2 && this.$d[l2]($2);
return this.init(), this;
}, m2.set = function(t3, e3) {
return this.clone().$set(t3, e3);
}, m2.get = function(t3) {
return this[b.p(t3)]();
}, m2.add = function(r3, f3) {
var d2, l2 = this;
r3 = Number(r3);
var $2 = b.p(f3), y2 = function(t3) {
var e3 = O(l2);
return b.w(e3.date(e3.date() + Math.round(t3 * r3)), l2);
};
if ($2 === c)
return this.set(c, this.$M + r3);
if ($2 === h)
return this.set(h, this.$y + r3);
if ($2 === a)
return y2(1);
if ($2 === o2)
return y2(7);
var M3 = (d2 = {}, d2[s2] = e2, d2[u] = n2, d2[i] = t2, d2)[$2] || 1, m3 = this.$d.getTime() + r3 * M3;
return b.w(m3, this);
}, m2.subtract = function(t3, e3) {
return this.add(-1 * t3, e3);
}, m2.format = function(t3) {
var e3 = this, n3 = this.$locale();
if (!this.isValid())
return n3.invalidDate || l;
var r3 = t3 || "YYYY-MM-DDTHH:mm:ssZ", i2 = b.z(this), s3 = this.$H, u2 = this.$m, a2 = this.$M, o3 = n3.weekdays, c2 = n3.months, f3 = n3.meridiem, h2 = function(t4, n4, i3, s4) {
return t4 && (t4[n4] || t4(e3, r3)) || i3[n4].slice(0, s4);
}, d2 = function(t4) {
return b.s(s3 % 12 || 12, t4, "0");
}, $2 = f3 || function(t4, e4, n4) {
var r4 = t4 < 12 ? "AM" : "PM";
return n4 ? r4.toLowerCase() : r4;
};
return r3.replace(y, function(t4, r4) {
return r4 || function(t5) {
switch (t5) {
case "YY":
return String(e3.$y).slice(-2);
case "YYYY":
return b.s(e3.$y, 4, "0");
case "M":
return a2 + 1;
case "MM":
return b.s(a2 + 1, 2, "0");
case "MMM":
return h2(n3.monthsShort, a2, c2, 3);
case "MMMM":
return h2(c2, a2);
case "D":
return e3.$D;
case "DD":
return b.s(e3.$D, 2, "0");
case "d":
return String(e3.$W);
case "dd":
return h2(n3.weekdaysMin, e3.$W, o3, 2);
case "ddd":
return h2(n3.weekdaysShort, e3.$W, o3, 3);
case "dddd":
return o3[e3.$W];
case "H":
return String(s3);
case "HH":
return b.s(s3, 2, "0");
case "h":
return d2(1);
case "hh":
return d2(2);
case "a":
return $2(s3, u2, true);
case "A":
return $2(s3, u2, false);
case "m":
return String(u2);
case "mm":
return b.s(u2, 2, "0");
case "s":
return String(e3.$s);
case "ss":
return b.s(e3.$s, 2, "0");
case "SSS":
return b.s(e3.$ms, 3, "0");
case "Z":
return i2;
}
return null;
}(t4) || i2.replace(":", "");
});
}, m2.utcOffset = function() {
return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
}, m2.diff = function(r3, d2, l2) {
var $2, y2 = this, M3 = b.p(d2), m3 = O(r3), v2 = (m3.utcOffset() - this.utcOffset()) * e2, g2 = this - m3, D2 = function() {
return b.m(y2, m3);
};
switch (M3) {
case h:
$2 = D2() / 12;
break;
case c:
$2 = D2();
break;
case f2:
$2 = D2() / 3;
break;
case o2:
$2 = (g2 - v2) / 6048e5;
break;
case a:
$2 = (g2 - v2) / 864e5;
break;
case u:
$2 = g2 / n2;
break;
case s2:
$2 = g2 / e2;
break;
case i:
$2 = g2 / t2;
break;
default:
$2 = g2;
}
return l2 ? $2 : b.a($2);
}, m2.daysInMonth = function() {
return this.endOf(c).$D;
}, m2.$locale = function() {
return D[this.$L];
}, m2.locale = function(t3, e3) {
if (!t3)
return this.$L;
var n3 = this.clone(), r3 = w(t3, e3, true);
return r3 && (n3.$L = r3), n3;
}, m2.clone = function() {
return b.w(this.$d, this);
}, m2.toDate = function() {
return new Date(this.valueOf());
}, m2.toJSON = function() {
return this.isValid() ? this.toISOString() : null;
}, m2.toISOString = function() {
return this.$d.toISOString();
}, m2.toString = function() {
return this.$d.toUTCString();
}, M2;
}(), k = _.prototype;
return O.prototype = k, [["$ms", r2], ["$s", i], ["$m", s2], ["$H", u], ["$W", a], ["$M", c], ["$y", h], ["$D", d]].forEach(function(t3) {
k[t3[1]] = function(e3) {
return this.$g(e3, t3[0], t3[1]);
};
}), O.extend = function(t3, e3) {
return t3.$i || (t3(e3, _, O), t3.$i = true), O;
}, O.locale = w, O.isDayjs = S, O.unix = function(t3) {
return O(1e3 * t3);
}, O.en = D[g], O.Ls = D, O.p = {}, O;
});
})(dayjs_min);
return dayjs_minExports$1;
}
var dayjs_minExports = requireDayjs_min();
const dayjs = /* @__PURE__ */ getDefaultExportFromCjs(dayjs_minExports);
var relativeTimeExports = {};
var relativeTime$1 = {
get exports() {
@ -12042,7 +12053,7 @@ var zhCn = {
};
(function(module2, exports2) {
!function(e2, _) {
module2.exports = _(dayjs_minExports);
module2.exports = _(requireDayjs_min());
}(commonjsGlobal, function(e2) {
function _(e3) {
return e3 && "object" == typeof e3 && "default" in e3 ? e3 : { default: e3 };

View File

@ -2,6 +2,7 @@
const common_vendor = require("../../../common/vendor.js");
require("../../../common/libraries/getPageConfig.js");
const common_libraries_public = require("../../../common/libraries/public.js");
const common_libraries_userUserLogin = require("../../../common/libraries/userUserLogin.js");
require("../../../common/store/useWeAppAuthStore.js");
require("../../../gen/Apis.js");
require("../../../common/libraries/request.js");
@ -25,6 +26,10 @@ const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
});
};
const handleInputChange = () => {
var _a;
if (!((_a = common_libraries_userUserLogin.getUserLogin) == null ? void 0 : _a.onBindPhone())) {
return false;
}
common_vendor.index.navigateTo({
url: "/pages/ai/chat"
});

View File

@ -53,6 +53,7 @@
import { showToast } from '@/common/libraries/naviHelper'
import { getStyleColorInfo, getStyleColorValueInfo } from '@/common/libraries/getPageConfig'
import { quickActions, QuickAction } from '@/common/libraries/public'
import userLoginStatus from '@/common/libraries/userUserLogin'
const handleAiPage = (i: QuickAction) => {
uni.navigateTo({
@ -60,6 +61,9 @@ const handleAiPage = (i: QuickAction) => {
})
}
const handleInputChange = () => {
if (!userLoginStatus?.onBindPhone()) {
return false
}
uni.navigateTo({
url: '/pages/ai/chat'
})