优化页面
This commit is contained in:
File diff suppressed because one or more lines are too long
1
unpackage/dist/dev/.sourcemap/mp-weixin/components/DifferenceArray.js.map
vendored
Normal file
1
unpackage/dist/dev/.sourcemap/mp-weixin/components/DifferenceArray.js.map
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"DifferenceArray.js","sources":["components/DifferenceArray.js"],"sourcesContent":["function DifferenceArray(targetTimestamp) {\r\n const now = Date.now() / 1000; // 获取当前时间戳(秒) \r\n \r\n // 计算时间差(秒)并转换为小时\r\n const diffHours = Math.ceil((targetTimestamp - now) / 3600);\r\n \r\n // 生成包含小时数的数组\r\n return Array.from({ length: diffHours }, (_, i) => String(i + 1));\r\n}\r\nexport default DifferenceArray;"],"names":[],"mappings":";AAAA,SAAS,gBAAgB,iBAAiB;AACtC,QAAM,MAAM,KAAK,IAAG,IAAK;AAGzB,QAAM,YAAY,KAAK,MAAM,kBAAkB,OAAO,IAAI;AAG1D,SAAO,MAAM,KAAK,EAAE,QAAQ,UAAW,GAAE,CAAC,GAAG,MAAM,OAAO,IAAI,CAAC,CAAC;AACpE;;"}
|
||||
@@ -1 +1 @@
|
||||
{"version":3,"file":"formatDate.js","sources":["components/formatDate.js"],"sourcesContent":["function formatDate(timestamp) {\r\n const date = new Date(timestamp * 1000); // 秒级转毫秒级\r\n const year = date.getFullYear();\r\n const month = String(date.getMonth() + 1).padStart(2, '0');\r\n const day = String(date.getDate()).padStart(2, '0');\r\n const hour = String(date.getHours()).padStart(2, '0');\r\n const minute = String(date.getMinutes()).padStart(2, '0');\r\n const second = String(date.getSeconds()).padStart(2, '0');\r\n \r\n return `${year}-${month}-${day} ${hour}:${minute}:${second}`;\r\n }\r\n export default formatDate;"],"names":[],"mappings":";AAAA,SAAS,WAAW,WAAW;AAC3B,QAAM,OAAO,IAAI,KAAK,YAAY,GAAI;AACtC,QAAM,OAAO,KAAK;AAClB,QAAM,QAAQ,OAAO,KAAK,SAAQ,IAAK,CAAC,EAAE,SAAS,GAAG,GAAG;AACzD,QAAM,MAAM,OAAO,KAAK,QAAS,CAAA,EAAE,SAAS,GAAG,GAAG;AAClD,QAAM,OAAO,OAAO,KAAK,SAAU,CAAA,EAAE,SAAS,GAAG,GAAG;AACpD,QAAM,SAAS,OAAO,KAAK,WAAY,CAAA,EAAE,SAAS,GAAG,GAAG;AACxD,QAAM,SAAS,OAAO,KAAK,WAAY,CAAA,EAAE,SAAS,GAAG,GAAG;AAExD,SAAO,GAAG,IAAI,IAAI,KAAK,IAAI,GAAG,IAAI,IAAI,IAAI,MAAM,IAAI,MAAM;AAC9D;;"}
|
||||
{"version":3,"file":"formatDate.js","sources":["components/formatDate.js"],"sourcesContent":["function formatDate(timestamp) {\r\n const date = new Date(timestamp * 1000); // 秒级转毫秒级\r\n const year = date.getFullYear();\r\n const month = String(date.getMonth() + 1).padStart(2, '0');\r\n const day = String(date.getDate()).padStart(2, '0');\r\n const hour = String(date.getHours()).padStart(2, '0');\r\n const minute = String(date.getMinutes()).padStart(2, '0');\r\n const second = String(date.getSeconds()).padStart(2, '0');\r\n \r\n return `${year}-${month}-${day} ${hour}:${minute}`;\r\n }\r\n export default formatDate;"],"names":[],"mappings":";AAAA,SAAS,WAAW,WAAW;AAC3B,QAAM,OAAO,IAAI,KAAK,YAAY,GAAI;AACtC,QAAM,OAAO,KAAK;AAClB,QAAM,QAAQ,OAAO,KAAK,SAAQ,IAAK,CAAC,EAAE,SAAS,GAAG,GAAG;AACzD,QAAM,MAAM,OAAO,KAAK,QAAS,CAAA,EAAE,SAAS,GAAG,GAAG;AAClD,QAAM,OAAO,OAAO,KAAK,SAAU,CAAA,EAAE,SAAS,GAAG,GAAG;AACpD,QAAM,SAAS,OAAO,KAAK,WAAY,CAAA,EAAE,SAAS,GAAG,GAAG;AACzC,SAAO,KAAK,WAAU,CAAE,EAAE,SAAS,GAAG,GAAG;AAExD,SAAO,GAAG,IAAI,IAAI,KAAK,IAAI,GAAG,IAAI,IAAI,IAAI,MAAM;AACpD;;"}
|
||||
@@ -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;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;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 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;;"}
|
||||
File diff suppressed because one or more lines are too long
@@ -1 +1 @@
|
||||
{"version":3,"file":"topNavigation.js","sources":["components/topNavigation/topNavigation.vue","../../HBuilderX/plugins/uniapp-cli-vite/uniComponent:/RDov6aG555uuL3RrLW1pbmktcHJvZ3JhbS9jb21wb25lbnRzL3RvcE5hdmlnYXRpb24vdG9wTmF2aWdhdGlvbi52dWU"],"sourcesContent":["<template>\r\n <view class=\"topNavigation\">\r\n <view\r\n @click=\"MakeAppointmentPK\"\r\n :class=\"{ Selectcss: !Select, NoSelectcss: Select }\"\r\n class=\"RealTime\"\r\n >今日PK</view\r\n >\r\n <view\r\n @click=\"RealTimePk\"\r\n :class=\"{ Selectcss: Select, NoSelectcss: !Select }\"\r\n class=\"MakeAppointment\"\r\n >PK大厅</view\r\n >\r\n <view @click=\"screening\" class=\"Screening\">筛选</view>\r\n <!-- <image @click=\"Search\" src=\"https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/Searching.png\" class=\"filter-icon\" /> -->\r\n </view>\r\n</template>\r\n\r\n<script>\r\nexport default {\r\n data() {\r\n return {\r\n title: \"Hello\",\r\n Select: false,\r\n };\r\n },\r\n onLoad() {\r\n // 页面加载时执行\r\n },\r\n methods: {\r\n MakeAppointmentPK() {\r\n this.Select = false;\r\n this.$emit(\"MakeAppointmentPK\");\r\n },\r\n RealTimePk() {\r\n this.Select = true;\r\n this.$emit(\"RealTimePk\");//触发实时PK事件\r\n },\r\n screening() {\r\n this.$emit(\"screening\");//触发筛选事件\r\n },\r\n Search() {\r\n this.$emit(\"Search\");//触发搜索事件\r\n },\r\n },\r\n};\r\n</script>\r\n\r\n<style scoped>\r\n.topNavigation {\r\n width: 100%;\r\n height: 114.5rpx;\r\n display: flex;\r\n align-items: center;\r\n}\r\n.Screening {\r\n width: 120rpx;\r\n height: 50rpx;\r\n background: #5bced1;\r\n font-size: 23rpx;\r\n font-weight: bold;\r\n color: #ffffff;\r\n text-align: center;\r\n line-height: 50rpx;\r\n border-radius: 15rpx;\r\n}\r\n.filter-icon {\r\n width: 33rpx;\r\n height: 33rpx;\r\n}\r\n.RealTime {\r\n margin: 0 39rpx 0 41rpx;\r\n}\r\n.MakeAppointment {\r\n margin-right: 280rpx;\r\n}\r\n.Screening {\r\n margin-right: 20rpx;\r\n}\r\n.Selectcss {\r\n width: 146rpx;\r\n height: 39rpx;\r\n font-size: 42rpx;\r\n color: #0e1011;\r\n font-weight: 600;\r\n}\r\n.NoSelectcss {\r\n font-weight: 600;\r\n height: 29rpx;\r\n color: #727a7b;\r\n}\r\n</style>\r\n","import Component from 'D:/项目/tk-mini-program/components/topNavigation/topNavigation.vue'\nwx.createComponent(Component)"],"names":[],"mappings":";;AAoBA,MAAK,YAAU;AAAA,EACb,OAAO;AACL,WAAO;AAAA,MACL,OAAO;AAAA,MACP,QAAQ;AAAA;EAEX;AAAA,EACD,SAAS;AAAA,EAER;AAAA,EACD,SAAS;AAAA,IACP,oBAAoB;AAClB,WAAK,SAAS;AACd,WAAK,MAAM,mBAAmB;AAAA,IAC/B;AAAA,IACD,aAAa;AACX,WAAK,SAAS;AACd,WAAK,MAAM,YAAY;AAAA,IACxB;AAAA,IACD,YAAY;AACV,WAAK,MAAM,WAAW;AAAA,IACvB;AAAA,IACD,SAAS;AACP,WAAK,MAAM,QAAQ;AAAA,IACpB;AAAA,EACF;AACH;;;;;;;;;;;;;AC7CA,GAAG,gBAAgB,SAAS;"}
|
||||
{"version":3,"file":"topNavigation.js","sources":["components/topNavigation/topNavigation.vue","../../HBuilderX/plugins/uniapp-cli-vite/uniComponent:/RDov6aG555uuL3RrLW1pbmktcHJvZ3JhbS9jb21wb25lbnRzL3RvcE5hdmlnYXRpb24vdG9wTmF2aWdhdGlvbi52dWU"],"sourcesContent":["<template>\r\n <view class=\"topNavigation\">\r\n <view\r\n @click=\"MakeAppointmentPK\"\r\n :class=\"{ Selectcss: !Select, NoSelectcss: Select }\"\r\n class=\"RealTime\"\r\n >今日PK</view\r\n >\r\n <view\r\n @click=\"RealTimePk\"\r\n :class=\"{ Selectcss: Select, NoSelectcss: !Select }\"\r\n class=\"MakeAppointment\"\r\n >PK大厅</view\r\n >\r\n <view @click=\"screening\" class=\"Screening\">筛选</view>\r\n <!-- <image @click=\"Search\" src=\"https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/Searching.png\" class=\"filter-icon\" /> -->\r\n </view>\r\n</template>\r\n\r\n<script>\r\nexport default {\r\n data() {\r\n return {\r\n title: \"Hello\",\r\n Select: false,\r\n };\r\n },\r\n onLoad() {\r\n // 页面加载时执行\r\n },\r\n methods: {\r\n MakeAppointmentPK() {\r\n this.Select = false;\r\n this.$emit(\"MakeAppointmentPK\");\r\n },\r\n RealTimePk() {\r\n this.Select = true;\r\n this.$emit(\"RealTimePk\");//触发实时PK事件\r\n },\r\n screening() {\r\n this.$emit(\"screening\");//触发筛选事件\r\n },\r\n Search() {\r\n this.$emit(\"Search\");//触发搜索事件\r\n },\r\n },\r\n};\r\n</script>\r\n\r\n<style scoped>\r\n.topNavigation {\r\n width: 100%;\r\n height: 114.5rpx;\r\n display: flex;\r\n align-items: center;\r\n}\r\n.Screening {\r\n width: 120rpx;\r\n height: 50rpx;\r\n background: #5bced1;\r\n font-size: 23rpx;\r\n font-weight: bold;\r\n color: #ffffff;\r\n text-align: center;\r\n line-height: 50rpx;\r\n border-radius: 15rpx;\r\n}\r\n.filter-icon {\r\n width: 33rpx;\r\n height: 33rpx;\r\n}\r\n.RealTime {\r\n margin: 0 39rpx 0 41rpx;\r\n}\r\n.MakeAppointment {\r\n margin-right: 270rpx;\r\n}\r\n.Screening {\r\n margin-right: 20rpx;\r\n}\r\n.Selectcss {\r\n width: 146rpx;\r\n height: 39rpx;\r\n font-size: 42rpx;\r\n color: #0e1011;\r\n font-weight: 600;\r\n}\r\n.NoSelectcss {\r\n font-weight: 600;\r\n height: 29rpx;\r\n color: #727a7b;\r\n}\r\n</style>\r\n","import Component from 'D:/项目/tk-mini-program/components/topNavigation/topNavigation.vue'\nwx.createComponent(Component)"],"names":[],"mappings":";;AAoBA,MAAK,YAAU;AAAA,EACb,OAAO;AACL,WAAO;AAAA,MACL,OAAO;AAAA,MACP,QAAQ;AAAA;EAEX;AAAA,EACD,SAAS;AAAA,EAER;AAAA,EACD,SAAS;AAAA,IACP,oBAAoB;AAClB,WAAK,SAAS;AACd,WAAK,MAAM,mBAAmB;AAAA,IAC/B;AAAA,IACD,aAAa;AACX,WAAK,SAAS;AACd,WAAK,MAAM,YAAY;AAAA,IACxB;AAAA,IACD,YAAY;AACV,WAAK,MAAM,WAAW;AAAA,IACvB;AAAA,IACD,SAAS;AACP,WAAK,MAAM,QAAQ;AAAA,IACpB;AAAA,EACF;AACH;;;;;;;;;;;;;AC7CA,GAAG,gBAAgB,SAAS;"}
|
||||
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
17
unpackage/dist/dev/mp-weixin/NewAddedPk.js
vendored
17
unpackage/dist/dev/mp-weixin/NewAddedPk.js
vendored
@@ -57,9 +57,12 @@ 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;
|
||||
this.AnchorProfilePicture = this.selectedIddata.headerIcon.split("/").pop();
|
||||
this.genders = this.selectedIddata.gender;
|
||||
this.countrys = this.selectedIddata.country;
|
||||
this.close();
|
||||
} else {
|
||||
common_vendor.index.showToast({
|
||||
@@ -93,7 +96,7 @@ const _sfc_main = {
|
||||
if (res.code == 200) {
|
||||
this.AnchorList = res.data;
|
||||
} else {
|
||||
common_vendor.index.__f__("log", "at pages/NewAddedPk/NewAddedPk.vue:265", res.msg);
|
||||
common_vendor.index.__f__("log", "at pages/NewAddedPk/NewAddedPk.vue:270", res.msg);
|
||||
}
|
||||
});
|
||||
},
|
||||
@@ -105,12 +108,12 @@ const _sfc_main = {
|
||||
//性别
|
||||
gender(item) {
|
||||
this.genders = item.value;
|
||||
common_vendor.index.__f__("log", "at pages/NewAddedPk/NewAddedPk.vue:277", item);
|
||||
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:282", item);
|
||||
common_vendor.index.__f__("log", "at pages/NewAddedPk/NewAddedPk.vue:287", item);
|
||||
},
|
||||
handleOverlayClick(event) {
|
||||
if (event.target === this.$el) {
|
||||
@@ -284,7 +287,8 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
||||
borderColor: "#ffffff",
|
||||
options: $data.Country,
|
||||
filterable: $data.filterable,
|
||||
placeholder: "请选择国家"
|
||||
placeholder: "请选择国家",
|
||||
value: $data.countrys
|
||||
}),
|
||||
j: $data.countrys === "" && $data.Hint === true
|
||||
}, $data.countrys === "" && $data.Hint === true ? {} : {}, {
|
||||
@@ -295,7 +299,8 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
||||
textColor: "#666666",
|
||||
borderColor: "#ffffff",
|
||||
options: $data.Gender,
|
||||
placeholder: "性别"
|
||||
placeholder: "性别",
|
||||
value: $data.genders
|
||||
}),
|
||||
m: $data.genders === 0
|
||||
}, $data.genders === 0 ? {} : {}, {
|
||||
|
||||
@@ -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_iaEYrA";
|
||||
const id = "mp-weixin_CJQ7JR";
|
||||
const lazy = typeof swan !== "undefined";
|
||||
let restoreError = lazy ? () => {
|
||||
} : initOnError();
|
||||
|
||||
8
unpackage/dist/dev/mp-weixin/components/DifferenceArray.js
vendored
Normal file
8
unpackage/dist/dev/mp-weixin/components/DifferenceArray.js
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
"use strict";
|
||||
function DifferenceArray(targetTimestamp) {
|
||||
const now = Date.now() / 1e3;
|
||||
const diffHours = Math.ceil((targetTimestamp - now) / 3600);
|
||||
return Array.from({ length: diffHours }, (_, i) => String(i + 1));
|
||||
}
|
||||
exports.DifferenceArray = DifferenceArray;
|
||||
//# sourceMappingURL=../../.sourcemap/mp-weixin/components/DifferenceArray.js.map
|
||||
@@ -6,8 +6,8 @@ function formatDate(timestamp) {
|
||||
const day = String(date.getDate()).padStart(2, "0");
|
||||
const hour = String(date.getHours()).padStart(2, "0");
|
||||
const minute = String(date.getMinutes()).padStart(2, "0");
|
||||
const second = String(date.getSeconds()).padStart(2, "0");
|
||||
return `${year}-${month}-${day} ${hour}:${minute}:${second}`;
|
||||
String(date.getSeconds()).padStart(2, "0");
|
||||
return `${year}-${month}-${day} ${hour}:${minute}`;
|
||||
}
|
||||
exports.formatDate = formatDate;
|
||||
//# sourceMappingURL=../../.sourcemap/mp-weixin/components/formatDate.js.map
|
||||
|
||||
@@ -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://120.26.251.180:8086/" + url;
|
||||
const baseUrl = "http://192.168.0.218:8086/" + url;
|
||||
if (userInfo) {
|
||||
return new Promise((resolve, reject) => {
|
||||
common_vendor.index.getStorage({
|
||||
|
||||
@@ -12,6 +12,21 @@ const _sfc_main = {
|
||||
},
|
||||
setup(__props) {
|
||||
let showMiddleButton = common_vendor.ref(false);
|
||||
const conversationList = common_vendor.ref([]);
|
||||
common_vendor.onMounted(() => {
|
||||
common_vendor.Jt.watch(common_vendor.o.CONV, {
|
||||
conversationList: onConversationListUpdated
|
||||
});
|
||||
});
|
||||
common_vendor.onUnmounted(() => {
|
||||
common_vendor.Jt.unwatch(common_vendor.o.CONV, {
|
||||
conversationList: onConversationListUpdated
|
||||
});
|
||||
});
|
||||
function onConversationListUpdated(list) {
|
||||
conversationList.value = list;
|
||||
common_vendor.index.__f__("log", "at components/tabBar/tabBar.vue:51", "conversationList", list);
|
||||
}
|
||||
let tabList = common_vendor.reactive([
|
||||
{
|
||||
iconPath: "https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/Pk.png",
|
||||
@@ -52,9 +67,9 @@ const _sfc_main = {
|
||||
});
|
||||
common_vendor.index.getSystemInfo({
|
||||
success: function(res) {
|
||||
common_vendor.index.__f__("log", "at components/tabBar/tabBar.vue:83", "机型", res.deviceType);
|
||||
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:85", "苹果的底部栏大小", res.safeArea.top);
|
||||
common_vendor.index.__f__("log", "at components/tabBar/tabBar.vue:101", "苹果的底部栏大小", res.safeArea.top);
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
margin: 0 39rpx 0 41rpx;
|
||||
}
|
||||
.MakeAppointment.data-v-ce2f6748 {
|
||||
margin-right: 280rpx;
|
||||
margin-right: 270rpx;
|
||||
}
|
||||
.Screening.data-v-ce2f6748 {
|
||||
margin-right: 20rpx;
|
||||
|
||||
1
unpackage/dist/dev/mp-weixin/index.js
vendored
1
unpackage/dist/dev/mp-weixin/index.js
vendored
@@ -131,6 +131,7 @@ 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;
|
||||
|
||||
@@ -337,8 +337,9 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
||||
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),
|
||||
j: index,
|
||||
k: "7ffebbf4-2-" + i0
|
||||
j: item.isPin === true ? "2px solid #eeff00" : "2px solid #f5f5f5",
|
||||
k: index,
|
||||
l: "7ffebbf4-2-" + i0
|
||||
});
|
||||
})
|
||||
} : {}, {
|
||||
|
||||
File diff suppressed because one or more lines are too long
39
unpackage/dist/dev/mp-weixin/pages/Mine/Mine.js
vendored
39
unpackage/dist/dev/mp-weixin/pages/Mine/Mine.js
vendored
@@ -42,6 +42,24 @@ const _sfc_main = {
|
||||
});
|
||||
},
|
||||
methods: {
|
||||
//获取个人信息
|
||||
getUserInfo() {
|
||||
components_request.request({
|
||||
url: "user/getUserInfo",
|
||||
method: "POST",
|
||||
data: {
|
||||
id: this.userinfo.id
|
||||
},
|
||||
userInfo: true
|
||||
}).then((res) => {
|
||||
if (res.code == 200) {
|
||||
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);
|
||||
}
|
||||
});
|
||||
},
|
||||
// 获取主播列表
|
||||
getAnchorList() {
|
||||
components_request.request({
|
||||
@@ -55,13 +73,13 @@ 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:275", res.msg);
|
||||
common_vendor.index.__f__("log", "at pages/Mine/Mine.vue:293", res.msg);
|
||||
}
|
||||
});
|
||||
},
|
||||
// 获取签到状态
|
||||
getSignStatus() {
|
||||
common_vendor.index.__f__("log", "at pages/Mine/Mine.vue:281", "getSignStatus", this.userinfo.id);
|
||||
common_vendor.index.__f__("log", "at pages/Mine/Mine.vue:299", "getSignStatus", this.userinfo.id);
|
||||
components_request.request({
|
||||
url: "user/checkSignStatus",
|
||||
method: "GET",
|
||||
@@ -73,7 +91,7 @@ const _sfc_main = {
|
||||
if (res.code == 200) {
|
||||
this.SignStatus = res.data;
|
||||
} else {
|
||||
common_vendor.index.__f__("log", "at pages/Mine/Mine.vue:294", res.msg);
|
||||
common_vendor.index.__f__("log", "at pages/Mine/Mine.vue:312", res.msg);
|
||||
}
|
||||
});
|
||||
},
|
||||
@@ -94,8 +112,9 @@ const _sfc_main = {
|
||||
duration: 2e3
|
||||
});
|
||||
this.getSignStatus();
|
||||
this.getUserInfo();
|
||||
} else {
|
||||
common_vendor.index.__f__("log", "at pages/Mine/Mine.vue:316", res.msg);
|
||||
common_vendor.index.__f__("log", "at pages/Mine/Mine.vue:335", res.msg);
|
||||
}
|
||||
});
|
||||
},
|
||||
@@ -115,9 +134,9 @@ const _sfc_main = {
|
||||
}).then((res) => {
|
||||
if (res.code == 200) {
|
||||
this.pkInformationdata = res.data;
|
||||
common_vendor.index.__f__("log", "at pages/Mine/Mine.vue:336", this.pkInformationdata);
|
||||
common_vendor.index.__f__("log", "at pages/Mine/Mine.vue:355", this.pkInformationdata);
|
||||
} else {
|
||||
common_vendor.index.__f__("log", "at pages/Mine/Mine.vue:338", res.msg);
|
||||
common_vendor.index.__f__("log", "at pages/Mine/Mine.vue:357", res.msg);
|
||||
}
|
||||
});
|
||||
},
|
||||
@@ -137,7 +156,7 @@ const _sfc_main = {
|
||||
if (res.code == 200) {
|
||||
this.myPkRecorddata = res.data;
|
||||
} else {
|
||||
common_vendor.index.__f__("log", "at pages/Mine/Mine.vue:358", res.msg);
|
||||
common_vendor.index.__f__("log", "at pages/Mine/Mine.vue:377", res.msg);
|
||||
}
|
||||
});
|
||||
},
|
||||
@@ -264,9 +283,9 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
||||
v: common_vendor.f($data.myPkRecorddata, (item, index, i0) => {
|
||||
return common_vendor.e({
|
||||
a: item.anchorIconA,
|
||||
b: item.winnerAnchorId !== item.anchorIdA && item.winnerAnchorId !== ""
|
||||
}, item.winnerAnchorId !== item.anchorIdA && item.winnerAnchorId !== "" ? {} : item.winnerAnchorId === item.anchorIdA ? {} : {}, {
|
||||
c: item.winnerAnchorId === item.anchorIdA,
|
||||
b: item.winnerAnchorId !== item.anchorIdA && item.winnerAnchorId !== null
|
||||
}, item.winnerAnchorId !== item.anchorIdA && item.winnerAnchorId !== null ? {} : item.winnerAnchorId === item.anchorIdA && item.winnerAnchorId !== null ? {} : {}, {
|
||||
c: item.winnerAnchorId === item.anchorIdA && item.winnerAnchorId !== null,
|
||||
d: common_vendor.t(item.pkNumber),
|
||||
e: common_vendor.t($options.TimeFormatting(item.pkTime)),
|
||||
f: index,
|
||||
|
||||
@@ -165,12 +165,12 @@
|
||||
background-color: rgb(205, 205, 205);
|
||||
}
|
||||
.Time.data-v-402ad917 {
|
||||
font-size: 18rpx;
|
||||
font-size: 20rpx;
|
||||
text-align: center;
|
||||
margin-top: 10rpx;
|
||||
}
|
||||
.gold.data-v-402ad917 {
|
||||
font-size: 18rpx;
|
||||
font-size: 20rpx;
|
||||
text-align: center;
|
||||
margin-top: 10rpx;
|
||||
}
|
||||
@@ -204,7 +204,7 @@
|
||||
}
|
||||
.Session.data-v-402ad917 {
|
||||
font-weight: bold;
|
||||
font-size: 18rpx;
|
||||
font-size: 20rpx;
|
||||
margin-top: 10rpx;
|
||||
}
|
||||
.service.data-v-402ad917 {
|
||||
|
||||
@@ -15,7 +15,7 @@ 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:113", "接收到的数据:", this.item);
|
||||
common_vendor.index.__f__("log", "at pages/Mine/minecomponents/DetailsPKRecords/DetailsPKRecords.vue:117", "接收到的数据:", this.item);
|
||||
this.getCoinNum(this.item);
|
||||
});
|
||||
},
|
||||
@@ -40,7 +40,7 @@ const _sfc_main = {
|
||||
this.coinNumlist = res.data;
|
||||
this.triggered = false;
|
||||
} else {
|
||||
common_vendor.index.__f__("log", "at pages/Mine/minecomponents/DetailsPKRecords/DetailsPKRecords.vue:138", "获取金币数量失败");
|
||||
common_vendor.index.__f__("log", "at pages/Mine/minecomponents/DetailsPKRecords/DetailsPKRecords.vue:142", "获取金币数量失败");
|
||||
}
|
||||
});
|
||||
},
|
||||
@@ -65,14 +65,20 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
||||
}, $data.item.winnerAnchorId == $data.item.anchorIdA ? {} : {}, {
|
||||
d: common_vendor.t($data.item.anchorIdA),
|
||||
e: common_vendor.t($options.formatDate($data.item.pkTime)),
|
||||
f: common_vendor.t($data.item.userACoins),
|
||||
g: common_vendor.t($data.item.anchorIdB),
|
||||
h: common_vendor.t($options.formatDate($data.item.pkTime)),
|
||||
i: common_vendor.t($data.item.userBCoins),
|
||||
j: $data.item.anchorIconB,
|
||||
k: $data.item.winnerAnchorId == $data.item.anchorIdB
|
||||
f: $data.item.userACoins !== null
|
||||
}, $data.item.userACoins !== null ? {
|
||||
g: common_vendor.t($data.item.userACoins)
|
||||
} : {}, {
|
||||
h: $data.item.anchorIconB,
|
||||
i: $data.item.winnerAnchorId == $data.item.anchorIdB
|
||||
}, $data.item.winnerAnchorId == $data.item.anchorIdB ? {} : {}, {
|
||||
l: common_vendor.f($data.coinNumlist, (items, index, i0) => {
|
||||
j: common_vendor.t($data.item.anchorIdB),
|
||||
k: common_vendor.t($options.formatDate($data.item.pkTime)),
|
||||
l: $data.item.userBCoins !== null
|
||||
}, $data.item.userBCoins !== null ? {
|
||||
m: common_vendor.t($data.item.userBCoins)
|
||||
} : {}, {
|
||||
n: common_vendor.f($data.coinNumlist, (items, index, i0) => {
|
||||
return {
|
||||
a: common_vendor.t(items.anchorCoinA),
|
||||
b: items.anchorIdA == items.winnerAnchorId ? "#00fbff21" : "#ff000011",
|
||||
@@ -82,8 +88,8 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
||||
f: "414631de-0-" + i0
|
||||
};
|
||||
}),
|
||||
m: common_vendor.o$1((...args) => $options.onRefresherRefresh && $options.onRefresherRefresh(...args)),
|
||||
n: $data.triggered
|
||||
o: common_vendor.o$1((...args) => $options.onRefresherRefresh && $options.onRefresherRefresh(...args)),
|
||||
p: $data.triggered
|
||||
});
|
||||
}
|
||||
const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-414631de"]]);
|
||||
|
||||
@@ -1 +1 @@
|
||||
<view class="details-pkrecords data-v-414631de"><view class="bg data-v-414631de"><image class="bgImg data-v-414631de" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/HomeBackground.png" mode="scaleToFill"/></view><view class="Return data-v-414631de" bindtap="{{a}}"><image class="ReturnImg data-v-414631de" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/Return.png" mode="scaleToFill"/></view><view class="title data-v-414631de">PK记录详情</view><view class="pkrecords data-v-414631de"><view class="card data-v-414631de"><view class="AnchorA data-v-414631de"><view class="AnchorAImg data-v-414631de"><image class="AnchorAImgcss data-v-414631de" src="{{b}}" mode="scaleToFill"/></view><image wx:if="{{c}}" class="Crown data-v-414631de" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/Crown.png" mode="scaleToFill"/><view class="AnchorAinfo data-v-414631de"><view class="AnchorAname data-v-414631de">{{d}}</view><view class="AnchorATime data-v-414631de">{{e}}</view><view class="AnchorAICon data-v-414631de"><view class="AnchorAIContext data-v-414631de">实际打金币:</view><view class="AnchorAIConNum data-v-414631de">{{f}}K</view></view></view></view><view class="vstext data-v-414631de"><view class="Vtext data-v-414631de">V</view><view class="Stext data-v-414631de">S</view></view><view class="AnchorB data-v-414631de"><view class="AnchorBinfo data-v-414631de"><view class="AnchorAname data-v-414631de">{{g}}</view><view class="AnchorATime data-v-414631de">{{h}}</view><view class="AnchorAICon data-v-414631de"><view class="AnchorAIContext data-v-414631de">实际打金币:</view><view class="AnchorAIConNum data-v-414631de">{{i}}K</view></view></view><view class="AnchorAImg data-v-414631de"><image class="AnchorBImgcss data-v-414631de" src="{{j}}" mode="scaleToFill"/></view><image wx:if="{{k}}" class="Crown data-v-414631de" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/Crown.png" mode="scaleToFill"/></view></view><view class="pkrecords-content data-v-414631de"><scroll-view show-scrollbar="false" scroll-y="true" class="scroll data-v-414631de" refresher-enabled="true" refresher-threshold="40" bindrefresherrefresh="{{m}}" refresher-triggered="{{n}}"><uni-card wx:for="{{l}}" wx:for-item="items" wx:key="e" class="data-v-414631de" u-s="{{['d']}}" u-i="{{items.f}}" bind:__l="__l"><view class="contentcard data-v-414631de"><view class="contentcard-titleA data-v-414631de" style="{{'background-color:' + items.b}}"><view class="ciontext data-v-414631de">金币数量</view><view class="cion data-v-414631de">{{items.a}}K</view></view><view class="contentcard-titleB data-v-414631de" style="{{'background-color:' + items.d}}"><view class="ciontext data-v-414631de">金币数量</view><view class="cion data-v-414631de">{{items.c}}K</view></view></view></uni-card></scroll-view></view></view></view>
|
||||
<view class="details-pkrecords data-v-414631de"><view class="bg data-v-414631de"><image class="bgImg data-v-414631de" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/HomeBackground.png" mode="scaleToFill"/></view><view class="Return data-v-414631de" bindtap="{{a}}"><image class="ReturnImg data-v-414631de" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/Return.png" mode="scaleToFill"/></view><view class="title data-v-414631de">PK记录详情</view><view class="pkrecords data-v-414631de"><view class="card data-v-414631de"><view class="AnchorA data-v-414631de"><view class="Anchor data-v-414631de"><view class="AnchorAImg data-v-414631de"><image class="AnchorAImgcss data-v-414631de" src="{{b}}" mode="scaleToFill"/></view><image wx:if="{{c}}" class="Crown data-v-414631de" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/Crown.png" mode="scaleToFill"/></view><view class="AnchorAinfo data-v-414631de"><view class="AnchorAname data-v-414631de">{{d}}</view><view class="AnchorATime data-v-414631de">{{e}}</view><view wx:if="{{f}}" class="AnchorAICon data-v-414631de"><view class="AnchorAIContext data-v-414631de">实际打金币:</view><view class="AnchorAIConNum data-v-414631de">{{g}}K</view></view></view></view><view class="vstext data-v-414631de"><view class="Vtext data-v-414631de">V</view><view class="Stext data-v-414631de">S</view></view><view class="AnchorB data-v-414631de"><view class="Anchor data-v-414631de"><view class="AnchorAImg data-v-414631de"><image class="AnchorBImgcss data-v-414631de" src="{{h}}" mode="scaleToFill"/></view><image wx:if="{{i}}" class="Crown data-v-414631de" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/Crown.png" mode="scaleToFill"/></view><view class="AnchorBinfo data-v-414631de"><view class="AnchorAname data-v-414631de">{{j}}</view><view class="AnchorATime data-v-414631de">{{k}}</view><view wx:if="{{l}}" class="AnchorAICon data-v-414631de"><view class="AnchorAIContext data-v-414631de">实际打金币:</view><view class="AnchorAIConNum data-v-414631de">{{m}}K</view></view></view></view></view><view class="pkrecords-content data-v-414631de"><scroll-view show-scrollbar="false" scroll-y="true" class="scroll data-v-414631de" refresher-enabled="true" refresher-threshold="40" bindrefresherrefresh="{{o}}" refresher-triggered="{{p}}"><uni-card wx:for="{{n}}" wx:for-item="items" wx:key="e" class="data-v-414631de" u-s="{{['d']}}" u-i="{{items.f}}" bind:__l="__l"><view class="contentcard data-v-414631de"><view class="contentcard-titleA data-v-414631de" style="{{'background-color:' + items.b}}"><view class="ciontext data-v-414631de">金币数量</view><view class="cion data-v-414631de">{{items.a}}K</view></view><view class="contentcard-titleB data-v-414631de" style="{{'background-color:' + items.d}}"><view class="ciontext data-v-414631de">金币数量</view><view class="cion data-v-414631de">{{items.c}}K</view></view></view></uni-card></scroll-view></view></view></view>
|
||||
@@ -38,20 +38,27 @@
|
||||
}
|
||||
/* 卡片 */
|
||||
.card.data-v-414631de {
|
||||
width: 694.66rpx;
|
||||
height: 161.26rpx;
|
||||
width: 750rpx;
|
||||
height: 300rpx;
|
||||
border-radius: 15rpx;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
margin-left: 28.55rpx;
|
||||
margin-top: 20rpx;
|
||||
}
|
||||
.AnchorA.data-v-414631de {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
margin-left: 30rpx;
|
||||
}
|
||||
.AnchorB.data-v-414631de {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
margin-right: 30rpx;
|
||||
}
|
||||
.Anchor.data-v-414631de{
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
@@ -66,19 +73,23 @@
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: center;
|
||||
margin-left: 20rpx;
|
||||
width: 250rpx;
|
||||
}
|
||||
.AnchorBinfo.data-v-414631de {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: center;
|
||||
margin-right: 20rpx;
|
||||
width: 250rpx;
|
||||
}
|
||||
.AnchorAname.data-v-414631de {
|
||||
width: 250rpx;
|
||||
font-weight: 500;
|
||||
font-size: 31rpx;
|
||||
color: #161616;
|
||||
text-align: center;
|
||||
white-space: nowrap; /* 防止换行 */
|
||||
overflow: hidden; /* 隐藏溢出内容 */
|
||||
text-overflow: ellipsis; /* 显示省略号 */
|
||||
}
|
||||
.AnchorATime.data-v-414631de {
|
||||
font-weight: 400;
|
||||
@@ -135,18 +146,16 @@
|
||||
color: #f0836c;
|
||||
font-weight: bold;
|
||||
font-style: italic;
|
||||
margin-left: 26rpx;
|
||||
}
|
||||
.Stext.data-v-414631de {
|
||||
font-size: 45.8rpx;
|
||||
color: #58d8db;
|
||||
font-weight: bold;
|
||||
font-style: italic;
|
||||
margin-right: 26rpx;
|
||||
}
|
||||
.pkrecords-content.data-v-414631de {
|
||||
position: absolute;
|
||||
top: 240rpx;
|
||||
top: 300rpx;
|
||||
left: 0;
|
||||
right: 0;
|
||||
display: flex;
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
const common_vendor = require("../../../common/vendor.js");
|
||||
const components_request = require("../../../components/request.js");
|
||||
const components_formatDate = require("../../../components/formatDate.js");
|
||||
const components_DifferenceArray = require("../../../components/DifferenceArray.js");
|
||||
const Recompose = () => "./recompose/recompose2.js";
|
||||
const _sfc_main = {
|
||||
data() {
|
||||
@@ -11,7 +12,11 @@ const _sfc_main = {
|
||||
page: 0,
|
||||
createModule: null,
|
||||
parentMessage: null,
|
||||
triggered: false
|
||||
triggered: false,
|
||||
pickerArray: [],
|
||||
index: 0,
|
||||
topPinnedPersondata: {},
|
||||
Topdate: 0
|
||||
};
|
||||
},
|
||||
onLoad() {
|
||||
@@ -19,7 +24,7 @@ const _sfc_main = {
|
||||
key: "userinfo",
|
||||
success: (res) => {
|
||||
this.userinfo = res.data;
|
||||
common_vendor.index.__f__("log", "at pages/Mine/minecomponents/pkInformation.vue:127", this.userinfo);
|
||||
common_vendor.index.__f__("log", "at pages/Mine/minecomponents/pkInformation.vue:145", this.userinfo);
|
||||
this.getpkList();
|
||||
}
|
||||
});
|
||||
@@ -62,10 +67,10 @@ 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:170", this.pkList);
|
||||
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:173", res.msg);
|
||||
common_vendor.index.__f__("log", "at pages/Mine/minecomponents/pkInformation.vue:191", res.msg);
|
||||
}
|
||||
});
|
||||
},
|
||||
@@ -76,6 +81,73 @@ const _sfc_main = {
|
||||
},
|
||||
// 置顶
|
||||
onTop(item) {
|
||||
this.pickerArray = components_DifferenceArray.DifferenceArray(item.pkTime);
|
||||
this.$refs.popup.open("center");
|
||||
this.topPinnedPersondata = item;
|
||||
},
|
||||
bindPickerChange(e) {
|
||||
this.index = e.detail.value;
|
||||
},
|
||||
closePopup() {
|
||||
this.$refs.popup.close();
|
||||
this.index = 0;
|
||||
this.pickerArray = [];
|
||||
this.topPinnedPersondata = {};
|
||||
},
|
||||
onTopConfirm() {
|
||||
if (Math.ceil(Date.now() / 1e3 + Number(this.pickerArray[this.index]) * 3600) <= this.topPinnedPersondata.pkTime) {
|
||||
this.Topdate = Math.ceil(Date.now() / 1e3 + Number(this.pickerArray[this.index]) * 3600);
|
||||
} 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",
|
||||
data: {
|
||||
articleId: this.topPinnedPersondata.id,
|
||||
pinExpireTime: this.Topdate
|
||||
},
|
||||
userInfo: true
|
||||
}).then((res) => {
|
||||
if (res.code == 200) {
|
||||
this.onRefresherRefresh();
|
||||
common_vendor.index.showToast({
|
||||
title: res.msg,
|
||||
icon: "none",
|
||||
duration: 3e3
|
||||
});
|
||||
this.closePopup();
|
||||
} else {
|
||||
common_vendor.index.showToast({
|
||||
title: res.msg,
|
||||
icon: "none",
|
||||
duration: 3e3
|
||||
});
|
||||
}
|
||||
});
|
||||
},
|
||||
//取消置顶
|
||||
onOutTop(item) {
|
||||
components_request.request({
|
||||
url: "user/cancelPin",
|
||||
method: "POST",
|
||||
data: {
|
||||
articleId: item.id
|
||||
},
|
||||
userInfo: true
|
||||
}).then((res) => {
|
||||
if (res.code == 200) {
|
||||
this.onRefresherRefresh();
|
||||
common_vendor.index.showToast({
|
||||
title: res.data,
|
||||
icon: "none",
|
||||
duration: 3e3
|
||||
});
|
||||
} else {
|
||||
common_vendor.index.__f__("log", "at pages/Mine/minecomponents/pkInformation.vue:267", res.msg);
|
||||
}
|
||||
});
|
||||
},
|
||||
// 删除pk
|
||||
onExpurgate(item) {
|
||||
@@ -95,7 +167,7 @@ const _sfc_main = {
|
||||
duration: 2e3
|
||||
});
|
||||
} else {
|
||||
common_vendor.index.__f__("log", "at pages/Mine/minecomponents/pkInformation.vue:204", res.msg);
|
||||
common_vendor.index.__f__("log", "at pages/Mine/minecomponents/pkInformation.vue:289", res.msg);
|
||||
}
|
||||
});
|
||||
}
|
||||
@@ -107,7 +179,12 @@ const _sfc_main = {
|
||||
if (!Array) {
|
||||
const _component_uni_card = common_vendor.resolveComponent("uni-card");
|
||||
const _component_Recompose = common_vendor.resolveComponent("Recompose");
|
||||
(_component_uni_card + _component_Recompose)();
|
||||
const _easycom_uni_popup2 = common_vendor.resolveComponent("uni-popup");
|
||||
(_component_uni_card + _component_Recompose + _easycom_uni_popup2)();
|
||||
}
|
||||
const _easycom_uni_popup = () => "../../../uni_modules/uni-popup/components/uni-popup/uni-popup.js";
|
||||
if (!Math) {
|
||||
_easycom_uni_popup();
|
||||
}
|
||||
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
||||
return {
|
||||
@@ -125,13 +202,20 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
||||
h: common_vendor.t(item.coin),
|
||||
i: common_vendor.t($options.formatDate(item.pkTime)),
|
||||
j: item.inviteStatus === 0
|
||||
}, item.inviteStatus === 0 ? {
|
||||
k: common_vendor.o$1(($event) => $options.onTop(item), index),
|
||||
l: common_vendor.o$1(($event) => $options.onRecompose(item), index),
|
||||
m: common_vendor.o$1(($event) => $options.onExpurgate(item), index)
|
||||
}, item.inviteStatus === 0 ? common_vendor.e({
|
||||
k: item.isPin === false
|
||||
}, item.isPin === false ? {
|
||||
l: common_vendor.o$1(($event) => $options.onTop(item), index)
|
||||
} : {}, {
|
||||
n: index,
|
||||
o: "36b7ee78-0-" + i0
|
||||
m: item.isPin === true
|
||||
}, item.isPin === true ? {
|
||||
n: common_vendor.o$1(($event) => $options.onOutTop(item), index)
|
||||
} : {}, {
|
||||
o: common_vendor.o$1(($event) => $options.onRecompose(item), index),
|
||||
p: common_vendor.o$1(($event) => $options.onExpurgate(item), index)
|
||||
}) : {}, {
|
||||
q: index,
|
||||
r: "36b7ee78-0-" + i0
|
||||
});
|
||||
}),
|
||||
c: common_vendor.o$1((...args) => $options.onRefresherRefresh && $options.onRefresherRefresh(...args)),
|
||||
@@ -141,6 +225,17 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
||||
g: common_vendor.o$1($options.onRefresherRefresh),
|
||||
h: common_vendor.p({
|
||||
message: $data.parentMessage
|
||||
}),
|
||||
i: common_vendor.t($data.pickerArray[$data.index]),
|
||||
j: $data.pickerArray,
|
||||
k: $data.index,
|
||||
l: common_vendor.o$1((...args) => $options.bindPickerChange && $options.bindPickerChange(...args)),
|
||||
m: common_vendor.o$1((...args) => $options.onTopConfirm && $options.onTopConfirm(...args)),
|
||||
n: common_vendor.o$1((...args) => $options.closePopup && $options.closePopup(...args)),
|
||||
o: common_vendor.sr("popup", "36b7ee78-2"),
|
||||
p: common_vendor.p({
|
||||
type: "center",
|
||||
["border-radius"]: "10px 10px 0 0"
|
||||
})
|
||||
};
|
||||
}
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
{
|
||||
"navigationBarTitleText": "PK信息",
|
||||
"usingComponents": {
|
||||
"recompose": "./recompose/recompose"
|
||||
"recompose": "./recompose/recompose",
|
||||
"uni-popup": "../../../uni_modules/uni-popup/components/uni-popup/uni-popup"
|
||||
}
|
||||
}
|
||||
@@ -1 +1 @@
|
||||
<view class="pk-information data-v-36b7ee78"><view class="bg data-v-36b7ee78"><image class="bgImg data-v-36b7ee78" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/HomeBackground.png" mode="scaleToFill"/></view><view class="Return data-v-36b7ee78" bindtap="{{a}}"><image class="ReturnImg data-v-36b7ee78" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/Return.png" mode="scaleToFill"/></view><view class="title data-v-36b7ee78">PK信息</view><view class="content data-v-36b7ee78"><scroll-view show-scrollbar="false" scroll-y="true" class="scroll data-v-36b7ee78" 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="n" u-s="{{['d']}}" class="card data-v-36b7ee78" u-i="{{item.o}}" bind:__l="__l"><view class="Profile data-v-36b7ee78"><image class="data-v-36b7ee78" src="{{item.a}}" style="width:89.12rpx;height:89.12rpx;border-radius:72.25rpx" mode="scaleToFill"/></view><view class="Individual data-v-36b7ee78"><view class="Name data-v-36b7ee78">{{item.b}}</view><view class="Label data-v-36b7ee78"><view class="data-v-36b7ee78"><view class="{{['data-v-36b7ee78', item.e && 'Gendermale', item.f && 'Genderfemale']}}"><image wx:if="{{item.c}}" class="Genderimg data-v-36b7ee78" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/female.png" mode="scaleToFill"/><image wx:else class="Genderimg data-v-36b7ee78" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/male.png" mode="scaleToFill"/><view class="age data-v-36b7ee78">{{item.d}}</view></view></view><view class="state data-v-36b7ee78">{{item.g}}</view><view class="species data-v-36b7ee78"><image class="data-v-36b7ee78" style="width:28.63rpx;height:28.63rpx" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/species.png" mode="scaleToFill"/><view class="species-text data-v-36b7ee78">金币:</view><view class="species-num data-v-36b7ee78">{{item.h}}K</view></view></view><view class="time data-v-36b7ee78">PK时间:{{item.i}}</view></view><view wx:if="{{item.j}}" class="handle data-v-36b7ee78"><view class="recompose data-v-36b7ee78" bindtap="{{item.k}}"><image class="data-v-36b7ee78" style="width:40rpx;height:40rpx" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/pin.png" mode="scaleToFill"/></view><view class="expurgate data-v-36b7ee78" bindtap="{{item.l}}"><image class="data-v-36b7ee78" style="width:40rpx;height:40rpx" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/recompose.png" mode="scaleToFill"/></view><view class="expurgate data-v-36b7ee78" bindtap="{{item.m}}"><image class="data-v-36b7ee78" style="width:40rpx;height:40rpx" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/expurgate.png" mode="scaleToFill"/></view></view></uni-card></scroll-view></view></view><recompose wx:if="{{h}}" u-r="createModule" class="createModule r data-v-36b7ee78" bindRefresh="{{g}}" u-i="36b7ee78-1" bind:__l="__l" u-p="{{h}}"></recompose>
|
||||
<view class="pk-information data-v-36b7ee78"><view class="bg data-v-36b7ee78"><image class="bgImg data-v-36b7ee78" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/HomeBackground.png" mode="scaleToFill"/></view><view class="Return data-v-36b7ee78" bindtap="{{a}}"><image class="ReturnImg data-v-36b7ee78" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/Return.png" mode="scaleToFill"/></view><view class="title data-v-36b7ee78">PK信息</view><view class="content data-v-36b7ee78"><scroll-view show-scrollbar="false" scroll-y="true" class="scroll data-v-36b7ee78" 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="q" u-s="{{['d']}}" class="card data-v-36b7ee78" u-i="{{item.r}}" bind:__l="__l"><view class="Profile data-v-36b7ee78"><image class="data-v-36b7ee78" src="{{item.a}}" style="width:89.12rpx;height:89.12rpx;border-radius:72.25rpx" mode="scaleToFill"/></view><view class="Individual data-v-36b7ee78"><view class="Name data-v-36b7ee78">{{item.b}}</view><view class="Label data-v-36b7ee78"><view class="data-v-36b7ee78"><view class="{{['data-v-36b7ee78', item.e && 'Gendermale', item.f && 'Genderfemale']}}"><image wx:if="{{item.c}}" class="Genderimg data-v-36b7ee78" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/female.png" mode="scaleToFill"/><image wx:else class="Genderimg data-v-36b7ee78" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/male.png" mode="scaleToFill"/><view class="age data-v-36b7ee78">{{item.d}}</view></view></view><view class="state data-v-36b7ee78">{{item.g}}</view><view class="species data-v-36b7ee78"><image class="data-v-36b7ee78" style="width:28.63rpx;height:28.63rpx" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/species.png" mode="scaleToFill"/><view class="species-text data-v-36b7ee78">金币:</view><view class="species-num data-v-36b7ee78">{{item.h}}K</view></view></view><view class="time data-v-36b7ee78">PK时间:{{item.i}}</view></view><view wx:if="{{item.j}}" class="handle data-v-36b7ee78"><view wx:if="{{item.k}}" class="recompose data-v-36b7ee78" bindtap="{{item.l}}"><image class="data-v-36b7ee78" style="width:40rpx;height:40rpx" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/pin.png" mode="scaleToFill"/></view><view wx:if="{{item.m}}" class="recompose data-v-36b7ee78" bindtap="{{item.n}}"><image class="data-v-36b7ee78" style="width:40rpx;height:40rpx" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/cancelPin.png" mode="scaleToFill"/></view><view class="expurgate data-v-36b7ee78" bindtap="{{item.o}}"><image class="data-v-36b7ee78" style="width:40rpx;height:40rpx" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/recompose.png" mode="scaleToFill"/></view><view class="expurgate data-v-36b7ee78" bindtap="{{item.p}}"><image class="data-v-36b7ee78" style="width:40rpx;height:40rpx" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/expurgate.png" mode="scaleToFill"/></view></view></uni-card></scroll-view></view></view><recompose wx:if="{{h}}" u-r="createModule" class="createModule r data-v-36b7ee78" bindRefresh="{{g}}" u-i="36b7ee78-1" bind:__l="__l" u-p="{{h}}"></recompose><uni-popup wx:if="{{p}}" class="r data-v-36b7ee78" u-s="{{['d']}}" u-r="popup" u-i="36b7ee78-2" bind:__l="__l" u-p="{{p}}"><view class="popup-container data-v-36b7ee78"><view class="popup-title data-v-36b7ee78">选择置顶时长</view><view class="popup-picker data-v-36b7ee78"><picker class="data-v-36b7ee78" mode="selector" range="{{j}}" value="{{k}}" bindchange="{{l}}"><view class="uni-input data-v-36b7ee78">{{i}}小时</view></picker></view><view class="popup-btn data-v-36b7ee78"><view class="uni-primary data-v-36b7ee78" bindtap="{{m}}">确定</view><view class="uni-default data-v-36b7ee78" bindtap="{{n}}">取消</view></view></view></uni-popup>
|
||||
@@ -154,3 +154,65 @@
|
||||
z-index: 998;
|
||||
width: 100vw;
|
||||
}
|
||||
.popup-container.data-v-36b7ee78{
|
||||
width: 500rpx;
|
||||
height: 300rpx;
|
||||
background-color: #ffffff;
|
||||
border-radius: 30rpx;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
}
|
||||
.popup-title.data-v-36b7ee78{
|
||||
font-size: 30rpx;
|
||||
color: #161616;
|
||||
font-weight: bold;
|
||||
margin-top: 30rpx;
|
||||
}
|
||||
.popup-picker.data-v-36b7ee78{
|
||||
margin-top: 30rpx;
|
||||
width: 400rpx;
|
||||
height: 50rpx;
|
||||
border: #5bced1 solid 1rpx;
|
||||
border-radius: 15rpx;
|
||||
}
|
||||
.uni-input.data-v-36b7ee78{
|
||||
font-size: 30rpx;
|
||||
color: #ffffff;
|
||||
width: 400rpx;
|
||||
height: 50rpx;
|
||||
text-align: center;
|
||||
line-height: 50rpx;
|
||||
background-color: #5bced1;
|
||||
border-radius: 15rpx;
|
||||
}
|
||||
.popup-btn.data-v-36b7ee78{
|
||||
margin-top: 30rpx;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
}
|
||||
.uni-primary.data-v-36b7ee78{
|
||||
width: 150rpx;
|
||||
height: 50rpx;
|
||||
border-top-left-radius: 50rpx;
|
||||
border-bottom-left-radius: 50rpx;
|
||||
border-bottom-right-radius: 50rpx;
|
||||
background-image: linear-gradient(135deg, #4fcacd, #5fdbde);
|
||||
font-size: 25rpx;
|
||||
color: #ffffff;
|
||||
text-align: center;
|
||||
line-height: 50rpx;
|
||||
margin-right: 20rpx;
|
||||
}
|
||||
.uni-default.data-v-36b7ee78{
|
||||
width: 150rpx;
|
||||
height: 50rpx;
|
||||
border-top-left-radius: 50rpx;
|
||||
border-bottom-left-radius: 50rpx;
|
||||
border-bottom-right-radius: 50rpx;
|
||||
background-image: linear-gradient(135deg, #cecece, #ffffff);
|
||||
font-size: 25rpx;
|
||||
color: #161616;
|
||||
text-align: center;
|
||||
line-height: 50rpx;
|
||||
}
|
||||
|
||||
@@ -145,16 +145,22 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
||||
}, item.winnerAnchorId == item.anchorIdA ? {} : {}, {
|
||||
c: common_vendor.t(item.anchorIdA),
|
||||
d: common_vendor.t($options.formatDate(item.pkTime)),
|
||||
e: common_vendor.t(item.userACoins),
|
||||
f: common_vendor.t(item.anchorIdB),
|
||||
g: common_vendor.t($options.formatDate(item.pkTime)),
|
||||
h: common_vendor.t(item.userBCoins),
|
||||
i: item.anchorIconB,
|
||||
j: item.winnerAnchorId == item.anchorIdB
|
||||
e: item.userACoins !== null
|
||||
}, item.userACoins !== null ? {
|
||||
f: common_vendor.t(item.userACoins)
|
||||
} : {}, {
|
||||
g: common_vendor.t(item.anchorIdB),
|
||||
h: common_vendor.t($options.formatDate(item.pkTime)),
|
||||
i: item.userBCoins !== null
|
||||
}, item.userBCoins !== null ? {
|
||||
j: common_vendor.t(item.userBCoins)
|
||||
} : {}, {
|
||||
k: item.anchorIconB,
|
||||
l: item.winnerAnchorId == item.anchorIdB
|
||||
}, item.winnerAnchorId == item.anchorIdB ? {} : {}, {
|
||||
k: common_vendor.o$1(($event) => $options.onItemClick(item), index),
|
||||
l: index,
|
||||
m: "6fa696de-0-" + i0
|
||||
m: common_vendor.o$1(($event) => $options.onItemClick(item), index),
|
||||
n: index,
|
||||
o: "6fa696de-0-" + i0
|
||||
});
|
||||
}),
|
||||
i: common_vendor.o$1((...args) => $options.onRefresherRefresh && $options.onRefresherRefresh(...args)),
|
||||
|
||||
@@ -1 +1 @@
|
||||
<view class="pkRecord data-v-6fa696de"><view class="bg data-v-6fa696de"><image class="bgImg data-v-6fa696de" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/HomeBackground.png" mode="scaleToFill"/></view><view class="Return data-v-6fa696de" bindtap="{{a}}"><image class="ReturnImg data-v-6fa696de" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/Return.png" mode="scaleToFill"/></view><view class="title data-v-6fa696de">PK记录</view><view class="navigation data-v-6fa696de"><view class="navigationItem data-v-6fa696de"><view bindtap="{{b}}" class="{{['navigationItemTitle', 'data-v-6fa696de', c && 'active']}}">我发布的PK</view><view bindtap="{{d}}" class="{{['navigationItemTitle', 'data-v-6fa696de', e && 'active']}}">我邀请的PK</view></view><view class="slide data-v-6fa696de" style="{{'left:' + g + ';' + ('transition:' + 'left 0.3s ease-in-out')}}">{{f}}</view></view><view class="content data-v-6fa696de"><scroll-view show-scrollbar="false" scroll-y="true" class="scroll data-v-6fa696de" refresher-enabled="true" refresher-threshold="40" bindrefresherrefresh="{{i}}" lower-threshold="100" bindscrolltolower="{{j}}" refresher-triggered="{{k}}"><uni-card wx:for="{{h}}" wx:for-item="item" wx:key="l" class="data-v-6fa696de" u-s="{{['d']}}" u-i="{{item.m}}" bind:__l="__l"><view class="card data-v-6fa696de" bindtap="{{item.k}}"><view class="AnchorA data-v-6fa696de"><view class="AnchorAImg data-v-6fa696de"><image class="AnchorAImgcss data-v-6fa696de" src="{{item.a}}" mode="scaleToFill"/></view><image wx:if="{{item.b}}" class="Crown data-v-6fa696de" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/Crown.png" mode="scaleToFill"/><view class="AnchorAinfo data-v-6fa696de"><view class="AnchorAname data-v-6fa696de">{{item.c}}</view><view class="AnchorATime data-v-6fa696de">{{item.d}}</view><view class="AnchorAICon data-v-6fa696de"><view class="AnchorAIContext data-v-6fa696de">实际金币:</view><view class="AnchorAIConNum data-v-6fa696de">{{item.e}}K</view></view></view></view><view class="vstext data-v-6fa696de"><view class="Vtext data-v-6fa696de">V</view><view class="Stext data-v-6fa696de">S</view></view><view class="AnchorB data-v-6fa696de"><view class="AnchorBinfo data-v-6fa696de"><view class="AnchorAname data-v-6fa696de">{{item.f}}</view><view class="AnchorATime data-v-6fa696de">{{item.g}}</view><view class="AnchorAICon data-v-6fa696de"><view class="AnchorAIContext data-v-6fa696de">实际打金币:</view><view class="AnchorAIConNum data-v-6fa696de">{{item.h}}K</view></view></view><view class="AnchorAImg data-v-6fa696de"><image class="AnchorBImgcss data-v-6fa696de" src="{{item.i}}" mode="scaleToFill"/></view><image wx:if="{{item.j}}" class="Crown data-v-6fa696de" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/Crown.png" mode="scaleToFill"/></view></view></uni-card></scroll-view></view></view>
|
||||
<view class="pkRecord data-v-6fa696de"><view class="bg data-v-6fa696de"><image class="bgImg data-v-6fa696de" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/HomeBackground.png" mode="scaleToFill"/></view><view class="Return data-v-6fa696de" bindtap="{{a}}"><image class="ReturnImg data-v-6fa696de" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/Return.png" mode="scaleToFill"/></view><view class="title data-v-6fa696de">PK记录</view><view class="navigation data-v-6fa696de"><view class="navigationItem data-v-6fa696de"><view bindtap="{{b}}" class="{{['navigationItemTitle', 'data-v-6fa696de', c && 'active']}}">我发布的PK</view><view bindtap="{{d}}" class="{{['navigationItemTitle', 'data-v-6fa696de', e && 'active']}}">我邀请的PK</view></view><view class="slide data-v-6fa696de" style="{{'left:' + g + ';' + ('transition:' + 'left 0.3s ease-in-out')}}">{{f}}</view></view><view class="content data-v-6fa696de"><scroll-view show-scrollbar="false" scroll-y="true" class="scroll data-v-6fa696de" refresher-enabled="true" refresher-threshold="40" bindrefresherrefresh="{{i}}" lower-threshold="100" bindscrolltolower="{{j}}" refresher-triggered="{{k}}"><uni-card wx:for="{{h}}" wx:for-item="item" wx:key="n" class="data-v-6fa696de" u-s="{{['d']}}" u-i="{{item.o}}" bind:__l="__l"><view class="card data-v-6fa696de" bindtap="{{item.m}}"><view class="AnchorA data-v-6fa696de"><view class="AnchorAImg data-v-6fa696de"><image class="AnchorAImgcss data-v-6fa696de" src="{{item.a}}" mode="scaleToFill"/></view><image wx:if="{{item.b}}" class="Crown data-v-6fa696de" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/Crown.png" mode="scaleToFill"/><view class="AnchorAinfo data-v-6fa696de"><view class="AnchorAname data-v-6fa696de">{{item.c}}</view><view class="AnchorATime data-v-6fa696de">{{item.d}}</view><view wx:if="{{item.e}}" class="AnchorAICon data-v-6fa696de"><view class="AnchorAIContext data-v-6fa696de">实际金币:</view><view class="AnchorAIConNum data-v-6fa696de">{{item.f}}K</view></view></view></view><view class="vstext data-v-6fa696de"><view class="Vtext data-v-6fa696de">V</view><view class="Stext data-v-6fa696de">S</view></view><view class="AnchorB data-v-6fa696de"><view class="AnchorBinfo data-v-6fa696de"><view class="AnchorAname data-v-6fa696de">{{item.g}}</view><view class="AnchorATime data-v-6fa696de">{{item.h}}</view><view wx:if="{{item.i}}" class="AnchorAICon data-v-6fa696de"><view class="AnchorAIContext data-v-6fa696de">实际打金币:</view><view class="AnchorAIConNum data-v-6fa696de">{{item.j}}K</view></view></view><view class="AnchorAImg data-v-6fa696de"><image class="AnchorBImgcss data-v-6fa696de" src="{{item.k}}" mode="scaleToFill"/></view><image wx:if="{{item.l}}" class="Crown data-v-6fa696de" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/Crown.png" mode="scaleToFill"/></view></view></uni-card></scroll-view></view></view>
|
||||
@@ -17,7 +17,7 @@ const _sfc_main = {
|
||||
key: "userinfo",
|
||||
success: (res) => {
|
||||
this.userinfo = res.data;
|
||||
this.getPointsDetail();
|
||||
this.onRefresherRefresh();
|
||||
}
|
||||
});
|
||||
},
|
||||
@@ -48,10 +48,12 @@ const _sfc_main = {
|
||||
userInfo: true
|
||||
}).then((res) => {
|
||||
if (res.code === 200) {
|
||||
this.triggered = false;
|
||||
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:100", res.msg);
|
||||
common_vendor.index.__f__("log", "at pages/Mine/minecomponents/points.vue:101", res.msg);
|
||||
}
|
||||
});
|
||||
},
|
||||
@@ -74,7 +76,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
||||
return {
|
||||
a: common_vendor.t($options.formatDate(item.time)),
|
||||
b: common_vendor.t(item.info),
|
||||
c: common_vendor.t(item.num),
|
||||
c: common_vendor.t(item.number),
|
||||
d: item.status == 0 ? "#11ff002b" : "#ff000011",
|
||||
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}}" enable-flex="true"><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="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>
|
||||
10
unpackage/dist/dev/mp-weixin/recompose.js
vendored
10
unpackage/dist/dev/mp-weixin/recompose.js
vendored
@@ -74,6 +74,8 @@ const _sfc_main = {
|
||||
if (this.selectedId) {
|
||||
this.nameAnchor = this.selectedIddata.anchorId;
|
||||
this.AnchorProfilePicture = this.selectedIddata.headerIcon;
|
||||
this.genders = this.selectedIddata.gender;
|
||||
this.countrys = this.selectedIddata.country;
|
||||
this.close();
|
||||
} else {
|
||||
common_vendor.index.showToast({
|
||||
@@ -107,7 +109,7 @@ const _sfc_main = {
|
||||
if (res.code == 200) {
|
||||
this.AnchorList = res.data;
|
||||
} else {
|
||||
common_vendor.index.__f__("log", "at pages/Mine/minecomponents/recompose/recompose.vue:300", res.msg);
|
||||
common_vendor.index.__f__("log", "at pages/Mine/minecomponents/recompose/recompose.vue:302", res.msg);
|
||||
}
|
||||
});
|
||||
},
|
||||
@@ -119,12 +121,12 @@ const _sfc_main = {
|
||||
//性别
|
||||
gender(item) {
|
||||
this.genders = item.value;
|
||||
common_vendor.index.__f__("log", "at pages/Mine/minecomponents/recompose/recompose.vue:312", item);
|
||||
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:317", item);
|
||||
common_vendor.index.__f__("log", "at pages/Mine/minecomponents/recompose/recompose.vue:319", item);
|
||||
},
|
||||
// //主播名称
|
||||
// handleOverlayClick(event) {
|
||||
@@ -214,7 +216,7 @@ const _sfc_main = {
|
||||
title: "修改中...",
|
||||
mask: true
|
||||
});
|
||||
common_vendor.index.__f__("log", "at pages/Mine/minecomponents/recompose/recompose.vue:420", this.senderId, this.sendingTime, this.nameAnchor, this.genders, this.numberCoins, this.remarks, this.id, this.AnchorProfilePicture, this.session);
|
||||
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