diff --git a/common/config.js b/common/config.js index e8083e6..bc7c7ef 100644 --- a/common/config.js +++ b/common/config.js @@ -1,5 +1,6 @@ // const debug = process.env.NODE_ENV == 'development' ? true : false; -const debug = false; // false线上 true本地 +// const debug = false; // false线上 true本地 +const debug = true; // false线上 true本地 let baseUrl = '' let baseUrlwws = '' diff --git a/pages/index/indexs.vue b/pages/index/indexs.vue index aa21830..0cfbdc8 100644 --- a/pages/index/indexs.vue +++ b/pages/index/indexs.vue @@ -27,7 +27,6 @@ - @@ -125,27 +124,6 @@ import { getMemberConfig, getRechargeConfig } from '@/common/api/index/index.js' import { ref, reactive, defineProps, defineEmits, onMounted } from 'vue'; import { isJsonArrayString } from '@/utils/util.js'; -function openContact() { - wx.openCustomerServiceChat({ - corpId: 'wwc76ab19fa6df267f', - extInfo: { - url: 'https://work.weixin.qq.com/kfid/kfc40ac2dc5e20c2e8e' - }, - // 成功回调 - success: (res) => { - console.log('跳转企业微信客服成功', res); - }, - // 失败回调 - fail: (err) => { - console.error('跳转企业微信客服失败', err); - uni.showToast({ - title: '跳转客服失败,请稍后重试', - icon: 'none' - }); - } - }); -} - const attractPopupRef = ref(null); const imgs = { diff --git a/pages/user/user.vue b/pages/user/user.vue index 3c6fb91..4bbb33f 100644 --- a/pages/user/user.vue +++ b/pages/user/user.vue @@ -1,12 +1,16 @@ \ No newline at end of file + + .my_item { + background-color: #fff; + padding: 0 32rpx; + border-radius: 18rpx; + + .my_item_title { + font-weight: bold; + font-size: 32rpx; + color: #333333; + font-family: Source Han Sans CN, Source Han Sans CN; + } + } + + .my_assets { + .my_item_title { + margin-bottom: 26rpx; + } + + .my_assets_list { + display: flex; + justify-content: space-around; + padding: 0 38rpx; + + .my_list_item { + display: flex; + flex-direction: column; + align-items: center; + + .my_list_item_icon { + width: 52rpx; + height: 44rpx; + } + + .my_list_item_name { + font-weight: 500; + font-size: 24rpx; + color: #333333; + margin-top: 16rpx; + margin-bottom: 16rpx; + } + + .my_list_item_num { + font-weight: 400; + font-size: 20rpx; + color: #e3ad7f; + } + } + } + } + + .my_fun { + .my_item_title { + margin-bottom: 18rpx; + } + + .my_fun_list { + display: flex; + flex-direction: column; + + .my_list_item { + display: flex; + align-items: center; + justify-content: space-between; + padding: 24rpx 0 26rpx 0; + border-bottom: 1rpx solid #e5e5e5; + + .my_list_item_left { + display: flex; + align-items: center; + + .my_list_item_icon { + width: 44rpx; + height: 44rpx; + margin-right: 18rpx; + } + + .my_list_item_name { + font-weight: 400; + font-size: 28rpx; + color: #333333; + } + } + } + + .my_list_item:last-child { + border-bottom: none; + } + } + } +} + +.card-list { + display: grid; + grid-template-columns: repeat(4, 1fr); + column-gap: 40rpx; + margin-top: 20rpx; + + .card-list-item { + max-width: 182rpx; + box-shadow: 8rpx 8rpx 32rpx 0 #0b18390f; + border-radius: 0 0 20rpx 20rpx; + + .info { + padding-bottom: 16rpx; + border-radius: 0 0 20rpx 20rpx; + overflow: hidden; + } + } +} + +.qrcode { + padding: 24rpx; + margin: 60rpx 32rpx 60rpx 32rpx; + border-radius: 18rpx; + border: 2rpx solid #d9d9d9; +} + +.qrcode-box { + position: fixed; + transform: translateX(200vw, 200vh); +} + +.right-icons { + display: flex; + + .my_info_right_qr { + width: 50rpx; + height: 50rpx; + } + + .msg-icon-wrapper { + position: relative; + margin-left: 30rpx; + } + + .my-msg-icon { + width: 50rpx; + height: 50rpx; + } + + // 角标样式 + .badge { + position: absolute; + top: -8rpx; + right: -8rpx; + min-width: 32rpx; + height: 32rpx; + background-color: #ff3b30; + border-radius: 16rpx; + display: flex; + align-items: center; + justify-content: center; + padding: 0 6rpx; + z-index: 10; + + .badge-text { + color: white; + font-size: 20rpx; + font-weight: bold; + line-height: 1; + text-align: center; + } + } +} +