This commit is contained in:
2025-03-13 09:42:15 +08:00
parent 59823a2ca1
commit d49f771baf
14 changed files with 516 additions and 364 deletions

View File

@@ -6,14 +6,12 @@
"request": 3000 "request": 3000
}, },
"transformPx": false, "transformPx": false,
"icons" : [ "icons": [{
{
"sizes": "分辨率192x192", "sizes": "分辨率192x192",
"src": "图片路径" "src": "图片路径"
} }],
], "versionName": "1.0.29",
"versionName" : "1.0.28", "versionCode": 1029,
"versionCode" : 1028,
"app-plus": { "app-plus": {
"nvueCompiler": "weex", "nvueCompiler": "weex",
"compatible": { "compatible": {
@@ -270,4 +268,3 @@
} }
} }
// //

View File

@@ -137,9 +137,16 @@
> >
</view> </view>
<view <view
style="color: #c0c4cc; font-size: 26rpx; font-weight: 700" style="color: #e97512; font-size: 26rpx; font-weight: 700"
> >
×{{ item.quantity ? item.quantity : "" }}</view <view style="text-align: right;font-size: 30rpx;margin-bottom: 10rpx;">
¥{{ item.price }}
</view>
<view style="text-align: right;color: #333;">
×{{ item.quantity ? item.quantity : "" }}
</view>
</view
> >
</view> </view>
<!-- <view class="btns flexbox" style="margin-top: 10rpx"> <!-- <view class="btns flexbox" style="margin-top: 10rpx">
@@ -1423,12 +1430,12 @@ uni-view {
margin: 10rpx 0; margin: 10rpx 0;
// padding: 30rpx 0 0 0; // padding: 30rpx 0 0 0;
font-size: 28rpx; font-size: 30rpx;
} }
.orderReal { .orderReal {
text-align: right; text-align: right;
font-size: 28rpx; font-size: 30rpx;
margin: 10rpx 0; margin: 10rpx 0;
// padding: 28rpx 0 0 0; // padding: 28rpx 0 0 0;
} }
@@ -1436,7 +1443,7 @@ uni-view {
.orderYunf { .orderYunf {
text-align: right; text-align: right;
font-size: 28rpx; font-size: 30rpx;
} }
.orderOper { .orderOper {
@@ -1448,7 +1455,7 @@ uni-view {
padding: 10rpx 0; padding: 10rpx 0;
display: inline-block; display: inline-block;
width: 160rpx; width: 160rpx;
font-size: 25rpx; font-size: 30rpx;
text-align: center; text-align: center;
} }

View File

@@ -153,7 +153,7 @@ export default {
} }
.titleItem { .titleItem {
width: calc(100% - 30rpx); width: calc(100% );
justify-content: space-between; justify-content: space-between;
} }

View File

@@ -126,14 +126,15 @@
></rich-text> ></rich-text>
</view> </view>
</template> </template>
<template slot="detail_vipRecord" slot-scope="slotProps"> <template slot="detail_vipRecord" slot-scope="slotProps"> <vip-record v-if="currentCateIndex == 1"></vip-record>
<view style="padding: 20rpx">
<rich-text
<!-- <rich-text
:nodes="slotProps.dataList | formatRichText" :nodes="slotProps.dataList | formatRichText"
@click.stop="showPreview" @click.stop="showPreview"
:data-nodes="slotProps.dataList" :data-nodes="slotProps.dataList"
></rich-text> ></rich-text> -->
</view>
</template> </template>
</common-anchor-link> </common-anchor-link>
</view> </view>
@@ -142,6 +143,7 @@
<script> <script>
import courseDescription from "../price/courseDescription.vue"; import courseDescription from "../price/courseDescription.vue";
import price from "../price/index.vue"; import price from "../price/index.vue";
import vipRecord from "./vip.vue";
import purchaseNotice from "../purchaseNotice/index.vue"; import purchaseNotice from "../purchaseNotice/index.vue";
import instructionsForUse from "../instructionsForUse/index.vue"; import instructionsForUse from "../instructionsForUse/index.vue";
import $http from "@/config/requestConfig.js"; import $http from "@/config/requestConfig.js";
@@ -152,6 +154,7 @@ export default {
price, //课程价格 price, //课程价格
instructionsForUse, //使用须知 instructionsForUse, //使用须知
purchaseNotice, //使用须知 purchaseNotice, //使用须知
vipRecord, //使用须知
}, },
data() { data() {
return { return {
@@ -919,7 +922,7 @@ export default {
/deep/.wrapper { /deep/.wrapper {
background-color: $themeBgColor; background-color: $themeBgColor;
.content_list { .content_list {
padding: 20rpx 0; // padding: 20rpx 0;
background-color: rgba(255, 255, 255, 0.8) !important; background-color: rgba(255, 255, 255, 0.8) !important;
} }
} }

View File

@@ -0,0 +1,109 @@
<template>
<page-meta
:page-font-size="$baseFontSize() + 'px'"
:root-font-size="$baseFontSize() + 'px'"
></page-meta>
<view class="super_wrap">
<view class="super_content">
<text class="super_title super_title_2" style="margin-top: 40rpx;">国学与心理学超级VIP</text>
<view class="super_con">
<text class="weight">课程价格</text>一年<text class="bigred line">26504</text></br>
<text class="weight">超级VIP价格</text>三年/四年<text class="bigred">4980/5980</text></br>
<text class="weight">延期价格</text>一年/三年/四年<text class="bigred">1980/3980/4980</text></br>
<text class="weight">超级VIP权限</text></br>
无限制观看众妙之门APP与吴门医述APP心理学板块任意课程</br>
国学与心理学培训班报名享受<text class="bigred">8</text>优惠</br>
疯子读书APP购书享受<text class="bigred">8</text>优惠
</view>
<text class="super_title">心理学VIP</text>
<view class="super_con">
<text class="weight">课程价格</text>一年<text class="bigred line">7188</text></br>
<text class="weight">VIP价格</text>三年/四年<text class="bigred">3980/4980</text></br>
<text class="weight">延期价格</text>一年/三年/四年<text class="bigred">1600/2980/3980</text></br>
<text class="weight">VIP权限</text></br>
无限制观看吴门医述APP心理学板块任意课程</br>
心理学培训班报名享受<text class="bigred">9</text>优惠</br>
疯子读书APP购书享受<text class="bigred">9</text>优惠
</view>
<text class="super_title">众妙之门国学VIP</text>
<view class="super_con">
<text class="weight">课程价格</text>一年<text class="bigred line">19316</text></br>
<text class="weight">VIP价格</text>三年/四年<text class="bigred">2480/2980</text></br>
<text class="weight">延期价格</text>一年/三年/四年<text class="bigred">800/1980/2400</text></br>
<text class="weight">VIP权限</text></br>
无限制观看众妙之门APP任意课程</br>
国学培训班报名享受<text class="bigred">9</text>优惠</br>
疯子读书APP购书享受<text class="bigred">9</text>优惠
</view>
</view>
</view>
</template>
<style lang="scss" scoped>
@import '@/style/mixin.scss';
.super_wrap{
height: auto;
background-color: #fdfcdf3d;
padding-bottom: 20rpx;
margin-bottom: 20px;
}
.super_content{
background-color: #fdfcdf3d;
}
.super_title{
height: 50rpx;
line-height: 50rpx;
display: inline-block;
font-size: 26rpx;
@include theme("btn_bg");
color: #fff;
padding: 0 15rpx;
border-radius: 15rpx;
margin: 15rpx 25rpx 15rpx;
font-weight: bold;
}
.super_title_2{
font-size: 32rpx;
height: 64rpx;
line-height: 64rpx;
margin: 50rpx 25rpx 20rpx;
padding: 0 20rpx;
background-image: linear-gradient(90deg, #ff1f00 0%, #fa9f93 100%);
}
.super_con{
display: block;
font-size: 28rpx;
line-height: 46rpx;
padding: 0rpx 25rpx 0;
letter-spacing: 1px;
}
.super_con2{
display: block;
line-height: 50rpx;
letter-spacing: 1px;
color: #666;
padding: 50rpx 25rpx 60rpx;
}
.bigred{
font-size: 34rpx;
color: red;
font-weight: bold;
padding: 0 3rpx;
}
.line{
text-decoration: line-through;
color: #258feb;
font-style: italic;
}
.weight{
display: line-block;
font-weight: bold;
color: #000;
}
</style>

View File

@@ -37,51 +37,75 @@
<view class="goods_box"> <view class="goods_box">
<view class="curriulum_title_box"> <view class="curriulum_title_box">
<view v-if="this.options.isMiaosha == 1" class="miaosha_box"> <view v-if="(curriculumData.isVipPrice == 1 &&
curriculumData.vipPrice != 0 &&
curriculumData.vipPrice != null)|| curriculumData.activityPrice &&
curriculumData.activityPrice > 0" class="miaosha_box">
<view class="price_box"> <view class="price_box">
<view class="price_left"> <view class="price_left" v-if="curriculumData">
<template
<text
class="price"
v-if=" v-if="
curriculumData.activityPrice && curriculumData.isVipPrice == 1 &&
curriculumData.activityPrice > 0 curriculumData.vipPrice != 0 &&
curriculumData.vipPrice != null
" "
> >
<text class="aui-text-danger price"> <text
¥{{ curriculumData.activityPrice }} >¥{{ curriculumData.vipPrice.toFixed(2) }}</text
>
<!-- <text style="color: #fa2d12; font-size: 10px; margin-left: 4px"
>VIP到手价</text
> -->
<text
style="
color: #8a8a8a;
font-size: 14px;
margin-left: 4px;
font-weight: bold;
text-decoration: line-through;
"
>¥{{ Number(curriculumData.price).toFixed(2) }}</text
>
</text> </text>
<text class="price original_price"
>原价:¥{{ curriculumData.price }}
</text>
</template>
<template v-else>
<text class="aui-text-danger price">
¥{{ curriculumData.price }}
</text>
</template>
<text
v-else-if="curriculumData.activityPrice && curriculumData.activityPrice > 0"
class="price"
>
<text
>¥{{ curriculumData.activityPrice.toFixed(2) }}</text
>
<!-- <text style="color: #613804; font-size: 10px; margin-left: 4px"
>活动价</text
> -->
<text
style="
color: #8a8a8a;
font-size: 14px;
margin-left: 4px;
font-weight: bold;
text-decoration: line-through;
"
>¥{{ Number(curriculumData.price).toFixed(2) }}</text
>
</text>
<text v-else-if="curriculumData&&curriculumData.price>0" class="price"
>¥{{ Number(curriculumData.price).toFixed(2) }}</text
>
<view class="price original_price sales_number" <view class="price original_price sales_number"
>已售 {{ curriculumData.sumSales }}件 >已售 {{ curriculumData.sumSales }}件
</view> </view>
</view> </view>
<view class="xianshimaiosha_box" > <view class="xianshimaiosha_box" >
<text <text class="xianshimaiosha" v-if="curriculumData.isVipPrice == 1 &&
class="xianshimaiosha"
v-if="
curriculumData.isVipPrice == 1 &&
curriculumData.vipPrice != 0 && curriculumData.vipPrice != 0 &&
curriculumData.vipPrice != null curriculumData.vipPrice != null">VIP优惠</text>
" <text class="xianshimaiosha" v-else-if=" curriculumData.activityPrice &&
>VIP优惠</text curriculumData.activityPrice > 0">活动立减</text>
>
<text
class="xianshimaiosha"
v-else-if="
curriculumData.activityPrice &&
curriculumData.activityPrice > 0
"
>活动立减</text
>
</view> </view>
</view> </view>
@@ -89,7 +113,12 @@
>{{ curriculumData.productName }} >{{ curriculumData.productName }}
</view> </view>
</view> </view>
<view v-else class="normal_box">
<view
v-else
class="normal_box"
style="padding-top: 10rpx; padding-bottom: 10rpx"
>
<view class="price_box"> <view class="price_box">
<template <template
v-if=" v-if="
@@ -104,9 +133,9 @@
>原价:¥{{ curriculumData.price }} >原价:¥{{ curriculumData.price }}
</text> </text>
</template> </template>
<template v-else> <template v-else-if="curriculumData.price">
<text class="aui-text-danger price"> <text class="aui-text-danger price">
¥{{ curriculumData.price }} ¥{{ Number(curriculumData.price).toFixed(2) }}
</text> </text>
</template> </template>
<text <text
@@ -116,7 +145,7 @@
</text> </text>
</view> </view>
<view class="curriulum_title" style="margin-top: 40rpx" <view class="curriulum_title" style="margin-top: 20rpx"
>{{ curriculumData.productName }} >{{ curriculumData.productName }}
</view> </view>
</view> </view>

View File

@@ -87,20 +87,11 @@
<image class="goods_item_img" :src="v.productImages" mode="aspectFit"> <image class="goods_item_img" :src="v.productImages" mode="aspectFit">
</image> </image>
<view class="normal_box"> <view class="normal_box">
<view class="normal_box_top" style="justify-content: space-between"> <view class="normal_box_top" style="height: auto;min-height: 100rpx;">
<view <view
class="curriulum_title" class="curriulum_title"
style="width: calc(100% - 160rpx); font-size: 14px" style="width: calc(100%); font-size: 14px"
>{{ v.productName }} >{{ v.productName }}
</view>
<u-number-box
:min="1"
:input-width="30"
v-model="orderNumber"
button-size="20"
></u-number-box>
</view>
<view> <view>
<text <text
v-if=" v-if="
@@ -147,7 +138,20 @@
<text v-else style="font-size: 14px" <text v-else style="font-size: 14px"
>¥{{ Number(v.price).toFixed(2) }}</text >¥{{ Number(v.price).toFixed(2) }}</text
> >
</view> </view>
<!-- <uni-number-box
:min="1"
:step="1"
:positive-integer="true"
:input-width="30"
v-model="orderNumber"
button-size="20"
input-type="number"
/> -->
</view> </view>
<uni-number-box v-model="orderNumber" :step="1" :min="1" :width="18" style="float: right;"/>
</view> </view>
</view> </view>
<view class="pay_box" style="margin-top: 20rpx"> <view class="pay_box" style="margin-top: 20rpx">
@@ -455,7 +459,7 @@
<!-- leftSlot --> <!-- leftSlot -->
<template slot="leftSlot" slot-scope="slotProps"> <template slot="leftSlot" slot-scope="slotProps">
<view class="price_box order_bottom_box" <view class="price_box order_bottom_box"
><text class="number">共{{ number }}件</text> ><text class="number">共{{ orderNumber }}件</text>
<text class="price" <text class="price"
>合计: >合计:
@@ -689,7 +693,7 @@ export default {
}, },
customButton: [ customButton: [
{ {
width: "300rpx", width: "250rpx",
text: "立即支付", text: "立即支付",
backgroundColor: "linear-gradient(90deg, #3AB3AE 0%, #117e4c 100%)", backgroundColor: "linear-gradient(90deg, #3AB3AE 0%, #117e4c 100%)",
color: "#fff", color: "#fff",
@@ -872,7 +876,7 @@ export default {
if (res.code == 0) { if (res.code == 0) {
console.log( console.log(
"res.code at line 53899999999999999999999999999999999:", "res.code at line 53899999999999999999999999999999999:",
res, res
); );
this.vipPrice = res.discountAmount; this.vipPrice = res.discountAmount;
// console.log('需要的运费', res.result) // console.log('需要的运费', res.result)
@@ -940,7 +944,7 @@ export default {
this.jfNumber - this.jfNumber -
this.districtAmount - this.districtAmount -
this.vipPrice + this.vipPrice +
this.freightNum, this.freightNum
).toFixed(2); ).toFixed(2);
if (this.actualPayment == 0) { if (this.actualPayment == 0) {
@@ -950,7 +954,7 @@ export default {
} }
console.log( console.log(
"this.isDefaultCurrency at line 692:", "this.isDefaultCurrency at line 692:",
this.isDefaultCurrency, this.isDefaultCurrency
); );
this.$forceUpdate(); this.$forceUpdate();
}); });
@@ -1204,22 +1208,21 @@ export default {
} else { } else {
that.jfNumberShow = that.jfNumber.toFixed(2); that.jfNumberShow = that.jfNumber.toFixed(2);
that.actualPayment = Number(that.totalPrice - that.jfNumber).toFixed( that.actualPayment = Number(that.totalPrice - that.jfNumber).toFixed(
2, 2
); );
} }
that.actualPayment = Number( that.actualPayment = Number(
that.actualPayment + that.totalPrice +
that.freightNum - that.freightNum -
that.districtAmount - that.districtAmount -
that.vipPrice, that.vipPrice
).toFixed(2); ).toFixed(2);
} else { } else {
that.actualPayment = Number( that.actualPayment = Number(
that.totalPrice + that.totalPrice +
that.freightNum - that.freightNum -
couponAmount -
that.districtAmount - that.districtAmount -
that.vipPrice, that.vipPrice
).toFixed(2); ).toFixed(2);
} }
@@ -1259,7 +1262,7 @@ export default {
this.orderModalShowInfo = v; this.orderModalShowInfo = v;
console.log( console.log(
"this.orderModalShowInfo at line 727:", "this.orderModalShowInfo at line 727:",
this.orderModalShowInfo, this.orderModalShowInfo
); );
this.orderModalShow = true; this.orderModalShow = true;
if (this.orderModalShowInfo.type == "remark") { if (this.orderModalShowInfo.type == "remark") {
@@ -1411,7 +1414,7 @@ export default {
// }); // });
// }, 1000) // }, 1000)
} }
}, }
); );
} else if (this.payType == 1) { } else if (this.payType == 1) {
// 微信支付 // 微信支付
@@ -2420,7 +2423,7 @@ export default {
/deep/.goods_nav_box { /deep/.goods_nav_box {
.left { .left {
margin-top: -10rpx; margin-top: -10rpx;
width: calc(100% - 220rpx); width: calc(100% - 180rpx);
height: auto; height: auto;
position: relative; position: relative;
// overflow: hidden; // overflow: hidden;

View File

@@ -100,7 +100,7 @@
</view> </view>
</view> </view>
<view class="flash_sale_box" v-if="$platform != 'ios'"> <view class="flash_sale_box" >
<view class="flash_sale_top"> <view class="flash_sale_top">
<image <image
class="miaoShaIcon" class="miaoShaIcon"

View File

@@ -1,4 +1,8 @@
<template> <template>
<page-meta
:page-font-size="$baseFontSize() + 'px'"
:root-font-size="$baseFontSize() + 'px'"
></page-meta>
<view class="commonPageBox"> <view class="commonPageBox">
<z-nav-bar title="VIP"></z-nav-bar> <z-nav-bar title="VIP"></z-nav-bar>
<view class="vip_block"> <view class="vip_block">

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

Binary file not shown.