优化页面
This commit is contained in:
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -1 +1 @@
|
||||
{"version":3,"file":"TUILogin.js","sources":["components/TUILogin.js"],"sourcesContent":["import { TUILogin } from \"@tencentcloud/tui-core\";\r\nfunction TUIlogin(\r\n chatInfo,\r\n info,\r\n userSig,\r\n) {\r\n uni.$SDKAppID = chatInfo; // Your SDKAppID\r\n uni.$userID = String(info); // Your userID\r\n console.log(\"TUIlogin\", chatInfo, info, userSig);\r\n uni.$userSig = userSig; // Your userSig\r\n TUILogin.login({\r\n SDKAppID: uni.$SDKAppID,\r\n userID: uni.$userID,\r\n userSig: uni.$userSig,\r\n useUploadPlugin: true, // If you need to send rich media messages, please set to true.\r\n framework: `vue3`, // framework used vue2 / vue3\r\n }).catch(() => {});\r\n }\r\n\r\n export default TUIlogin;"],"names":["uni","TUILogin"],"mappings":";;AACA,SAAS,SACL,UACA,MACA,SACF;AACEA,gBAAG,MAAC,YAAY;AAChBA,gBAAAA,MAAI,UAAU,OAAO,IAAI;AACzBA,kEAAY,YAAY,UAAU,MAAM,OAAO;AAC/CA,gBAAG,MAAC,WAAW;AACfC,gBAAAA,EAAS,MAAM;AAAA,IACb,UAAUD,cAAG,MAAC;AAAA,IACd,QAAQA,cAAG,MAAC;AAAA,IACZ,SAASA,cAAG,MAAC;AAAA,IACb,iBAAiB;AAAA;AAAA,IACjB,WAAW;AAAA;AAAA,EACjB,CAAK,EAAE,MAAM,MAAM;AAAA,EAAA,CAAE;AACrB;;"}
|
||||
{"version":3,"file":"TUILogin.js","sources":["components/TUILogin.js"],"sourcesContent":["import { TUILogin } from \"@tencentcloud/tui-core\";\r\nfunction TUIlogin(\r\n chatInfo,\r\n info,\r\n userSig,\r\n) {\r\n uni.$SDKAppID = chatInfo; // Your SDKAppID\r\n uni.$userID = String(info); // Your userID\r\n uni.$userSig = userSig; // Your userSig\r\n TUILogin.login({\r\n SDKAppID: uni.$SDKAppID,\r\n userID: uni.$userID,\r\n userSig: uni.$userSig,\r\n useUploadPlugin: true, // If you need to send rich media messages, please set to true.\r\n framework: `vue3`, // framework used vue2 / vue3\r\n }).catch(() => {});\r\n }\r\n\r\n export default TUIlogin;"],"names":["uni","TUILogin"],"mappings":";;AACA,SAAS,SACL,UACA,MACA,SACF;AACEA,gBAAG,MAAC,YAAY;AAChBA,gBAAAA,MAAI,UAAU,OAAO,IAAI;AACzBA,gBAAG,MAAC,WAAW;AACfC,gBAAAA,EAAS,MAAM;AAAA,IACb,UAAUD,cAAG,MAAC;AAAA,IACd,QAAQA,cAAG,MAAC;AAAA,IACZ,SAASA,cAAG,MAAC;AAAA,IACb,iBAAiB;AAAA;AAAA,IACjB,WAAW;AAAA;AAAA,EACjB,CAAK,EAAE,MAAM,MAAM;AAAA,EAAA,CAAE;AACrB;;"}
|
||||
@@ -1 +1 @@
|
||||
{"version":3,"file":"request.js","sources":["components/request.js"],"sourcesContent":["import addPrefixToHeaderIcon from './addPrefixToHeaderIcon.js'\r\nexport default function request(urldata) {\r\n const { url, data, method, header, userInfo } = urldata;\r\n // const baseUrl = \"http://49.235.115.212:8086/\"+ url;\r\n // const baseUrl = \"https://pk.zhukeping.com/\"+ url;\r\n // const baseUrl = \"http://120.26.251.180:8086/\"+ url;\r\n const baseUrl = \"http://192.168.0.218:8086/\"+ url;\r\n if (userInfo) {\r\n return new Promise((resolve, reject) => {\r\n uni.getStorage({\r\n key: \"userinfo\",\r\n success: (res) => {\r\n if (res.data) {\r\n if (res.data.nickName) {\r\n uni.request({\r\n url: baseUrl,\r\n data: data,\r\n method: method,\r\n header: header,\r\n success: function (res) {\r\n console.log(\"请求成功1\", res.data);\r\n resolve(addPrefixToHeaderIcon(res.data));\r\n // resolve(res.data);\r\n },\r\n fail: function (res) {\r\n reject(res);\r\n }\r\n });\r\n } else {\r\n uni.setStorageSync(\"lastPage\", getCurrentPages()[getCurrentPages().length - 1].route);\r\n uni.reLaunch({ url: \"/pages/UserInformation/UserInformation\" })\r\n }\r\n } else {\r\n uni.setStorageSync(\"lastPage\", getCurrentPages()[getCurrentPages().length - 1].route);\r\n uni.navigateTo({ url: '/pages/login/login' })\r\n }\r\n },\r\n fail: function (res) {\r\n uni.setStorageSync(\"lastPage\", getCurrentPages()[getCurrentPages().length - 1].route);\r\n uni.navigateTo({ url: '/pages/login/login' })\r\n reject(res);\r\n }\r\n });\r\n });\r\n } else {\r\n return new Promise((resolve, reject) => {\r\n uni.request({\r\n url: baseUrl,\r\n data: data,\r\n method: method,\r\n header: header,\r\n success: function (res) {\r\n console.log(\"请求成功2\", res);\r\n // resolve(res.data);\r\n resolve(addPrefixToHeaderIcon(res.data));\r\n },\r\n fail: function (res) {\r\n reject(res);\r\n }\r\n });\r\n });\r\n }\r\n\r\n}"],"names":["uni","res","addPrefixToHeaderIcon"],"mappings":";;;AACe,SAAS,QAAQ,SAAS;AACrC,QAAM,EAAE,KAAK,MAAM,QAAQ,QAAQ,SAAU,IAAG;AAIhD,QAAM,UAAU,+BAA8B;AAC9C,MAAI,UAAU;AACV,WAAO,IAAI,QAAQ,CAAC,SAAS,WAAW;AACpCA,oBAAAA,MAAI,WAAW;AAAA,QACX,KAAK;AAAA,QACL,SAAS,CAAC,QAAQ;AACd,cAAI,IAAI,MAAM;AACV,gBAAI,IAAI,KAAK,UAAU;AACnBA,4BAAAA,MAAI,QAAQ;AAAA,gBACR,KAAK;AAAA,gBACL;AAAA,gBACA;AAAA,gBACA;AAAA,gBACA,SAAS,SAAUC,MAAK;AACpBD,gCAAA,MAAA,MAAA,OAAA,+BAAY,SAASC,KAAI,IAAI;AAC7B,0BAAQC,iCAAqB,sBAACD,KAAI,IAAI,CAAC;AAAA,gBAE1C;AAAA,gBACD,MAAM,SAAUA,MAAK;AACjB,yBAAOA,IAAG;AAAA,gBACb;AAAA,cACjC,CAA6B;AAAA,YAC7B,OAA+B;AACHD,kCAAI,eAAe,YAAY,gBAAiB,EAAC,gBAAiB,EAAC,SAAS,CAAC,EAAE,KAAK;AACpFA,4BAAAA,MAAI,SAAS,EAAE,KAAK,yCAAwC,CAAE;AAAA,YACjE;AAAA,UACzB,OAA2B;AACHA,gCAAI,eAAe,YAAY,gBAAiB,EAAC,gBAAiB,EAAC,SAAS,CAAC,EAAE,KAAK;AACpFA,0BAAAA,MAAI,WAAW,EAAE,KAAK,qBAAoB,CAAE;AAAA,UAC/C;AAAA,QACJ;AAAA,QACD,MAAM,SAAU,KAAK;AACjBA,8BAAI,eAAe,YAAY,gBAAiB,EAAC,gBAAiB,EAAC,SAAS,CAAC,EAAE,KAAK;AACpFA,wBAAAA,MAAI,WAAW,EAAE,KAAK,qBAAoB,CAAE;AAC5C,iBAAO,GAAG;AAAA,QACb;AAAA,MACjB,CAAa;AAAA,IACb,CAAS;AAAA,EACT,OAAW;AACH,WAAO,IAAI,QAAQ,CAAC,SAAS,WAAW;AACpCA,oBAAAA,MAAI,QAAQ;AAAA,QACR,KAAK;AAAA,QACL;AAAA,QACA;AAAA,QACA;AAAA,QACA,SAAS,SAAU,KAAK;AACpBA,wBAAY,MAAA,MAAA,OAAA,+BAAA,SAAS,GAAG;AAExB,kBAAQE,iCAAqB,sBAAC,IAAI,IAAI,CAAC;AAAA,QAC1C;AAAA,QACD,MAAM,SAAU,KAAK;AACjB,iBAAO,GAAG;AAAA,QACb;AAAA,MACjB,CAAa;AAAA,IACb,CAAS;AAAA,EACJ;AAEL;;"}
|
||||
{"version":3,"file":"request.js","sources":["components/request.js"],"sourcesContent":["import addPrefixToHeaderIcon from './addPrefixToHeaderIcon.js'\r\nexport default function request(urldata) {\r\n const { url, data, method, header, userInfo } = urldata;\r\n // const baseUrl = \"http://49.235.115.212:8086/\"+ url;\r\n // const baseUrl = \"https://pk.zhukeping.com/\"+ url;\r\n const baseUrl = \"http://120.26.251.180:8086/\"+ url;\r\n // const baseUrl = \"http://192.168.0.218:8086/\"+ url;\r\n if (userInfo) {\r\n return new Promise((resolve, reject) => {\r\n uni.getStorage({\r\n key: \"userinfo\",\r\n success: (res) => {\r\n if (res.data) {\r\n if (res.data.nickName) {\r\n uni.request({\r\n url: baseUrl,\r\n data: data,\r\n method: method,\r\n header: header,\r\n success: function (res) {\r\n resolve(addPrefixToHeaderIcon(res.data));\r\n // resolve(res.data);\r\n },\r\n fail: function (res) {\r\n reject(res);\r\n }\r\n });\r\n } else {\r\n uni.setStorageSync(\"lastPage\", getCurrentPages()[getCurrentPages().length - 1].route);\r\n uni.reLaunch({ url: \"/pages/UserInformation/UserInformation\" })\r\n }\r\n } else {\r\n uni.setStorageSync(\"lastPage\", getCurrentPages()[getCurrentPages().length - 1].route);\r\n uni.navigateTo({ url: '/pages/login/login' })\r\n }\r\n },\r\n fail: function (res) {\r\n uni.setStorageSync(\"lastPage\", getCurrentPages()[getCurrentPages().length - 1].route);\r\n uni.navigateTo({ url: '/pages/login/login' })\r\n reject(res);\r\n }\r\n });\r\n });\r\n } else {\r\n return new Promise((resolve, reject) => {\r\n uni.request({\r\n url: baseUrl,\r\n data: data,\r\n method: method,\r\n header: header,\r\n success: function (res) {\r\n // resolve(res.data);\r\n resolve(addPrefixToHeaderIcon(res.data));\r\n },\r\n fail: function (res) {\r\n reject(res);\r\n }\r\n });\r\n });\r\n }\r\n\r\n}"],"names":["uni","res","addPrefixToHeaderIcon"],"mappings":";;;AACe,SAAS,QAAQ,SAAS;AACrC,QAAM,EAAE,KAAK,MAAM,QAAQ,QAAQ,SAAU,IAAG;AAGhD,QAAM,UAAU,gCAA+B;AAE/C,MAAI,UAAU;AACV,WAAO,IAAI,QAAQ,CAAC,SAAS,WAAW;AACpCA,oBAAAA,MAAI,WAAW;AAAA,QACX,KAAK;AAAA,QACL,SAAS,CAAC,QAAQ;AACd,cAAI,IAAI,MAAM;AACV,gBAAI,IAAI,KAAK,UAAU;AACnBA,4BAAAA,MAAI,QAAQ;AAAA,gBACR,KAAK;AAAA,gBACL;AAAA,gBACA;AAAA,gBACA;AAAA,gBACA,SAAS,SAAUC,MAAK;AACpB,0BAAQC,iCAAqB,sBAACD,KAAI,IAAI,CAAC;AAAA,gBAE1C;AAAA,gBACD,MAAM,SAAUA,MAAK;AACjB,yBAAOA,IAAG;AAAA,gBACb;AAAA,cACjC,CAA6B;AAAA,YAC7B,OAA+B;AACHD,kCAAI,eAAe,YAAY,gBAAiB,EAAC,gBAAiB,EAAC,SAAS,CAAC,EAAE,KAAK;AACpFA,4BAAAA,MAAI,SAAS,EAAE,KAAK,yCAAwC,CAAE;AAAA,YACjE;AAAA,UACzB,OAA2B;AACHA,gCAAI,eAAe,YAAY,gBAAiB,EAAC,gBAAiB,EAAC,SAAS,CAAC,EAAE,KAAK;AACpFA,0BAAAA,MAAI,WAAW,EAAE,KAAK,qBAAoB,CAAE;AAAA,UAC/C;AAAA,QACJ;AAAA,QACD,MAAM,SAAU,KAAK;AACjBA,8BAAI,eAAe,YAAY,gBAAiB,EAAC,gBAAiB,EAAC,SAAS,CAAC,EAAE,KAAK;AACpFA,wBAAAA,MAAI,WAAW,EAAE,KAAK,qBAAoB,CAAE;AAC5C,iBAAO,GAAG;AAAA,QACb;AAAA,MACjB,CAAa;AAAA,IACb,CAAS;AAAA,EACT,OAAW;AACH,WAAO,IAAI,QAAQ,CAAC,SAAS,WAAW;AACpCA,oBAAAA,MAAI,QAAQ;AAAA,QACR,KAAK;AAAA,QACL;AAAA,QACA;AAAA,QACA;AAAA,QACA,SAAS,SAAU,KAAK;AAEpB,kBAAQE,iCAAqB,sBAAC,IAAI,IAAI,CAAC;AAAA,QAC1C;AAAA,QACD,MAAM,SAAU,KAAK;AACjB,iBAAO,GAAG;AAAA,QACb;AAAA,MACjB,CAAa;AAAA,IACb,CAAS;AAAA,EACJ;AAEL;;"}
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
5
unpackage/dist/dev/mp-weixin/NewAddedPk.js
vendored
5
unpackage/dist/dev/mp-weixin/NewAddedPk.js
vendored
@@ -57,7 +57,6 @@ const _sfc_main = {
|
||||
},
|
||||
//确认选择
|
||||
invite() {
|
||||
common_vendor.index.__f__("log", "at pages/NewAddedPk/NewAddedPk.vue:231", this.selectedIddata);
|
||||
if (this.selectedId) {
|
||||
this.nameAnchor = this.selectedIddata.anchorId;
|
||||
this.AnchorProfilePicture = this.selectedIddata.headerIcon.split("/").pop();
|
||||
@@ -96,7 +95,7 @@ const _sfc_main = {
|
||||
if (res.code == 200) {
|
||||
this.AnchorList = res.data;
|
||||
} else {
|
||||
common_vendor.index.__f__("log", "at pages/NewAddedPk/NewAddedPk.vue:270", res.msg);
|
||||
common_vendor.index.__f__("log", "at pages/NewAddedPk/NewAddedPk.vue:269", res.msg);
|
||||
}
|
||||
});
|
||||
},
|
||||
@@ -108,12 +107,10 @@ const _sfc_main = {
|
||||
//性别
|
||||
gender(item) {
|
||||
this.genders = item.value;
|
||||
common_vendor.index.__f__("log", "at pages/NewAddedPk/NewAddedPk.vue:282", item);
|
||||
},
|
||||
//国家
|
||||
country(item) {
|
||||
this.countrys = item.value;
|
||||
common_vendor.index.__f__("log", "at pages/NewAddedPk/NewAddedPk.vue:287", item);
|
||||
},
|
||||
handleOverlayClick(event) {
|
||||
if (event.target === this.$el) {
|
||||
|
||||
@@ -37,9 +37,7 @@ const _sfc_main$4 = /* @__PURE__ */ common_vendor.defineComponent({
|
||||
TUIKit_components_TUIChat_entryChatOnly.initChat(options);
|
||||
try {
|
||||
myitem.value = JSON.parse(options.myitem);
|
||||
common_vendor.index.__f__("log", "at TUIKit/components/TUIChat/index.vue:124", myitem.value);
|
||||
youritem.value = JSON.parse(options.youritem);
|
||||
common_vendor.index.__f__("log", "at TUIKit/components/TUIChat/index.vue:126", youritem.value);
|
||||
counter.$patch({ youritem: youritem.value });
|
||||
setTimeout(() => {
|
||||
sendCustomMessage(myitem.value, youritem.value);
|
||||
@@ -103,7 +101,6 @@ const _sfc_main$4 = /* @__PURE__ */ common_vendor.defineComponent({
|
||||
}).then((res) => {
|
||||
var _a, _b, _c, _d, _e;
|
||||
if (res.code === 200) {
|
||||
common_vendor.index.__f__("log", "at TUIKit/components/TUIChat/index.vue:203", "发送成功", res.data);
|
||||
const keyid = components_generateMsgId.generateMsgId();
|
||||
const payload = {
|
||||
data: JSON.stringify({
|
||||
|
||||
2
unpackage/dist/dev/mp-weixin/app.json
vendored
2
unpackage/dist/dev/mp-weixin/app.json
vendored
@@ -60,7 +60,7 @@
|
||||
]
|
||||
},
|
||||
"preloadRule": {
|
||||
"pages/index/index": {
|
||||
"pages/Home/Home": {
|
||||
"network": "all",
|
||||
"packages": [
|
||||
"TUIKit"
|
||||
|
||||
@@ -8012,7 +8012,7 @@ function isConsoleWritable() {
|
||||
function initRuntimeSocketService() {
|
||||
const hosts = "192.168.0.116,127.0.0.1";
|
||||
const port = "8090";
|
||||
const id = "mp-weixin_CJQ7JR";
|
||||
const id = "mp-weixin_vGLGEG";
|
||||
const lazy = typeof swan !== "undefined";
|
||||
let restoreError = lazy ? () => {
|
||||
} : initOnError();
|
||||
|
||||
@@ -3,7 +3,6 @@ const common_vendor = require("../common/vendor.js");
|
||||
function TUIlogin(chatInfo, info, userSig) {
|
||||
common_vendor.index.$SDKAppID = chatInfo;
|
||||
common_vendor.index.$userID = String(info);
|
||||
common_vendor.index.__f__("log", "at components/TUILogin.js:9", "TUIlogin", chatInfo, info, userSig);
|
||||
common_vendor.index.$userSig = userSig;
|
||||
common_vendor.A.login({
|
||||
SDKAppID: common_vendor.index.$SDKAppID,
|
||||
|
||||
@@ -3,7 +3,7 @@ const common_vendor = require("../common/vendor.js");
|
||||
const components_addPrefixToHeaderIcon = require("./addPrefixToHeaderIcon.js");
|
||||
function request(urldata) {
|
||||
const { url, data, method, header, userInfo } = urldata;
|
||||
const baseUrl = "http://192.168.0.218:8086/" + url;
|
||||
const baseUrl = "http://120.26.251.180:8086/" + url;
|
||||
if (userInfo) {
|
||||
return new Promise((resolve, reject) => {
|
||||
common_vendor.index.getStorage({
|
||||
@@ -17,7 +17,6 @@ function request(urldata) {
|
||||
method,
|
||||
header,
|
||||
success: function(res2) {
|
||||
common_vendor.index.__f__("log", "at components/request.js:21", "请求成功1", res2.data);
|
||||
resolve(components_addPrefixToHeaderIcon.addPrefixToHeaderIcon(res2.data));
|
||||
},
|
||||
fail: function(res2) {
|
||||
@@ -48,7 +47,6 @@ function request(urldata) {
|
||||
method,
|
||||
header,
|
||||
success: function(res) {
|
||||
common_vendor.index.__f__("log", "at components/request.js:53", "请求成功2", res);
|
||||
resolve(components_addPrefixToHeaderIcon.addPrefixToHeaderIcon(res.data));
|
||||
},
|
||||
fail: function(res) {
|
||||
|
||||
@@ -11,8 +11,10 @@ const _sfc_main = {
|
||||
tabIndex: Number
|
||||
},
|
||||
setup(__props) {
|
||||
require.async("../../TUIKit/components/TUIConversation/entry.js");
|
||||
let showMiddleButton = common_vendor.ref(false);
|
||||
const conversationList = common_vendor.ref([]);
|
||||
let Unread = common_vendor.ref(0);
|
||||
common_vendor.onMounted(() => {
|
||||
common_vendor.Jt.watch(common_vendor.o.CONV, {
|
||||
conversationList: onConversationListUpdated
|
||||
@@ -25,7 +27,21 @@ const _sfc_main = {
|
||||
});
|
||||
function onConversationListUpdated(list) {
|
||||
conversationList.value = list;
|
||||
common_vendor.index.__f__("log", "at components/tabBar/tabBar.vue:51", "conversationList", list);
|
||||
Unread.value = calculateUnreadCount(list);
|
||||
}
|
||||
function calculateUnreadCount(arr) {
|
||||
let total = 0;
|
||||
for (const item of arr) {
|
||||
if (!item.hasOwnProperty("unreadCount")) {
|
||||
return null;
|
||||
}
|
||||
const count = item.unreadCount;
|
||||
if (typeof count !== "number" || !Number.isFinite(count)) {
|
||||
return null;
|
||||
}
|
||||
total += count;
|
||||
}
|
||||
return total;
|
||||
}
|
||||
let tabList = common_vendor.reactive([
|
||||
{
|
||||
@@ -67,10 +83,8 @@ const _sfc_main = {
|
||||
});
|
||||
common_vendor.index.getSystemInfo({
|
||||
success: function(res) {
|
||||
common_vendor.index.__f__("log", "at components/tabBar/tabBar.vue:99", "机型", res.deviceType);
|
||||
if (res.safeArea.top > 40) {
|
||||
common_vendor.index.__f__("log", "at components/tabBar/tabBar.vue:101", "苹果的底部栏大小", res.safeArea.top);
|
||||
}
|
||||
if (res.safeArea.top > 40)
|
||||
;
|
||||
}
|
||||
});
|
||||
function setTabBar() {
|
||||
@@ -123,14 +137,18 @@ const _sfc_main = {
|
||||
return (_ctx, _cache) => {
|
||||
return {
|
||||
a: common_vendor.f(common_vendor.unref(tabList), (item, index, i0) => {
|
||||
return {
|
||||
return common_vendor.e({
|
||||
a: __props.tabIndex == index ? item.selectedIconPath : item.iconPath,
|
||||
b: common_vendor.t(item.text),
|
||||
c: __props.tabIndex == index ? "#1DD2F9" : "#A7A3A3",
|
||||
d: common_vendor.n("list-item flex flex-column flex-middle " + item.middleClass),
|
||||
e: common_vendor.o$1(($event) => handlePush(item, index), index),
|
||||
f: index
|
||||
};
|
||||
b: index === 3 && common_vendor.unref(Unread) > 0
|
||||
}, index === 3 && common_vendor.unref(Unread) > 0 ? {
|
||||
c: common_vendor.t(common_vendor.unref(Unread) > 99 ? "99+" : common_vendor.unref(Unread))
|
||||
} : {}, {
|
||||
d: common_vendor.t(item.text),
|
||||
e: __props.tabIndex == index ? "#1DD2F9" : "#A7A3A3",
|
||||
f: common_vendor.n("list-item flex flex-column flex-middle " + item.middleClass),
|
||||
g: common_vendor.o$1(($event) => handlePush(item, index), index),
|
||||
h: index
|
||||
});
|
||||
}),
|
||||
b: common_vendor.n(common_vendor.unref(showMiddleButton) === true ? "tab-list-middle" : "tab-list-default"),
|
||||
c: common_vendor.o$1(disabledScroll),
|
||||
|
||||
@@ -1 +1 @@
|
||||
<view class="tab-block data-v-c497a889"><view class="{{['tab-list', 'flex', 'flex-center', 'data-v-c497a889', b]}}"><view wx:for="{{a}}" wx:for-item="item" wx:key="f" class="{{['data-v-c497a889', item.d]}}" bindtap="{{item.e}}"><view class="item-img-box data-v-c497a889"><image class="item-img data-v-c497a889" src="{{item.a}}"/></view><view class="item-text font-20 data-v-c497a889" style="{{'color:' + item.c}}">{{item.b}}</view></view></view><view class="data-v-c497a889" catchtouchmove="{{c}}"></view><new-added-pk class="createModule r data-v-c497a889" u-r="createModule" u-i="c497a889-0" bind:__l="__l"></new-added-pk></view>
|
||||
<view class="tab-block data-v-c497a889"><view class="{{['tab-list', 'flex', 'flex-center', 'data-v-c497a889', b]}}"><view wx:for="{{a}}" wx:for-item="item" wx:key="h" class="{{['data-v-c497a889', item.f]}}" bindtap="{{item.g}}"><view class="item-img-box data-v-c497a889"><image class="item-img data-v-c497a889" src="{{item.a}}"/><view wx:if="{{item.b}}" class="Unreadcss data-v-c497a889">{{item.c}}</view></view><view class="item-text font-20 data-v-c497a889" style="{{'color:' + item.e}}">{{item.d}}</view></view></view><view class="data-v-c497a889" catchtouchmove="{{c}}"></view><new-added-pk class="createModule r data-v-c497a889" u-r="createModule" u-i="c497a889-0" bind:__l="__l"></new-added-pk></view>
|
||||
@@ -111,4 +111,18 @@
|
||||
.tab-block .tab-bar.data-v-c497a889 {
|
||||
height: 30rpx;
|
||||
background-color: #ffffff;
|
||||
}
|
||||
.Unreadcss.data-v-c497a889 {
|
||||
background-color: #ff0000;
|
||||
margin-top: -65rpx;
|
||||
width: 30rpx;
|
||||
height: 30rpx;
|
||||
border-radius: 50%;
|
||||
text-align: center;
|
||||
font-weight: bold;
|
||||
font-size: 18rpx;
|
||||
color: #ffffff;
|
||||
line-height: 30rpx;
|
||||
margin-left: 30rpx;
|
||||
z-index: 1001;
|
||||
}
|
||||
1
unpackage/dist/dev/mp-weixin/index.js
vendored
1
unpackage/dist/dev/mp-weixin/index.js
vendored
@@ -131,7 +131,6 @@ const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
|
||||
}
|
||||
function onConversationListUpdated(list) {
|
||||
conversationList.value = list;
|
||||
common_vendor.index.__f__("log", "at TUIKit/components/TUIConversation/conversation-list/index.vue:275", "conversationList", list);
|
||||
}
|
||||
function onCurrentConversationIDUpdated(id) {
|
||||
currentConversationID.value = id;
|
||||
|
||||
15
unpackage/dist/dev/mp-weixin/pages/Home/Home.js
vendored
15
unpackage/dist/dev/mp-weixin/pages/Home/Home.js
vendored
@@ -77,7 +77,6 @@ const _sfc_main = {
|
||||
key: "chatInfo",
|
||||
success: (res3) => {
|
||||
this.chatInfo = res3.data;
|
||||
common_vendor.index.__f__("log", "at pages/Home/Home.vue:242", "chatInfo", this.chatInfo);
|
||||
components_TUILogin.TUIlogin(this.chatInfo.appId, this.info.id, this.myuserSig.userSig);
|
||||
}
|
||||
});
|
||||
@@ -94,14 +93,6 @@ const _sfc_main = {
|
||||
//确认弹窗
|
||||
confirm() {
|
||||
this.ConfirmStatus = true;
|
||||
common_vendor.index.__f__(
|
||||
"log",
|
||||
"at pages/Home/Home.vue:263",
|
||||
this.minNumberCoins,
|
||||
this.maxNumberCoins,
|
||||
this.mindatetimesingle,
|
||||
this.maxdatetimesingle
|
||||
);
|
||||
if (this.minNumberCoins === "" && this.maxNumberCoins !== "" || this.minNumberCoins !== "" && this.maxNumberCoins === "") {
|
||||
this.HintCion = true;
|
||||
return;
|
||||
@@ -164,12 +155,10 @@ const _sfc_main = {
|
||||
//获取国家
|
||||
country(item) {
|
||||
this.countrys = item.value;
|
||||
common_vendor.index.__f__("log", "at pages/Home/Home.vue:344", item);
|
||||
},
|
||||
//获取性别
|
||||
gender(item) {
|
||||
this.genders = item.value;
|
||||
common_vendor.index.__f__("log", "at pages/Home/Home.vue:349", item);
|
||||
},
|
||||
// 打开弹窗(筛选条件)
|
||||
goScreening() {
|
||||
@@ -220,7 +209,6 @@ const _sfc_main = {
|
||||
title: "加载中...",
|
||||
mask: true
|
||||
});
|
||||
common_vendor.index.__f__("log", "at pages/Home/Home.vue:414", "id", item.id, this.info.id);
|
||||
const res = await components_request.request({
|
||||
url: "pk/pkInfoDetail",
|
||||
method: "POST",
|
||||
@@ -230,12 +218,10 @@ const _sfc_main = {
|
||||
},
|
||||
userInfo: true
|
||||
});
|
||||
common_vendor.index.__f__("log", "at pages/Home/Home.vue:425", "res", res);
|
||||
this.detailsdata = res.data;
|
||||
if (res.code === 200) {
|
||||
if (res.data.length !== 0) {
|
||||
common_vendor.index.hideLoading();
|
||||
common_vendor.index.__f__("log", "at pages/Home/Home.vue:430", "res.data", res.data);
|
||||
common_vendor.index.navigateTo({
|
||||
url: "/pages/pkDetail/pkDetail",
|
||||
success: (res2) => {
|
||||
@@ -271,7 +257,6 @@ const _sfc_main = {
|
||||
},
|
||||
userInfo: false
|
||||
});
|
||||
common_vendor.index.__f__("log", "at pages/Home/Home.vue:468", res);
|
||||
if (res.code === 200) {
|
||||
this.triggered = false;
|
||||
if (condition.type === 1) {
|
||||
|
||||
17
unpackage/dist/dev/mp-weixin/pages/Mine/Mine.js
vendored
17
unpackage/dist/dev/mp-weixin/pages/Mine/Mine.js
vendored
@@ -18,7 +18,6 @@ const _sfc_main = {
|
||||
common_vendor.index.getStorage({
|
||||
key: "userinfo",
|
||||
success: (res) => {
|
||||
common_vendor.index.__f__("log", "at pages/Mine/Mine.vue:238", res.data);
|
||||
components_request.request({
|
||||
url: "user/getUserInfo",
|
||||
method: "POST",
|
||||
@@ -35,7 +34,7 @@ const _sfc_main = {
|
||||
this.getSignStatus();
|
||||
this.getAnchorList();
|
||||
} else {
|
||||
common_vendor.index.__f__("log", "at pages/Mine/Mine.vue:255", res2.msg);
|
||||
common_vendor.index.__f__("log", "at pages/Mine/Mine.vue:254", res2.msg);
|
||||
}
|
||||
});
|
||||
}
|
||||
@@ -56,7 +55,7 @@ const _sfc_main = {
|
||||
this.userinfo = res.data;
|
||||
common_vendor.index.setStorageSync("userinfo", res.data);
|
||||
} else {
|
||||
common_vendor.index.__f__("log", "at pages/Mine/Mine.vue:276", res.msg);
|
||||
common_vendor.index.__f__("log", "at pages/Mine/Mine.vue:275", res.msg);
|
||||
}
|
||||
});
|
||||
},
|
||||
@@ -73,13 +72,12 @@ const _sfc_main = {
|
||||
if (res.code == 200) {
|
||||
this.AnchorList = res.data.slice(0, 4);
|
||||
} else {
|
||||
common_vendor.index.__f__("log", "at pages/Mine/Mine.vue:293", res.msg);
|
||||
common_vendor.index.__f__("log", "at pages/Mine/Mine.vue:292", res.msg);
|
||||
}
|
||||
});
|
||||
},
|
||||
// 获取签到状态
|
||||
getSignStatus() {
|
||||
common_vendor.index.__f__("log", "at pages/Mine/Mine.vue:299", "getSignStatus", this.userinfo.id);
|
||||
components_request.request({
|
||||
url: "user/checkSignStatus",
|
||||
method: "GET",
|
||||
@@ -91,7 +89,7 @@ const _sfc_main = {
|
||||
if (res.code == 200) {
|
||||
this.SignStatus = res.data;
|
||||
} else {
|
||||
common_vendor.index.__f__("log", "at pages/Mine/Mine.vue:312", res.msg);
|
||||
common_vendor.index.__f__("log", "at pages/Mine/Mine.vue:310", res.msg);
|
||||
}
|
||||
});
|
||||
},
|
||||
@@ -114,7 +112,7 @@ const _sfc_main = {
|
||||
this.getSignStatus();
|
||||
this.getUserInfo();
|
||||
} else {
|
||||
common_vendor.index.__f__("log", "at pages/Mine/Mine.vue:335", res.msg);
|
||||
common_vendor.index.__f__("log", "at pages/Mine/Mine.vue:333", res.msg);
|
||||
}
|
||||
});
|
||||
},
|
||||
@@ -134,9 +132,8 @@ const _sfc_main = {
|
||||
}).then((res) => {
|
||||
if (res.code == 200) {
|
||||
this.pkInformationdata = res.data;
|
||||
common_vendor.index.__f__("log", "at pages/Mine/Mine.vue:355", this.pkInformationdata);
|
||||
} else {
|
||||
common_vendor.index.__f__("log", "at pages/Mine/Mine.vue:357", res.msg);
|
||||
common_vendor.index.__f__("log", "at pages/Mine/Mine.vue:354", res.msg);
|
||||
}
|
||||
});
|
||||
},
|
||||
@@ -156,7 +153,7 @@ const _sfc_main = {
|
||||
if (res.code == 200) {
|
||||
this.myPkRecorddata = res.data;
|
||||
} else {
|
||||
common_vendor.index.__f__("log", "at pages/Mine/Mine.vue:377", res.msg);
|
||||
common_vendor.index.__f__("log", "at pages/Mine/Mine.vue:374", res.msg);
|
||||
}
|
||||
});
|
||||
},
|
||||
|
||||
@@ -15,7 +15,6 @@ const _sfc_main = {
|
||||
const eventChannel = this.getOpenerEventChannel();
|
||||
eventChannel.on("itemDetail", (data) => {
|
||||
this.item = data.item;
|
||||
common_vendor.index.__f__("log", "at pages/Mine/minecomponents/DetailsPKRecords/DetailsPKRecords.vue:117", "接收到的数据:", this.item);
|
||||
this.getCoinNum(this.item);
|
||||
});
|
||||
},
|
||||
@@ -40,7 +39,7 @@ const _sfc_main = {
|
||||
this.coinNumlist = res.data;
|
||||
this.triggered = false;
|
||||
} else {
|
||||
common_vendor.index.__f__("log", "at pages/Mine/minecomponents/DetailsPKRecords/DetailsPKRecords.vue:142", "获取金币数量失败");
|
||||
common_vendor.index.__f__("log", "at pages/Mine/minecomponents/DetailsPKRecords/DetailsPKRecords.vue:141", "获取金币数量失败");
|
||||
}
|
||||
});
|
||||
},
|
||||
|
||||
@@ -40,12 +40,10 @@ const _sfc_main = {
|
||||
//性别
|
||||
gender(item) {
|
||||
this.genders = item.value;
|
||||
common_vendor.index.__f__("log", "at pages/Mine/minecomponents/addStreamer/addStreamer.vue:133", item);
|
||||
},
|
||||
//国家
|
||||
country(item) {
|
||||
this.countrys = item.value;
|
||||
common_vendor.index.__f__("log", "at pages/Mine/minecomponents/addStreamer/addStreamer.vue:138", item);
|
||||
},
|
||||
handleOverlayClick(event) {
|
||||
if (event.target === this.$el) {
|
||||
|
||||
@@ -17,7 +17,6 @@ const _sfc_main = {
|
||||
key: "userinfo",
|
||||
success: (res) => {
|
||||
this.userinfo = res.data;
|
||||
common_vendor.index.__f__("log", "at pages/Mine/minecomponents/anchorLibrary.vue:110", this.userinfo);
|
||||
this.getAnchorList();
|
||||
}
|
||||
});
|
||||
@@ -69,7 +68,7 @@ const _sfc_main = {
|
||||
if (res.code == 200) {
|
||||
this.AnchorList = res.data;
|
||||
} else {
|
||||
common_vendor.index.__f__("log", "at pages/Mine/minecomponents/anchorLibrary.vue:162", res.msg);
|
||||
common_vendor.index.__f__("log", "at pages/Mine/minecomponents/anchorLibrary.vue:161", res.msg);
|
||||
}
|
||||
});
|
||||
},
|
||||
|
||||
@@ -35,7 +35,6 @@ const _sfc_main = {
|
||||
},
|
||||
watch: {
|
||||
message(newQuestion, oldQuestion) {
|
||||
common_vendor.index.__f__("log", "at pages/Mine/minecomponents/modifyStreamer/modifyStreamer.vue:131", newQuestion);
|
||||
this.id = newQuestion.id;
|
||||
this.nameAnchor = newQuestion.anchorId;
|
||||
this.genders = newQuestion.gender;
|
||||
@@ -55,12 +54,10 @@ const _sfc_main = {
|
||||
//性别
|
||||
gender(item) {
|
||||
this.genders = item.value;
|
||||
common_vendor.index.__f__("log", "at pages/Mine/minecomponents/modifyStreamer/modifyStreamer.vue:151", item);
|
||||
},
|
||||
//国家
|
||||
country(item) {
|
||||
this.countrys = item.value;
|
||||
common_vendor.index.__f__("log", "at pages/Mine/minecomponents/modifyStreamer/modifyStreamer.vue:156", item);
|
||||
},
|
||||
handleOverlayClick(event) {
|
||||
if (event.target === this.$el) {
|
||||
|
||||
@@ -16,7 +16,9 @@ const _sfc_main = {
|
||||
pickerArray: [],
|
||||
index: 0,
|
||||
topPinnedPersondata: {},
|
||||
Topdate: 0
|
||||
Topdate: 0,
|
||||
popupOutdata: {},
|
||||
popupExpurgatedata: {}
|
||||
};
|
||||
},
|
||||
onLoad() {
|
||||
@@ -24,7 +26,6 @@ const _sfc_main = {
|
||||
key: "userinfo",
|
||||
success: (res) => {
|
||||
this.userinfo = res.data;
|
||||
common_vendor.index.__f__("log", "at pages/Mine/minecomponents/pkInformation.vue:145", this.userinfo);
|
||||
this.getpkList();
|
||||
}
|
||||
});
|
||||
@@ -67,10 +68,9 @@ const _sfc_main = {
|
||||
}).then((res) => {
|
||||
if (res.code == 200) {
|
||||
this.pkList.push(...res.data);
|
||||
common_vendor.index.__f__("log", "at pages/Mine/minecomponents/pkInformation.vue:188", this.pkList);
|
||||
this.triggered = false;
|
||||
} else {
|
||||
common_vendor.index.__f__("log", "at pages/Mine/minecomponents/pkInformation.vue:191", res.msg);
|
||||
common_vendor.index.__f__("log", "at pages/Mine/minecomponents/pkInformation.vue:214", res.msg);
|
||||
}
|
||||
});
|
||||
},
|
||||
@@ -100,7 +100,6 @@ const _sfc_main = {
|
||||
} else {
|
||||
this.Topdate = this.topPinnedPersondata.pkTime;
|
||||
}
|
||||
common_vendor.index.__f__("log", "at pages/Mine/minecomponents/pkInformation.vue:221", this.Topdate, this.topPinnedPersondata.id);
|
||||
components_request.request({
|
||||
url: "user/pinToTop",
|
||||
method: "POST",
|
||||
@@ -113,7 +112,7 @@ const _sfc_main = {
|
||||
if (res.code == 200) {
|
||||
this.onRefresherRefresh();
|
||||
common_vendor.index.showToast({
|
||||
title: res.msg,
|
||||
title: res.data,
|
||||
icon: "none",
|
||||
duration: 3e3
|
||||
});
|
||||
@@ -129,15 +128,21 @@ const _sfc_main = {
|
||||
},
|
||||
//取消置顶
|
||||
onOutTop(item) {
|
||||
this.$refs.popupOut.open("center");
|
||||
this.popupOutdata = item;
|
||||
},
|
||||
// 确认取消置顶
|
||||
onOutTopConfirm() {
|
||||
components_request.request({
|
||||
url: "user/cancelPin",
|
||||
method: "POST",
|
||||
data: {
|
||||
articleId: item.id
|
||||
articleId: this.popupOutdata.id
|
||||
},
|
||||
userInfo: true
|
||||
}).then((res) => {
|
||||
if (res.code == 200) {
|
||||
this.closePopupOut();
|
||||
this.onRefresherRefresh();
|
||||
common_vendor.index.showToast({
|
||||
title: res.data,
|
||||
@@ -145,32 +150,53 @@ const _sfc_main = {
|
||||
duration: 3e3
|
||||
});
|
||||
} else {
|
||||
common_vendor.index.__f__("log", "at pages/Mine/minecomponents/pkInformation.vue:267", res.msg);
|
||||
common_vendor.index.__f__("log", "at pages/Mine/minecomponents/pkInformation.vue:295", res.msg);
|
||||
}
|
||||
});
|
||||
},
|
||||
// 取消取消置顶
|
||||
closePopupOut() {
|
||||
this.$refs.popupOut.close();
|
||||
this.popupOutdata = {};
|
||||
},
|
||||
// 删除pk
|
||||
onExpurgate(item) {
|
||||
this.$refs.popupExpurgate.open("center");
|
||||
this.popupExpurgatedata = item;
|
||||
},
|
||||
// 确认删除pk
|
||||
onExpurgateConfirm() {
|
||||
components_request.request({
|
||||
url: "pk/deletePkDataWithId",
|
||||
method: "POST",
|
||||
data: {
|
||||
id: item.id
|
||||
id: this.popupExpurgatedata.id
|
||||
},
|
||||
userInfo: true
|
||||
}).then((res) => {
|
||||
if (res.code == 200) {
|
||||
this.onRefresherRefresh();
|
||||
this.closePopupExpurgate();
|
||||
common_vendor.index.showToast({
|
||||
title: "删除成功",
|
||||
title: res.msg,
|
||||
icon: "none",
|
||||
duration: 2e3
|
||||
});
|
||||
} else {
|
||||
common_vendor.index.__f__("log", "at pages/Mine/minecomponents/pkInformation.vue:289", res.msg);
|
||||
common_vendor.index.showToast({
|
||||
title: res.msg,
|
||||
icon: "none",
|
||||
duration: 2e3
|
||||
});
|
||||
}
|
||||
});
|
||||
},
|
||||
// 关闭删除弹窗
|
||||
closePopupExpurgate() {
|
||||
this.$refs.popupExpurgate.close();
|
||||
this.popupExpurgatedata = {};
|
||||
}
|
||||
//
|
||||
},
|
||||
components: {
|
||||
Recompose
|
||||
@@ -236,6 +262,20 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
||||
p: common_vendor.p({
|
||||
type: "center",
|
||||
["border-radius"]: "10px 10px 0 0"
|
||||
}),
|
||||
q: common_vendor.o$1((...args) => $options.onOutTopConfirm && $options.onOutTopConfirm(...args)),
|
||||
r: common_vendor.o$1((...args) => $options.closePopupOut && $options.closePopupOut(...args)),
|
||||
s: common_vendor.sr("popupOut", "36b7ee78-3"),
|
||||
t: common_vendor.p({
|
||||
type: "center",
|
||||
["border-radius"]: "10px 10px 0 0"
|
||||
}),
|
||||
v: common_vendor.o$1((...args) => $options.onExpurgateConfirm && $options.onExpurgateConfirm(...args)),
|
||||
w: common_vendor.o$1((...args) => $options.closePopupExpurgate && $options.closePopupExpurgate(...args)),
|
||||
x: common_vendor.sr("popupExpurgate", "36b7ee78-4"),
|
||||
y: common_vendor.p({
|
||||
type: "center",
|
||||
["border-radius"]: "10px 10px 0 0"
|
||||
})
|
||||
};
|
||||
}
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -163,12 +163,37 @@
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
}
|
||||
.popup-container-out.data-v-36b7ee78{
|
||||
width: 500rpx;
|
||||
height: 400rpx;
|
||||
background-color: #ffffff;
|
||||
border-radius: 30rpx;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
padding: 30rpx;
|
||||
}
|
||||
.popup-container-expurgate.data-v-36b7ee78{
|
||||
width: 500rpx;
|
||||
height: 300rpx;
|
||||
background-color: #ffffff;
|
||||
border-radius: 30rpx;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
padding: 30rpx;
|
||||
}
|
||||
.popup-title.data-v-36b7ee78{
|
||||
font-size: 30rpx;
|
||||
color: #161616;
|
||||
font-weight: bold;
|
||||
margin-top: 30rpx;
|
||||
}
|
||||
.popup-text.data-v-36b7ee78{
|
||||
font-size: 25rpx;
|
||||
color: #959595;
|
||||
margin-top: 30rpx;
|
||||
}
|
||||
.popup-picker.data-v-36b7ee78{
|
||||
margin-top: 30rpx;
|
||||
width: 400rpx;
|
||||
|
||||
@@ -98,18 +98,15 @@ const _sfc_main = {
|
||||
this.pkmyRecordlist.push(...res.data);
|
||||
if (this.current === 1) {
|
||||
this.pkRecordlist = this.pkmyRecordlist;
|
||||
common_vendor.index.__f__("log", "at pages/Mine/minecomponents/pkRecord.vue:182", this.pkmyRecordlist);
|
||||
}
|
||||
} else {
|
||||
this.pkInvitationRecordlist.push(...res.data);
|
||||
common_vendor.index.__f__("log", "at pages/Mine/minecomponents/pkRecord.vue:186", this.pkInvitationRecordlist);
|
||||
if (this.current === 2) {
|
||||
this.pkRecordlist = this.pkInvitationRecordlist;
|
||||
common_vendor.index.__f__("log", "at pages/Mine/minecomponents/pkRecord.vue:189", this.pkInvitationRecordlist);
|
||||
}
|
||||
}
|
||||
} else {
|
||||
common_vendor.index.__f__("log", "at pages/Mine/minecomponents/pkRecord.vue:193", res.msg);
|
||||
common_vendor.index.__f__("log", "at pages/Mine/minecomponents/pkRecord.vue:190", res.msg);
|
||||
}
|
||||
});
|
||||
},
|
||||
|
||||
@@ -48,12 +48,10 @@ const _sfc_main = {
|
||||
userInfo: true
|
||||
}).then((res) => {
|
||||
if (res.code === 200) {
|
||||
common_vendor.index.__f__("log", "at pages/Mine/minecomponents/points.vue:96", res.data);
|
||||
this.pointslist.push(...res.data);
|
||||
common_vendor.index.__f__("log", "at pages/Mine/minecomponents/points.vue:98", "```````````````````", this.pointslist);
|
||||
this.triggered = false;
|
||||
} else {
|
||||
common_vendor.index.__f__("log", "at pages/Mine/minecomponents/points.vue:101", res.msg);
|
||||
common_vendor.index.__f__("log", "at pages/Mine/minecomponents/points.vue:99", res.msg);
|
||||
}
|
||||
});
|
||||
},
|
||||
@@ -74,10 +72,10 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
||||
a: common_vendor.o$1((...args) => $options.onBack && $options.onBack(...args)),
|
||||
b: common_vendor.f($data.pointslist, (item, index, i0) => {
|
||||
return {
|
||||
a: common_vendor.t($options.formatDate(item.time)),
|
||||
b: common_vendor.t(item.info),
|
||||
c: common_vendor.t(item.number),
|
||||
d: item.status == 0 ? "#11ff002b" : "#ff000011",
|
||||
a: common_vendor.t(item.info),
|
||||
b: common_vendor.t(item.status == 0 ? "-" + item.number : "+" + item.number),
|
||||
c: common_vendor.t($options.formatDate(item.time)),
|
||||
d: item.status == 0 ? "#ff000011" : "#11ff002b",
|
||||
e: index,
|
||||
f: "cd2929c5-0-" + i0
|
||||
};
|
||||
|
||||
@@ -1 +1 @@
|
||||
<view class="points data-v-cd2929c5"><view class="bg data-v-cd2929c5"><image class="bgImg data-v-cd2929c5" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/HomeBackground.png" mode="scaleToFill"/></view><view class="Return data-v-cd2929c5" bindtap="{{a}}"><image class="ReturnImg data-v-cd2929c5" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/Return.png" mode="scaleToFill"/></view><view class="title data-v-cd2929c5">积分</view><view class="content data-v-cd2929c5"><scroll-view show-scrollbar="false" scroll-y="true" class="scroll data-v-cd2929c5" refresher-enabled="true" refresher-threshold="40" bindrefresherrefresh="{{c}}" lower-threshold="100" bindscrolltolower="{{d}}" refresher-triggered="{{e}}"><uni-card wx:for="{{b}}" wx:for-item="item" wx:key="e" u-s="{{['d']}}" class="card data-v-cd2929c5" u-i="{{item.f}}" bind:__l="__l"><view class="card-content data-v-cd2929c5" style="{{'background-color:' + item.d}}"><view class="time data-v-cd2929c5">{{item.a}}</view><view class="info data-v-cd2929c5">{{item.b}}</view><view class="num data-v-cd2929c5">{{item.c}}</view></view></uni-card></scroll-view></view></view>
|
||||
<view class="points data-v-cd2929c5"><view class="bg data-v-cd2929c5"><image class="bgImg data-v-cd2929c5" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/HomeBackground.png" mode="scaleToFill"/></view><view class="Return data-v-cd2929c5" bindtap="{{a}}"><image class="ReturnImg data-v-cd2929c5" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/Return.png" mode="scaleToFill"/></view><view class="title data-v-cd2929c5">积分</view><view class="content data-v-cd2929c5"><scroll-view show-scrollbar="false" scroll-y="true" class="scroll data-v-cd2929c5" refresher-enabled="true" refresher-threshold="40" bindrefresherrefresh="{{c}}" lower-threshold="100" bindscrolltolower="{{d}}" refresher-triggered="{{e}}"><uni-card wx:for="{{b}}" wx:for-item="item" wx:key="e" u-s="{{['d']}}" class="card data-v-cd2929c5" u-i="{{item.f}}" bind:__l="__l"><view class="card-content data-v-cd2929c5" style="{{'background-color:' + item.d}}"><view class="info data-v-cd2929c5"><view class="data-v-cd2929c5">{{item.a}}</view> <view class="num data-v-cd2929c5">{{item.b}}</view></view><view class="time data-v-cd2929c5">{{item.c}}</view></view></uni-card></scroll-view></view></view>
|
||||
@@ -59,6 +59,7 @@
|
||||
.info.data-v-cd2929c5 {
|
||||
font-size: 24rpx;
|
||||
color: #898989;
|
||||
display: flex;
|
||||
}
|
||||
.num.data-v-cd2929c5 {
|
||||
font-size: 24rpx;
|
||||
|
||||
@@ -36,7 +36,6 @@ const _sfc_main = {
|
||||
userInfo: true
|
||||
}).then((res) => {
|
||||
this.PkIDInfodata = res.data;
|
||||
common_vendor.index.__f__("log", "at pages/PKMessageprocessing/PKMessageprocessing.vue:185", this.PkIDInfodata);
|
||||
});
|
||||
},
|
||||
//发布者
|
||||
@@ -50,7 +49,6 @@ const _sfc_main = {
|
||||
userInfo: true
|
||||
}).then((res) => {
|
||||
this.SenderData = res.data;
|
||||
common_vendor.index.__f__("log", "at pages/PKMessageprocessing/PKMessageprocessing.vue:199", this.SenderData);
|
||||
});
|
||||
},
|
||||
//被邀请者
|
||||
@@ -64,7 +62,6 @@ const _sfc_main = {
|
||||
userInfo: true
|
||||
}).then((res) => {
|
||||
this.ReceiverData = res.data;
|
||||
common_vendor.index.__f__("log", "at pages/PKMessageprocessing/PKMessageprocessing.vue:213", this.ReceiverData);
|
||||
});
|
||||
},
|
||||
goBack() {
|
||||
@@ -74,8 +71,6 @@ const _sfc_main = {
|
||||
},
|
||||
formatDate: components_formatDate.formatDate,
|
||||
async operation(status) {
|
||||
common_vendor.index.__f__("log", "at pages/PKMessageprocessing/PKMessageprocessing.vue:224", "``````", this.customData);
|
||||
common_vendor.index.__f__("log", "at pages/PKMessageprocessing/PKMessageprocessing.vue:225", status);
|
||||
await components_request.request({
|
||||
url: "pk/updatePkStatus",
|
||||
method: "POST",
|
||||
@@ -85,7 +80,6 @@ const _sfc_main = {
|
||||
},
|
||||
userInfo: true
|
||||
}).then((res) => {
|
||||
common_vendor.index.__f__("log", "at pages/PKMessageprocessing/PKMessageprocessing.vue:236", res.data);
|
||||
const Hinttext = status === 1 ? "接受邀请成功" : "拒绝邀请成功";
|
||||
if (res.code === 200) {
|
||||
this.getPkIDInfo();
|
||||
|
||||
@@ -55,7 +55,6 @@ const _sfc_main = {
|
||||
path: this.userinfo,
|
||||
name: components_generateFileName.generateFileName()
|
||||
}).then((res) => {
|
||||
common_vendor.index.__f__("log", "at pages/Setting/Setting.vue:76", res.split("/").pop());
|
||||
components_request.request({
|
||||
url: "user/updateUserInfo",
|
||||
method: "POST",
|
||||
@@ -85,7 +84,7 @@ const _sfc_main = {
|
||||
}
|
||||
});
|
||||
}).catch((err) => {
|
||||
common_vendor.index.__f__("log", "at pages/Setting/Setting.vue:109", err);
|
||||
common_vendor.index.__f__("log", "at pages/Setting/Setting.vue:108", err);
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
@@ -27,7 +27,6 @@ const _sfc_main = {
|
||||
key: "lastPage",
|
||||
success: (res) => {
|
||||
this.lastPage = "/" + res.data;
|
||||
common_vendor.index.__f__("log", "at pages/login/login.vue:40", this.lastPage);
|
||||
},
|
||||
fail: () => {
|
||||
this.lastPage = "/pages/Home/Home";
|
||||
@@ -50,7 +49,6 @@ const _sfc_main = {
|
||||
userInfo: false
|
||||
});
|
||||
this.info = res;
|
||||
common_vendor.index.__f__("log", "at pages/login/login.vue:64", "登录信息", this.info);
|
||||
const sdkAppID = Number(this.info.data.chatInfo.appId);
|
||||
const userID = "administrator";
|
||||
this.userSig = components_debug_GenerateTestUserSig.genTestUserSig({
|
||||
@@ -63,7 +61,6 @@ const _sfc_main = {
|
||||
SECRETKEY: this.info.data.chatInfo.appKey,
|
||||
userID: String(res.data.info.id)
|
||||
});
|
||||
common_vendor.index.__f__("log", "at pages/login/login.vue:77", "userSig", this.myuserSig.userSig);
|
||||
common_vendor.index.setStorageSync("myuserSig", this.myuserSig);
|
||||
common_vendor.index.setStorageSync("chatInfo", this.info.data.chatInfo);
|
||||
common_vendor.index.setStorageSync("userSig", this.userSig);
|
||||
@@ -80,7 +77,6 @@ const _sfc_main = {
|
||||
common_vendor.index.setStorageSync("userinfo", this.info.data.info);
|
||||
components_TUILogin.TUIlogin(this.info.data.chatInfo.appId, this.info.data.info.id, this.myuserSig.userSig);
|
||||
common_vendor.index.hideLoading();
|
||||
common_vendor.index.__f__("log", "at pages/login/login.vue:95", "跳的地址", this.lastPage);
|
||||
common_vendor.index.reLaunch({
|
||||
url: this.lastPage
|
||||
});
|
||||
|
||||
@@ -25,7 +25,6 @@ const _sfc_main = {
|
||||
const eventChannel = this.getOpenerEventChannel();
|
||||
eventChannel.on("itemDetail", (data) => {
|
||||
this.item = data.item;
|
||||
common_vendor.index.__f__("log", "at pages/pkDetail/pkDetail.vue:176", "接收到的数据:", this.item);
|
||||
});
|
||||
common_vendor.index.getStorage({
|
||||
key: "userinfo",
|
||||
@@ -108,7 +107,6 @@ const _sfc_main = {
|
||||
if (res.code === 200) {
|
||||
if (res.data.length !== 0) {
|
||||
common_vendor.index.hideLoading();
|
||||
common_vendor.index.__f__("log", "at pages/pkDetail/pkDetail.vue:264", "res.data", res.data);
|
||||
this.list = res.data;
|
||||
} else {
|
||||
common_vendor.index.hideLoading();
|
||||
|
||||
3
unpackage/dist/dev/mp-weixin/recompose.js
vendored
3
unpackage/dist/dev/mp-weixin/recompose.js
vendored
@@ -121,12 +121,10 @@ const _sfc_main = {
|
||||
//性别
|
||||
gender(item) {
|
||||
this.genders = item.value;
|
||||
common_vendor.index.__f__("log", "at pages/Mine/minecomponents/recompose/recompose.vue:314", item);
|
||||
},
|
||||
//日期
|
||||
country(item) {
|
||||
this.countrys = item.value;
|
||||
common_vendor.index.__f__("log", "at pages/Mine/minecomponents/recompose/recompose.vue:319", item);
|
||||
},
|
||||
// //主播名称
|
||||
// handleOverlayClick(event) {
|
||||
@@ -216,7 +214,6 @@ const _sfc_main = {
|
||||
title: "修改中...",
|
||||
mask: true
|
||||
});
|
||||
common_vendor.index.__f__("log", "at pages/Mine/minecomponents/recompose/recompose.vue:422", this.senderId, this.sendingTime, this.nameAnchor, this.genders, this.numberCoins, this.remarks, this.id, this.AnchorProfilePicture, this.session);
|
||||
const res = await components_request.request({
|
||||
url: "pk/updatePkInfoById",
|
||||
method: "POST",
|
||||
|
||||
Reference in New Issue
Block a user