diff --git a/components/Book.vue b/components/Book.vue new file mode 100644 index 0000000..1720f0e --- /dev/null +++ b/components/Book.vue @@ -0,0 +1,334 @@ + + + + + diff --git a/pages/index/iSoul.vue b/pages/index/iSoul.vue index 41ce48f..e25b46c 100644 --- a/pages/index/iSoul.vue +++ b/pages/index/iSoul.vue @@ -40,11 +40,6 @@ ID:{{ userInfo.redBookId || "123456" }} - @@ -75,14 +70,14 @@ - + - + 待激活的Agent @@ -118,9 +113,26 @@ 私信 --> + + + + + + + + 数字资产权益 + + - {{ asset.actionText }} - + {{ asset.actionText }} + @@ -173,21 +185,17 @@ - - - + + 待使用 - - + 待收货 - - + 已完成 - - + 售后/退款 @@ -205,22 +213,18 @@ > - 购物车 - 待发货 - 退货/退款 - 评价 @@ -333,6 +337,15 @@ 确认兑换 + + + 如何查找兑换码 + + + 前往「君到苏州」平台>> + 【我的】→【权益订单】>>复制权益码 + + @@ -454,7 +467,7 @@ export default { "/uploads/20250729/42598a2dcf4c9a6f8c6e122e54b65c4f.png", badge: "待使用", name: item.goodsTitle || "数字资产权益", - desc: item.type==1?'您的专属数字资产':item.type==2?'IP资源商品': item.skuName, + desc: item.type==1?'IP数字资产':item.type==2?'IP周边': item.skuName, actionText:item.type==1?'去查看':item.type==2?'去预约': "去核销", status: "待使用", ...item, // 保留原始数据 @@ -1074,28 +1087,28 @@ view { } .asset-badge { - background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); - color: white; + background: linear-gradient(135deg, #fffdb7 0%, #97fffa 100%); + color: black; font-size: 20rpx; padding: 6rpx 12rpx; border-radius: 16rpx; display: inline-block; margin-bottom: 12rpx; font-weight: 500; - box-shadow: 0 4rpx 12rpx rgba(102, 126, 234, 0.3); } .asset-name { - font-size: 28rpx; - font-weight: bold; + font-size: 26rpx; + font-weight: 500; margin-bottom: 6rpx; line-height: 1.3; } .asset-desc { - font-size: 22rpx; - color: rgba(255, 255, 255, 0.8); + font-size: 34rpx; + color: white; margin-bottom: 16rpx; + font-weight: bold; line-height: 1.4; } @@ -1103,7 +1116,7 @@ view { display: flex; align-items: center; justify-content: space-between; - background: rgba(255, 255, 255, 0.1); + background: linear-gradient(135deg, #fffdb7e6 0%, #97fffab5 100%); border-radius: 20rpx; padding: 10rpx 16rpx; backdrop-filter: blur(10rpx); @@ -1112,10 +1125,10 @@ view { min-width: 0; } -.action-text { - font-size: 24rpx; - font-weight: 500; - color: white; +.action-text-order { + font-size: 26rpx; + font-weight: bold; + color: black; flex-shrink: 0; overflow: hidden; text-overflow: ellipsis; @@ -1129,6 +1142,14 @@ view { flex-shrink: 0; margin-left: 8rpx; } +.action-arrow-order{ + font-size: 26rpx; + font-weight: bold; + color: black; + transition: transform 0.3s ease; + flex-shrink: 0; + margin-left: 8rpx; +} .asset-card:active .action-arrow { transform: translateX(6rpx); @@ -1138,7 +1159,6 @@ view { .asset-card-old { border-radius: 20rpx; overflow: hidden; - margin-bottom: 20rpx; } /* 底部操作按钮 */ @@ -1150,20 +1170,9 @@ view { font-size: 25rpx; } -.asset-action { - flex: 1; - display: flex; - flex-direction: column; - align-items: center; - padding: 0 10rpx; - font-size: 24rpx; - color: #666; - position: relative; -} -.asset-action.active { - color: #ff4757; -} + + .action-icon { width: 36rpx; @@ -1225,8 +1234,8 @@ view { flex-direction: column; align-items: center; padding: 20rpx 10rpx; - font-size: 24rpx; - color: #666; + font-size: 26rpx; + color: #000000; } .goods-action.active { @@ -1254,9 +1263,9 @@ view { .divider-text { padding: 0 30rpx; - font-size: 28rpx; + font-size: 30rpx; color: #000000; - font-weight: 500; + font-weight: bold; white-space: nowrap; } @@ -1310,7 +1319,7 @@ view { } .single-badge { - background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); + background: linear-gradient(135deg, #77F3F9 0%, #764ba2 100%); color: white; font-size: 22rpx; padding: 8rpx 16rpx; @@ -1524,7 +1533,7 @@ view { box-sizing: border-box; &:focus { - border-color: #667eea; + border-color: #77F3F9; } } @@ -1553,11 +1562,32 @@ view { .cancel-btn { background: #f5f5f5; - color: #666; + color: #77F3F9; } .confirm-btn { - background: #667eea; - color: #ffffff; + background: #77F3F9; + color: #000000; +} +.column-divider { + width: 2rpx; + height: 60rpx; + background: rgba(0, 0, 0, 0.1); + margin: 35rpx 16rpx; + flex-shrink: 0; +} +.action-box{ + display: flex; + align-items: center; + justify-content: space-around; + padding: 20rpx 40rpx 0; +} + +.popup-actions-bottom{ + color: #989898; + font-weight: bold; + font-size: 28rpx; + margin-top: 30rpx; + margin-bottom: 30rpx; } diff --git a/static/js/request.js b/static/js/request.js index f106497..0acc4b6 100644 --- a/static/js/request.js +++ b/static/js/request.js @@ -7,8 +7,8 @@ const DEV_API_URL = 'https://epic.js-dyyj.com'; // const PROD_API_URL = 'https://epic.js-dyyj.com'; const PROD_API_URL = 'https://epic.new.js-dyyj.com'; const NEWAPIURL = process.env.NODE_ENV === 'development' ? DEV_API_URL : PROD_API_URL; -// const DEV_API_URL_DES = 'http://192.168.124.118:8083/xcx'; -const DEV_API_URL_DES = 'https://des.js-dyyj.com/xcx'; +const DEV_API_URL_DES = 'http://192.168.124.118:8083/xcx'; +// const DEV_API_URL_DES = 'https://des.js-dyyj.com/xcx'; const PROD_API_URL_DES = 'https://des.js-dyyj.com/xcx'; const NEWAPIURL_DES = process.env.NODE_ENV === 'development' ? DEV_API_URL_DES : PROD_API_URL_DES; const getToken = () => {