feat:优化数字积分

This commit is contained in:
2026-08-24 14:21:26 +08:00
parent e8d4fd6cd4
commit d65083aa51
2 changed files with 226 additions and 248 deletions
+210 -229
View File
@@ -1,231 +1,212 @@
{ {
"name": "信任桥", "name": "信任桥",
"appid": "__UNI__4910728", "appid": "__UNI__4910728",
"description": "信任桥优品是一款集线上商城、线下联盟商家的DAO聚合商城;通过“有趣”“有利”“有希望”的卖货玩法,吸引消费者、推广者、商家、投资人参与生态,共同打造共创共享的全球产业生态。", "description": "信任桥优品是一款集线上商城、线下联盟商家的DAO聚合商城;通过“有趣”“有利”“有希望”的卖货玩法,吸引消费者、推广者、商家、投资人参与生态,共同打造共创共享的全球产业生态。",
"versionName": "1.0.3", "versionName": "1.0.3",
"versionCode": 170, "versionCode": 170,
"transformPx": false, "transformPx": false,
/* 5+App特有相关 */ /* 5+App特有相关 */
"app-plus": { "app-plus": {
"name": "哈希优品", "name": "哈希优品",
"usingComponents": true, "usingComponents": true,
"nvueStyleCompiler": "uni-app", "nvueStyleCompiler": "uni-app",
"compilerVersion": 3, "compilerVersion": 3,
"ios": { "ios": {
"deploymentTarget": "13.0" "deploymentTarget": "13.0"
}, },
"splashscreen": { "splashscreen": {
"alwaysShowBeforeRender": true, "alwaysShowBeforeRender": true,
"waiting": true, "waiting": true,
"delay": 0, "delay": 0,
"duration": 0, "duration": 0,
"autoclose": false "autoclose": false
}, },
/* 模块配置 */ /* 模块配置 */
"modules": { "modules": {
"Payment": {}, "Payment": {},
"Camera": {}, "Camera": {},
"OAuth": {}, "OAuth": {},
"Share": {} "Share": {}
}, },
/* 应用发布信息 */ /* 应用发布信息 */
"distribute": { "distribute": {
/* android打包配置 */ /* android打包配置 */
"android": { "android": {
"schemes": [ "schemes": ["trustbridgeapp"],
"trustbridgeapp" "permissions": [
], "<uses-permission android:name=\"android.permission.CHANGE_NETWORK_STATE\"/>",
"permissions": [ "<uses-permission android:name=\"android.permission.MOUNT_UNMOUNT_FILESYSTEMS\"/>",
"<uses-permission android:name=\"android.permission.CHANGE_NETWORK_STATE\"/>", "<uses-permission android:name=\"android.permission.VIBRATE\"/>",
"<uses-permission android:name=\"android.permission.MOUNT_UNMOUNT_FILESYSTEMS\"/>", "<uses-permission android:name=\"android.permission.READ_LOGS\"/>",
"<uses-permission android:name=\"android.permission.VIBRATE\"/>", "<uses-permission android:name=\"android.permission.ACCESS_WIFI_STATE\"/>",
"<uses-permission android:name=\"android.permission.READ_LOGS\"/>", "<uses-feature android:name=\"android.hardware.camera.autofocus\"/>",
"<uses-permission android:name=\"android.permission.ACCESS_WIFI_STATE\"/>", "<uses-permission android:name=\"android.permission.ACCESS_NETWORK_STATE\"/>",
"<uses-feature android:name=\"android.hardware.camera.autofocus\"/>", "<uses-permission android:name=\"android.permission.CAMERA\"/>",
"<uses-permission android:name=\"android.permission.ACCESS_NETWORK_STATE\"/>", "<uses-permission android:name=\"android.permission.READ_PHONE_STATE\"/>",
"<uses-permission android:name=\"android.permission.CAMERA\"/>", "<uses-permission android:name=\"android.permission.CHANGE_WIFI_STATE\"/>",
"<uses-permission android:name=\"android.permission.READ_PHONE_STATE\"/>", "<uses-permission android:name=\"android.permission.WAKE_LOCK\"/>",
"<uses-permission android:name=\"android.permission.CHANGE_WIFI_STATE\"/>", "<uses-permission android:name=\"android.permission.FLASHLIGHT\"/>",
"<uses-permission android:name=\"android.permission.WAKE_LOCK\"/>", "<uses-feature android:name=\"android.hardware.camera\"/>",
"<uses-permission android:name=\"android.permission.FLASHLIGHT\"/>", "<uses-permission android:name=\"android.permission.WRITE_SETTINGS\"/>"
"<uses-feature android:name=\"android.hardware.camera\"/>", ],
"<uses-permission android:name=\"android.permission.WRITE_SETTINGS\"/>" "abiFilters": ["armeabi-v7a", "arm64-v8a"],
], "targetSdkVersion": 30,
"abiFilters": [ "minSdkVersion": 21
"armeabi-v7a", },
"arm64-v8a" /* ios打包配置 */
], "ios": {
"targetSdkVersion": 30, "dSYMs": false,
"minSdkVersion": 21 "idfa": false,
}, "urltypes": [{
/* ios打包配置 */ "urlidentifier": "com.trustbridgeapp.mm",
"ios": { "urlschemes": ["trustbridgeapp"]
"dSYMs": false, }],
"idfa": false, "associatedDomains": ["applinks:ulink.trustbridgeapp.com"],
"urltypes": [ "capabilities": {
{ "entitlements": {
"urlidentifier": "com.trustbridgeapp.mm", "com.apple.developer.associated-domains": ["applinks:app.tbmall.xin"]
"urlschemes": [ }
"trustbridgeapp" },
] "privacyDescription": {
} "NSPhotoLibraryUsageDescription": "App需要您的同意才能访问相册,以便您选择本地图片上传头像或发布商品评价。例如:当您修改个人头像或发布带图评价时,需要从相册选择图片。",
], "NSPhotoLibraryAddUsageDescription": "App需要您的同意才能添加图片到相册,以便您保存商品海报或图片到本地。例如:当您点击保存商品分享海报时,需要写入相册权限。",
"associatedDomains": [ "NSCameraUsageDescription": "App需要您的同意才能访问相机,以便您拍摄图片上传头像或发布商品评价。例如:当您修改个人头像或发布带图评价时,需要使用相机拍摄照片。"
"applinks:ulink.trustbridgeapp.com" }
], },
"capabilities": { /* SDK配置 */
"entitlements": { "sdkConfigs": {
"com.apple.developer.associated-domains": [ "payment": {
"applinks:app.tbmall.xin" "alipay": {
] "__platform__": ["ios", "android"]
} },
}, "weixin": {
"privacyDescription": { "__platform__": ["ios", "android"],
"NSPhotoLibraryUsageDescription": "App需要您的同意才能访问相册,以便您选择本地图片上传头像或发布商品评价。例如:当您修改个人头像或发布带图评价时,需要从相册选择图片。", "appid": "wx7a5902cd556d9396",
"NSPhotoLibraryAddUsageDescription": "App需要您的同意才能添加图片到相册,以便您保存商品海报或图片到本地。例如:当您点击保存商品分享海报时,需要写入相册权限。", "UniversalLinks": "https://app.tbmall.xin/uni-universallinks/__UNI__4910728/"
"NSCameraUsageDescription": "App需要您的同意才能访问相机,以便您拍摄图片上传头像或发布商品评价。例如:当您修改个人头像或发布带图评价时,需要使用相机拍摄照片。" }
} },
}, "oauth": {
/* SDK配置 */ "weixin": {
"sdkConfigs": { "appid": "wx7a5902cd556d9396",
"payment": { "UniversalLinks": "https://app.tbmall.xin/uni-universallinks/__UNI__4910728/"
"alipay": { },
"__platform__": [ "apple": {}
"ios", },
"android" "share": {
] "weixin": {
}, "appid": "wx7a5902cd556d9396",
"weixin": { "UniversalLinks": "https://app.tbmall.xin/uni-universallinks/__UNI__4910728/"
"__platform__": [ }
"ios", }
"android" },
], "icons": {
"appid": "wx7a5902cd556d9396", "android": {
"UniversalLinks": "https://app.tbmall.xin/uni-universallinks/__UNI__4910728/" "hdpi": "unpackage/res/icons/72x72.png",
} "xhdpi": "unpackage/res/icons/96x96.png",
}, "xxhdpi": "unpackage/res/icons/144x144.png",
"oauth": { "xxxhdpi": "unpackage/res/icons/192x192.png"
"weixin": { },
"appid": "wx7a5902cd556d9396", "ios": {
"UniversalLinks": "https://app.tbmall.xin/uni-universallinks/__UNI__4910728/" "appstore": "unpackage/res/icons/1024x1024.png",
}, "ipad": {
"apple": {} "app": "unpackage/res/icons/76x76.png",
}, "app@2x": "unpackage/res/icons/152x152.png",
"share": { "notification": "unpackage/res/icons/20x20.png",
"weixin": { "notification@2x": "unpackage/res/icons/40x40.png",
"appid": "wx7a5902cd556d9396", "proapp@2x": "unpackage/res/icons/167x167.png",
"UniversalLinks": "https://app.tbmall.xin/uni-universallinks/__UNI__4910728/" "settings": "unpackage/res/icons/29x29.png",
} "settings@2x": "unpackage/res/icons/58x58.png",
} "spotlight": "unpackage/res/icons/40x40.png",
}, "spotlight@2x": "unpackage/res/icons/80x80.png"
"icons": { },
"android": { "iphone": {
"hdpi": "unpackage/res/icons/72x72.png", "app@2x": "unpackage/res/icons/120x120.png",
"xhdpi": "unpackage/res/icons/96x96.png", "app@3x": "unpackage/res/icons/180x180.png",
"xxhdpi": "unpackage/res/icons/144x144.png", "notification@2x": "unpackage/res/icons/40x40.png",
"xxxhdpi": "unpackage/res/icons/192x192.png" "notification@3x": "unpackage/res/icons/60x60.png",
}, "settings@2x": "unpackage/res/icons/58x58.png",
"ios": { "settings@3x": "unpackage/res/icons/87x87.png",
"appstore": "unpackage/res/icons/1024x1024.png", "spotlight@2x": "unpackage/res/icons/80x80.png",
"ipad": { "spotlight@3x": "unpackage/res/icons/120x120.png"
"app": "unpackage/res/icons/76x76.png", }
"app@2x": "unpackage/res/icons/152x152.png", }
"notification": "unpackage/res/icons/20x20.png", },
"notification@2x": "unpackage/res/icons/40x40.png", "splashscreen": {
"proapp@2x": "unpackage/res/icons/167x167.png", "useOriginalMsgbox": true,
"settings": "unpackage/res/icons/29x29.png", "iosStyle": "common",
"settings@2x": "unpackage/res/icons/58x58.png", "androidStyle": "common"
"spotlight": "unpackage/res/icons/40x40.png", }
"spotlight@2x": "unpackage/res/icons/80x80.png" },
}, /*忽略版本提示*/
"iphone": { "compatible": {
"app@2x": "unpackage/res/icons/120x120.png", "ignoreVersion": true
"app@3x": "unpackage/res/icons/180x180.png", },
"notification@2x": "unpackage/res/icons/40x40.png", "nativePlugins": {
"notification@3x": "unpackage/res/icons/60x60.png", "Hyy-Alipay": {
"settings@2x": "unpackage/res/icons/58x58.png", "__plugin_info__": {
"settings@3x": "unpackage/res/icons/87x87.png", "name": "【免费开源】支付宝,授权,授权登录",
"spotlight@2x": "unpackage/res/icons/80x80.png", "description": "用过支付宝原生sdk,原生授权登录,更安全,有问题请联系作者",
"spotlight@3x": "unpackage/res/icons/120x120.png" "platforms": "Android",
} "url": "https://ext.dcloud.net.cn/plugin?id=11931",
} "android_package_name": "",
}, "ios_bundle_id": "",
"splashscreen": { "isCloud": true,
"useOriginalMsgbox": true, "bought": 1,
"iosStyle": "common", "pid": "11931",
"androidStyle": "common" "parameters": {}
} }
}, }
/*忽略版本提示*/ }
"compatible": { },
"ignoreVersion": true /* 快应用特有相关 */
}, "quickapp": {},
"nativePlugins": { /* 小程序特有相关 */
"Hyy-Alipay": { "mp-weixin": {
"__plugin_info__": { "appid": "wx376a16a88befe265",
"name": "【免费开源】支付宝,授权,授权登录", "lazyCodeLoading": "requiredComponents",
"description": "用过支付宝原生sdk,原生授权登录,更安全,有问题请联系作者", "setting": {
"platforms": "Android", "urlCheck": false,
"url": "https://ext.dcloud.net.cn/plugin?id=11931", "minified": true,
"android_package_name": "", "uglifyFileName": true,
"ios_bundle_id": "", "es6": true,
"isCloud": true, "postcss": true,
"bought": 1, "sourcemap": false
"pid": "11931", },
"parameters": {} "usingComponents": true,
} "optimization": {
} "subPackages": true
} }
}, },
/* 快应用特有相关 */ "mp-alipay": {
"quickapp": {}, "usingComponents": true
/* 小程序特有相关 */ },
"mp-weixin": { "mp-baidu": {
"appid": "wx376a16a88befe265", "usingComponents": true
"lazyCodeLoading": "requiredComponents", },
"setting": { "mp-toutiao": {
"urlCheck": false, "usingComponents": true
"minified": true, },
"uglifyFileName": true, "uniStatistics": {
"es6": true, "enable": false
"postcss": true, },
"sourcemap": false "vueVersion": "3",
}, "_spaceID": "mp-16f2830d-655c-4ed2-9763-d0258ba65ad9",
"usingComponents": true, "h5": {
"optimization": { "router": {
"subPackages": true "mode": "hash",
} "base": ""
}, },
"mp-alipay": { "devServer": {
"usingComponents": true "port": 5173,
}, "proxy": {
"mp-baidu": { "/proxy-api": {
"usingComponents": true "target": "https://api.o.tbmall.xin",
}, "changeOrigin": true,
"mp-toutiao": { "pathRewrite": {
"usingComponents": true "^/proxy-api": ""
}, }
"uniStatistics": { }
"enable": false }
}, }
"vueVersion": "3", }
"_spaceID": "mp-16f2830d-655c-4ed2-9763-d0258ba65ad9",
"h5": {
"router": {
"mode": "hash",
"base": ""
},
"devServer": {
"port": 5173,
"proxy": {
"/proxy-api": {
"target": "https://api.o.tbmall.xin",
"changeOrigin": true,
"pathRewrite": {
"^/proxy-api": ""
}
}
}
}
}
} }
+15 -18
View File
@@ -18,12 +18,12 @@
<text class="text-fu1 text-24 text-w-400">推广锁定量(数字积分)</text> <text class="text-fu1 text-24 text-w-400">推广锁定量(数字积分)</text>
</view> </view>
</view> </view>
<view class="tab-view"> <!-- <view class="tab-view">
<view class="tab-list" @click="onTab(index)" v-for="(item, index) in tabList" :key="index"> <view class="tab-list" @click="onTab(index)" v-for="(item, index) in tabList" :key="index">
<text class="text-32" :style="{ color: index == curTab ? '#7934F6' : '#666666' }">{{ item }}</text> <text class="text-32" :style="{ color: index == curTab ? '#7934F6' : '#666666' }">{{ item }}</text>
<view class="tab-line" v-if="index == curTab"></view> <view class="tab-line" v-if="index == curTab"></view>
</view> </view>
</view> </view> -->
</view> </view>
<view class="box-panel" v-if="curTab == 0"> <view class="box-panel" v-if="curTab == 0">
<view class="box-list"> <view class="box-list">
@@ -58,7 +58,7 @@
</view> </view>
</view> </view>
<view class="box-list" style="margin-top:24rpx;"> <!-- <view class="box-list" style="margin-top:24rpx;">
<view class="head-box"> <view class="head-box">
<text class="text-gray text-28 text-bold">自购解锁</text> <text class="text-gray text-28 text-bold">自购解锁</text>
<text class="text-fu1 text-24 text-w-400">您的数字积分奖励将随着推广业绩的提升逐步解锁。</text> <text class="text-fu1 text-24 text-w-400">您的数字积分奖励将随着推广业绩的提升逐步解锁。</text>
@@ -88,24 +88,19 @@
</view> </view>
</view> </view> -->
</view> </view>
<view class="box-panel mt-32 mb-32" v-if="curTab == 0"> <view class="box-panel mt-32 mb-32" v-if="curTab == 0">
<text class="text-gray text-28 text-bold" style="font-weight: bold;">数字积分获取说明</text> <text class="text-gray text-28 text-bold" style="font-weight: bold;">数字积分获取说明</text>
<text class="text-fu text-24" <text class="text-fu text-24" style="margin-top:24rpx">1.商城优选区消费根据毛利的1:1获得贡献值,次日根据当入商城营收占比获得数字积分。</text>
style="margin-top:24rpx">1.商城优选区消费1:1获得贡献值,每消费1元获得1贡献值,次日根据当日商城营收占比获得数字积分。</text> <text class="text-fu text-24 " style="margin-top:24rpx">2.直推用户消费可获得贡献值的10%的50%数字积分奖励。</text>
<text class="text-fu text-24 " style="margin-top:24rpx">2.直推用户消费10:1获得贡献值,直推用户优选区每消费10元您将获得1积分。</text>
<text class="text-fu text-24 " style="margin-top:24rpx">3.积分获得后均为锁定状态。</text> <text class="text-fu text-24 " style="margin-top:24rpx">3.积分获得后均为锁定状态。</text>
<text class="text-gray text-28 text-bold" style="margin-top:48rpx">数字积分解锁说明</text> <text class="text-gray text-28 text-bold" style="margin-top:48rpx">数字积分解释说明</text>
<text class="text-fu text-24 " style="margin-top:24rpx">1.您本人在商城消费获得的积分,每日按1‰自然解锁。</text> <text class="text-fu text-24 " style="margin-top:24rpx">1.您本人在商城消费获得的积分,每日按1‰自然解锁。</text>
<text class="text-fu text-24 " style="margin-top:24rpx">2.直推用户消费获得的贡献值5:1解锁您本人消费获得的数字积分。</text> <text class="text-fu text-24 " style="margin-top:24rpx">2.直推用户消费获得的贡献值5:1解锁您本人消费获得的数字积分。</text>
<text class="text-fu text-24 " <text class="text-fu text-24 "
style="margin-top:24rpx">3.直推获得的奖励,根据您在商城的消费获得的贡献值2:1进行解锁,每获得2贡献值解锁1积分。</text> style="margin-top:24rpx">3.若发生退货退款等因素,信任桥将回收各部分奖励,若数字积分已兑换,则不符合7天无理由退货。</text>
<text class="text-fu text-24 " <text class="text-fu text-24 " style="margin-top:24rpx">4.最终解释权归信任桥所有。</text>
style="margin-top:24rpx">4.直推获得的奖励有效期7日,7日未解锁的部分将自动归属于上级,上级获得该奖励后也为锁定状态有效期7日,7日未解锁的部分将自动销毁</text>
<text class="text-fu text-24 "
style="margin-top:24rpx">5.若发生退货退款等因素,信任桥将回收各部分奖励,若数字积分已兑换,则不符合7天无理由退货。</text>
<text class="text-fu text-24 " style="margin-top:24rpx">6.最终解释权归信任桥所有。</text>
</view> </view>
<!-- (2)转盘抽奖获得 --> <!-- (2)转盘抽奖获得 -->
<view class="tab-two-panel" v-if="curTab == 1"> <view class="tab-two-panel" v-if="curTab == 1">
@@ -121,22 +116,24 @@
<view class="time-panel"> <view class="time-panel">
<view class="time__custom"> <view class="time__custom">
<text class="text-24" style="color:#FE2E2E">{{ <text class="text-24" style="color:#FE2E2E">{{
item.timeData.days > 10 ? item.timeData.days : '0' + item.timeData.days}}</text> item.timeData.days > 10 ? item.timeData.days : '0' +
item.timeData.days }}</text>
</view> </view>
<text class="text-zu text-24" style="margin:0 10rpx">天</text> <text class="text-zu text-24" style="margin:0 10rpx">天</text>
<view class="time__custom"> <view class="time__custom">
<text class="text-24" style="color:#FE2E2E">{{ <text class="text-24" style="color:#FE2E2E">{{
item.timeData.hours > 10 ? item.timeData.hours : '0' + item.timeData.hours}}</text> item.timeData.hours > 10 ? item.timeData.hours : '0' +
item.timeData.hours }}</text>
</view> </view>
<text class="text-24" style="margin:0 10rpx">:</text> <text class="text-24" style="margin:0 10rpx">:</text>
<view class="time__custom"> <view class="time__custom">
<text class="text-24" style="color:#FE2E2E">{{ item.timeData.minutes <text class="text-24" style="color:#FE2E2E">{{ item.timeData.minutes
}}</text> }}</text>
</view> </view>
<text class="text-24" style="margin:0 10rpx">:</text> <text class="text-24" style="margin:0 10rpx">:</text>
<view class="time__custom"> <view class="time__custom">
<text class="text-24" style="color:#FE2E2E">{{ item.timeData.seconds <text class="text-24" style="color:#FE2E2E">{{ item.timeData.seconds
}}</text> }}</text>
</view> </view>
</view> </view>
</u-count-down> </u-count-down>