unknown 6 months ago
parent
commit
33831367bb
  1. 3
      App.vue
  2. 22
      common/css/app.scss
  3. 2
      common/js/mixins.js
  4. 2
      common/js/qqLatLng.js
  5. 2
      config/site.config.js
  6. 8
      manifest.json
  7. 6
      pages/indexEntry/enroll/payment/payment.vue
  8. 1
      pages/indexEntry/findCoach/comp/coachItem.vue
  9. 3
      pages/mineEntry/carLearnHours/carLearnHours.vue
  10. 13
      pages/mineEntry/myForecastName/myForecastName.vue
  11. 2
      pages/mineEntry/myOrder/detail/detail.vue
  12. 12
      store/modules/user.js
  13. 2
      uni.scss

3
App.vue

@ -62,6 +62,7 @@
}
}
}
}
</style>

22
common/css/app.scss

@ -48,7 +48,16 @@ view {
min-height: 100vh;
}
.starBox {
width: 58rpx;
height: 32rpx;
line-height: 32rpx;
background: $tagC;
font-size: 24rpx;
text-align: center;
color: #fff;
border-radius: 16px 0px 16px 16rpx;
}
.pad {
padding: 0 28rpx;
@ -70,16 +79,7 @@ image {
.placeholderClassFFF {
color: #fff !important;
}
.starBox {
width: 58rpx;
height: 32rpx;
line-height: 32rpx;
background: $tagC;
font-size: 24rpx;
text-align: center;
color: #fff;
border-radius: 16px 0px 16px 16rpx;
}
.pozPhone {
opacity: 0.7;
}

2
common/js/mixins.js

@ -27,7 +27,9 @@ export default {
if(token) {
this.$store.dispatch('getUserInfo')
}
if(!this.vuex_cityInfo.lat) {
this.$store.dispatch('getCity')
}
},
}

2
common/js/qqLatLng.js

@ -1,7 +1,7 @@
var KJTencentLocation = uni.requireNativePlugin("KJ-TencentLocation");
var kic = {
"apiKey": "BPMBZ-VSKE3-MC23F-O3KZO-AZGI7-PXFJI", //ios才有效,andorid的在App原生插件配置里设置
"apiKey": "JTOBZ-KLLKQ-S325W-25JZC-JLHEV-WNF5J", //ios才有效,andorid的在App原生插件配置里设置BPMBZ-VSKE3-MC23F-O3KZO-AZGI7-PXFJI
"deviceID": "oaid" //andorid必须设置,默认使用oaid,ios无需设置
}
// 获取系统信息

2
config/site.config.js

@ -11,3 +11,5 @@ module.exports = {
// http://123.6.232.54:8099/测试地址
//http://www.lyjppt.com/正式地址

8
manifest.json

@ -2,8 +2,8 @@
"name" : "洛阳学车",
"appid" : "__UNI__3347C6E",
"description" : "",
"versionName" : "1.2.9",
"versionCode" : 129,
"versionName" : "1.3.0",
"versionCode" : 130,
"transformPx" : false,
/* 5+App */
"app-plus" : {
@ -165,7 +165,7 @@
}
},
"KJ-TencentLocation" : {
"andorid_key" : "BPMBZ-VSKE3-MC23F-O3KZO-AZGI7-PXFJI",
"andorid_key" : "JTOBZ-KLLKQ-S325W-25JZC-JLHEV-WNF5J",
"__plugin_info__" : {
"name" : "腾讯定位、定位反作弊、伪定位、后台定位、单次或持续定位、场景定位(双端)",
"description" : "支持获取oaid、腾讯定位、定位反作弊、伪定位、后台定位、单次或持续定位、场景定位、请试用合适再购买、请试用合适再购买、请试用合适再购买",
@ -225,7 +225,7 @@
"disableHostCheck" : true,
"proxy" : {
"/api" : {
"target" : "http://192.168.1.43:8318/",
"target" : "http://192.168.1.40:8318/",
// "target" : "http://123.6.232.1:8099/",
"changeOrigin" : true,
"secure" : true,

6
pages/indexEntry/enroll/payment/payment.vue

@ -53,7 +53,7 @@
this.initWx()
},
onPullDownRefresh() {
// this.getStudentByPayment()
this.course_infoFn()
},
methods: {
//
@ -116,8 +116,8 @@
const platform = 'common';
//H54
//
// const preUrl = 'https://ft1wbs.zyebank.cn/cem_ysb_ft2/index.html'
const preUrl = 'https://u8wbs.zyebank.cn/cem_ysb_u8/index.html'
const preUrl = 'https://u8wbs.zyebank.cn/cem_ysb_u6/index.html'
// const preUrl = 'https://u8wbs.zyebank.cn/cem_ysb_u8/index.html'
//
// const preUrl = 'https://zmcht.zybank.com.cn/cem_ysb/index.html';
const distinctId = this.userId //

1
pages/indexEntry/findCoach/comp/coachItem.vue

@ -77,7 +77,6 @@
.starBox {
margin: 10rpx 0;
}
.pingjia {
font-size: 24rpx;

3
pages/mineEntry/carLearnHours/carLearnHours.vue

@ -42,11 +42,10 @@
methods: {
async getStudentProcessFn() {
const {data: res} = await getStudentProcess({studentId: this.studentId})
console.log('基础不劳')
this.list = [
{total: res.subjectOneTotalTime, time: res.subjectOneValidTtime, text: '科目一'},
{total: res.subjectTwoTotalTime, time: res.subjectTwoValidTtime, text: '科目二'},
{total: res.subjectThreeTotalTime, time: res.subjectOneValidTtime, text: '科目三'},
{total: res.subjectThreeTotalTime, time: res.subjectThreeValidTtime, text: '科目三'},
]
}
}

13
pages/mineEntry/myForecastName/myForecastName.vue

@ -47,12 +47,17 @@
deleteFn(id) {
uni.showModal({
content: '确定要删除吗?',
success: async () => {
const res = await trainingApplyDelete({id})
if(res.code==0) {
this.$u.toast('删除成功')
success: async (res) => {
if (res.confirm) {
const reslove = await trainingApplyDelete({id})
if(reslove.code==0) {
uni.$u.toast('删除成功')
}
this.trainingApplyListFn()
} else if (res.cancel) {
console.log('用户点击取消');
}
}
})
},

2
pages/mineEntry/myOrder/detail/detail.vue

@ -101,7 +101,7 @@
<view class="refundBtn" @click="goFund" v-if="!info.refundId">申请退款</view>
</view>
<view class="rightBtn">
<view class="btnBorder" @click="downloadImage">下载发票</view>
<view class="btnBorder" @click="downloadImage">下载凭证</view>
<view class="btnBorder" @click="goVoucher">培训缴费电子凭证</view>
</view>
</view>

12
store/modules/user.js

@ -92,12 +92,12 @@ const user = {
const http = uni.$u.http
let config = { custom: { auth: false }, header: {'content-type': 'application/x-www-form-urlencoded; charset=UTF-8'} }
const res = await http.get('app/student-record/get')
if(res.tenantId) {
uni.$u.http.setConfig((config) => {
config.header['tenant-id'] = res.tenantId
return config
})
}
// if(res.tenantId) {
// uni.$u.http.setConfig((config) => {
// config.header['tenant-id'] = res.tenantId
// return config
// })
// }
commit('update_vuex_userInfo',res.data)
},
// 刷新token

2
uni.scss

@ -79,4 +79,4 @@ $uni-font-size-paragraph:15px;
// 自已定义的
$themC: #3776FF;
$tagC: #0a52f499;
$tagC: rgba(10, 82, 244, 0.6);
Loading…
Cancel
Save