优化
This commit is contained in:
50
unpackage/dist/dev/mp-weixin/pages/Home/Home.js
vendored
50
unpackage/dist/dev/mp-weixin/pages/Home/Home.js
vendored
@@ -1,10 +1,10 @@
|
||||
"use strict";
|
||||
const common_vendor = require("../../common/vendor.js");
|
||||
const components_TUILogin = require("../../components/TUILogin.js");
|
||||
const components_request = require("../../components/request.js");
|
||||
const components_formatDate = require("../../components/formatDate.js");
|
||||
const stores_counter = require("../../stores/counter.js");
|
||||
const components_NationalDictionary = require("../../components/NationalDictionary.js");
|
||||
const components_goEasyTool_tool = require("../../components/goEasyTool/tool.js");
|
||||
const topNavigation = () => "../../components/topNavigation/topNavigation.js";
|
||||
const Advertisement = () => "../../components/Advertisement/Advertisement.js";
|
||||
const tabBar = () => "../../components/tabBar/tabBar.js";
|
||||
@@ -81,20 +81,9 @@ const _sfc_main = {
|
||||
key: "userinfo",
|
||||
success: (res) => {
|
||||
this.info = res.data;
|
||||
common_vendor.index.__f__("log", "at pages/Home/Home.vue:258", "userinfo", this.info);
|
||||
counter.$patch({ myitem: this.info });
|
||||
common_vendor.index.getStorage({
|
||||
key: "myuserSig",
|
||||
success: (res2) => {
|
||||
this.myuserSig = res2.data;
|
||||
common_vendor.index.getStorage({
|
||||
key: "chatInfo",
|
||||
success: (res3) => {
|
||||
this.chatInfo = res3.data;
|
||||
components_TUILogin.TUIlogin(this.chatInfo.appId, this.info.id, this.myuserSig.userSig);
|
||||
}
|
||||
});
|
||||
}
|
||||
});
|
||||
components_goEasyTool_tool.goEasylogin(this.$goeasy, String(this.info.id), this.info.headerIcon, this.info.nickName);
|
||||
}
|
||||
});
|
||||
},
|
||||
@@ -106,7 +95,6 @@ const _sfc_main = {
|
||||
if (now - lastCleanTime < 7 * 24 * 3600 * 1e3)
|
||||
return;
|
||||
common_vendor.index.clearStorage();
|
||||
common_vendor.A.logout();
|
||||
common_vendor.index.setStorageSync("last_clean_time", now);
|
||||
},
|
||||
//关闭弹窗(取消)
|
||||
@@ -370,9 +358,9 @@ if (!Math) {
|
||||
}
|
||||
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
||||
return common_vendor.e({
|
||||
a: common_vendor.o$1($options.goRealTimePk),
|
||||
b: common_vendor.o$1($options.goMakeAppointmentPK),
|
||||
c: common_vendor.o$1($options.goScreening),
|
||||
a: common_vendor.o($options.goRealTimePk),
|
||||
b: common_vendor.o($options.goMakeAppointmentPK),
|
||||
c: common_vendor.o($options.goScreening),
|
||||
d: $data.list.length !== 0
|
||||
}, $data.list.length !== 0 ? {
|
||||
e: common_vendor.f($data.list, (item, index, i0) => {
|
||||
@@ -386,7 +374,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
||||
f: item.sex === "2" ? 1 : "",
|
||||
g: common_vendor.t($options.formatDate(item.pkTime)),
|
||||
h: common_vendor.t(item.coin + "K"),
|
||||
i: common_vendor.o$1(($event) => $options.goDetail(item), index),
|
||||
i: common_vendor.o(($event) => $options.goDetail(item), index),
|
||||
j: item.isPin === true ? "2px solid #eeff00" : "2px solid #f5f5f5",
|
||||
k: index,
|
||||
l: "7ffebbf4-1-" + i0
|
||||
@@ -395,14 +383,14 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
||||
} : {}, {
|
||||
f: $data.list.length === 0
|
||||
}, $data.list.length === 0 ? {} : {}, {
|
||||
g: common_vendor.o$1((...args) => $options.onRefresherRefresh && $options.onRefresherRefresh(...args)),
|
||||
h: common_vendor.o$1((...args) => _ctx.onScrollToLower && _ctx.onScrollToLower(...args)),
|
||||
g: common_vendor.o((...args) => $options.onRefresherRefresh && $options.onRefresherRefresh(...args)),
|
||||
h: common_vendor.o((...args) => _ctx.onScrollToLower && _ctx.onScrollToLower(...args)),
|
||||
i: $data.triggered,
|
||||
j: common_vendor.o$1(($event) => $options.onRefresherRefresh()),
|
||||
j: common_vendor.o(($event) => $options.onRefresherRefresh()),
|
||||
k: common_vendor.p({
|
||||
tabIndex: 0
|
||||
}),
|
||||
l: common_vendor.o$1($options.country),
|
||||
l: common_vendor.o($options.country),
|
||||
m: common_vendor.p({
|
||||
backgroundColor: "#ffffff",
|
||||
placeholderColor: "#666666",
|
||||
@@ -413,7 +401,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
||||
placeholder: "请选择国家",
|
||||
value: $data.countrys
|
||||
}),
|
||||
n: common_vendor.o$1($options.gender),
|
||||
n: common_vendor.o($options.gender),
|
||||
o: common_vendor.p({
|
||||
backgroundColor: "#ffffff",
|
||||
placeholderColor: "#666666",
|
||||
@@ -429,7 +417,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
||||
}, $data.genders === 1 ? {} : {}, {
|
||||
r: $data.genders === 2
|
||||
}, $data.genders === 2 ? {} : {}, {
|
||||
s: common_vendor.o$1(($event) => $data.minNumberCoins = $event),
|
||||
s: common_vendor.o(($event) => $data.minNumberCoins = $event),
|
||||
t: common_vendor.p({
|
||||
max: 9999999999,
|
||||
background: "ffffff",
|
||||
@@ -437,7 +425,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
||||
}),
|
||||
v: $data.minNumberCoins == "" && $data.HintCion === true
|
||||
}, $data.minNumberCoins == "" && $data.HintCion === true ? {} : {}, {
|
||||
w: common_vendor.o$1(($event) => $data.maxNumberCoins = $event),
|
||||
w: common_vendor.o(($event) => $data.maxNumberCoins = $event),
|
||||
x: common_vendor.p({
|
||||
max: 9999999999,
|
||||
background: "#ffffff",
|
||||
@@ -447,7 +435,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
||||
}, $data.maxNumberCoins == "" && $data.HintCion === true ? {} : {}, {
|
||||
z: $data.listtype === 2
|
||||
}, $data.listtype === 2 ? common_vendor.e({
|
||||
A: common_vendor.o$1(($event) => $data.mindatetimesingle = $event),
|
||||
A: common_vendor.o(($event) => $data.mindatetimesingle = $event),
|
||||
B: common_vendor.p({
|
||||
type: "datetime",
|
||||
["hide-second"]: "true",
|
||||
@@ -457,7 +445,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
||||
}, $data.mindatetimesingle == "" && $data.HintTime === true ? {} : {}) : {}, {
|
||||
D: $data.listtype === 2
|
||||
}, $data.listtype === 2 ? common_vendor.e({
|
||||
E: common_vendor.o$1(($event) => $data.maxdatetimesingle = $event),
|
||||
E: common_vendor.o(($event) => $data.maxdatetimesingle = $event),
|
||||
F: common_vendor.p({
|
||||
type: "datetime",
|
||||
["hide-second"]: "true",
|
||||
@@ -465,9 +453,9 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
||||
}),
|
||||
G: $data.maxdatetimesingle == "" && $data.HintTime === true
|
||||
}, $data.maxdatetimesingle == "" && $data.HintTime === true ? {} : {}) : {}, {
|
||||
H: common_vendor.o$1((...args) => $options.closePopup && $options.closePopup(...args)),
|
||||
I: common_vendor.o$1((...args) => $options.confirm && $options.confirm(...args)),
|
||||
J: common_vendor.o$1((...args) => $options.clear && $options.clear(...args)),
|
||||
H: common_vendor.o((...args) => $options.closePopup && $options.closePopup(...args)),
|
||||
I: common_vendor.o((...args) => $options.confirm && $options.confirm(...args)),
|
||||
J: common_vendor.o((...args) => $options.clear && $options.clear(...args)),
|
||||
K: common_vendor.sr("popup", "7ffebbf4-3"),
|
||||
L: common_vendor.p({
|
||||
position: "right"
|
||||
|
||||
Reference in New Issue
Block a user