This commit is contained in:
2025-03-12 11:39:31 +08:00
parent b8a44a2716
commit 55954a4a9b
125 changed files with 30973 additions and 30045 deletions

View File

@@ -1,143 +1,135 @@
<template><page-meta
<template>
<page-meta
:page-font-size="$baseFontSize() + 'px'"
:root-font-size="$baseFontSize() + 'px'"
></page-meta>
<view>
<z-nav-bar :title="yszcText.title" bgColor="#fff" fontColor="#333"></z-nav-bar>
<view>
<z-nav-bar
:title="yszcText.title"
bgColor="#fff"
fontColor="#333"
></z-nav-bar>
<view class="tanchu">
<!-- <view class="dp_title" v-html="yszcText.title"></view> -->
<view class="dp_content" v-html="yszcText.content"></view>
<!-- <yhxyPage></yhxyPage> -->
</view>
</view>
<view class="tanchu">
<!-- <view class="dp_title" v-html="yszcText.title"></view> -->
<view class="dp_content" v-html="yszcText.content"></view>
<!-- <yhxyPage></yhxyPage> -->
</view>
</view>
</template>
<script>
export default {
export default {
data() {
return {
options: {},
yszcText: {
title: "",
content: "",
},
};
},
data() {
return {
options: {},
yszcText: {
title: "",
content: "",
},
};
},
//第一次加载
onLoad(options) {
this.options = options;
this.getSettlement(105);
},
//第一次加载
onLoad(options) {
this.options = options;
this.getSettlement(105);
},
onReady() {},
//方法
methods: {
async getSettlement(id, type) {
console.log('id at line 57:', id)
//隐私策略
var data = await this.$commonJS.getAgreement(id);
if (data.content) {
data.content = data.content.replace(
/<h5>/g,
'<view style="font-weight: bold;font-size: 32rpx;margin-top: 20rpx;margin-bottom: 20rpx;">'
);
data.content = data.content.replace(/<\/h5>/g, "</view>");
}
this.yszcText = data
},
},
};
onReady() {},
//方法
methods: {
async getSettlement(id, type) {
console.log("id at line 57:", id);
//隐私策略
var data = await this.$commonJS.getAgreement(id);
if (data.content) {
data.content = data.content.replace(
/<h5>/g,
'<view style="font-weight: bold;font-size: 32rpx;margin-top: 20rpx;margin-bottom: 20rpx;">',
);
data.content = data.content.replace(/<\/h5>/g, "</view>");
}
this.yszcText = data;
},
},
};
</script>
<style lang="scss" scoped>
.tanchu {
padding: 40rpx 30rpx 40rpx 30rpx;
position: relative;
}
.tanchu {
padding: 40rpx 30rpx 40rpx 30rpx;
position: relative;
}
.popup_box {
width: 600upx;
border-radius: 10rpx;
.popup_title {
display: flex;
justify-content: center;
height: 88upx;
line-height: 88upx;
.popup_box {
width: 600upx;
border-radius: 10rpx;
view {
align-items: center;
font-size: 30upx;
display: flex;
.popup_title {
display: flex;
justify-content: center;
height: 88upx;
line-height: 88upx;
image {
width: 50upx;
height: 50upx;
margin: 0 20rpx 0 0;
}
}
}
view {
align-items: center;
font-size: 30upx;
display: flex;
.popup_content {
padding: 30rpx 40rpx;
}
image {
width: 50upx;
height: 50upx;
margin: 0 20rpx 0 0;
}
}
}
.popup_footer {
display: flex;
justify-content: center;
.popup_content {
padding: 30rpx 40rpx;
}
view {
width: 45%;
flex-shrink: 0;
text-align: center;
font-size: 28upx;
color: #999;
line-height: 70upx;
margin: 0 0 30rpx 0;
}
}
}
.popup_footer {
display: flex;
justify-content: center;
.dp_title {
font-size: 36rpx;
margin-bottom: 10rpx;
color: #555;
text-align: center;
font-weight: bold;
}
view {
width: 45%;
flex-shrink: 0;
text-align: center;
font-size: 28upx;
color: #999;
line-height: 70upx;
margin: 0 0 30rpx 0;
}
.dp_content {
max-height: 98%;
overflow-y: scroll;
font-size: 28rpx;
color: #555;
line-height: 45rpx;
.dp_con1 {
font-weight: bold;
font-size: 32rpx;
margin-top: 20rpx;
margin-bottom: 20rpx;
}
}
}
.dp_title {
font-size: 36rpx;
margin-bottom: 10rpx;
color: #555;
text-align: center;
font-weight: bold;
}
.dp_content {
max-height: 98%;
overflow-y: scroll;
font-size: 28rpx;
color: #555;
line-height: 45rpx;
.dp_con1 {
font-weight: bold;
font-size: 32rpx;
margin-top: 20rpx;
margin-bottom: 20rpx;
}
// .dp_con2 {
// font-size: 30rpx;
// margin-top: 10rpx;
// margin-bottom: 10rpx;
// }
}
// .dp_con2 {
// font-size: 30rpx;
// margin-top: 10rpx;
// margin-bottom: 10rpx;
// }
}
</style>

View File

@@ -1,91 +1,134 @@
<template><page-meta
<template>
<page-meta
:page-font-size="$baseFontSize() + 'px'"
:root-font-size="$baseFontSize() + 'px'"
></page-meta>
<view>
<public-module></public-module>
<z-nav-bar title="关于我们" bgColor="#3AB3AE" fontColor="#fff"></z-nav-bar>
<view class="APPinfo">
<image src="@/static/icon/fengziIcon.png" mode="" style="height: 150rpx; width: 150rpx; margin: 0 auto;"></image><br/>
<p>版本信息{{versionName}},{{versionCode}}</p>
</view>
<view class="telInfo">
<view class="nav_list flexbox">
<text>客服热线</text>
<view class="view1">
<text>022-24142321</text>
<image @click="makeTel" src="@/static/icon/tel.png" mode="" style="height: 46rpx; width: 46rpx; margin-bottom: -10rpx; display: inline-block; "></image>
</view>
</view>
</view>
<view class="prof">众妙之门是一款融儒文为一体的国学学习平台提高认知提升修养而乐在其中</view>
<view class="" style="text-align: center;">
<!-- https://main.nuttyreading.com/privacy.html -->
<!-- <text @click="seeDetail('')" style="color: #007aff; font-size: 26rpx;">隐私政策</text> -->
<uni-link href="https://zmzm.taihumed.com/privacy.html" text="隐私政策"></uni-link>
<!-- <uni-link href="https://uniapp.dcloud.io/" text="https://uniapp.dcloud.io/"></uni-link> -->
</view>
<music-play :playData="playData"></music-play>
</view>
<view>
<public-module></public-module>
<z-nav-bar title="关于我们" bgColor="#3AB3AE" fontColor="#fff"></z-nav-bar>
<view class="APPinfo">
<image
src="@/static/icon/fengziIcon.png"
mode=""
style="height: 150rpx; width: 150rpx; margin: 0 auto"
></image
><br />
<p>版本信息{{ versionName }},{{ versionCode }}</p>
</view>
<view class="telInfo">
<view class="nav_list flexbox">
<text>客服热线</text>
<view class="view1">
<text>022-24142321</text>
<image
@click="makeTel"
src="@/static/icon/tel.png"
mode=""
style="
height: 46rpx;
width: 46rpx;
margin-bottom: -10rpx;
display: inline-block;
"
></image>
</view>
</view>
</view>
<view class="prof"
>众妙之门是一款融儒文为一体的国学学习平台提高认知提升修养而乐在其中</view
>
<view class="" style="text-align: center">
<!-- https://main.nuttyreading.com/privacy.html -->
<!-- <text @click="seeDetail('')" style="color: #007aff; font-size: 26rpx;">隐私政策</text> -->
<uni-link
href="https://zmzm.taihumed.com/privacy.html"
text="隐私政策"
></uni-link>
<!-- <uni-link href="https://uniapp.dcloud.io/" text="https://uniapp.dcloud.io/"></uni-link> -->
</view>
<music-play :playData="playData"></music-play>
</view>
</template>
<script>
import musicPlay from '@/components/music.vue'
export default {
data() {
return {
playData:{},
versionCode:null,
versionName:null
}
},
onLoad() {
this.getAppInfo()
},
components:{
musicPlay
},
methods: {
// 获取版本信息
getAppInfo(){
let that = this
plus.runtime.getProperty(plus.runtime.appid, function(inf) {
that.versionCode = inf.version
that.versionName = inf.name
// console.log(that.versionCode,555)
});
},
makeTel(){
uni.showModal({
title: '提示',
content: '微信号yilujiankangkefu',
// success: function (res) {
// if (res.confirm) {
// uni.makePhoneCall({
// phoneNumber: '022-24142321' //仅为示例
// });
// } else if (res.cancel) {
// }
// }
})
}
}
}
import musicPlay from "@/components/music.vue";
export default {
data() {
return {
playData: {},
versionCode: null,
versionName: null,
};
},
onLoad() {
this.getAppInfo();
},
components: {
musicPlay,
},
methods: {
// 获取版本信息
getAppInfo() {
let that = this;
plus.runtime.getProperty(plus.runtime.appid, function (inf) {
that.versionCode = inf.version;
that.versionName = inf.name;
// console.log(that.versionCode,555)
});
},
makeTel() {
uni.showModal({
title: "提示",
content: "微信号yilujiankangkefu",
// success: function (res) {
// if (res.confirm) {
// uni.makePhoneCall({
// phoneNumber: '022-24142321' //仅为示例
// });
// } else if (res.cancel) {
// }
// }
});
},
},
};
</script>
<style scoped lang="less">
.prof{padding: 20rpx; color: #666; font-size: 24rpx; line-height: 40rpx; text-indent: 2em;}
.telInfo{background-color:#fff;
.nav_list{padding: 30upx 0 30upx 20upx; border-top: 1px solid #e5e5e5; border-top: 1px solid #e5e5e5; justify-content: space-between; color: #666;
.view1{width:300rpx;}
}
}
.APPinfo{background-color:#fff; padding: 40rpx 0; margin-top: 20rpx; text-align: center;
p{font-size: 28rpx;}
}
.flexbox{display: flex; justify-content: center;}
.prof {
padding: 20rpx;
color: #666;
font-size: 24rpx;
line-height: 40rpx;
text-indent: 2em;
}
.telInfo {
background-color: #fff;
.nav_list {
padding: 30upx 0 30upx 20upx;
border-top: 1px solid #e5e5e5;
border-top: 1px solid #e5e5e5;
justify-content: space-between;
color: #666;
.view1 {
width: 300rpx;
}
}
}
.APPinfo {
background-color: #fff;
padding: 40rpx 0;
margin-top: 20rpx;
text-align: center;
p {
font-size: 28rpx;
}
}
.flexbox {
display: flex;
justify-content: center;
}
</style>

View File

@@ -39,7 +39,7 @@ export default {
},
onShow() {
uni.getStorageSync("fontSize")
? (this.fontValue =this.$baseFontSize())
? (this.fontValue = this.$baseFontSize())
: (this.fontValue = 3);
},
@@ -56,8 +56,8 @@ export default {
});
console.log(uni.getStorageSync("fontSize"));
uni.navigateBack({
delta: 1
});
delta: 1,
});
},
},
};

View File

@@ -1,18 +1,16 @@
<template><page-meta
:page-font-size="$baseFontSize() + 'px'"
:root-font-size="$baseFontSize() + 'px'"
></page-meta>
<template>
<page-meta
:page-font-size="$baseFontSize() + 'px'"
:root-font-size="$baseFontSize() + 'px'"
></page-meta>
<view class="container commonPageBox">
<!-- 公共组件-每个页面必须引入 -->
<public-module></public-module>
<!-- <z-nav-bar title="地址管理" bgColor="#3AB3AE" fontColor="#fff"></z-nav-bar> -->
<view
class="contentBox commonPageContentBox"
>
<view class="contentBox commonPageContentBox">
<common-address
:type="this.options.type"
:type="this.options.type"
backState="1000"
ref="commonAddress"
@fresh="handleFresh"

File diff suppressed because it is too large Load Diff

View File

@@ -26,22 +26,39 @@
style="display: flex; align-items: center"
v-if="slotProps.row.type == 'fontSize'"
>
<text style="margin-right: 5px;font-size: 14px !important;float: left;font-weight: bold;">标准</text>
<text
style="
margin-right: 5px;
font-size: 14px !important;
float: left;
font-weight: bold;
"
>标准</text
>
<u-switch
activeColor="cadetblue"
style="float: left;"
activeColor="cadetblue"
style="float: left"
v-model="fontSizeBlod"
size="16"
@change="asyncChange"
></u-switch>
<text style="margin-left: 5px;font-size: 14px !important;float: left;color: cadetblue;font-weight: bold;">最大</text>
<text
style="
margin-left: 5px;
font-size: 14px !important;
float: left;
color: cadetblue;
font-weight: bold;
"
>最大</text
>
</text>
<view> </view>
</template>
</list>
</view>
<!-- v-if="iosHide" -->
<view class="button_box" >
<view class="button_box">
<u-button
shape="square"
type=""
@@ -210,7 +227,7 @@ export default {
} else {
uni.setStorageSync("fontSize", 3.5);
}
this.$forceUpdate()
this.$forceUpdate();
},
signOut() {
this.signShow = false;

File diff suppressed because it is too large Load Diff

View File

@@ -1,282 +1,351 @@
<template>
<view class="commonPageBox">
<z-nav-bar title="VIP"></z-nav-bar>
<view class="vip_block">
<view class="vip_item"
:class="[item.type==1||item.type==2?'vip_item_special':'',
item.state==1?'vip_item_overdue':'',
item.type==1&&item.state==0||item.type==2&&item.state==0?'vip_item_bg_1':'',
item.type!=1&&item.type!=2&&item.state==0?'vip_item_bg_2':'']"
v-for="(item, index) in list" :key="index">
<view>
<text class="vip_item_title">{{item.title}}</text>
<text class="vip_item_tip" v-if="item.tip&&item.tip<100"><uni-icons type="info" size="17" color="#ff1f00"></uni-icons>还有{{item.tip}}天到期</text>
<text class="vip_item_flag" v-if="item.state==1">
<uni-icons type="info" size="17" color="#999"></uni-icons>已过期
</text>
</view>
<view class="vip_price" style=" padding-top: 10rpx;">
<text class="font_bold">课程价格</text>
<view class="vip_qx_v">一年<text class="vip_fee line">{{item.originalPrice||0}}</text></view>
</view>
<text class="vip_item_btn" v-if="item.state==null" @click="openorderModal(item,0)">去办理</text>
<text class="vip_item_btn" v-else @click="openorderModal(item,0)">去续费</text>
<view class="vip_price" v-if="item.vcbList&&item.vcbList.length>0">
<text class="font_bold" v-if="item.type==1||item.type==2">超级VIP价格</text>
<text class="font_bold" v-else>VIP价格</text>
<text class="vip_price_v" v-for="(item_price, index_price) in item.vcbList" :key="index_price" @click="openorderModal(item_price)">
{{item_price.year}}<text>{{item_price.rebateFee}}</text>
</text>
</view>
<view class="vip_price" v-if="item.yanqiList&&item.yanqiList.length>0">
<text class="font_bold">延期价格</text>
<text class="vip_price_v" v-for="(item_yq, index_yq) in item.yanqiList" :key="index_yq" @click="openorderModal(item_yq,1)">
{{item_yq.year}}<text>{{item_yq.rebateFee}}</text>
</text>
</view>
<view class="vip_qx">
<text class="font_bold" style=" display: block;">VIP权限</text>
<view class="vip_qx_v" v-if="item.type==1">无限制观看吴门医述APP中医学中西汇通学针灸学肿瘤学四个板块任意课程</view>
<view class="vip_qx_v" v-else-if="item.type==2">无限制观看众妙之门APP与吴门医述APP心理学板块任意课程</view>
<view class="vip_qx_v" v-else-if="item.type==7">无限制观看众妙之门APP任意课程</view>
<view class="vip_qx_v" v-else>无限制观看吴门医述APP{{item.title.replace(/VIP/g, '')}}板块任意课程</view>
<view class="vip_qx_v">
<text v-if="item.type==1||item.type==2">{{item.title.replace(/超级VIP/g, '')}}</text>
<text v-else>{{item.title.replace(/VIP/g, '')}}</text>
培训班报名享受<text class="vip_fee" v-if="item.type==1||item.type==2">8折</text><text class="vip_fee" v-else>9折</text>优惠
</view>
<view class="vip_qx_v">疯子读书APP购书享受<text class="vip_fee" v-if="item.type==1||item.type==2">8折</text><text class="vip_fee" v-else>9折</text>优惠</view>
</view>
</view>
</view>
<u-popup :show="orderModalShow" mode="bottom" :round="20">
<view class="orderModalShow popup_box">
<u-icon name="close" color="#333" size="18" @click="closeOrderModalShow" style="
display: inline-block;
position: absolute;
right: 20rpx;
top: 20rpx;
"></u-icon>
<orderPay ref="orderPay" :dataInfo="selectVipData"></orderPay>
</view>
</u-popup>
</view>
<view class="commonPageBox">
<z-nav-bar title="VIP"></z-nav-bar>
<view class="vip_block">
<view
class="vip_item"
:class="[
item.type == 1 || item.type == 2 ? 'vip_item_special' : '',
item.state == 1 ? 'vip_item_overdue' : '',
(item.type == 1 && item.state == 0) ||
(item.type == 2 && item.state == 0)
? 'vip_item_bg_1'
: '',
item.type != 1 && item.type != 2 && item.state == 0
? 'vip_item_bg_2'
: '',
]"
v-for="(item, index) in list"
:key="index"
>
<view>
<text class="vip_item_title">{{ item.title }}</text>
<text class="vip_item_tip" v-if="item.tip && item.tip < 100"
><uni-icons type="info" size="17" color="#ff1f00"></uni-icons>还有{{
item.tip
}}天到期</text
>
<text class="vip_item_flag" v-if="item.state == 1">
<uni-icons type="info" size="17" color="#999"></uni-icons>已过期
</text>
</view>
<view class="vip_price" style="padding-top: 10rpx">
<text class="font_bold">课程价格</text>
<view class="vip_qx_v"
>一年<text class="vip_fee line">{{ item.originalPrice || 0 }}</text
></view
>
</view>
<text
class="vip_item_btn"
v-if="item.state == null"
@click="openorderModal(item, 0)"
>去办理</text
>
<text class="vip_item_btn" v-else @click="openorderModal(item, 0)"
>去续费</text
>
<view class="vip_price" v-if="item.vcbList && item.vcbList.length > 0">
<text class="font_bold" v-if="item.type == 1 || item.type == 2"
>超级VIP价格</text
>
<text class="font_bold" v-else>VIP价格</text>
<text
class="vip_price_v"
v-for="(item_price, index_price) in item.vcbList"
:key="index_price"
@click="openorderModal(item_price)"
>
{{ item_price.year }}<text>{{ item_price.rebateFee }}</text
>
</text>
</view>
<view
class="vip_price"
v-if="item.yanqiList && item.yanqiList.length > 0"
>
<text class="font_bold">延期价格</text>
<text
class="vip_price_v"
v-for="(item_yq, index_yq) in item.yanqiList"
:key="index_yq"
@click="openorderModal(item_yq, 1)"
>
{{ item_yq.year }}<text>{{ item_yq.rebateFee }}</text
>
</text>
</view>
<view class="vip_qx">
<text class="font_bold" style="display: block">VIP权限</text>
<view class="vip_qx_v" v-if="item.type == 1"
>无限制观看吴门医述APP中医学中西汇通学针灸学肿瘤学四个板块任意课程</view
>
<view class="vip_qx_v" v-else-if="item.type == 2"
>无限制观看众妙之门APP与吴门医述APP心理学板块任意课程</view
>
<view class="vip_qx_v" v-else-if="item.type == 7"
>无限制观看众妙之门APP任意课程</view
>
<view class="vip_qx_v" v-else
>无限制观看吴门医述APP{{
item.title.replace(/VIP/g, "")
}}板块任意课程</view
>
<view class="vip_qx_v">
<text v-if="item.type == 1 || item.type == 2">{{
item.title.replace(/超级VIP/g, "")
}}</text>
<text v-else>{{ item.title.replace(/VIP/g, "") }}</text>
培训班报名享受<text
class="vip_fee"
v-if="item.type == 1 || item.type == 2"
>8</text
><text class="vip_fee" v-else>9折</text>优惠
</view>
<view class="vip_qx_v"
>疯子读书APP购书享受<text
class="vip_fee"
v-if="item.type == 1 || item.type == 2"
>8</text
><text class="vip_fee" v-else>9折</text>优惠</view
>
</view>
</view>
</view>
<u-popup :show="orderModalShow" mode="bottom" :round="20">
<view class="orderModalShow popup_box">
<u-icon
name="close"
color="#333"
size="18"
@click="closeOrderModalShow"
style="
display: inline-block;
position: absolute;
right: 20rpx;
top: 20rpx;
"
></u-icon>
<orderPay ref="orderPay" :dataInfo="selectVipData"></orderPay>
</view>
</u-popup>
</view>
</template>
<script>
import $http from "@/config/requestConfig.js";
import orderPay from "./order.vue";
export default{
data(){
return{
type: 0,
text: '', //针对不同type展示文案
list: [],
orderModalShow: false,
selectVipData: {}
}
},
components: {
orderPay
},
onLoad(){
this.getData();
},
onShow(){
},
methods: {
//获取数据
getData(){
uni.showLoading({
title: '加载中'
})
$http.request({
url: "common/userVip/getVipBuyConfigList",
method: "POST",
data: {},
header: {
'Content-Type': 'application/json'
},
})
.then(res => {
uni.hideLoading();
if (res.code == 0) {
this.list = res.res;
}
}).catch(e => {
});
},
//点击购买
openorderModal(item,type) {
let text = '';
//如果是右侧按钮点击展示
//判断点击类型是vip价格还是延期价格
if(type==0){
if(item.state==null){ //没有vip
this.selectVipData.list = item.vcbList;
this.selectVipData.id = item.vcbList[0].id;
}else{
this.selectVipData.list = item.yanqiList;
this.selectVipData.id = item.yanqiList[0].id;
}
}else{
this.selectVipData.id = item.id;
}
if(type){
this.selectVipData.type = type;
}
this.selectVipData.title = item.title + '-' + item.year + '年';
this.selectVipData.lastFee = item.rebateFee;
this.orderModalShow = true;
console.log('-----selectVipData-----',this.selectVipData)
this.$nextTick(() => {
this.$refs.orderPay.initPrepareOrder();
});
},
//关闭
closeOrderModalShow() {
this.orderModalShow = false;
this.selectVipData = {};
},
}
}
export default {
data() {
return {
type: 0,
text: "", //针对不同type展示文案
list: [],
orderModalShow: false,
selectVipData: {},
};
},
components: {
orderPay,
},
onLoad() {
this.getData();
},
onShow() {},
methods: {
//获取数据
getData() {
uni.showLoading({
title: "加载中",
});
$http
.request({
url: "common/userVip/getVipBuyConfigList",
method: "POST",
data: {},
header: {
"Content-Type": "application/json",
},
})
.then((res) => {
uni.hideLoading();
if (res.code == 0) {
this.list = res.res;
}
})
.catch((e) => {});
},
//点击购买
openorderModal(item, type) {
let text = "";
//如果是右侧按钮点击展示
//判断点击类型是vip价格还是延期价格
if (type == 0) {
if (item.state == null) {
//没有vip
this.selectVipData.list = item.vcbList;
this.selectVipData.id = item.vcbList[0].id;
} else {
this.selectVipData.list = item.yanqiList;
this.selectVipData.id = item.yanqiList[0].id;
}
} else {
this.selectVipData.id = item.id;
}
if (type) {
this.selectVipData.type = type;
}
this.selectVipData.title = item.title + "-" + item.year + "年";
this.selectVipData.lastFee = item.rebateFee;
this.orderModalShow = true;
console.log("-----selectVipData-----", this.selectVipData);
this.$nextTick(() => {
this.$refs.orderPay.initPrepareOrder();
});
},
//关闭
closeOrderModalShow() {
this.orderModalShow = false;
this.selectVipData = {};
},
},
};
</script>
<style>
.commonPageBox {
height: 100% !important;
height: 100% !important;
}
.vip_block{
padding: 20rpx;
.vip_block {
padding: 20rpx;
}
.vip_item{
width: 100%;
padding: 30rpx 20rpx;
background-color: #fff;
border-radius: 10px;
box-shadow: 0px 0px 5px 0px #a7bbe4;
margin-bottom: 20rpx;
position: relative;
.vip_item {
width: 100%;
padding: 30rpx 20rpx;
background-color: #fff;
border-radius: 10px;
box-shadow: 0px 0px 5px 0px #a7bbe4;
margin-bottom: 20rpx;
position: relative;
}
.vip_item_title{
display: inline-block;
height: 46rpx;
line-height: 46rpx;
font-size: 24rpx;
font-weight: bold;
color: #fff;
padding: 0 12rpx;
border-radius: 15rpx;
background-image: linear-gradient(90deg, #258feb 0%, #00e1ec 100%);
.vip_item_title {
display: inline-block;
height: 46rpx;
line-height: 46rpx;
font-size: 24rpx;
font-weight: bold;
color: #fff;
padding: 0 12rpx;
border-radius: 15rpx;
background-image: linear-gradient(90deg, #258feb 0%, #00e1ec 100%);
}
.vip_item_special .vip_item_title{
height: 50rpx;
line-height: 50rpx;
font-size: 26rpx;
background-image: linear-gradient(90deg, #ff1f00 0%, #fa9f93 100%);
.vip_item_special .vip_item_title {
height: 50rpx;
line-height: 50rpx;
font-size: 26rpx;
background-image: linear-gradient(90deg, #ff1f00 0%, #fa9f93 100%);
}
.vip_price{
margin-top: 5rpx;
.vip_price {
margin-top: 5rpx;
}
.vip_price text,.vip_qx text,.vip_qx_v{
display: inline-block;
font-size: 28rpx;
line-height: 40rpx;
.vip_price text,
.vip_qx text,
.vip_qx_v {
display: inline-block;
font-size: 28rpx;
line-height: 40rpx;
}
.vip_item_used{
position: absolute;
right: 20rpx;
bottom: 20rpx;
font-size: 24rpx;
color: #427ec5;
font-weight: bold;
.vip_item_used {
position: absolute;
right: 20rpx;
bottom: 20rpx;
font-size: 24rpx;
color: #427ec5;
font-weight: bold;
}
.vip_item_btn{
position: absolute;
right: 20rpx;
top: 30rpx;
font-size: 23rpx;
line-height: 40rpx;
border: 1rpx solid #ff1f00;
color: #ff1f00;
padding: 0 12rpx;
border-radius: 15rpx;
opacity: 0.8;
.vip_item_btn {
position: absolute;
right: 20rpx;
top: 30rpx;
font-size: 23rpx;
line-height: 40rpx;
border: 1rpx solid #ff1f00;
color: #ff1f00;
padding: 0 12rpx;
border-radius: 15rpx;
opacity: 0.8;
}
.font_bold{
font-weight: bold;
.font_bold {
font-weight: bold;
}
.vip_fee{
font-size: 34rpx !important;
color: #ff1f00;
font-weight: bold;
padding: 0 5rpx;
.vip_fee {
font-size: 34rpx !important;
color: #ff1f00;
font-weight: bold;
padding: 0 5rpx;
}
.vip_price_v{
font-size: 26rpx !important;
color: #ff1f00;
border: 1rpx solid #ff1f00;
border-radius: 10rpx;
margin-right: 15rpx;
margin-bottom: 10rpx;
padding: 0 10rpx;
.vip_price_v {
font-size: 26rpx !important;
color: #ff1f00;
border: 1rpx solid #ff1f00;
border-radius: 10rpx;
margin-right: 15rpx;
margin-bottom: 10rpx;
padding: 0 10rpx;
}
.vip_price_yq{
font-size: 26rpx !important;
color: #427ec5;
border: 1rpx solid #427ec5;
border-radius: 10rpx;
margin-right: 15rpx;
margin-bottom: 10rpx;
padding: 0 10rpx;
.vip_price_yq {
font-size: 26rpx !important;
color: #427ec5;
border: 1rpx solid #427ec5;
border-radius: 10rpx;
margin-right: 15rpx;
margin-bottom: 10rpx;
padding: 0 10rpx;
}
.line{
text-decoration: line-through;
color: #258feb;
font-style: italic;
.line {
text-decoration: line-through;
color: #258feb;
font-style: italic;
}
.vip_item_flag{
font-size: 26rpx;
color: #666;
padding-left: 20rpx;
.vip_item_flag {
font-size: 26rpx;
color: #666;
padding-left: 20rpx;
}
.vip_item_flag text{
vertical-align: bottom;
.vip_item_flag text {
vertical-align: bottom;
}
.vip_item_overdue{
background: rgba(220, 223, 225, 0.9) !important;
opacity: 0.75;
.vip_item_overdue {
background: rgba(220, 223, 225, 0.9) !important;
opacity: 0.75;
}
.vip_item_overdue .vip_item_title{
background-image: none;
font-size: 32rpx;
color: #000;
padding: 0;
.vip_item_overdue .vip_item_title {
background-image: none;
font-size: 32rpx;
color: #000;
padding: 0;
}
.vip_item_bg_1{
background: rgba(227, 120, 125, 0.3) !important;
.vip_item_bg_1 {
background: rgba(227, 120, 125, 0.3) !important;
}
.vip_item_bg_2{
background: rgba(64, 148, 222, 0.3) !important;
.vip_item_bg_2 {
background: rgba(64, 148, 222, 0.3) !important;
}
.vip_item_tip{
color: #ff1f00;
font-size: 26rpx;
padding-left: 20rpx;
.vip_item_tip {
color: #ff1f00;
font-size: 26rpx;
padding-left: 20rpx;
}
.vip_item_tip text{
vertical-align: bottom;
.vip_item_tip text {
vertical-align: bottom;
}
</style>
</style>

File diff suppressed because it is too large Load Diff

View File

@@ -17,12 +17,11 @@
</view>
<!-- -->
<view class="tanchu" style="position: relative">
<view
v-if="status!=0"
v-if="status != 0"
style="
min-height: 80vh;
z-index: 100;
min-height: 80vh;
z-index: 100;
background-color: #f0f0f0;
opacity: 0.55;
position: absolute;
@@ -35,7 +34,6 @@
<view class="listBox" v-if="list.length > 0">
<view style="min-height: 40vh; overflow-y: scroll">
<common-coupon :List="list" :source="'mine'"> </common-coupon>
</view>
<!-- <view style="font-size: 20rpx;color: #aaa;margin-top: 30rpx;">* 每笔订单只能使用一张优惠价</view> -->
@@ -147,7 +145,7 @@ export default {
userInfo: "", //用户信息
userId: this.userInfo.id,
},
111111111111111111111111111
111111111111111111111111111,
);
await this.$http
.request({

View File

@@ -1,9 +1,9 @@
<template><page-meta
:page-font-size="$baseFontSize() + 'px'"
:root-font-size="$baseFontSize() + 'px'"
></page-meta>
<template>
<page-meta
:page-font-size="$baseFontSize() + 'px'"
:root-font-size="$baseFontSize() + 'px'"
></page-meta>
<view>
<!-- 公共组件-每个页面必须引入 -->
<public-module></public-module>
<z-nav-bar
@@ -15,17 +15,8 @@
>
</z-nav-bar>
<!-- style="position: fixed; width: 100%; z-index: 10" -->
<u-alert
type="warning"
size="20rpx"
:title="goBuyTitle"
:show-icon="true"
>
</u-alert>
<u-alert type="warning" size="20rpx" :title="goBuyTitle" :show-icon="true">
</u-alert>
<view class="ACTable">
<!-- <u-tabs :list="tab_list" @click="tab_click" lineColor="#54a966 100% 100%"
:activeStyle="{color: '#303133',fontWeight: 'bold',transform: 'scale(1.1)'}" ></u-tabs> -->
@@ -185,7 +176,8 @@ import { mapState } from "vuex";
export default {
data() {
return {
goBuyTitle:'【天医币】仅为我平台支付使用币种 。一人民币=一天医币,仅为了方便用户支付使用。【天医币】可以用于在我平台支付书籍或课程使用。【天医币】这个名称是为适应我们平台的定位属性,所起名称。与区块链虚拟货币无任何关系。',
goBuyTitle:
"【天医币】仅为我平台支付使用币种 。一人民币=一天医币,仅为了方便用户支付使用。【天医币】可以用于在我平台支付书籍或课程使用。【天医币】这个名称是为适应我们平台的定位属性,所起名称。与区块链虚拟货币无任何关系。",
playData: {},
options: {},
platform: null,
@@ -336,7 +328,7 @@ export default {
"/book/couponhistory/appGetUserCenterCoupon?userId=" +
this.userInfo.id +
"&useStatus=" +
this.couponListTab
this.couponListTab,
)
.then((res) => {
// this.cardList = res.couponVos
@@ -681,7 +673,7 @@ export default {
display: flex;
align-items: center;
justify-content: space-between;
background-image: linear-gradient(90deg, #3AB3AE 0%, #73ee9c 100%);
background-image: linear-gradient(90deg, #3ab3ae 0%, #73ee9c 100%);
color: #fff;
border-top-left-radius: 15rpx;
border-top-right-radius: 15rpx;
@@ -699,11 +691,10 @@ export default {
// right: 30rpx;
// top: 20rpx;
}
/deep/.u-alert__content__title
{
/deep/.u-alert__content__title {
// background-color: #f0f0f0;
font-size: 24rpx !important;
// color: #f4511a !important;
line-height: 28rpx !important;
font-size: 24rpx !important;
// color: #f4511a !important;
line-height: 28rpx !important;
}
</style>

View File

@@ -1,7 +1,8 @@
<template><page-meta
:page-font-size="$baseFontSize() + 'px'"
:root-font-size="$baseFontSize() + 'px'"
></page-meta>
<template>
<page-meta
:page-font-size="$baseFontSize() + 'px'"
:root-font-size="$baseFontSize() + 'px'"
></page-meta>
<view class="commonPageBox">
<!-- 公共组件-每个页面必须引入 -->
<public-module></public-module>
@@ -25,12 +26,11 @@
> -->
</view>
<!-- :style="`height:calc(100vh - ${(120 + statusBarHeight) * 2}rpx)`" -->
<view style="padding: 30rpx; padding-top: 0">
<view class="AC_con">
<view class="AC_jilu PM_font">积分记录</view>
<common-list
:dataList="MoneyRecord"
isCondition="true"
isNoIcon="true"
@@ -297,7 +297,7 @@ export default {
"/book/couponhistory/appGetUserCenterCoupon?userId=" +
this.userInfo.id +
"&useStatus=" +
this.couponListTab
this.couponListTab,
)
.then((res) => {
// this.cardList = res.couponVos
@@ -389,7 +389,7 @@ export default {
.AC_jilu {
font-size: 42rpx;
text-align: left;
color:#7f2000 ;
color: #7f2000;
// background-image: linear-gradient(90deg, #3AB3AE 20%, #c3fade 100%);
// margin-bottom: 30rpx;
padding: 10rpx 20rpx 40rpx;

View File

@@ -1,12 +1,13 @@
<template><page-meta
:page-font-size="$baseFontSize() + 'px'"
:root-font-size="$baseFontSize() + 'px'"
></page-meta>
<template>
<page-meta
:page-font-size="$baseFontSize() + 'px'"
:root-font-size="$baseFontSize() + 'px'"
></page-meta>
<view>
<!-- 公共组件-每个页面必须引入 -->
<public-module></public-module>
<z-nav-bar title="我的积分" bgColor="#3AB3AE" fontColor="#fff" > </z-nav-bar>
<view class="ACTable" >
<z-nav-bar title="我的积分" bgColor="#3AB3AE" fontColor="#fff"> </z-nav-bar>
<view class="ACTable">
<!-- <u-tabs :list="tab_list" @click="tab_click" lineColor="#54a966 100% 100%"
:activeStyle="{color: '#303133',fontWeight: 'bold',transform: 'scale(1.1)'}" ></u-tabs> -->
@@ -16,15 +17,13 @@
<view>
<view class="AC_mes">
<view class="wallet_title PM_font">积分</view>
<view class="wallet_number">{{
userMes.jf ? userMes.jf : 0
}}</view>
<view class="wallet_number">{{ userMes.jf ? userMes.jf : 0 }}</view>
<!-- <text v-if="platform != 'ios'" class="AC_chong" @click="buPoint()"
>充值</text
> -->
</view>
<view style="padding: 30rpx; padding-top: 0">
<view class="AC_con">
<view class="AC_jilu PM_font">积分记录</view>
@@ -46,10 +45,9 @@
>
<text v-if="slotProps.row.changeAmount > 0">+</text>
<text>{{ slotProps.row.changeAmount }}</text> </view
><view
class="AC_mark"
v-if="slotProps.row.remark "
>{{ slotProps.row.remark}}</view
><view class="AC_mark" v-if="slotProps.row.remark">{{
slotProps.row.remark
}}</view
><view class="AC_time">{{ slotProps.row.createTime }}</view>
</view>
</template>
@@ -296,7 +294,7 @@ export default {
"/book/couponhistory/appGetUserCenterCoupon?userId=" +
this.userInfo.id +
"&useStatus=" +
this.couponListTab
this.couponListTab,
)
.then((res) => {
// this.cardList = res.couponVos
@@ -637,14 +635,14 @@ export default {
color: $themeColor !important;
}
.AC_chong {
display: flex;
align-items: center;
justify-content: space-between;
background-image: linear-gradient(90deg, #3AB3AE 0%, #73ee9c 100%);
display: flex;
align-items: center;
justify-content: space-between;
background-image: linear-gradient(90deg, #3ab3ae 0%, #73ee9c 100%);
color: #fff;
border-top-left-radius: 15rpx;
border-top-right-radius: 15rpx;
padding:20rpx 20rpx;
padding: 20rpx 20rpx;
font-size: 36rpx;
font-weight: 800;
text-align: right;

File diff suppressed because it is too large Load Diff