feat: 添加视频播放器组件并更新相关依赖

refactor: 统一将"无货"改为"无库存"、"收货"改为"收件"等文案

fix: 更新edu-core依赖版本至v1.0.8

chore: 更新manifest版本号至1.0.55并移除GET_ACCOUNTS权限

style: 调整mine页面样式布局

docs: 更新页面标题和地址相关文案
This commit is contained in:
2026-03-03 15:57:18 +08:00
parent 91decda774
commit 7317550374
42 changed files with 11626 additions and 77 deletions

View File

@@ -17,7 +17,7 @@
<span
v-if="item.productStock == 0"
style="color: #aaa; font-size: 26rpx"
></span
>库存</span
>
</text>
</view>

View File

@@ -38,7 +38,7 @@
<span
v-if="productInfo.productStock == 0"
style="color: #aaa; font-size: 26rpx"
></span
>库存</span
>
<view
><text class="SoldNumber"

View File

@@ -48,7 +48,7 @@
<span
v-if="productInfo.productStock == 0"
style="color: #aaa; font-size: 26rpx"
></span
>库存</span
>
<view
><text class="SoldNumber"

View File

@@ -110,9 +110,9 @@ export default {
if (this.orderContet.orderStatus == 0) {
this.titleStat = "待支付";
} else if (this.orderContet.orderStatus == 1) {
this.titleStat = "待发";
this.titleStat = "待发";
} else if (this.orderContet.orderStatus == 2) {
this.titleStat = "待收";
this.titleStat = "待收";
} else if (this.orderContet.orderStatus == 3) {
this.titleStat = "已完成";
}

View File

@@ -71,12 +71,12 @@
<text
class="orderState orderState1"
v-if="orderContet.orderStatus == 1"
>待发</text
>待发</text
>
<text
class="orderState orderState2"
v-if="orderContet.orderStatus == 2"
>待收</text
>待收</text
>
<text
class="orderState orderState3"
@@ -432,7 +432,7 @@
</view>
<!-- <view class="orderReal" v-if="orderContet.orderStatus >= 2 && orderContet.orderStatus != 5">
<span style="color: #666;margin-right: 10rpx;float: left;">发时间 : </span>
<span style="color: #666;margin-right: 10rpx;float: left;">发时间 : </span>
<text style="font-size: 24rpx;color: #666;">{{orderContet.shippingTime}}</text>
</view> -->
<view class=""></view>
@@ -586,7 +586,7 @@
plain
type="success"
/></view>
<view class="">发时间:{{ item.createTime }}</view>
<view class="">发时间:{{ item.createTime }}</view>
</view>
</view>
</view>
@@ -691,7 +691,7 @@ export default {
this.goPay(this.orderContet);
} else if (data.text == "取消订单") {
this.canceOrder();
} else if (data.text == "确认收") {
} else if (data.text == "确认收") {
this.OverOrder();
} else if (data.text == "查看物流") {
this.seeExpressDetail(this.orderContet);
@@ -988,10 +988,10 @@ export default {
});
},
OverOrder() {
// 确认收
// 确认收
uni.showModal({
title: "提示",
content: "确认收",
content: "确认收",
success: (res) => {
let data = {
orderId: this.orderID,
@@ -1013,7 +1013,7 @@ export default {
if (res.code == 0) {
uni.hideLoading();
uni.showToast({
title: "收货成功",
title: "确认收到成功",
icon: "success",
duration: 1000,
});
@@ -1067,7 +1067,7 @@ export default {
if (this.orderContet.orderStatus == 2) {
this.customButton.push({
width: "160rpx",
text: "确认收",
text: "确认收",
color: "#fff",
});
@@ -1099,9 +1099,9 @@ export default {
if (this.orderContet.orderStatus == 0) {
this.titleStat = "待支付";
} else if (this.orderContet.orderStatus == 1) {
this.titleStat = "待发";
this.titleStat = "待发";
} else if (this.orderContet.orderStatus == 2) {
this.titleStat = "待收";
this.titleStat = "待收";
} else if (this.orderContet.orderStatus == 3) {
this.titleStat = "已完成";
}

View File

@@ -98,12 +98,12 @@
<text
class="orderstatus"
v-show="slotProps.row.orderStatus == 1"
>待发</text
>待发</text
>
<text
class="orderstatus"
v-show="slotProps.row.orderStatus == 2"
>已发货</text
>待收到</text
>
<text
class="orderstatus"
@@ -405,7 +405,7 @@
<view
class="orderstatusbtn"
v-if="slotProps.row.orderStatus == 1"
>催发</view
>催发</view
>
<view
class="orderstatusbtn"
@@ -417,7 +417,7 @@
class="orderstatusbtn"
v-if="slotProps.row.orderStatus == 2"
@click.native.stop="OverOrder(slotProps.row)"
>确认收</view
>确认收</view
>
<view
class="orderstatusbtn"
@@ -657,12 +657,12 @@ export default {
badge: {},
},
{
name: "待发",
name: "待发",
value: 1,
badge: {},
},
{
name: "待收",
name: "待收",
value: 2,
badge: {},
},
@@ -877,8 +877,8 @@ export default {
.then((res) => {
// 订单状态
// * 0: 待付款
// * 1: 待发
// * 2: 已发货
// * 1: 待发
// * 2: 待收到
// * 3已完成
// * 4: 交易失败
// * 5: 已过期
@@ -909,7 +909,7 @@ export default {
var params = {
userId: this.userInfo.id,
come: this.come,
orderStatus: flag == -1 ? "" : flag, //传null为全部订单状态 0-付款 1-待发 2-已发货 3-交易成功 4-交易失败 5-过期
orderStatus: flag == -1 ? "" : flag, //传null为全部订单状态 0-付款 1-待发 2-待收到 3-已完成 4-交易失败 5-过期
...this.pagination,
// limit: 10,
// page: this.newestpage,
@@ -1021,16 +1021,6 @@ export default {
} else if (payItem.paymentMethod == 3) {
// 苹果充值
console.log("苹果二次支付");
if (this.isAndorid) {
uni.showModal({
title: "提示",
showCancel: false,
content:
"很抱歉,当前订单属于苹果系统内购订单,安卓系统无法完成支付操作,您可切换到苹果系统进行支付,也可以取消该订单,并重新下单",
});
} else {
this.iphonepay(payItem);
}
}
},
// 取消订单
@@ -1115,11 +1105,11 @@ export default {
});
// }
},
// 确认收
// 确认收
OverOrder(item) {
uni.showModal({
title: "提示",
content: "确认收",
content: "确认收到吗",
success: (res) => {
let data = {
orderId: item.orderId,
@@ -1141,7 +1131,7 @@ export default {
if (res.code == 0) {
uni.hideLoading();
uni.showToast({
title: "收货成功",
title: "确认收到成功",
icon: "success",
duration: 1000,
});

View File

@@ -14,7 +14,7 @@
size="20"
style="display: inline-block; margin-right: 10rpx"
></u-icon>
请添加收地址
请添加收地址
</view>
<view
class="adDefault"
@@ -118,7 +118,7 @@
size="12"
style="display: inline-block; margin-right: 10rpx"
></u-icon>
如订单包含一种或多种预售书预售书和现书需分开发即需要收取多次快递首重费用如多本书会按照实际重量收取快递续重费用
如订单包含一种或多种预售书预售书和现书需分开发即需要收取多次快递首重费用如多本书会按照实际重量收取快递续重费用
</view>
</view>
<!-- 安卓支付列表 -->

View File

@@ -14,7 +14,7 @@
size="20"
style="display: inline-block; margin-right: 10rpx"
></u-icon>
请添加收地址
请添加收地址
</view>
<view
class="adDefault"
@@ -738,8 +738,8 @@ export default {
let data = {
buyType: this.typeId, //0- 商品页直接下单 1- 购物车结算
userId: this.userInfo.id, //下单人ID
shippingUser: this.adressMoRen.username, //收人姓名
userPhone: this.adressMoRen.userphone, //收人手机号
shippingUser: this.adressMoRen.username, //收人姓名
userPhone: this.adressMoRen.userphone, //收人手机号
province: this.adressMoRen.areaidpathtext.split(" ")[0], //省
city: this.adressMoRen.areaidpathtext.split(" ")[1], //市
district: this.adressMoRen.areaidpathtext.split(" ")[2], //区

View File

@@ -7,7 +7,7 @@
<view class="common_address_box" style="background-color: #fff">
<z-nav-bar
:title="`${addressId ? '编辑' : '添加'}收地址`"
:title="`${addressId ? '编辑' : '添加'}收地址`"
bgColor="#3AB3AE"
fontColor="#fff"
>
@@ -37,7 +37,7 @@
color="#3AB3AE"
@click="radioCheck(index)"
></radio>
默认收地址
默认收地址
</view>
</radio-group>
</view>

View File

@@ -13,7 +13,7 @@
>
<z-nav-bar
navFontAlign="left"
title="我的收地址"
title="我的收地址"
bgColor="#3AB3AE"
fontColor="#fff"
>
@@ -129,7 +129,7 @@ import { mapState } from "vuex";
export default {
components: {
courseDescription, //课程说明
editAddress, //编辑收地址
editAddress, //编辑收地址
},
props: ["backState", "type"],
data() {
@@ -162,7 +162,7 @@ export default {
customButtonGroup1: [
{
with: 200,
text: "+ 添加收地址",
text: "+ 添加收地址",
backgroundColor: "linear-gradient(90deg, #3AB3AE 0%, #117e4c 100%)",
color: "#fff",
},

View File

@@ -25,7 +25,7 @@
</view>
<view class="normal_box" v-else>
<view class="normal_box_top">
<view class="curriulum_title">请添加收地址 </view>
<view class="curriulum_title">请添加收地址 </view>
</view>
</view>
<view class="right">
@@ -241,6 +241,13 @@
</view>
</view>
<view v-if="v.type == 2" class="top">
<view class="yq_beizhu">
<u-icon name="info-circle" color="#ffb529" size="12" style="display: inline-block;margin-right: 10rpx;"></u-icon>
如订单包含一种或多种预售书预售书和现售书需分开发出即需要收取多次快递首重费用如多本书会按照实际重量收取快递续重费用
</view>
</view>
<view
class="bottom jf_box"
v-if="v.type == 4 && initData.user.jf > 0"
@@ -1398,7 +1405,7 @@ export default {
};
} else {
if (this.isShowAddress && !this.addressData.id) {
this.$commonJS.showToast("请选择收地址");
this.$commonJS.showToast("请选择收地址");
return false;
}
@@ -1407,8 +1414,8 @@ export default {
userId: this.userInfo.id, //下单人ID
shippingUser: this.addressData
? this.addressData.consigneeName
: "111", //收人姓名
userPhone: this.addressData.consigneePhone, //收人手机号
: "111", //收人姓名
userPhone: this.addressData.consigneePhone, //收人手机号
jfDeduction: this.jfNumber,
paymentMethod: this.payType, //支付方式 2支付宝1微信3ios内购 4天医币购买
orderMoney: this.totalPrice, //订单金额
@@ -2421,4 +2428,8 @@ export default {
.themeColor {
color: $themeColor;
}
.yq_beizhu {
color: #aaa;
font-size: 24rpx;
}
</style>

View File

@@ -41,7 +41,7 @@
</view>
<view class="normal_box" v-else>
<view class="normal_box_top">
<view class="curriulum_title">请添加收地址 </view>
<view class="curriulum_title">请添加收地址 </view>
</view>
</view>
<view class="right">
@@ -1298,7 +1298,7 @@ export default {
// }
if (this.options.goods[0].goodsType != "05") {
if (!this.addressData.id) {
this.$commonJS.showToast("请选择收地址");
this.$commonJS.showToast("请选择收地址");
return false;
}
}
@@ -1307,8 +1307,8 @@ export default {
userId: this.userInfo.id, //下单人ID
shippingUser: this.addressData
? this.addressData.consigneeName
: "111", //收人姓名
userPhone: this.addressData.consigneePhone, //收人手机号
: "111", //收人姓名
userPhone: this.addressData.consigneePhone, //收人手机号
jfDeduction: this.jfNumber,
paymentMethod: this.payType, //支付方式 2支付宝1微信3ios内购 4天医币购买
orderMoney: this.totalPrice, //订单金额

View File

@@ -333,13 +333,13 @@ export default {
imgUrl: require("@/static/icon/ordericon2.png"),
},
{
title: "待发",
title: "待发",
value: 1,
badge: {},
imgUrl: require("@/static/icon/ordericon3.png"),
},
{
title: "待收",
title: "待收",
value: 2,
badge: {},
imgUrl: require("@/static/icon/ordericon4.png"),
@@ -515,8 +515,8 @@ export default {
.then((res) => {
// 订单状态
// * 0: 待付款
// * 1: 待发
// * 2: 已发
// * 1: 待发
// * 2: 已发
// * 3已完成
// * 4: 交易失败
// * 5: 已过期
@@ -1039,9 +1039,9 @@ uni-page-body {
.bg_top {
padding: 0 30rpx;
height: 30vh;
height: 120rpx;
position: relative;
margin-top: 30rpx;
margin-top: 20rpx;
.setIcon {
position: absolute;
@@ -1051,8 +1051,6 @@ uni-page-body {
.mine_box {
width: 100%;
position: absolute;
left: 0;
padding: 0 0rpx;
margin-top: 30rpx;
}

View File

@@ -623,7 +623,7 @@ export default {
let that = this;
let data = {
userId: that.userInfo.id, //下单人ID
userPhone: that.userInfo.tel, //收人手机号
userPhone: that.userInfo.tel, //收人手机号
paymentMethod: that.payType, //2支付宝1微信3ios内购
orderMoney: that.stepsCj.money * 1, //订单金额
districtMoney: 0, //优惠金额