diff --git a/main.js b/main.js
index 27a08df..964c2bc 100644
--- a/main.js
+++ b/main.js
@@ -70,6 +70,9 @@ Vue.component('common-select-goods', commonSelectGoods);
import commonAnchorLink from '@/pages/component/commonComponents/anchorLink.vue'
Vue.component('common-anchor-link', commonAnchorLink);
+import commonSelectVip from '@/pages/component/commonComponents/selectVip.vue'
+Vue.component('common-select-vip', commonSelectVip);
+
App.mpType = 'app'
const app = new Vue({
diff --git a/manifest.json b/manifest.json
index 2b342a8..10b1c54 100644
--- a/manifest.json
+++ b/manifest.json
@@ -2,8 +2,8 @@
"name" : "心灵空间",
"appid" : "__UNI__BBBDFD2",
"description" : "心灵空间",
- "versionName" : "1.0.22",
- "versionCode" : 1022,
+ "versionName" : "1.0.23",
+ "versionCode" : 1023,
"transformPx" : false,
/* 5+App特有相关 */
"app-plus" : {
diff --git a/pages.json b/pages.json
index bd42fd2..799268c 100644
--- a/pages.json
+++ b/pages.json
@@ -293,6 +293,18 @@
}
}
},
+ {
+ "path": "pages/place/order",
+ "style": {
+ "navigationBarTitleText": "确认订单",
+ "enablePullDownRefresh": false,
+ "app-plus": {
+ "bounce": "none",
+ "titleNView": false,
+ "popGesture": "none"
+ }
+ }
+ },
{
"path": "pages/curriculum/list/index",
"style": {
diff --git a/pages/component/commonComponents/selectGoods.vue b/pages/component/commonComponents/selectGoods.vue
index 98c5ea5..204b010 100644
--- a/pages/component/commonComponents/selectGoods.vue
+++ b/pages/component/commonComponents/selectGoods.vue
@@ -226,12 +226,14 @@ export default {
.name {
font-size: 26rpx;
color: #333;
+ line-height: 36rpx;
}
.price {
- font-size: 26rpx;
+ font-size: 30rpx;
color: #aaa;
display: flex;
align-items: center;
+ margin-top: 5rpx;
}
}
.isSelectGoods {
diff --git a/pages/component/commonComponents/selectVip.vue b/pages/component/commonComponents/selectVip.vue
new file mode 100644
index 0000000..5001181
--- /dev/null
+++ b/pages/component/commonComponents/selectVip.vue
@@ -0,0 +1,365 @@
+
+
+
+
+
+
+
+
diff --git a/pages/curriculum/order/index.vue b/pages/curriculum/order/index.vue
index 8dfb943..93a7ab8 100644
--- a/pages/curriculum/order/index.vue
+++ b/pages/curriculum/order/index.vue
@@ -980,7 +980,7 @@
}
.price {
- font-size: 26rpx;
+ font-size: 30rpx;
color: #aaa;
font-weight: 600;
}
@@ -1265,7 +1265,7 @@
.price {
color: #ff582e;
- font-size: 32rpx;
+ font-size: 30rpx;
i {
font-style: normal;
diff --git a/pages/detail/orderLCont.vue b/pages/detail/orderLCont.vue
index 17c53fb..002931a 100644
--- a/pages/detail/orderLCont.vue
+++ b/pages/detail/orderLCont.vue
@@ -76,6 +76,7 @@
:key="index"
@click="goDetail(item.productId, item)"
v-if="goodsList.length > 0"
+ style=" display: flex; align-items: center; justify-content: center;"
>
已下架
@@ -106,20 +107,17 @@
-
+
-
+
{{ orderContet.vipBuyConfigEntity.title }}
({{ orderContet.vipBuyConfigEntity.year }}年)
-
-
-
@@ -136,7 +134,6 @@
充值 {{ orderContet.bookBuyConfigEntity.money }}天医币
-
@@ -191,7 +188,7 @@
>¥ {{ orderContet.bookBuyConfigEntity.realMoney }}
-
+
¥{{ orderContet.realMoney }}
@@ -257,9 +254,9 @@
>
+ display: flex;
+ align-items: center;
+ justify-content: space-between;">
创建时间 :
@@ -1228,7 +1225,7 @@ view,uni-view {
font-size: 30rpx;
margin: 0 0 20rpx 0;
float: left;
- width: 410rpx;
+ width: 540rpx;
}
.orderPrice {
diff --git a/pages/goods/index.vue b/pages/goods/index.vue
index 872f631..6914230 100644
--- a/pages/goods/index.vue
+++ b/pages/goods/index.vue
@@ -1161,7 +1161,6 @@
.name {
font-size: 26rpx;
- // font-weight: 600;
color: #333;
}
diff --git a/pages/goods/order.vue b/pages/goods/order.vue
index b8614eb..093a95b 100644
--- a/pages/goods/order.vue
+++ b/pages/goods/order.vue
@@ -214,12 +214,10 @@
- 合计:
-
-
-
- ¥{{ Number(actualPayment).toFixed(2) }}
-
+ 合计:
+ {{jfNumber}}积分
+
+ ¥{{actualPayment}}
+
@@ -1399,8 +1397,9 @@ import parse from "../../uni_modules/uview-ui/libs/config/props/parse";
}
.price {
+ font-size: 30rpx;
.total {
- font-size: 34rpx;
+ font-size: 30rpx;
color: red;
}
}
diff --git a/pages/place/order.vue b/pages/place/order.vue
new file mode 100644
index 0000000..167f538
--- /dev/null
+++ b/pages/place/order.vue
@@ -0,0 +1,1297 @@
+
+
+
+
+
+
+
+
+ {{ options.title }}
+
+ ¥{{ options.price }}
+
+
+ x 1
+
+
+
+
+
+
+ *参加培训姓名
+
+
+
+
+
+
+
+ 价格明细
+
+
+
+
+
+
+ {{ v.text }}
+
+ (全部积分:{{ user.jf }})
+
+ {{ v.text }}
+
+
+
+ -¥{{ jfNumberShow }}
+
+ ¥{{ options.price }}
+
+
+
+
+
+ 可用积分({{ jfNumberMax }}分)
+
+
+
+
+
+
+
+
+ 支付方式
+
+
+
+
+
+
+
+ {{ v.text }}
+
+ (余额:{{ user && user.peanutCoin ? user.peanutCoin : 0 }})
+
+
+ {{ v.text }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 确保您的天医币足够支付
+
+
+ 立即充值
+
+
+
+ 说明
+ 1. 1天医币 = 1元人民币
+
+ 2.若有疑问或意见请致电客服
+ 022-24142321
+
+
+
+ 3.非中国大陆用户可以信用卡支付。简单快捷,推荐使用!
+ 支付时使用的信用卡需要带有Visa或MasterCard的标识。请向邮箱
+
+ publisher@tmrjournals.com
+
+ (点击复制)发送支付请求,内容需包含:拟购买的课程名称、支付金额、APP注册姓名及手机号码,或者加一路健康客服微信(
+
+ yilujiankangkefu )(点击复制)联系我们,我们将在24小时内向您的邮箱或者微信发送支付链接,根据提示即可完成信用卡支付,无需兑换外币。
+
+
+
+
+
+
+
+
+
+
+
+ 合计:
+ {{jfNumber}}积分
+
+ ¥{{actualPayment}}
+ +
+
+ {{ jfNumber }} 积分
+
+
+
+
+
+
+
+
+
+
+
+ * 我已阅读并同意《会员服务协议》
+
+
+
+
+
+ {{ xieyi.title }}
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/pages/vip/index.vue b/pages/vip/index.vue
index 24750a4..7c2837a 100644
--- a/pages/vip/index.vue
+++ b/pages/vip/index.vue
@@ -27,13 +27,13 @@
超级VIP价格:
VIP价格:
-
+
{{item_price.year}}年{{item_price.rebateFee}}元
延期价格:
-
+
{{item_yq.year}}年{{item_yq.rebateFee}}元
@@ -53,7 +53,20 @@
-
+
+
+
+
@@ -77,7 +90,18 @@ export default{
text: '', //针对不同type展示文案
list: [],
orderModalShow: false,
- selectVipData: {}
+ selectVipData: {},
+ selectGoodsData: {},
+ goodsList: [],
+ customButtonGroup1: [
+ {
+ with: 200,
+ text: "立即购买",
+ backgroundColor: "linear-gradient(90deg, #294a97 0%,#7dc1f0 100%)",
+ color: "#fff",
+ },
+ ],
+ buyOptions: []
}
},
components: {
@@ -90,6 +114,12 @@ export default{
},
methods: {
+ //选择vip
+ handleClickSelectGoods(data) {
+ console.log(data)
+ this.selectGoodsData = data;
+ this.$forceUpdate();
+ },
//获取数据
getData(){
uni.showLoading({
@@ -124,11 +154,13 @@ export default{
}else{
this.selectVipData.list = item.yanqiList;
this.selectVipData.id = item.yanqiList[0].id;
+ this.selectVipData.list.forEach(item => {
+ item.yanqiStatus = true;
+ });
}
}else{
this.selectVipData.id = item.id;
}
-
if(type){
this.selectVipData.type = type;
}
@@ -136,9 +168,24 @@ export default{
this.selectVipData.title = item.title + '-' + item.year + '年';
this.selectVipData.lastFee = item.rebateFee;
- this.orderModalShow = true;
- this.$nextTick(() => {
- this.$refs.orderPay.initPrepareOrder();
+ this.goodsList = this.selectVipData.list.map((e) => {
+ return { ...e };
+ });
+ this.selectGoodsData = this.selectVipData.list[type ? type : 0];
+ this.$refs.commonSelectGoods.open();
+ },
+ //组件点击购买
+ goBuy() {
+ var data = {
+ id: this.selectGoodsData.id,
+ title: this.selectGoodsData.title + '-' + this.selectGoodsData.year + '年',
+ price: this.selectGoodsData.rebateFee,
+ orderType: 'vip',
+ yanqiStatus: this.selectGoodsData.yanqiStatus
+ }
+ this.$refs.commonSelectGoods.close();
+ uni.navigateTo({
+ url: '/pages/place/order?data='+JSON.stringify(data),
});
},
//关闭
diff --git a/pages/wallet/account.vue b/pages/wallet/account.vue
index fe4b562..fbdb0c9 100644
--- a/pages/wallet/account.vue
+++ b/pages/wallet/account.vue
@@ -31,6 +31,7 @@
isCondition="true"
isNoIcon="true"
label="orderType"
+ @hancleClick="goClick"
>
@@ -115,6 +116,14 @@ export default {
},
//方法
methods: {
+ //列表跳转到详情
+ goClick(data){
+ if(data.relationId){
+ uni.navigateTo({
+ url: "/pages/detail/orderLCont?orderId=" + data.relationId
+ });
+ }
+ },
// 获取
getData() {
var data = {
diff --git a/pages/wallet/points.vue b/pages/wallet/points.vue
index 9c69b00..1fa10e1 100644
--- a/pages/wallet/points.vue
+++ b/pages/wallet/points.vue
@@ -10,16 +10,17 @@
label="orderType"
>
-
+
- {{slotProps.row.orderType}}
+ {{slotProps.row.createTime}}
+
+
{{slotProps.row.changeAmount}}
{{slotProps.row.remark}}
- {{slotProps.row.createTime}}
+
@@ -91,6 +92,12 @@ export default {
},
//方法
methods: {
+ //列表进入详情
+ goClick(id){
+ uni.navigateTo({
+ url: "/pages/detail/orderLCont?orderId=" + id
+ });
+ },
// 获取
getData() {
var data = {
@@ -408,9 +415,6 @@ export default {
display: block;
font-size: 28rpx;
color: #343434;
- overflow: hidden;
- text-overflow: ellipsis;
- white-space: nowrap;
padding-top: 10rpx;
}
diff --git a/static/common.scss b/static/common.scss
index eb710d6..01ae412 100644
--- a/static/common.scss
+++ b/static/common.scss
@@ -36,7 +36,6 @@ $themeBgColor: #eff5f8 !important;
}
.goods_nav_box {
-
box-shadow: 0 4rpx 48rpx 0 rgba(0, 0, 0, .15);
width: 100%;
position: fixed;