wangxiaohua 3 years ago
parent
commit
88c573205e
8 changed files with 56 additions and 33 deletions
  1. +2
    -2
      config.js
  2. +12
    -8
      pages/center/Piabodata/Customerportrait/Receivedetailabout.vue
  3. +2
    -2
      pages/center/records/index.vue
  4. +9
    -4
      pages/learning/Thefulltext/index.vue
  5. +10
    -4
      pages/learning/Thefulltext/index2.vue
  6. +6
    -0
      pages/mine/details.vue
  7. +13
    -11
      pages/mine/details2.vue
  8. +2
    -2
      utils/http.js

+ 2
- 2
config.js View File

@@ -6,8 +6,8 @@
// var host = 'http://192.168.31.169:8080/autoSR/api'; // 长龙 // var host = 'http://192.168.31.169:8080/autoSR/api'; // 长龙
// var host = 'http://192.168.31.134:8080/autoSR/api'; // 佳豪 // var host = 'http://192.168.31.134:8080/autoSR/api'; // 佳豪
// var host = 'http://10.2.1.104:8081/autoSR/api'; // 刘敏 // var host = 'http://10.2.1.104:8081/autoSR/api'; // 刘敏
var host = 'https://zkgj.quhouse.com/api'; // 质控正式
// var host = 'https://hfju.com/api'; // 数智正式
// var host = 'https://zkgj.quhouse.com/api'; // 质控正式
var host = 'https://hfju.com/api'; // 数智正式




var iMServiceHost = 'https://im.quhouse.com/'; //IM的后端地址正式 var iMServiceHost = 'https://im.quhouse.com/'; //IM的后端地址正式


+ 12
- 8
pages/center/Piabodata/Customerportrait/Receivedetailabout.vue View File

@@ -507,12 +507,16 @@
}, },
// 在组件实例被从页面节点树移除时执行 // 在组件实例被从页面节点树移除时执行
destroyed: function() { destroyed: function() {
if (this.innerAudioContext) {
this.innerAudioContext.destroy();
}
//暂停
this.innerAudioContext.pause()
// 销毁
this.innerAudioContext.destroy();
}, },
// 销毁实例 // 销毁实例
onUnload: function() { onUnload: function() {
//暂停
this.innerAudioContext.pause()
// 销毁
this.innerAudioContext.destroy(); this.innerAudioContext.destroy();
}, },
methods: { methods: {
@@ -1610,11 +1614,11 @@
} }
.bottombox{ .bottombox{
width: 100%; width: 100%;
height: 150rpx;
height: 170rpx;
border-top: 1px solid #E0E0E0; border-top: 1px solid #E0E0E0;
.bottomhead{ .bottomhead{
width: 100%; width: 100%;
height: 61rpx;
height: 81rpx;
border-bottom: 1px solid #E0E0E0; border-bottom: 1px solid #E0E0E0;
display: flex; display: flex;
justify-content: space-between; justify-content: space-between;
@@ -1634,15 +1638,15 @@
.audio-time { .audio-time {
width: 110rpx; width: 110rpx;
text-align: right; text-align: right;
font-size: 24rpx;
font-size: 26rpx;
line-height: 28rpx; line-height: 28rpx;
color: #70798D; color: #70798D;
display: flex; display: flex;
justify-content: space-between; justify-content: space-between;
} }
.audio-play { .audio-play {
width: 40rpx;
height: 40rpx;
width: 48rpx;
height: 48rpx;
flex-shrink: 0; flex-shrink: 0;
} }
.audio-play .image { .audio-play .image {


+ 2
- 2
pages/center/records/index.vue View File

@@ -212,8 +212,7 @@
soltishow:false, soltishow:false,
orderBy:'', orderBy:'',
methodsisshow:false, methodsisshow:false,
userInfo:{}
userInfo:{},
} }
}, },
onLoad(options) { onLoad(options) {
@@ -234,6 +233,7 @@
}, },
onShow() { onShow() {
this.userInfo = uni.getStorageSync('weapp_session_userInfo_data'); this.userInfo = uni.getStorageSync('weapp_session_userInfo_data');
if(this.userInfo.dataCode==6 || this.userInfo.dataCode==3){ if(this.userInfo.dataCode==6 || this.userInfo.dataCode==3){
this.methodsisshow=false; this.methodsisshow=false;


+ 9
- 4
pages/learning/Thefulltext/index.vue View File

@@ -234,11 +234,16 @@
// 在组件实例被从页面节点树移除时执行 // 在组件实例被从页面节点树移除时执行
destroyed: function() { destroyed: function() {
clearTimeout(this.timer) clearTimeout(this.timer)
if (this.innerAudioContext) {
this.innerAudioContext.destroy();
}
//暂停
this.innerAudioContext.pause()
// 销毁
this.innerAudioContext.destroy();
}, },
onUnload:function(){
// 销毁实例
onUnload: function() {
//暂停
this.innerAudioContext.pause()
// 销毁
this.innerAudioContext.destroy(); this.innerAudioContext.destroy();
}, },
methods: { methods: {


+ 10
- 4
pages/learning/Thefulltext/index2.vue View File

@@ -269,13 +269,19 @@
// 在组件实例被从页面节点树移除时执行 // 在组件实例被从页面节点树移除时执行
destroyed: function() { destroyed: function() {
clearTimeout(this.timer) clearTimeout(this.timer)
if (this.innerAudioContext) {
this.innerAudioContext.destroy();
}
//暂停
this.innerAudioContext.pause()
// 销毁
this.innerAudioContext.destroy();
}, },
onUnload:function(){
// 销毁实例
onUnload: function() {
//暂停
this.innerAudioContext.pause()
// 销毁
this.innerAudioContext.destroy(); this.innerAudioContext.destroy();
}, },
methods: { methods: {
toKeywordsearch(){ toKeywordsearch(){
this.innerAudioContext.destroy(); this.innerAudioContext.destroy();


+ 6
- 0
pages/mine/details.vue View File

@@ -310,10 +310,16 @@
}, },
// 在组件实例被从页面节点树移除时执行 // 在组件实例被从页面节点树移除时执行
destroyed: function() { destroyed: function() {
//暂停
this.innerAudioContext.pause()
// 销毁
this.innerAudioContext.destroy(); this.innerAudioContext.destroy();
}, },
// 销毁实例 // 销毁实例
onUnload: function() { onUnload: function() {
//暂停
this.innerAudioContext.pause()
// 销毁
this.innerAudioContext.destroy(); this.innerAudioContext.destroy();
}, },
methods: { methods: {


+ 13
- 11
pages/mine/details2.vue View File

@@ -505,7 +505,7 @@
effectiveitext:'', effectiveitext:'',
textItself:'', textItself:'',
argtextindex1:0, argtextindex1:0,
argtextindex2:0
argtextindex2:0,
}; };
}, },
onLoad: function(options) { onLoad: function(options) {
@@ -522,8 +522,6 @@
this.Menulistisshow=true; this.Menulistisshow=true;
} }
}) })
this.intention=false; this.intention=false;
this.kehuyixiangcenterindex=0; this.kehuyixiangcenterindex=0;
this.buildingID = uni.getStorageSync('buildingID').id; this.buildingID = uni.getStorageSync('buildingID').id;
@@ -560,12 +558,16 @@
}, },
// 在组件实例被从页面节点树移除时执行 // 在组件实例被从页面节点树移除时执行
destroyed: function() { destroyed: function() {
if (this.innerAudioContext) {
this.innerAudioContext.destroy();
}
//暂停
this.innerAudioContext.pause()
// 销毁
this.innerAudioContext.destroy();
}, },
// 销毁实例 // 销毁实例
onUnload: function() { onUnload: function() {
//暂停
this.innerAudioContext.pause()
// 销毁
this.innerAudioContext.destroy(); this.innerAudioContext.destroy();
}, },
methods: { methods: {
@@ -1804,11 +1806,11 @@
} }
.bottombox{ .bottombox{
width: 100%; width: 100%;
height: 150rpx;
height: 170rpx;
border-top: 1px solid #E0E0E0; border-top: 1px solid #E0E0E0;
.bottomhead{ .bottomhead{
width: 100%; width: 100%;
height: 61rpx;
height: 81rpx;
border-bottom: 1px solid #E0E0E0; border-bottom: 1px solid #E0E0E0;
display: flex; display: flex;
justify-content: space-between; justify-content: space-between;
@@ -1828,15 +1830,15 @@
.audio-time { .audio-time {
width: 110rpx; width: 110rpx;
text-align: right; text-align: right;
font-size: 24rpx;
font-size: 26rpx;
line-height: 28rpx; line-height: 28rpx;
color: #70798D; color: #70798D;
display: flex; display: flex;
justify-content: space-between; justify-content: space-between;
} }
.audio-play { .audio-play {
width: 40rpx;
height: 40rpx;
width: 48rpx;
height: 48rpx;
flex-shrink: 0; flex-shrink: 0;
} }
.audio-play .image { .audio-play .image {


+ 2
- 2
utils/http.js View File

@@ -3,8 +3,8 @@
// const baseUrl = 'http://192.168.31.169:8080/autoSR/api'; // 长龙 // const baseUrl = 'http://192.168.31.169:8080/autoSR/api'; // 长龙
// const baseUrl = 'http://192.168.31.134:8080/autoSR/api'; // 佳豪 // const baseUrl = 'http://192.168.31.134:8080/autoSR/api'; // 佳豪
// const baseUrl = 'http://10.2.1.104:8081/autoSR/api'; // 刘敏 // const baseUrl = 'http://10.2.1.104:8081/autoSR/api'; // 刘敏
const baseUrl = 'https://zkgj.quhouse.com/api'; // 质控正式
// const baseUrl = 'https://hfju.com/api'; // 数智正式
// const baseUrl = 'https://zkgj.quhouse.com/api'; // 质控正式
const baseUrl = 'https://hfju.com/api'; // 数智正式


const install = (Vue, vm) => { const install = (Vue, vm) => {
Vue.prototype.$u.http.setConfig({ Vue.prototype.$u.http.setConfig({


Loading…
Cancel
Save