From ce2348b034f0a50b09cada3280b5e810693f810a Mon Sep 17 00:00:00 2001 From: sws <1141121512@qq.com> Date: Mon, 25 Sep 2023 10:32:06 +0800 Subject: [PATCH] =?UTF-8?q?1.=E6=88=91=E7=9A=84=E5=8F=91=E7=A5=A8=202.?= =?UTF-8?q?=E6=88=91=E7=9A=84=E9=92=B1=E5=8C=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- App.vue | 25 + common/css/page.css | 14 +- common/css/theme/yellow.css | 48 +- components/iconfont/iconfont.vue | 4 +- components/wallet/user-cash/user-cash.vue | 240 ++++++ .../wallet/user-recharge/user-recharge.vue | 728 ++++++++++++++++++ components/wallet/wallet-log/wallet-log.vue | 242 ++++++ pages.json | 29 +- pages/plugins/invoice/invoice/invoice.css | 26 +- pages/plugins/invoice/invoice/invoice.vue | 566 +++++++------- pages/plugins/invoice/order/order.css | 12 +- pages/plugins/invoice/order/order.vue | 396 +++++----- pages/plugins/invoice/user/user.vue | 38 +- pages/plugins/wallet/cash-auth/cash-auth.vue | 420 +++++----- pages/plugins/wallet/recharge/recharge.vue | 42 +- pages/plugins/wallet/user-cash/user-cash.css | 6 - pages/plugins/wallet/user-cash/user-cash.vue | 242 ------ .../wallet/user-recharge/user-recharge.css | 20 - .../wallet/user-recharge/user-recharge.vue | 705 ----------------- pages/plugins/wallet/user/user.css | 75 +- pages/plugins/wallet/user/user.vue | 363 +++++---- .../plugins/wallet/wallet-log/wallet-log.css | 6 - .../plugins/wallet/wallet-log/wallet-log.vue | 244 ------ 23 files changed, 2338 insertions(+), 2153 deletions(-) create mode 100644 components/wallet/user-cash/user-cash.vue create mode 100644 components/wallet/user-recharge/user-recharge.vue create mode 100644 components/wallet/wallet-log/wallet-log.vue delete mode 100644 pages/plugins/wallet/user-cash/user-cash.css delete mode 100644 pages/plugins/wallet/user-cash/user-cash.vue delete mode 100644 pages/plugins/wallet/user-recharge/user-recharge.css delete mode 100644 pages/plugins/wallet/user-recharge/user-recharge.vue delete mode 100644 pages/plugins/wallet/wallet-log/wallet-log.css delete mode 100644 pages/plugins/wallet/wallet-log/wallet-log.vue diff --git a/App.vue b/App.vue index e4a04f44..cdf71e22 100644 --- a/App.vue +++ b/App.vue @@ -1571,6 +1571,31 @@ }); }, 1500); }, + // 是否站点变灰 + is_app_mourning() { + var is_app = parseInt(this.get_config('plugins_base.mourning.data.is_app', 0)); + if (is_app == 1) { + // 当前时间戳 + var time_current = Date.parse(new Date()); + // 开始时间 + var time_start = this.get_config('plugins_base.mourning.data.time_start') || null; + if (time_start != null) { + if (Date.parse(new Date(time_start)) > time_current) { + return false; + } + } + // 结束时间 + var time_end = this.get_config('plugins_base.mourning.data.time_end') || null; + if (time_end != null) { + if (Date.parse(new Date(time_end)) < time_current) { + return false; + } + } + return true; + } + return false; + }, + // 是否站点变灰 is_app_mourning() { var is_app = parseInt(this.get_config('plugins_base.mourning.data.is_app', 0)); diff --git a/common/css/page.css b/common/css/page.css index 3e5e484e..573de6a5 100644 --- a/common/css/page.css +++ b/common/css/page.css @@ -233,11 +233,11 @@ button:before { } .z-i { - z-index: 1; + z-index: 1 !important; } .z-i-deep { - z-index: 2; + z-index: 2 !important; } .bs-bb { @@ -530,6 +530,10 @@ button:before { border: solid 1px #f5f5f5 !important; } +.br-grey-9 { + border: solid 1px #999999 !important; +} + .br-blue { border: solid 1px #2196F3 !important; } @@ -602,10 +606,6 @@ button:before { color: #333 !important; } -.cr-grey { - color: #888 !important; -} - .cr-grey { color: #666 !important; } @@ -1538,6 +1538,6 @@ button[disabled].bg-grey { /** * 通知 */ -.uni-noticebar { +.uni-noticebar.margin-0 { padding: 0 !important; } \ No newline at end of file diff --git a/common/css/theme/yellow.css b/common/css/theme/yellow.css index c3a3c292..e5fe600f 100644 --- a/common/css/theme/yellow.css +++ b/common/css/theme/yellow.css @@ -2,109 +2,109 @@ * 边线 搭配色、次主色、主色 */ .border-color-main-pair { - border-color: #795548 !important; + border-color: #795548 !important; } .border-color-main-light { - border-color: #ffebd2 !important; + border-color: #ffebd2 !important; } .border-color-main { - border-color: #f6c133 !important; + border-color: #f6c133 !important; } /** * 边框 搭配色、次主色、主色 */ .br-main-pair { - border: 1px solid #795548 !important; + border: 1px solid #795548 !important; } .br-main-light { - border: solid 1px #ffebd2 !important; + border: solid 1px #ffebd2 !important; } .br-main { - border: 1px solid #f6c133 !important; + border: 1px solid #f6c133 !important; } /** * 虚线边框 搭配色、次主色、主色 */ .br-dashed-main-pair { - border: dashed 1px #795548 !important; + border: dashed 1px #795548 !important; } .br-dashed-main-light { - border: dashed 1px #ffebd2 !important; + border: dashed 1px #ffebd2 !important; } .br-dashed-main { - border: dashed 1px #f6c133 !important; + border: dashed 1px #f6c133 !important; } /** * 文本颜色 搭配色、次主色、主色 */ .cr-main-pair { - color: #795548 !important; + color: #795548 !important; } .cr-main-light { - color: #ffebd2 !important; + color: #ffebd2 !important; } .cr-main { - color: #f6c133 !important; + color: #f6c133 !important; } /** * 导航伪类背景色 */ .nav-active-line::before { - background: #f6c133; + background: #f6c133; } /** * 背景色 搭配色、次主色、主色 */ .bg-main-pair { - background-color: #795548 !important; + background-color: #795548 !important; } .bg-main-light { - background-color: #ffebd2 !important; + background-color: #ffebd2 !important; } .bg-main { - background-color: #f6c133 !important; + background-color: #f6c133 !important; } button[disabled].bg-main-pair { - background-color: #b5a29c !important; - color: #8c766f !important; + background-color: #b5a29c !important; + color: #8c766f !important; } button[disabled].bg-main-light { - background-color: #fbebd6 !important; - color: #ffcc40 !important; + background-color: #fbebd6 !important; + color: #ffcc40 !important; } button[disabled].bg-main { - background-color: #fdd178 !important; - color: #fff7e7 !important; + background-color: #fdd178 !important; + color: #fff7e7 !important; } /** * 标题左侧边线 */ .title-left-border::before { - background: linear-gradient(180deg, #f6c133 0%, #ffebd2 100%); + background: linear-gradient(180deg, #f6c133 0%, #ffebd2 100%); } /** * 导航菜单左侧边线 */ .nav-left-border::before { - background: #f6c133; + background: #f6c133; } \ No newline at end of file diff --git a/components/iconfont/iconfont.vue b/components/iconfont/iconfont.vue index c8dfa41d..2a4d57fe 100644 --- a/components/iconfont/iconfont.vue +++ b/components/iconfont/iconfont.vue @@ -24,8 +24,8 @@ diff --git a/components/wallet/user-recharge/user-recharge.vue b/components/wallet/user-recharge/user-recharge.vue new file mode 100644 index 00000000..8bcef9e4 --- /dev/null +++ b/components/wallet/user-recharge/user-recharge.vue @@ -0,0 +1,728 @@ + + + diff --git a/components/wallet/wallet-log/wallet-log.vue b/components/wallet/wallet-log/wallet-log.vue new file mode 100644 index 00000000..311490d5 --- /dev/null +++ b/components/wallet/wallet-log/wallet-log.vue @@ -0,0 +1,242 @@ + + + diff --git a/pages.json b/pages.json index 06f3e7d7..b6e498a9 100644 --- a/pages.json +++ b/pages.json @@ -551,13 +551,6 @@ "navigationBarTitleText": "余额提现" } }, - { - "path": "wallet-log/wallet-log", - "style": { - "enablePullDownRefresh": true, - "navigationBarTitleText": "账户明细" - } - }, { "path": "wallet-log-detail/wallet-log-detail", "style": { @@ -565,13 +558,6 @@ "navigationBarTitleText": "明细详情" } }, - { - "path": "user-recharge/user-recharge", - "style": { - "enablePullDownRefresh": true, - "navigationBarTitleText": "充值记录" - } - }, { "path": "user-recharge-detail/user-recharge-detail", "style": { @@ -579,13 +565,6 @@ "navigationBarTitleText": "充值详情" } }, - { - "path": "user-cash/user-cash", - "style": { - "enablePullDownRefresh": true, - "navigationBarTitleText": "提现记录" - } - }, { "path": "user-cash-detail/user-cash-detail", "style": { @@ -657,13 +636,7 @@ }, { "root": "pages/plugins/invoice", - "pages": [{ - "path": "user/user", - "style": { - "enablePullDownRefresh": true, - "navigationBarTitleText": "我的发票" - } - }, + "pages": [ { "path": "invoice/invoice", "style": { diff --git a/pages/plugins/invoice/invoice/invoice.css b/pages/plugins/invoice/invoice/invoice.css index 842a0fa8..09382af3 100644 --- a/pages/plugins/invoice/invoice/invoice.css +++ b/pages/plugins/invoice/invoice/invoice.css @@ -1,6 +1,28 @@ /* * 导航 */ -.nav-base .item { - width: 20%; +.scroll-box-ece-nav { + height: calc(100vh - 312rpx); +} + +/* +* 发票内容 +*/ +.item-operation button { + padding: 0 48rpx; + height: 60rpx; + line-height: 60rpx; +} + +/* +* 底部按钮 +*/ +.submit-container { + padding: 42rpx 46rpx; + z-index: 0; +} + +.submit-container button { + height: 88rpx; + line-height: 88rpx; } \ No newline at end of file diff --git a/pages/plugins/invoice/invoice/invoice.vue b/pages/plugins/invoice/invoice/invoice.vue index b30e1093..297fc3a1 100644 --- a/pages/plugins/invoice/invoice/invoice.vue +++ b/pages/plugins/invoice/invoice/invoice.vue @@ -1,36 +1,45 @@ diff --git a/pages/plugins/invoice/order/order.css b/pages/plugins/invoice/order/order.css index c3032a7b..0a5a6ff9 100644 --- a/pages/plugins/invoice/order/order.css +++ b/pages/plugins/invoice/order/order.css @@ -10,9 +10,11 @@ * 合并按钮 */ .invoice-merge-submit { - width: 220rpx; - height: 70rpx !important; - line-height: 74rpx !important; - left: calc(50% - 110rpx); - bottom: 50rpx; + padding: 42rpx 46rpx; + z-index: 0; +} + +.invoice-merge-submit button { + height: 88rpx; + line-height: 88rpx; } \ No newline at end of file diff --git a/pages/plugins/invoice/order/order.vue b/pages/plugins/invoice/order/order.vue index 56cf3795..d51cb428 100644 --- a/pages/plugins/invoice/order/order.vue +++ b/pages/plugins/invoice/order/order.vue @@ -4,28 +4,38 @@ - - - {{ item.add_time }} + + + {{ item.add_time }} - {{ fv.name }} - {{ item[fv.field] }} - {{ fv.unit }} + {{ fv.name }}: + {{ item[fv.field] }} + {{ fv.unit }} - - + + - + + + @@ -39,217 +49,215 @@ diff --git a/pages/plugins/invoice/user/user.vue b/pages/plugins/invoice/user/user.vue index e270da8b..9d7f3425 100644 --- a/pages/plugins/invoice/user/user.vue +++ b/pages/plugins/invoice/user/user.vue @@ -7,16 +7,16 @@ - {{item.title}} + {{ item.title }} - + - {{item}} + {{ item }} @@ -28,7 +28,7 @@ \ No newline at end of file + diff --git a/pages/plugins/wallet/cash-auth/cash-auth.vue b/pages/plugins/wallet/cash-auth/cash-auth.vue index a81c68b8..eb4a6cb9 100644 --- a/pages/plugins/wallet/cash-auth/cash-auth.vue +++ b/pages/plugins/wallet/cash-auth/cash-auth.vue @@ -9,7 +9,7 @@ 请选择认证账号 - {{ check_account_list[check_account_value]["msg"] }} + {{ check_account_list[check_account_value]['msg'] }} @@ -64,241 +64,241 @@ diff --git a/pages/plugins/wallet/recharge/recharge.vue b/pages/plugins/wallet/recharge/recharge.vue index 2217b604..cc7caef8 100644 --- a/pages/plugins/wallet/recharge/recharge.vue +++ b/pages/plugins/wallet/recharge/recharge.vue @@ -2,7 +2,7 @@ - + @@ -21,7 +21,7 @@ data_list_loding_status: 1, data_list_loding_msg: '', recharge_money_value: '', - form_submit_disabled_status: false + form_submit_disabled_status: false, }; }, @@ -31,7 +31,7 @@ onLoad(params) { this.setData({ params: params, - recharge_money_value: params.money || '' + recharge_money_value: params.money || '', }); }, @@ -44,23 +44,23 @@ methods: { init() { - var user = app.globalData.get_user_info(this, "init"); + var user = app.globalData.get_user_info(this, 'init'); if (user != false) { // 用户未绑定用户则转到登录页面 if (app.globalData.user_is_need_login(user)) { uni.redirectTo({ - url: "/pages/login/login?event_callback=init" + url: '/pages/login/login?event_callback=init', }); this.setData({ data_list_loding_status: 2, - data_list_loding_msg: '请先绑定手机号码' + data_list_loding_msg: '请先绑定手机号码', }); return false; } } else { this.setData({ data_list_loding_status: 2, - data_list_loding_msg: '请先授权用户信息' + data_list_loding_msg: '请先授权用户信息', }); } }, @@ -68,7 +68,7 @@ // 充值金额输入事件 recharge_money_value_input_event(e) { this.setData({ - recharge_money_value: e.detail.value || '' + recharge_money_value: e.detail.value || '', }); }, @@ -81,27 +81,27 @@ } this.setData({ - form_submit_disabled_status: true + form_submit_disabled_status: true, }); uni.showLoading({ - title: '处理中...' + title: '处理中...', }); uni.request({ - url: app.globalData.get_request_url("create", "recharge", "wallet"), + url: app.globalData.get_request_url('create', 'recharge', 'wallet'), method: 'POST', data: { - money: this.recharge_money_value + money: this.recharge_money_value, }, dataType: 'json', - success: res => { + success: (res) => { this.setData({ - form_submit_disabled_status: false + form_submit_disabled_status: false, }); uni.hideLoading(); if (res.data.code == 0) { - uni.setStorageSync(app.globalData.data.cache_page_pay_key, {order_ids: res.data.data.recharge_id}); + uni.setStorageSync(app.globalData.data.cache_page_pay_key, { order_ids: res.data.data.recharge_id }); uni.redirectTo({ - url: '/pages/plugins/wallet/user-recharge/user-recharge' + url: '/pages/plugins/wallet/user/user?status=1', }); } else { if (app.globalData.is_login_check(res.data)) { @@ -113,16 +113,16 @@ }, fail: () => { this.setData({ - form_submit_disabled_status: false + form_submit_disabled_status: false, }); uni.hideLoading(); app.globalData.showToast('服务器请求出错'); - } + }, }); - } - } + }, + }, }; \ No newline at end of file + diff --git a/pages/plugins/wallet/user-cash/user-cash.css b/pages/plugins/wallet/user-cash/user-cash.css deleted file mode 100644 index 5a3a6ad3..00000000 --- a/pages/plugins/wallet/user-cash/user-cash.css +++ /dev/null @@ -1,6 +0,0 @@ -/* -* 导航 -*/ -.nav-base .item { - width: 25%; -} \ No newline at end of file diff --git a/pages/plugins/wallet/user-cash/user-cash.vue b/pages/plugins/wallet/user-cash/user-cash.vue deleted file mode 100644 index 02bab100..00000000 --- a/pages/plugins/wallet/user-cash/user-cash.vue +++ /dev/null @@ -1,242 +0,0 @@ - - - diff --git a/pages/plugins/wallet/user-recharge/user-recharge.css b/pages/plugins/wallet/user-recharge/user-recharge.css deleted file mode 100644 index 18b957ae..00000000 --- a/pages/plugins/wallet/user-recharge/user-recharge.css +++ /dev/null @@ -1,20 +0,0 @@ -/* -* 导航 -*/ -.nav-base .item { - width: 33.33%; -} - -/** -* 支付方式 -*/ -.payment-list .item { - width: 50%; -} -.payment-list .item-content { - padding: 20rpx 10rpx; -} -.payment-list .item-content image { - width: 50rpx; - height: 50rpx !important; -} \ No newline at end of file diff --git a/pages/plugins/wallet/user-recharge/user-recharge.vue b/pages/plugins/wallet/user-recharge/user-recharge.vue deleted file mode 100644 index 08ab63f2..00000000 --- a/pages/plugins/wallet/user-recharge/user-recharge.vue +++ /dev/null @@ -1,705 +0,0 @@ - - - diff --git a/pages/plugins/wallet/user/user.css b/pages/plugins/wallet/user/user.css index 6868ad9c..2130d1bf 100644 --- a/pages/plugins/wallet/user/user.css +++ b/pages/plugins/wallet/user/user.css @@ -1,28 +1,69 @@ /* * 基础 */ -.submit-container { - right: 20rpx; - bottom: 20rpx; +.wallet-bg { + /* #ifdef H5 || APP */ + top: -80rpx !important; + /* #endif */ +} + +.scroll-wallet { + height: calc(100vh - 172rpx); +} + +.wallet-head .content { + border-radius: 24rpx; + padding: 24rpx; +} + +.content-padding-1 { + padding: 2rpx; + left: -4rpx; + right: -4rpx; + top: -4rpx; +} + +.filter-blur { + backdrop-filter: blur(40rpx); +} + +.filter-blur-child { + top: 0; + bottom: 0; + filter: blur(0rpx); +} + +.effective { + font-size: 72rpx; +} + +.freeze, +.give { + font-size: 42rpx; + text-shadow: 0px 1px 4px rgba(234, 44, 44, 0.46); } /* * 导航 */ -.nav .item { - width: calc(50% - 70rpx); - margin-bottom: 20rpx; +.nav .active { + width: 64px; + height: 4px; + bottom: 0; } -.nav .item:nth-child(2n) { - margin-right: 20rpx; - margin-left: 10rpx; -} -.nav .item:nth-child(2n+1) { - margin-left: 20rpx; - margin-right: 10rpx; +/* +* 底部按钮 +*/ +.submit-container { + padding: 42rpx 46rpx; + z-index: 0; } -.nav .item image { - width: 80rpx; - height: 80rpx; - margin: 0 auto; + +.submit-container .sub-btn { + width: calc(50% - 20rpx); +} + +.submit-container button { + height: 88rpx; + line-height: 88rpx; } \ No newline at end of file diff --git a/pages/plugins/wallet/user/user.vue b/pages/plugins/wallet/user/user.vue index 4e323a17..2c41515f 100644 --- a/pages/plugins/wallet/user/user.vue +++ b/pages/plugins/wallet/user/user.vue @@ -1,166 +1,245 @@ diff --git a/pages/plugins/wallet/wallet-log/wallet-log.css b/pages/plugins/wallet/wallet-log/wallet-log.css deleted file mode 100644 index c267deb5..00000000 --- a/pages/plugins/wallet/wallet-log/wallet-log.css +++ /dev/null @@ -1,6 +0,0 @@ -/* -* 导航 -*/ -.nav-base .item { - width: 33.33%; -} \ No newline at end of file diff --git a/pages/plugins/wallet/wallet-log/wallet-log.vue b/pages/plugins/wallet/wallet-log/wallet-log.vue deleted file mode 100644 index ebeb60df..00000000 --- a/pages/plugins/wallet/wallet-log/wallet-log.vue +++ /dev/null @@ -1,244 +0,0 @@ - - -