Compare commits
3 Commits
5c9d7b89b2
...
restore2
| Author | SHA1 | Date | |
|---|---|---|---|
| 6f21c57137 | |||
| 115c627eed | |||
| 2a9df2f1c6 |
@@ -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"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
@@ -2,8 +2,8 @@ let baseUrl = "";
|
|||||||
let socketUrl = "";
|
let socketUrl = "";
|
||||||
if (process.env.NODE_ENV === 'development') {
|
if (process.env.NODE_ENV === 'development') {
|
||||||
//开发环境
|
//开发环境
|
||||||
baseUrl = "https://api.nuttyreading.com/"; // 线上正式
|
// baseUrl = "https://api.nuttyreading.com/"; // 线上正式
|
||||||
//baseUrl = "http://192.168.110.100:9200/pb/"; // 张川川
|
baseUrl = "http://192.168.110.100:9200/pb/"; // 张川川
|
||||||
} else if (process.env.NODE_ENV === 'production') {
|
} else if (process.env.NODE_ENV === 'production') {
|
||||||
//生产环境
|
//生产环境
|
||||||
baseUrl = "https://api.nuttyreading.com/";
|
baseUrl = "https://api.nuttyreading.com/";
|
||||||
|
|||||||
@@ -13,8 +13,8 @@
|
|||||||
}
|
}
|
||||||
],
|
],
|
||||||
"sassImplementationName" : "node-sass",
|
"sassImplementationName" : "node-sass",
|
||||||
"versionName" : "1.2.81",
|
"versionName" : "1.2.83",
|
||||||
"versionCode" : 1281,
|
"versionCode" : 1283,
|
||||||
"app-plus" : {
|
"app-plus" : {
|
||||||
"compatible" : {
|
"compatible" : {
|
||||||
"ignoreVersion" : true
|
"ignoreVersion" : true
|
||||||
|
|||||||
@@ -245,7 +245,7 @@
|
|||||||
<span style="color: #666; margin-right: 10rpx; font-size: 15px"
|
<span style="color: #666; margin-right: 10rpx; font-size: 15px"
|
||||||
>实付款:
|
>实付款:
|
||||||
</span>
|
</span>
|
||||||
{{ realPrice }}<span>天医币</span>
|
{{ realPrice.toFixed(2) }}<span>天医币</span>
|
||||||
</view>
|
</view>
|
||||||
<view class="operate" @click="goBuyJie" v-if="payType != 4">
|
<view class="operate" @click="goBuyJie" v-if="payType != 4">
|
||||||
<view class="goBuy"> 立即支付 </view>
|
<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 += Number(price);
|
||||||
|
allprice = parseFloat(allprice.toFixed(2));
|
||||||
});
|
});
|
||||||
this.totalPrice = allprice;
|
this.totalPrice = allprice;
|
||||||
// if (this.youhuiContent.id != undefined) {
|
// if (this.youhuiContent.id != undefined) {
|
||||||
@@ -937,7 +938,7 @@ export default {
|
|||||||
orderMoney: this.totalPrice, //订单金额
|
orderMoney: this.totalPrice, //订单金额
|
||||||
vipDiscountAmount: this.vipPrice, //折扣金额
|
vipDiscountAmount: this.vipPrice, //折扣金额
|
||||||
districtMoney: this.districtAmount, //折扣金额
|
districtMoney: this.districtAmount, //折扣金额
|
||||||
realMoney: this.realPrice, //实收金额
|
realMoney: this.realPrice.toFixed(2), //实收金额
|
||||||
shippingMoney: this.farePrice, //运费
|
shippingMoney: this.farePrice, //运费
|
||||||
couponId: youPre.id, //优惠券Id
|
couponId: youPre.id, //优惠券Id
|
||||||
isSend: this.isSend,
|
isSend: this.isSend,
|
||||||
@@ -1262,6 +1263,7 @@ export default {
|
|||||||
align-items: center;
|
align-items: center;
|
||||||
position: fixed;
|
position: fixed;
|
||||||
bottom: 0%;
|
bottom: 0%;
|
||||||
|
z-index: 11;
|
||||||
|
|
||||||
.commodityPrice {
|
.commodityPrice {
|
||||||
font-size: 40rpx;
|
font-size: 40rpx;
|
||||||
|
|||||||
Reference in New Issue
Block a user