Commit ab8ed886 by kyle

代码问题修改

parent e352e70a
...@@ -125,4 +125,7 @@ ...@@ -125,4 +125,7 @@
left: 0; left: 0;
right: 0; right: 0;
} }
.uni-calendar-item--extra{
white-space: nowrap !important;
}
</style> </style>
...@@ -39,7 +39,8 @@ export default { ...@@ -39,7 +39,8 @@ export default {
data:[{ data:[{
title:'(分钟)', title:'(分钟)',
titleFontSize:10, titleFontSize:10,
titleOffsetY:-5 titleOffsetY:-5,
min:0
}] }]
}, },
legend:{ legend:{
......
...@@ -416,6 +416,14 @@ ...@@ -416,6 +416,14 @@
"enablePullDownRefresh": false "enablePullDownRefresh": false
} }
} ,{
"path" : "pages/invitationRegister/invitationRegister",
"style" :
{
"navigationBarTitleText": "邀请注册",
"enablePullDownRefresh": false
}
} }
], ],
// "tabBar": { // "tabBar": {
......
...@@ -81,7 +81,7 @@ ...@@ -81,7 +81,7 @@
options:[ options:[
{title:'提交申请',desc:'退款将退回到您的支付宝/微信账号请注意查收',time:'XXXX'}, {title:'提交申请',desc:'退款将退回到您的支付宝/微信账号请注意查收',time:'XXXX'},
{title:'退款中',desc:'您的退款申请已通过,待财务退款',time:'XXXX'}, {title:'退款中',desc:'您的退款申请已通过,待财务退款',time:'XXXX'},
{title:'退款成功',desc:'您的退款申请已成功,待审核',time:'XXXX'}, {title:'退款成功',desc:'您的退款申请已成功',time:'XXXX'},
] ]
}; };
}, },
...@@ -114,7 +114,7 @@ ...@@ -114,7 +114,7 @@
this.options = [ this.options = [
{title:'提交申请',desc:'退款将退回到您的支付宝/微信账号请注意查收',time:this.courseInfoItem.refundTime}, {title:'提交申请',desc:'退款将退回到您的支付宝/微信账号请注意查收',time:this.courseInfoItem.refundTime},
{title:'退款中',desc:'您的退款申请已通过,待财务退款',time:this.courseInfoItem.refundingTime}, {title:'退款中',desc:'您的退款申请已通过,待财务退款',time:this.courseInfoItem.refundingTime},
{title:'退款成功',desc:'您的退款申请已成功,待审核',time:this.courseInfoItem.applyRefundTime}, {title:'退款成功',desc:'您的退款申请已成功',time:this.courseInfoItem.applyRefundTime},
] ]
} }
}) })
......
...@@ -34,7 +34,7 @@ ...@@ -34,7 +34,7 @@
name:'announcement_detail', name:'announcement_detail',
components:{ components:{
}, },
onLoad(option){ onLoad(options){
this.id = options.id; this.id = options.id;
this.getAnnouncementDetail(); this.getAnnouncementDetail();
}, },
...@@ -95,6 +95,7 @@ ...@@ -95,6 +95,7 @@
margin-top: 20rpx; margin-top: 20rpx;
padding: 20rpx; padding: 20rpx;
background: #fff; background: #fff;
word-break: break-word;
} }
} }
</style> </style>
\ No newline at end of file
...@@ -37,6 +37,7 @@ ...@@ -37,6 +37,7 @@
border-radius: 30rpx; border-radius: 30rpx;
overflow: hidden; overflow: hidden;
font-size: 40rpx; font-size: 40rpx;
width:100rpx;
image{ image{
margin-bottom: 20rpx; margin-bottom: 20rpx;
width: 160rpx; width: 160rpx;
......
...@@ -85,7 +85,7 @@ ...@@ -85,7 +85,7 @@
<h4>学习明细</h4> <h4>学习明细</h4>
<view class="lineChartBox"> <view class="lineChartBox">
<view v-if="studyInfos && chartData"> <view v-if="studyInfos && chartData">
<charts :chartData="chartData" @getIndex="tap"></charts> <charts :chartData="chartData" :reload="false" @getIndex="tap"></charts>
<view class="chartTips"> <view class="chartTips">
<view class="imgBox"> <view class="imgBox">
<image src="../../static/point.png" mode="widthFix"></image> <image src="../../static/point.png" mode="widthFix"></image>
...@@ -206,6 +206,8 @@ ...@@ -206,6 +206,8 @@
}, },
tap(e){ tap(e){
this.index = e; this.index = e;
this.chartData.series[0]['data'].forEach(item=>item.color = '#9EB4FF');
this.chartData.series[0]['data'][this.index].color = '#5F83FF';
this.month = this.studyInfos[this.index].month; this.month = this.studyInfos[this.index].month;
this.calendarSelected = []; this.calendarSelected = [];
this.currentDate = this.month; this.currentDate = this.month;
......
...@@ -31,7 +31,7 @@ ...@@ -31,7 +31,7 @@
</view> </view>
<view class="getCertifyListsBox" v-if="tabType===2"> <view class="getCertifyListsBox" v-if="tabType===2">
<view class="certifyListContent" v-if="userCertificates.length>0"> <view class="certifyListContent" v-if="userCertificates.length>0">
<view class="certifyInfoItem" v-for="item in userCertificates" :key="item.cerNo"> <view class="certifyInfoItem" v-for="item in userCertificates" :key="item.cerNo" @click="previewImg(item)">
<h4>{{item.cerName}}</h4> <h4>{{item.cerName}}</h4>
<view class="certifyImgBox"> <view class="certifyImgBox">
<image :src="item.cerUrl" alt="" srcset="" mode="widthFix"></image> <image :src="item.cerUrl" alt="" srcset="" mode="widthFix"></image>
...@@ -117,6 +117,22 @@ ...@@ -117,6 +117,22 @@
statusInfo.statusClass = 'certifing' statusInfo.statusClass = 'certifing'
} }
return statusInfo; return statusInfo;
},
// 预览图片
previewImg(e){
// 预览图片
uni.previewImage({
urls:[e.cerUrl],
longPressActions: {
itemList: ['发送给朋友', '保存图片'],
success: function(data) {
console.log('选中了第' + (data.tapIndex + 1) + '个按钮,第' + (data.index + 1) + '张图片');
},
fail: function(err) {
console.log(err.errMsg);
}
}
});
} }
}, },
onLoad(){ onLoad(){
...@@ -223,6 +239,11 @@ ...@@ -223,6 +239,11 @@
max-width: 60%; max-width: 60%;
height: auto; height: auto;
} }
.certifyImgBox{
display: flex;
flex-direction: column;
align-items: center;
}
} }
} }
} }
......
...@@ -157,7 +157,8 @@ ...@@ -157,7 +157,8 @@
orderId:this.orderId, orderId:this.orderId,
amount:this.totalPrice, amount:this.totalPrice,
paymentMethod:this.paymentMethod, paymentMethod:this.paymentMethod,
userId:this.userId userId:this.userId,
integralExchange:parseFloat(this.deductionCore)
} }
if(this.paymentMethod==1){ if(this.paymentMethod==1){
api.wxAppPay(param).then(res=>{ api.wxAppPay(param).then(res=>{
......
...@@ -79,7 +79,7 @@ ...@@ -79,7 +79,7 @@
data() { data() {
return { return {
userId:'1', userId:'1',
inviteEqrode:'XXXXXXX', inviteEqrode:'',
currentPage:'personalCenter', currentPage:'personalCenter',
customerBasicInfo:{}, customerBasicInfo:{},
mainMenuLists:[ mainMenuLists:[
...@@ -120,7 +120,7 @@ ...@@ -120,7 +120,7 @@
{title:'我的邀请码',icon:'shareEcode',link:'',isOpen:true,isShow:true}, {title:'我的邀请码',icon:'shareEcode',link:'',isOpen:true,isShow:true},
{title:'我的卡包',icon:'card',link:'',isOpen:true,isShow:false}, {title:'我的卡包',icon:'card',link:'',isOpen:true,isShow:false},
{title:'我的认证',icon:'myCertify',link:'/pages/myCertify/myCertify',isOpen:true,isShow:true}, {title:'我的认证',icon:'myCertify',link:'/pages/myCertify/myCertify',isOpen:true,isShow:true},
{title:'申请修改公司周边',icon:'setting',link:'',isOpen:true,isShow:true}, {title:'申请修改公司周边',icon:'setting',link:'',isOpen:true,isShow:false},
{title:'我的消息',icon:'message',link:'/pages/systemMsg/system_msg',isOpen:true,isShow:true}, {title:'我的消息',icon:'message',link:'/pages/systemMsg/system_msg',isOpen:true,isShow:true},
{title:'系统设置',icon:'setting',link:'/pages/personalCenter/system/settings',isOpen:true,isShow:true} {title:'系统设置',icon:'setting',link:'/pages/personalCenter/system/settings',isOpen:true,isShow:true}
] ]
...@@ -181,6 +181,7 @@ ...@@ -181,6 +181,7 @@
api.queryInfo({userId:this.userId}).then(res=>{ api.queryInfo({userId:this.userId}).then(res=>{
if(res['success']){ if(res['success']){
this.customerBasicInfo = res['data']; this.customerBasicInfo = res['data'];
this.inviteEqrode = this.customerBasicInfo.invitationCode;
}else{ }else{
uni.showToast({ uni.showToast({
title: res['message'], title: res['message'],
......
...@@ -90,6 +90,7 @@ ...@@ -90,6 +90,7 @@
margin-top: 20rpx; margin-top: 20rpx;
padding: 20rpx; padding: 20rpx;
background: #fff; background: #fff;
word-break: break-word;
} }
} }
</style> </style>
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment