3 Commits

Author SHA1 Message Date
6f21c57137 chore: 更新.gitignore,停止追踪忽略文件 2026-01-21 16:39:02 +08:00
115c627eed fix: 修复结算页面金额计算精度问题 2026-01-21 16:27:27 +08:00
2a9df2f1c6 fix: 修复结算页金额显示精度问题
更新manifest.json中的版本号至1.2.82
修改开发环境baseUrl配置
修复结算页金额显示格式并调整底部操作栏z-index
2026-01-21 15:06:37 +08:00
4 changed files with 9 additions and 41 deletions

View File

@@ -1,34 +0,0 @@
{
// launch.json 配置了启动调试时相关设置configurations下节点名称可为 app-plus/h5/mp-weixin/mp-baidu/mp-alipay/mp-qq/mp-toutiao/mp-360/
// launchtype项可配置值为local或remote, local代表前端连本地云函数remote代表前端连云端云函数
"version" : "0.0",
"configurations" : [
{
"app" : {
"launchtype" : "local"
},
"app-plus" : {
"launchtype" : "remote"
},
"default" : {
"launchtype" : "local"
},
"h5" : {
"launchtype" : "local"
},
"mp-weixin" : {
"launchtype" : "local"
},
"provider" : "aliyun",
"type" : "uniCloud"
},
{
"playground" : "custom",
"type" : "uni-app:app-ios"
},
{
"playground" : "custom",
"type" : "uni-app:app-android"
}
]
}

View File

@@ -2,8 +2,8 @@ let baseUrl = "";
let socketUrl = "";
if (process.env.NODE_ENV === 'development') {
//开发环境
baseUrl = "https://api.nuttyreading.com/"; // 线上正式
//baseUrl = "http://192.168.110.100:9200/pb/"; // 张川川
// baseUrl = "https://api.nuttyreading.com/"; // 线上正式
baseUrl = "http://192.168.110.100:9200/pb/"; // 张川川
} else if (process.env.NODE_ENV === 'production') {
//生产环境
baseUrl = "https://api.nuttyreading.com/";

View File

@@ -13,8 +13,8 @@
}
],
"sassImplementationName" : "node-sass",
"versionName" : "1.2.81",
"versionCode" : 1281,
"versionName" : "1.2.83",
"versionCode" : 1283,
"app-plus" : {
"compatible" : {
"ignoreVersion" : true

View File

@@ -245,7 +245,7 @@
<span style="color: #666; margin-right: 10rpx; font-size: 15px"
>实付款:
</span>
{{ realPrice }}<span>天医币</span>
{{ realPrice.toFixed(2) }}<span>天医币</span>
</view>
<view class="operate" @click="goBuyJie" v-if="payType != 4">
<view class="goBuy"> 立即支付 </view>
@@ -809,8 +809,9 @@ export default {
// }
// }
price = (item.productAmount * item.price).toFixed(2);
price = (item.productAmount * item.price);
allprice += Number(price);
allprice = parseFloat(allprice.toFixed(2));
});
this.totalPrice = allprice;
// if (this.youhuiContent.id != undefined) {
@@ -937,7 +938,7 @@ export default {
orderMoney: this.totalPrice, //订单金额
vipDiscountAmount: this.vipPrice, //折扣金额
districtMoney: this.districtAmount, //折扣金额
realMoney: this.realPrice, //实收金额
realMoney: this.realPrice.toFixed(2), //实收金额
shippingMoney: this.farePrice, //运费
couponId: youPre.id, //优惠券Id
isSend: this.isSend,
@@ -1262,6 +1263,7 @@ export default {
align-items: center;
position: fixed;
bottom: 0%;
z-index: 11;
.commodityPrice {
font-size: 40rpx;