mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-mobile.git
synced 2025-12-07 01:46:44 +08:00
提交修改
This commit is contained in:
@@ -44,7 +44,7 @@
|
||||
name = this.course.courseName.replace('color:#ff0000','color:#fff');
|
||||
}
|
||||
if(this.course && this.course.title && this.course.title !== '') {
|
||||
name = this.course.title.replace('color:#ff0000','color:#fff');
|
||||
name = this.course.title.replace('color:#ff0000','color:#fff');
|
||||
}
|
||||
return name;
|
||||
// course.name || course.courseName || course.title
|
||||
@@ -67,7 +67,7 @@
|
||||
return this.$config.fileUrl+this.course.courseImage;
|
||||
}else if(this.course.coverImg == '' || this.course.courseImage == '' || this.course.image == ''){
|
||||
this.textShow = true;
|
||||
return '/static/images/course/courseDefault.png'
|
||||
return this.$config.context+'/static/images/course/courseDefault.png'
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -4,7 +4,7 @@ let oldApiBaseUrl ='/uboeApi';
|
||||
let statApiBaseUrl='/statApi';
|
||||
let socialApiBaseUrl='/socialApi';
|
||||
let loginPath='/pages/login/login';
|
||||
let context='/mbile';
|
||||
let context='/mobile';
|
||||
let tokenName='';
|
||||
let appId=''
|
||||
let fileUrl='';
|
||||
|
||||
@@ -164,7 +164,7 @@
|
||||
<u-overlay :show="signInShow">
|
||||
<view style="padding-top: 180upx;">
|
||||
<view style="margin-top: 180upx;width:624upx;margin: 0px auto;position: relative;">
|
||||
<img usemap="#HotMap" src="/mobile/static/images/dlg.png" style="width:624upx;height: 864upx;">
|
||||
<img usemap="#HotMap" :src="`${context}/static/images/dlg.png`" style="width:624upx;height: 864upx;">
|
||||
<text @click="signInShow=false" style="position: absolute;right: 15upx;top: 0upx;color: #ffffff;font-size: 40px;">×</text>
|
||||
<mapelement></mapelement>
|
||||
</view>
|
||||
@@ -193,6 +193,7 @@
|
||||
msgNum:0,
|
||||
signInShow:false,
|
||||
signLocalTimesKey:'xboe_sign_dlg_times',
|
||||
context:this.$config.context,
|
||||
courseList:[],//课程列表数据
|
||||
articleList: [],//文章列表数据
|
||||
qaList: [],//问答列表数据
|
||||
@@ -291,7 +292,7 @@
|
||||
mounted() {
|
||||
//控制弹出窗口的代码
|
||||
let now = new Date() //当前时间
|
||||
let end = new Date('2022/06/29 00:00:00') //对比时间
|
||||
let end = new Date('2022/12/29 00:00:00') //对比时间
|
||||
if(now.getTime() < end.getTime()){
|
||||
let times = uni.getStorageSync(this.signLocalTimesKey);
|
||||
let isNewLogin=uni.getStorageSync("boe_new_login");
|
||||
|
||||
Reference in New Issue
Block a user