From 65c2c3c86827ce22e9fc75e1f4feddd05e2d5c6e Mon Sep 17 00:00:00 2001
From: dragon <3013557874@qq.com>
Date: Thu, 21 Nov 2024 19:17:37 +0800
Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=E9=92=BB=E7=9F=B3=E6=94=B6?=
=?UTF-8?q?=E7=9B=8A=E6=9F=A5=E8=AF=A2?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../modules/guild-ar/agencyDiamondIncome.html | 84 ++++
.../guild-ar/css/agencyDiamondIncome.css | 355 +++++++++++++++++
.../guild-ar/css/agencyDiamondIncome.scss | 365 ++++++++++++++++++
.../modules/guild-ar/css/personal.css | 62 +++
.../modules/guild-ar/css/personal.scss | 68 +++-
.../images/agencyDiamondIncomeDom.png | Bin 0 -> 2366 bytes
.../images/agencyDiamondIncomeWhy.png | Bin 0 -> 483 bytes
view/molistar/modules/guild-ar/images/xia.png | Bin 0 -> 298 bytes
.../guild-ar/js/agencyDiamondIncome.js | 187 +++++++++
view/molistar/modules/guild-ar/js/index.js | 2 +-
view/molistar/modules/guild-ar/js/personal.js | 10 +
view/molistar/modules/guild-ar/local/ar.js | 9 +
view/molistar/modules/guild-ar/local/en.js | 9 +
view/molistar/modules/guild-ar/local/zh.js | 11 +-
view/molistar/modules/guild-ar/personal.html | 5 +-
15 files changed, 1162 insertions(+), 5 deletions(-)
create mode 100644 view/molistar/modules/guild-ar/agencyDiamondIncome.html
create mode 100644 view/molistar/modules/guild-ar/css/agencyDiamondIncome.css
create mode 100644 view/molistar/modules/guild-ar/css/agencyDiamondIncome.scss
create mode 100644 view/molistar/modules/guild-ar/images/agencyDiamondIncomeDom.png
create mode 100644 view/molistar/modules/guild-ar/images/agencyDiamondIncomeWhy.png
create mode 100644 view/molistar/modules/guild-ar/images/xia.png
create mode 100644 view/molistar/modules/guild-ar/js/agencyDiamondIncome.js
diff --git a/view/molistar/modules/guild-ar/agencyDiamondIncome.html b/view/molistar/modules/guild-ar/agencyDiamondIncome.html
new file mode 100644
index 00000000..285ab805
--- /dev/null
+++ b/view/molistar/modules/guild-ar/agencyDiamondIncome.html
@@ -0,0 +1,84 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+

+
+
+
+
+
+
+
+
+
+
+
+
+

+
+
+
+
+

+
+
+
+
+
+
+

+
0
+
+
+
+
+

+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/view/molistar/modules/guild-ar/css/agencyDiamondIncome.css b/view/molistar/modules/guild-ar/css/agencyDiamondIncome.css
new file mode 100644
index 00000000..5f81ff31
--- /dev/null
+++ b/view/molistar/modules/guild-ar/css/agencyDiamondIncome.css
@@ -0,0 +1,355 @@
+html,
+body {
+ width: 100%;
+ height: 17.78667rem;
+ background: #fff;
+}
+
+.back {
+ width: 100%;
+ height: 2.34667rem;
+ position: fixed;
+ left: 0;
+ top: 0rem;
+ text-align: center;
+ color: #FFFFFF;
+ font-size: 0.50667rem;
+ font-weight: bold;
+ z-index: 10;
+ background: #fff;
+}
+
+.back img {
+ width: 0.58667rem;
+ height: 0.58667rem;
+ position: absolute;
+ left: 0.24rem;
+ top: 1.46667rem;
+ z-index: 2;
+}
+
+.back div {
+ width: 100%;
+ height: 0.58667rem;
+ line-height: 0.58667rem;
+ color: #313131;
+ text-align: center;
+ position: absolute;
+ left: 50%;
+ transform: translateX(-50%);
+ top: 1.46667rem;
+}
+
+h3 {
+ width: 9.14667rem;
+ height: 0.48rem;
+ line-height: 0.48rem;
+ margin: 2.6rem auto 0.37333rem;
+ color: #313131;
+ font-size: 0.42667rem;
+ font-weight: 600;
+ position: relative;
+}
+
+h3 b {
+ color: #313131;
+ font-size: 0.42667rem;
+ font-weight: 600;
+}
+
+h3 img {
+ display: inline-block;
+ width: 0.48rem;
+ height: 0.48rem;
+ margin-top: 0.02667rem;
+}
+
+h3 div {
+ width: 4.61333rem;
+ box-sizing: border-box;
+ padding: 0.21333rem;
+ position: absolute;
+ background: #F7F7F7;
+ border-radius: 0.21333rem;
+ right: -0.26667rem;
+ bottom: -2.93333rem;
+ display: none;
+}
+
+h3 div p {
+ color: #313131;
+ font-weight: 400;
+ line-height: 0.45333rem;
+ font-size: 0.32rem;
+}
+
+.time {
+ width: 9.14667rem;
+ height: 0.85333rem;
+ line-height: 0.85333rem;
+ margin: 0 auto 0.48rem;
+ display: flex;
+ justify-content: space-around;
+}
+
+.time .start {
+ width: 3.04rem;
+ height: 0.85333rem;
+ display: flex;
+ justify-content: space-between;
+ box-sizing: border-box;
+ padding: 0 0.18667rem;
+ background: #F2F3F7;
+ border-radius: 0.21333rem;
+}
+
+.time .start img {
+ width: 0.56rem;
+ height: 0.56rem;
+ display: block;
+ margin-top: 0.18667rem;
+}
+
+.time span {
+ width: 0.45333rem;
+ color: #7B7B7D;
+ font-size: 0.37333rem;
+ font-weight: 400;
+}
+
+.time .end {
+ width: 3.04rem;
+ height: 0.85333rem;
+ display: flex;
+ justify-content: space-between;
+ box-sizing: border-box;
+ padding: 0 0.18667rem;
+ background: #F2F3F7;
+ border-radius: 0.21333rem;
+}
+
+.time .end img {
+ width: 0.56rem;
+ height: 0.56rem;
+ display: block;
+ margin-top: 0.18667rem;
+}
+
+.time .search {
+ width: 1.89333rem;
+ height: 0.85333rem;
+ border-radius: 0.85333rem;
+ line-height: 0.8rem;
+ text-align: center;
+ background: #04D5C6;
+ color: #fff;
+ font-size: 0.37333rem;
+ font-weight: 400;
+}
+
+.diamonds {
+ width: 9.14667rem;
+ height: 0.74667rem;
+ line-height: 0.64rem;
+ text-align: center;
+ margin: 0 auto 0.48rem;
+}
+
+.diamonds img {
+ width: 0.74667rem;
+ height: 0.74667rem;
+ display: inline-block;
+ margin-right: 0.13333rem;
+}
+
+.diamonds span {
+ color: #313131;
+ font-size: 0.53333rem;
+ font-weight: 600;
+}
+
+.data {
+ width: 9.14667rem;
+ height: 13rem;
+ margin: 0 auto 0rem;
+ overflow-y: scroll;
+}
+
+.data::-webkit-scrollbar {
+ display: none;
+}
+
+.data .box {
+ width: 100%;
+ height: 1.94667rem;
+ border-radius: 0.21333rem;
+ background: #DBF6FF;
+ box-sizing: border-box;
+ padding: 0 0.24rem;
+ margin-bottom: 0.26667rem;
+}
+
+.data .box .tx {
+ float: left;
+ width: 1.46667rem;
+ height: 1.46667rem;
+ border-radius: 50%;
+ display: block;
+ margin-top: 0.24rem;
+ margin-right: 0.21333rem;
+}
+
+.data .box .user {
+ width: 3.33333rem;
+ float: left;
+}
+
+.data .box .user p {
+ width: 100%;
+ overflow: hidden;
+ white-space: nowrap;
+ text-overflow: ellipsis;
+ color: #333333;
+ font-size: 0.42667rem;
+ font-weight: 600;
+ margin-top: 0.53333rem;
+ margin-bottom: 0.13333rem;
+}
+
+.data .box .user b {
+ color: #7B7B7D;
+ font-size: 0.34667rem;
+ font-weight: 400;
+}
+
+.data .box .right {
+ float: right;
+ text-align: right;
+}
+
+.data .box .right p {
+ color: #313131;
+ font-size: 0.48rem;
+ font-weight: 600;
+ margin-top: 0.45333rem;
+ margin-bottom: 0.2rem;
+}
+
+.data .box .right b {
+ color: #313131;
+ font-size: 0.34667rem;
+ font-weight: 400;
+}
+
+.timeBox {
+ position: fixed;
+ left: 0;
+ top: 0;
+ right: 0;
+ bottom: 0;
+ background: rgba(0, 0, 0, 0.5);
+ z-index: 99;
+ display: none;
+}
+
+.timeBox .timeBox_in {
+ width: 10rem;
+ height: 8.53333rem;
+ border-radius: 0.42667rem 0.42667rem 0 0;
+ background: #fff;
+ position: absolute;
+ bottom: 0;
+ left: 50%;
+ transform: translateX(-50%);
+}
+
+.timeBox .timeBox_in .title {
+ width: 100%;
+ height: 0.58667rem;
+ line-height: 0.58667rem;
+ text-align: center;
+ color: #313131;
+ font-weight: 500;
+ font-size: 0.42667rem;
+ position: absolute;
+ top: 0.32rem;
+ left: 0;
+}
+
+.timeBox .timeBox_in .but {
+ height: 0.58667rem;
+ line-height: 0.58667rem;
+ position: absolute;
+ right: 0.42667rem;
+ top: 0.32rem;
+ z-index: 2;
+ color: #24CF9E;
+ font-size: 0.42667rem;
+ font-weight: 500;
+}
+
+.timeBox .timeBox_in h5 {
+ color: #AFB1B3;
+ width: 100%;
+ height: 0.45333rem;
+ line-height: 0.45333rem;
+ font-size: 0.32rem;
+ font-weight: 400;
+ text-align: center;
+ position: absolute;
+ left: 0;
+ top: 1.01333rem;
+}
+
+.timeBox .timeBox_in ul {
+ width: 10rem;
+ height: 6rem;
+ margin-top: 1.6rem;
+ overflow-y: scroll;
+}
+
+.timeBox .timeBox_in ul::-webkit-scrollbar {
+ display: none;
+}
+
+.timeBox .timeBox_in ul li {
+ width: 100%;
+ text-align: center;
+ height: 0.85333rem;
+ line-height: 0.85333rem;
+ color: #7B7B7D;
+ font-size: 0.4rem;
+ font-weight: 400;
+}
+
+.timeBox .timeBox_in ul .act {
+ background: #F4F4F4;
+ font-weight: 500;
+ color: #313131;
+}
+
+.arabic .back img {
+ left: auto;
+ right: 0.24rem;
+ transform: rotate(180deg);
+}
+
+.arabic h3 div {
+ right: auto;
+ left: -0.26667rem;
+}
+
+.arabic .data .box .tx {
+ float: right;
+ margin-left: 0.2rem;
+ margin-right: 0;
+}
+
+.arabic .data .box .user {
+ float: right;
+}
+
+.arabic .data .box .right {
+ float: left;
+ text-align: left;
+}
diff --git a/view/molistar/modules/guild-ar/css/agencyDiamondIncome.scss b/view/molistar/modules/guild-ar/css/agencyDiamondIncome.scss
new file mode 100644
index 00000000..559d5184
--- /dev/null
+++ b/view/molistar/modules/guild-ar/css/agencyDiamondIncome.scss
@@ -0,0 +1,365 @@
+@function px2rem($px) {
+ @return $px / 75+rem;
+}
+
+html,
+body {
+ width: 100%;
+ height: px2rem(1334);
+ background: #fff;
+}
+
+.back {
+ width: 100%;
+ height: px2rem(176);
+ position: fixed;
+ left: 0;
+ top: px2rem(0);
+ text-align: center;
+ color: #FFFFFF;
+ font-size: px2rem(38);
+ font-weight: bold;
+ z-index: 10;
+ background: #fff;
+
+ img {
+ width: px2rem(44);
+ height: px2rem(44);
+ position: absolute;
+ left: px2rem(18);
+ top: px2rem(110);
+ z-index: 2;
+ }
+
+ div {
+ width: 100%;
+ height: px2rem(44);
+ line-height: px2rem(44);
+ color: #313131;
+ text-align: center;
+ position: absolute;
+ left: 50%;
+ transform: translateX(-50%);
+ top: px2rem(110);
+ }
+}
+
+h3 {
+ width: px2rem(686);
+ height: px2rem(36);
+ line-height: px2rem(36);
+ margin: 2.6rem auto px2rem(28);
+ color: #313131;
+ font-size: px2rem(32);
+ font-weight: 600;
+ position: relative;
+
+ b {
+ color: #313131;
+ font-size: px2rem(32);
+ font-weight: 600;
+ }
+
+ img {
+ display: inline-block;
+ width: px2rem(36);
+ height: px2rem(36);
+ margin-top: px2rem(2);
+ }
+
+ div {
+ width: px2rem(346);
+ box-sizing: border-box;
+ padding: px2rem(16);
+ position: absolute;
+ background: #F7F7F7;
+ border-radius: px2rem(16);
+ right: px2rem(-20);
+ bottom: px2rem(-220);
+ display: none;
+
+ p {
+ color: #313131;
+ font-weight: 400;
+ line-height: px2rem(34);
+ font-size: px2rem(24);
+ }
+ }
+}
+
+.time {
+ width: px2rem(686);
+ height: px2rem(64);
+ line-height: px2rem(64);
+ margin: 0 auto px2rem(36);
+ display: flex;
+ justify-content: space-around;
+
+ .start {
+ width: px2rem(228);
+ height: px2rem(64);
+ display: flex;
+ justify-content: space-between;
+ box-sizing: border-box;
+ padding: 0 px2rem(14);
+ background: #F2F3F7;
+ border-radius: px2rem(16);
+
+ img {
+ width: px2rem(42);
+ height: px2rem(42);
+ display: block;
+ margin-top: px2rem(14);
+ }
+ }
+
+ span {
+ width: px2rem(34);
+ color: #7B7B7D;
+ font-size: px2rem(28);
+ font-weight: 400;
+ }
+
+ .end {
+ width: px2rem(228);
+ height: px2rem(64);
+ display: flex;
+ justify-content: space-between;
+ box-sizing: border-box;
+ padding: 0 px2rem(14);
+ background: #F2F3F7;
+ border-radius: px2rem(16);
+
+ img {
+ width: px2rem(42);
+ height: px2rem(42);
+ display: block;
+ margin-top: px2rem(14);
+ }
+ }
+
+ .search {
+ width: px2rem(142);
+ height: px2rem(64);
+ border-radius: px2rem(64);
+ line-height: px2rem(60);
+ text-align: center;
+ background: #04D5C6;
+ color: #fff;
+ font-size: px2rem(28);
+ font-weight: 400;
+ }
+}
+
+.diamonds {
+ width: px2rem(686);
+ height: px2rem(56);
+ line-height: px2rem(48);
+ // display: flex;
+ text-align: center;
+ margin: 0 auto px2rem(36);
+
+ img {
+ width: px2rem(56);
+ height: px2rem(56);
+ display: inline-block;
+ margin-right: px2rem(10);
+ }
+
+ span {
+ color: #313131;
+ font-size: px2rem(40);
+ font-weight: 600;
+ }
+
+}
+
+.data {
+ width: px2rem(686);
+ height: 13rem;
+ margin: 0 auto px2rem(0);
+ overflow-y: scroll;
+
+ &::-webkit-scrollbar {
+ display: none;
+ }
+
+ .box {
+ width: 100%;
+ height: px2rem(146);
+ border-radius: px2rem(16);
+ background: #DBF6FF;
+ box-sizing: border-box;
+ padding: 0 px2rem(18);
+ margin-bottom: px2rem(20);
+
+ .tx {
+ float: left;
+ width: px2rem(110);
+ height: px2rem(110);
+ border-radius: 50%;
+ display: block;
+ margin-top: px2rem(18);
+ margin-right: px2rem(16);
+ }
+
+ .user {
+ width: px2rem(250);
+ float: left;
+
+ p {
+ width: 100%;
+ overflow: hidden;
+ white-space: nowrap;
+ text-overflow: ellipsis;
+ color: #333333;
+ font-size: px2rem(32);
+ font-weight: 600;
+ margin-top: px2rem(40);
+ margin-bottom: px2rem(10);
+ }
+
+ b {
+ color: #7B7B7D;
+ font-size: px2rem(26);
+ font-weight: 400;
+ }
+ }
+
+ .right {
+ float: right;
+ text-align: right;
+
+ p {
+ color: #313131;
+ font-size: px2rem(36);
+ font-weight: 600;
+ margin-top: px2rem(34);
+ margin-bottom: px2rem(15);
+ }
+
+ b {
+ color: #313131;
+ font-size: px2rem(26);
+ font-weight: 400;
+ }
+ }
+ }
+}
+
+.timeBox {
+ position: fixed;
+ left: 0;
+ top: 0;
+ right: 0;
+ bottom: 0;
+ background: rgba(0, 0, 0, .5);
+ z-index: 99;
+ display: none;
+
+ .timeBox_in {
+ width: px2rem(750);
+ height: px2rem(640);
+ border-radius: px2rem(32) px2rem(32) 0 0;
+ background: #fff;
+ position: absolute;
+ bottom: 0;
+ left: 50%;
+ transform: translateX(-50%);
+
+ .title {
+ width: 100%;
+ height: px2rem(44);
+ line-height: px2rem(44);
+ text-align: center;
+ color: #313131;
+ font-weight: 500;
+ font-size: px2rem(32);
+ position: absolute;
+ top: px2rem(24);
+ left: 0;
+ }
+
+ .but {
+ height: px2rem(44);
+ line-height: px2rem(44);
+ position: absolute;
+ right: px2rem(32);
+ top: px2rem(24);
+ z-index: 2;
+ color: #24CF9E;
+ font-size: px2rem(32);
+ font-weight: 500;
+ }
+
+ h5 {
+ color: #AFB1B3;
+ width: 100%;
+ height: px2rem(34);
+ line-height: px2rem(34);
+ font-size: px2rem(24);
+ font-weight: 400;
+ text-align: center;
+ position: absolute;
+ left: 0;
+ top: px2rem(76);
+ }
+
+ ul {
+ width: px2rem(750);
+ height: 6rem;
+ margin-top: px2rem(120);
+ overflow-y: scroll;
+
+ &::-webkit-scrollbar {
+ display: none;
+ }
+
+ li {
+ width: 100%;
+ text-align: center;
+ height: px2rem(64);
+ line-height: px2rem(64);
+ color: #7B7B7D;
+ font-size: px2rem(30);
+ font-weight: 400;
+ }
+
+ .act {
+ background: #F4F4F4;
+ font-weight: 500;
+ color: #313131;
+ }
+ }
+ }
+}
+
+.arabic {
+ .back img {
+ left: auto;
+ right: 0.24rem;
+ transform: rotate(180deg);
+ }
+
+ h3 div {
+ right: auto;
+ left: -0.26667rem;
+ }
+
+ .data .box {
+ .tx {
+ float: right;
+ margin-left: 0.2rem;
+ margin-right: 0;
+ }
+
+ .user {
+ float: right;
+ }
+
+ .right {
+ float: left;
+ text-align: left;
+ }
+ }
+}
\ No newline at end of file
diff --git a/view/molistar/modules/guild-ar/css/personal.css b/view/molistar/modules/guild-ar/css/personal.css
index 61f238b6..f929b810 100644
--- a/view/molistar/modules/guild-ar/css/personal.css
+++ b/view/molistar/modules/guild-ar/css/personal.css
@@ -533,6 +533,54 @@ body {
margin-top: 0.10667rem;
}
+.page2 .agencyDiamondIncome {
+ width: 9.14667rem;
+ height: 0.66667rem;
+ line-height: 0.66667rem;
+ position: relative;
+ margin: 0 auto 0.33333rem;
+ display: none;
+}
+
+.page2 .agencyDiamondIncome span {
+ position: absolute;
+ width: 0.10667rem;
+ height: 0.45333rem;
+ top: 50%;
+ transform: translateY(-50%);
+ left: -0.26667rem;
+ background: #04D5C6;
+}
+
+.page2 .agencyDiamondIncome b {
+ display: block;
+ float: left;
+ color: #313131;
+ font-size: 0.48rem;
+ font-weight: 600;
+}
+
+.page2 .agencyDiamondIncome i {
+ font-style: normal;
+ display: block;
+ float: left;
+ height: 0.45333rem;
+ border-radius: 0.45333rem;
+ line-height: 0.45333rem;
+ padding: 0.05333rem 0.21333rem;
+ background: #313131;
+ color: #fff;
+ margin: 0.10667rem 0.26667rem 0;
+}
+
+.page2 .agencyDiamondIncome img {
+ float: right;
+ display: block;
+ width: 0.56rem;
+ height: 0.56rem;
+ margin-top: 0.10667rem;
+}
+
.page2 .data {
width: 9.14667rem;
height: 13rem;
@@ -735,3 +783,17 @@ body {
right: 0.24rem;
transform: rotate(180deg);
}
+
+.arabic .page2 .agencyDiamondIncome span {
+ left: auto;
+ right: -0.26667rem;
+}
+
+.arabic .page2 .agencyDiamondIncome b {
+ float: right;
+}
+
+.arabic .page2 .agencyDiamondIncome img {
+ float: left;
+ transform: rotate(180deg);
+}
diff --git a/view/molistar/modules/guild-ar/css/personal.scss b/view/molistar/modules/guild-ar/css/personal.scss
index 46f7f035..b1c2e46a 100644
--- a/view/molistar/modules/guild-ar/css/personal.scss
+++ b/view/molistar/modules/guild-ar/css/personal.scss
@@ -445,7 +445,8 @@ body {
color: #313131;
font-size: px2rem(36);
font-weight: 600;
- img{
+
+ img {
float: right;
}
}
@@ -540,6 +541,54 @@ body {
}
}
+ .agencyDiamondIncome {
+ width: px2rem(686);
+ height: px2rem(50);
+ line-height: px2rem(50);
+ position: relative;
+ margin: 0 auto px2rem(25);
+ display: none;
+
+ span {
+ position: absolute;
+ width: px2rem(8);
+ height: px2rem(34);
+ top: 50%;
+ transform: translateY(-50%);
+ left: px2rem(-20);
+ background: #04D5C6;
+ }
+
+ b {
+ display: block;
+ float: left;
+ color: #313131;
+ font-size: px2rem(36);
+ font-weight: 600;
+ }
+
+ i {
+ font-style: normal;
+ display: block;
+ float: left;
+ height: px2rem(34);
+ border-radius: px2rem(34);
+ line-height: px2rem(34);
+ padding: px2rem(4) px2rem(16);
+ background: #313131;
+ color: #fff;
+ margin: px2rem(8) px2rem(20) 0;
+ }
+
+ img {
+ float: right;
+ display: block;
+ width: px2rem(42);
+ height: px2rem(42);
+ margin-top: px2rem(8);
+ }
+ }
+
.data {
width: px2rem(686);
height: 13rem;
@@ -757,4 +806,21 @@ body {
right: 0.24rem;
transform: rotate(180deg);
}
+
+ .page2 .agencyDiamondIncome {
+ span {
+ left: auto;
+ right: -0.26667rem;
+ }
+
+ b {
+ float: right;
+
+ }
+
+ img {
+ float: left;
+ transform: rotate(180deg);
+ }
+ }
}
\ No newline at end of file
diff --git a/view/molistar/modules/guild-ar/images/agencyDiamondIncomeDom.png b/view/molistar/modules/guild-ar/images/agencyDiamondIncomeDom.png
new file mode 100644
index 0000000000000000000000000000000000000000..347ca9948eb49ff364c40bf00d9958bc60a9a32a
GIT binary patch
literal 2366
zcmV-E3BmS>P)W82B#hi2q}vl$
zuN{cfC!p6Ed)N|OybMU26JWe6uH7S#+ZbK7RKN8}x9k;PuL3xd8;H~&q2UcsxfEHe
zB(3QiYQr6n;t*)WESB3Fd(0nz%@JI^Kf(G3Poxb^xEFKOM%eugYtS&y_+;7sRLb}n
zqu>TOe_Gi6Q`7Y&bHx7s|NQ^`)&2e-)cMf;{T|Er21B*&{{0ue_bh>SJ_B`12D8KFx
zmh2a^>LIP^5{u&rir@)(-41rs242z)ea{JG&Iw`23T4FyX1oSRxCBS50w{u*_5D5F
z`!m@29mMxD&GjI(^f0~hC%5Vum*x+IMD==osW_bS=<7RC2H>-Ig%_Cdt;CCc<4
ztMnAS@)fP}6QS@8o9q{w>lCBv43**wf8rE{+!~tO4TaMPbJGY%y9Qsl22-sAK9mA4
zjk^2&wEO*)>-|Xc{8H=u6yp0SH1mW
z`B>NY6wmfF!SpZD?k2YGHOT24li^RN+%t~T8EC{0Rk#H`w**SF1Ui}lC3?m6{9)z!
zp7i%1v+RY}>nO$QK(Fd`zTqdJ;4Xm87IU{EkC@8{&--pH|vesywUVj%kM<=@oMkMZh-p#)
z1vBda00p*5L_t(Y$L-W*P?K>Sz;QqjySux)l?fXQ7StSLtOvq67z~hZ=@3Eb?hpwP
zlrD=D1V!xb?l}K5PXz^Ec)sv^d$YUebH983_j~>d|NGY)pfph4aL_P$Bl?0Arz{xh
z<|f1>x+b=_#}HauTB4$+t=qKh*Gg&esPU<8<>loV3@x3wWJ$@DJ=;NRHx5_q
zjg6RJ-P-c9qB1Q_&|cHgaf9s~bqJ`YOO3X9c};r`O&_Jy^P5dz2otMrzz<)3Vtc%~
z`BI*lnOS3_?QtEQNnr*B42rQ$6(xPeka17;gcA
zk>D+l=H}ie1C~pw}Q)fONxFG_|1n5Q0cUhN}FCm`i
zDH8f;A*3X%!Mp*$ja|7Dl(BPXt(YHiEEf`DthPm-T8Ie*^7wXQ(zZ{P;*&(KRx)o-
z4}(+DYrqN)?qUY0P{yYUg(AYSr~4tW&k&rCE~G7%&DPX(&;*@yC@ytHAku3LPHF76
zUo}ucasH7~Wk0QnMgd#VgYembUJ=+gnXbOM^2A&NJ477nN`)A2$
z64Wkv`}VOWem>W^Ebym0xZb}#DS?NqU&nby$zP$)DLN0lKcsdu~UySsyf
zALan}si`w^SS(g>J?eDKw)psjgd`{DNbr$tzlQ_T8i(_xdP$5()u^*)!Tca5a9m_ewA
z^(dZ_Ru>wPb(u<=t!ojv^=-Wjiyub=ej68{Hgi542*--2`sHcl@
z&}l1w8=GuFbWxE*IDqz%-V}+XHkIgsb%~Oh8`g@5!1W|Y0r|k@bg{m^21tKzgVYF2
zOU72YM5bDZMakIFz1@!^ef${8{$=|5TQxLHP4_ycrxJ-CNdgx~f<;QQM-_0rG+?B+
zAA{jjtiRQ?NDfKF8f+E+2E0TnPA=sG*K10%d}x+g9Yv;FL3t)ZnQm`m=JpsxZgBI
z)tiEF0`R~A`!W|UTnkM|?t=p@QI#S*P4)B+gxLwWa7VimkJxD7`p_bhG=mRZn4Js!
zIw#Zs4+pMKEg(tK^$&za*l`^>p>Te~P=&rW=vKNQEFwSR1qY4hJNDgy<->~X^YcTm
zqYGZZ`{CrvmuQfGE|gQi;R4s62F$}=KUaVbJq29(^b
literal 0
HcmV?d00001
diff --git a/view/molistar/modules/guild-ar/images/agencyDiamondIncomeWhy.png b/view/molistar/modules/guild-ar/images/agencyDiamondIncomeWhy.png
new file mode 100644
index 0000000000000000000000000000000000000000..7563cfd92acb7a8ac0bef99891c9c3d85550c823
GIT binary patch
literal 483
zcmeAS@N?(olHy`uVBq!ia0vp^Dj>|k3?#4J%UA`Z5(0ceT!Hk4O`97U8rE;zym8~^
z^&2;>*#sijt=j-3*KggrcJ11AK=BQm*KOFce*OAIixvS@t^=t7A)wR-2xHUMjT^Us
z1UGEnuofv*y5$j^5-0>66O-|JSz`3+8Pp`E+aMD_0>M
zr{k|4ulLS^gw
z)rNV=y&3C1e)`z)AiMdaX8MaRMLvdirnjXkzp)(Fo#A-9?D&~LW{ubUyIx-5&RhN|
zV#hST%>6tzul);LZLP|}XRxGf+#I(r>C=oz`3;;I4*F)-MQ^+?R5>oC_4DZ>dS4qsZ&TBI8d-AE2{x4Qd?SD3S{UMpHTvuB3csU7tHXD&F$gF
zhLG*6EEJxrU+pjE+21ZH?-XS(~4W>
z?#sS!&hJD?Z|XZmz}Wgykuh^GeoD5dK>A
b{VU@&X11rzF`37Ku3_+W^>bP0l+XkKYz%je
literal 0
HcmV?d00001
diff --git a/view/molistar/modules/guild-ar/js/agencyDiamondIncome.js b/view/molistar/modules/guild-ar/js/agencyDiamondIncome.js
new file mode 100644
index 00000000..19b99ebe
--- /dev/null
+++ b/view/molistar/modules/guild-ar/js/agencyDiamondIncome.js
@@ -0,0 +1,187 @@
+let urlPrefix = getUrlPrefix()
+let browser = checkVersion()
+let env = EnvCheck();
+var url = getQueryString();
+if (env == 'test') {
+ new VConsole();
+}
+// 封裝layer消息提醒框
+let layerIndex
+var langReplace;
+var localLang;
+const showLoading = (content = langReplace(localLang.demoModule.layerIndex1)) => {
+ layer.open({
+ type: 2,
+ shadeClose: false,
+ content,
+ success(e) {
+ layerIndex = $(e).attr('index')
+ }
+ })
+}
+const hideLoading = (index) => {
+ layer.close(index)
+}
+const toastMsg = (content = langReplace(localLang.demoModule.layerIndex2), time = 2) => {
+ layer.open({
+ content,
+ time,
+ skin: 'msg'
+ })
+}
+var startDate = dateFormat(Number(url.timestamp), 'yyyy-MM-dd');
+var endDate = dateFormat(Number(url.timestamp), 'yyyy-MM-dd');
+var timeType;
+// 初始化函數
+$(function () {
+ getInfoFromClient();
+ fuzzyMatchUpdateQueryStringParameterFun(); // 判断语言
+ setTimeout(function () {
+ // 頁面全屏
+ if (browser.app) {
+ if (browser.android) {
+ window.androidJsObj.initShowNav(false)
+ } else {
+ window.webkit.messageHandlers.initShowNav.postMessage(0)
+ }
+ };
+ // 頂部返回事件
+ $('.back img').click(() => {
+ window.history.back();
+ })
+ fuzzyMatchUpdateQueryStringParameterFun(); // 判断语言
+ langReplace = window.lang.replace;
+ localLang = window.lang;
+ translateFun();
+ getDiamondIncome();
+ $('.time .start b').text(startDate);
+ $('.time .end b').text(endDate);
+ }, 100)
+})
+function translateFun() {
+ var langReplace = window.lang.replace;
+ var localLang = window.lang;
+ $('.text1').html(langReplace(localLang.agencyDiamondIncome.text1));
+ $('.text2').html(langReplace(localLang.agencyDiamondIncome.text2));
+ $('.text3').html(langReplace(localLang.agencyDiamondIncome.text3));
+ $('.text4').html(langReplace(localLang.agencyDiamondIncome.text4));
+ $('.text5').html(langReplace(localLang.agencyDiamondIncome.text5));
+ $('.text6').html(langReplace(localLang.agencyDiamondIncome.text6));
+ $('.text7').html(langReplace(localLang.agencyDiamondIncome.text7));
+}
+// 查询按钮
+$('.time .search').click(function(){
+ getDiamondIncome();
+})
+// 配置接口
+function getDiamondIncome() {
+ $('.data .box').remove();
+ showLoading()
+ networkRequest({
+ type: 'get',
+ url: urlPrefix + '/guild/income/getDiamondIncome',
+ data: {
+ startDate,
+ endDate,
+ },
+ success(res) {
+ if (res.code === 200) {
+ $('.diamonds span').text(res.data.totalDiamondNum);
+ var str = '';
+ res.data.memberIncomeList.forEach((res, i) => {
+ str += `
+
+

+
+
${res.nick}
+
ID:${res.erbanNo}
+
+
+
${res.diamondNum}
+
${langReplace(localLang.personal.text20)}
+
+
+ `
+ });
+ $('.data').append(str);
+ } else {
+ toastMsg(res.message)
+ }
+ hideLoading(layerIndex)
+ },
+ error(err) {
+ hideLoading(layerIndex)
+ toastMsg(langReplace(localLang.demoModule.layerIndex3))
+ }
+ })
+}
+
+// 获取前8周时间
+function timestampToDate(timestamp) {
+ var date = new Date(timestamp);
+ return date.toString(); // 转换为字符串
+}
+function getLastEightWeeksTimestamps(newTime) {
+ console.log(timestampToDate(newTime));
+ const timestamps = [];
+ const now = newTime;
+
+ // 计算从今天往前 8 周的起点(56 天)
+ const startDate = new Date(now.getTime() - 56 * 24 * 60 * 60 * 1000);
+
+ // 从起点开始,每天增加到当前日期
+ for (let i = 0; i <= 56; i++) {
+ const currentDay = new Date(startDate.getTime() + i * 24 * 60 * 60 * 1000);
+ timestamps.push(dateFormat(currentDay.getTime(), "yyyy-MM-dd"));
+ }
+
+ return timestamps.reverse();
+}
+var str = '';
+getLastEightWeeksTimestamps(new Date()).forEach(res => {
+ str += `
+ ${res}
+ `
+})
+$('.timeBox .timeBox_in ul').append(str);
+// 选择时间
+$('.timeBox .timeBox_in ul').on('click', 'li', function () {
+ var time = $(this).text();
+ $(this).addClass('act').siblings().removeClass('act');
+ if (timeType == 1) {
+ startDate = time;
+ } else {
+ endDate = time;
+ }
+})
+var whyStatus = true;
+$('h3 img').click(function () {
+ if (whyStatus) {
+ $('h3 div').show();
+ } else {
+ $('h3 div').hide();
+ }
+ whyStatus = !whyStatus;
+})
+// 选择开始时间
+$('.time .start').click(function () {
+ timeType = 1;
+ bodyScroolFun(true);
+ $('.timeBox').show();
+})
+// 选择结束时间
+$('.time .end').click(function () {
+ timeType = 2;
+ bodyScroolFun(true);
+ $('.timeBox').show();
+})
+// 确认时间按钮
+$('.timeBox .timeBox_in .but').click(function () {
+ if (timeType == 1) {
+ $('.time .start b').text(startDate);
+ } else {
+ $('.time .end b').text(endDate);
+ }
+ bodyScroolFun(false);
+ $('.timeBox').hide();
+})
\ No newline at end of file
diff --git a/view/molistar/modules/guild-ar/js/index.js b/view/molistar/modules/guild-ar/js/index.js
index e99ef000..1e8c5883 100644
--- a/view/molistar/modules/guild-ar/js/index.js
+++ b/view/molistar/modules/guild-ar/js/index.js
@@ -385,7 +385,7 @@ $('.guildInfoSet').click(function () {
})
// 我的收入
$('.memberFlow').click(function (params) {
- window.location.href = `./personal.html`
+ window.location.href = `./personal.html?roleTypes=${roleTypes}`
})
// 薪资账户
$('.memberFlow2').click(function (params) {
diff --git a/view/molistar/modules/guild-ar/js/personal.js b/view/molistar/modules/guild-ar/js/personal.js
index 42067ca1..a6111b08 100644
--- a/view/molistar/modules/guild-ar/js/personal.js
+++ b/view/molistar/modules/guild-ar/js/personal.js
@@ -28,6 +28,7 @@ const toastMsg = (content = langReplace(localLang.demoModule.layerIndex2), time
skin: 'msg'
})
}
+var timestamp;
var roleTypes;
var searTime;
var guildNick;
@@ -56,6 +57,9 @@ $(function () {
fuzzyMatchUpdateQueryStringParameterFun(); // 判断语言
langReplace = window.lang.replace;
localLang = window.lang;
+ if(getQueryString().roleTypes == 1){
+ $('.page2 .agencyDiamondIncome').show();
+ }
translateFun();
getAccount();
}, 100)
@@ -82,6 +86,7 @@ function translateFun() {
$('.text17').text(langReplace(localLang.personal.text17));
$('.text18').text(langReplace(localLang.personal.text18));
$('.text19').text(langReplace(localLang.personal.text19));
+ $('.agencyDiamondIncometext1').text(langReplace(localLang.agencyDiamondIncome.text1));
}
// 配置接口
function getAccount() {
@@ -91,6 +96,7 @@ function getAccount() {
url: urlPrefix + '/guild/income/getIncome',
success(res) {
if (res.code === 200) {
+ timestamp = res.timestamp;
// 判断是否展示agency
// person
// 处理自己
@@ -167,4 +173,8 @@ $('.page1 .diamond .withdraw').click(function () {
// 跳转薪资账户页面
$('.page1 .account').click(function () {
window.location.href = `./salary_account.html`
+})
+// 跳转钻石中心
+$('.agencyDiamondIncome').click(function () {
+ window.location.href = `./agencyDiamondIncome.html?timestamp=${timestamp}`;
})
\ No newline at end of file
diff --git a/view/molistar/modules/guild-ar/local/ar.js b/view/molistar/modules/guild-ar/local/ar.js
index ac9d3a05..503fc986 100644
--- a/view/molistar/modules/guild-ar/local/ar.js
+++ b/view/molistar/modules/guild-ar/local/ar.js
@@ -336,4 +336,13 @@ langAr = {
3 تدرج مكافآت العملات
`,
text3: `./images/weeklyRewardsRule2-ar.png`,
},
+ agencyDiamondIncome: {
+ text1: `إيرادات الألماس للوكالة`, // 阿拉伯文
+ text2: `بناءً على الوكالة، يمكنك البحث عن إيرادات الألماس في أي وقت.`, // 阿拉伯文
+ text3: `قد يؤدي خروج المستخدم من الوكالة إلى تغييرات في البيانات.`, // 阿拉伯文
+ text4: `إلى`, // 阿拉伯文
+ text5: `اختيار التاريخ`, // 阿拉伯文
+ text6: `تأكيد`, // 阿拉伯文
+ text7: `يبحث`,
+ }
}
\ No newline at end of file
diff --git a/view/molistar/modules/guild-ar/local/en.js b/view/molistar/modules/guild-ar/local/en.js
index 600a5440..651472c8 100644
--- a/view/molistar/modules/guild-ar/local/en.js
+++ b/view/molistar/modules/guild-ar/local/en.js
@@ -336,4 +336,13 @@ langEn = {
3 Coin reward gradient
`,
text3: `./images/weeklyRewardsRule2.png`,
},
+ agencyDiamondIncome:{
+ text1:`Agency Diamond Income`,
+ text2:`Building a guild, you can search for diamond income at any time.`,
+ text3:`User exit agency may result in data changes.`,
+ text4:`To`,
+ text5:`Date selection`,
+ text6:`Confirm`,
+ text7:`Search`,
+ }
}
diff --git a/view/molistar/modules/guild-ar/local/zh.js b/view/molistar/modules/guild-ar/local/zh.js
index 2746c59b..dff8ffd6 100644
--- a/view/molistar/modules/guild-ar/local/zh.js
+++ b/view/molistar/modules/guild-ar/local/zh.js
@@ -328,7 +328,7 @@ langZh = {
text2: `您可以總共獲得 2240000 金幣。`,
text3: `領取`,
text4: `主播等級`,
- text5: `已獲得`,
+ text5: `已獲得`,
},
weeklyRewardsRule: {
text1: `規則`,
@@ -337,4 +337,13 @@ langZh = {
3 金幣獎勵梯度
`,
text3: `./images/weeklyRewardsRule2.png`,
},
+ agencyDiamondIncome: {
+ text1: `公會鑽石收入`, // 繁體中文
+ text2: `建立公會,隨時可以查詢鑽石收入。`, // 繁體中文
+ text3: `用戶退出公會可能導致數據變更。`, // 繁體中文
+ text4: `至`, // 繁體中文
+ text5: `日期選擇`, // 繁體中文
+ text6: `確認`, // 繁體中文
+ text7:`查詢`,
+ }
}
\ No newline at end of file
diff --git a/view/molistar/modules/guild-ar/personal.html b/view/molistar/modules/guild-ar/personal.html
index 502437b0..a0c472c9 100644
--- a/view/molistar/modules/guild-ar/personal.html
+++ b/view/molistar/modules/guild-ar/personal.html
@@ -7,7 +7,7 @@
Personal
-
+
@@ -99,6 +99,7 @@
+
0
@@ -126,5 +127,5 @@
-
+
\ No newline at end of file