From eb425fff32305ddbff65fab7d8225ddc4ca03d98 Mon Sep 17 00:00:00 2001 From: woody Date: Fri, 22 Aug 2025 09:29:36 +0800 Subject: [PATCH] =?UTF-8?q?feat(share):=20=E5=8C=97=E5=A4=A7=E7=B3=BB?= =?UTF-8?q?=E7=BB=9F=E5=88=86=E4=BA=AB=E6=B3=A8=E5=86=8C=E9=80=BB=E8=BE=91?= =?UTF-8?q?=E8=BF=81=E7=A7=BB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- App.vue | 6 +- config/login.js | 6 +- config/request.js | 2 +- pages/mine/share/index.vue | 2 +- pages/pay/hiPay.vue | 635 ++++++++++++++++++++---------------- pages/shareArea/hiList.vue | 600 ++++++++++++++++++++++++++-------- pages/shareArea/hiOrder.vue | 203 ++++-------- pages/shareRegist/index.vue | 296 +++++------------ 8 files changed, 959 insertions(+), 791 deletions(-) diff --git a/App.vue b/App.vue index 9742ad5..ac83e03 100644 --- a/App.vue +++ b/App.vue @@ -16,9 +16,9 @@ export default { 'pages/login/index', // 'pages/wechatPay/bfPay/', // 'pages/wechatPay/hfPay/', - // 'pages/shareArea/hiList', - // 'pages/shareArea/hiOrder', - // 'pages/pay/hiPay' + 'pages/shareArea/hiList', + 'pages/shareArea/hiOrder', + 'pages/pay/hiPay', ] if (whiteList.indexOf(options.path) !== -1) return this.$store.dispatch('GetInfo') diff --git a/config/login.js b/config/login.js index a473e35..9e1ea84 100644 --- a/config/login.js +++ b/config/login.js @@ -101,10 +101,10 @@ export const getMenuList = params => //海粉默认登录(H5扫码使用) export const autoLogin = params => - http.post('/retail-member/auth/api/auto-login', params) + http.post('/member/api/retail-auth/auto-login', params) //海粉商品 export const queryWares = params => - http.post('/sale/api/wares/query-spe-wares-copy', params) + http.get('/sale/api/wares/list-wares-share', { params }) //保存礼品地址 export const saveGiftAddress = params => http.post('/retail-member/api/retail-member-gift/update-gift', params) @@ -117,7 +117,7 @@ export const getUserAwards = params => //获取安置人编号 export const fansConvertCode = params => - http.get('/retail-member/api/retail-member/fans-convert-code/' + params) + http.get('/member/api/member/fans-convert-code/' + params) //获取荣誉奖衔 export const getIndexAwards = params => diff --git a/config/request.js b/config/request.js index a3863ea..b319c7b 100644 --- a/config/request.js +++ b/config/request.js @@ -20,7 +20,7 @@ module.exports = vm => { //#ifdef DEV_SERVER console.log('DEV_SERVER') - config.baseURL = 'http://t-app.beida777.com/prod-api' + config.baseURL = 'http://192.168.0.86:8080' //#endif //#ifdef QA_SERVER diff --git a/pages/mine/share/index.vue b/pages/mine/share/index.vue index d8abaf7..5020478 100644 --- a/pages/mine/share/index.vue +++ b/pages/mine/share/index.vue @@ -46,7 +46,7 @@ \ No newline at end of file + +@keyframes fadeInUp { + from { + opacity: 0; + transform: translateY(30rpx); + } + to { + opacity: 1; + transform: translateY(0); + } +} + +@keyframes slideInUp { + from { + opacity: 0; + transform: translateY(40rpx); + } + to { + opacity: 1; + transform: translateY(0); + } +} + +@keyframes pulse { + 0%, + 100% { + transform: scale(1); + } + 50% { + transform: scale(1.02); + } +} + +@keyframes promoBreathe { + 0%, + 100% { + transform: scale(1); + box-shadow: 0 8rpx 24rpx rgba(255, 107, 53, 0.4); + } + 50% { + transform: scale(1.05); + box-shadow: 0 12rpx 32rpx rgba(255, 107, 53, 0.6); + } +} + +@keyframes shimmer { + 0% { + left: -100%; + } + 50% { + left: -100%; + } + 100% { + left: 100%; + } +} + +// 商品卡片延迟动画 +.goodList_i:nth-child(1) { + animation-delay: 0.1s; +} +.goodList_i:nth-child(2) { + animation-delay: 0.2s; +} +.goodList_i:nth-child(3) { + animation-delay: 0.3s; +} +.goodList_i:nth-child(4) { + animation-delay: 0.4s; +} +.goodList_i:nth-child(5) { + animation-delay: 0.5s; +} +.goodList_i:nth-child(n + 6) { + animation-delay: 0.6s; +} + +// 响应式优化 +@media (max-width: 750rpx) { + .header-section { + padding: 40rpx 24rpx 50rpx; + + .hero-content { + .hero-title .hero-main { + font-size: 36rpx; + } + } + } + + .goodList { + .goodList_i { + padding: 20rpx; + + .cover { + width: 200rpx; + height: 200rpx; + } + + .goodList_ir { + margin-left: 20rpx; + + .tit1 { + font-size: 28rpx; + } + + .goodList_ib { + .price-container { + .price { + font-size: 32rpx; + } + } + } + + .toBuy { + padding: 18rpx 0; + font-size: 26rpx; + } + } + } + } +} + diff --git a/pages/shareArea/hiOrder.vue b/pages/shareArea/hiOrder.vue index 4152fe4..d7bbc57 100644 --- a/pages/shareArea/hiOrder.vue +++ b/pages/shareArea/hiOrder.vue @@ -1,9 +1,3 @@ -