换地址 crm.x.hnxinyouhe.com

This commit is contained in:
浅念
2025-09-19 10:19:25 +08:00
parent e89ca3dd33
commit 68af718a4f
8 changed files with 27 additions and 11 deletions
+7 -2
View File
@@ -20,7 +20,7 @@
if (plus.runtime.appid !== 'HBuilder') { // 真机运行不需要检查更新,真机运行时appid固定为'HBuilder',这是调试基座的appid
checkUpdate()
}
// 一键登录预登陆,可以显著提高登录速度
uni.preLogin({
provider: 'univerify',
@@ -39,7 +39,12 @@
// #endif
},
onShow: function() {
// console.log('App Show')
console.log('App Show')
if(window.location.host=='219.157.255.213:8085'){
window.location.href="https://crm.x.hnxinyouhe.com"
}
// console.log(window.location.host)
// console.log(window.location.href)
},
onHide: function() {
// console.log('App Hide')
+2 -1
View File
@@ -1,7 +1,8 @@
// const baseUrl = "http://219.157.255.213:9006/"; //这里放置url域名32044
// const baseUrl = "http://api.crm.hnxinyouhe.com/"; //这里放置url域名32044
const baseUrl = "http://219.157.255.213:25329/"; //这里放置url域名32044
// const baseUrl = "http://219.157.255.213:25329/"; //这里放置url域名32044
const baseUrl = "https://crm-server.x.hnxinyouhe.com/"; //这里放置url域名32044
// const baseUrl = "https://api.fcrm.hnxinyouhe.com/"; //这里放置url域名32044
// const baseUrl = "https://crm-server.smt.hnxinyouhe.com/"; //这里放置url域名32044
// const baseUrl = "/api/"; //这里放置url域名32044
+2 -1
View File
@@ -449,7 +449,8 @@
// url: 'http://api.crm.hnxinyouhe.com/upload',
// url: 'https://api.fcrm.hnxinyouhe.com/upload/uploadImage',
// url: 'https://crm-server.smt.hnxinyouhe.com/upload/uploadImage',
url: 'http://219.157.255.213:9006/upload/uploadImage',
// url: 'http://219.157.255.213:9006/upload/uploadImage',
url: 'https://crm-server.x.hnxinyouhe.com/upload/uploadImage',
filePath: imgUrl,
name: 'files',
header:{'Authorization': 'Bearer ' + uni.getStorageSync('token')},
+8 -2
View File
@@ -54,7 +54,7 @@
</view>
</view>
<view class="desc1">
<view class="userzy" @click="cede(item)"><image src="/static/image/customer/zhuany.png" mode=""></image> {{$t('transfer')}}</view>
<!-- <view class="userzy" @click="cede(item)"><image src="/static/image/customer/zhuany.png" mode=""></image> {{$t('transfer')}}</view> -->
<view class="" @click="callPhone(item)"><image src="/static/image/customer/phone.png" mode=""></image> {{$t('call')}}</view>
<view class="" @click="editClick(item)"><image src="/static/image/customer/edit.png" mode=""></image> {{$t('customer.addfollow')}}</view>
<!-- <view class="" @click="delClick(item)"><image src="/static/image/customer/trash.png" mode=""></image> {{$t('delete')}}</view> -->
@@ -87,7 +87,7 @@
</movable-area>
<u-popup closeOnClickOverlay :show="showPicker" mode="bottom" :round="10" @close="close('showPicker')">
<view class="text">
<view class="qx" @click="close('showPicker') ">{{$t('cancel')}}</view>
<view class="qx" @click="closearer('showPicker') ">{{$t('cancel')}}</view>
<view class="qd" @click="arerfn">{{$t('confirm')}}</view>
</view>
<view class="popup-content">
@@ -289,6 +289,12 @@
this.country_id = this.actives
this.queryList(1, 10)
},
closearer(){
this.showPicker = false; // 关闭弹窗
this.country_name =''
this.country_id = ''
this.queryList(1, 10)
},
//国家
area(){
request({
+2 -2
View File
@@ -53,11 +53,11 @@
<span>{{$t('mine.feedback')}}</span>
<uni-icons type="right" class="icon" size="18"></uni-icons>
</view> -->
<view class="sonContent" v-if="!isopenid" @click="gomyauth">
<!-- <view class="sonContent" v-if="!isopenid" @click="gomyauth">
<image class="son-img-bg" src="/static/image/mine/icon9.png"></image>
<span>{{$t('auth')}}</span>
<uni-icons type="right" class="icon" size="18"></uni-icons>
</view>
</view> -->
<view class="sonContent" @click="navTo('/pages/mine/about')">
<image class="son-img-bg" src="/static/image/mine/icon5.png"></image>
<span>{{$t('mine.about')}}</span>
+2 -1
View File
@@ -2,7 +2,8 @@
<view>
<!-- <web-view src="https://api.fcrm.hnxinyouhe.com/index/userAgreement" style="width: 100%; height: 100%;"></web-view> -->
<!-- <web-view src="https://crm-server.smt.hnxinyouhe.com/index/userAgreement" style="width: 100%; height: 100%;"></web-view> -->
<web-view src="http://219.157.255.213:9006/index/userAgreement" style="width: 100%; height: 100%;"></web-view>
<!-- <web-view src="http://219.157.255.213:9006/index/userAgreement" style="width: 100%; height: 100%;"></web-view> -->
<web-view src="https://crm-server.x.hnxinyouhe.com/index/userAgreement" style="width: 100%; height: 100%;"></web-view>
</view>
</template>
+2 -1
View File
@@ -2,7 +2,8 @@
<view>
<!-- <web-view src="https://api.fcrm.hnxinyouhe.com/index/privacyAgreement" style="width: 100%; height: 100%;"></web-view> -->
<!-- <web-view src="https://crm-server.smt.hnxinyouhe.com/index/privacyAgreement" style="width: 100%; height: 100%;"></web-view> -->
<web-view src="http://219.157.255.213:9006/index/privacyAgreement" style="width: 100%; height: 100%;"></web-view>
<!-- <web-view src="http://219.157.255.213:9006/index/privacyAgreement" style="width: 100%; height: 100%;"></web-view> -->
<web-view src="https://crm-server.x.hnxinyouhe.com/index/privacyAgreement" style="width: 100%; height: 100%;"></web-view>
</view>
</template>
+2 -1
View File
@@ -232,7 +232,8 @@
uni.uploadFile({
// url: 'https://api.fcrm.hnxinyouhe.com/upload/uploadImage',
// url: 'https://crm-server.smt.hnxinyouhe.com/upload/uploadImage',
url: 'http://219.157.255.213:9006/upload/uploadImage',
// url: 'http://219.157.255.213:9006/upload/uploadImage',
url: 'https://crm-server.x.hnxinyouhe.com/upload/uploadImage',
filePath: imgUrl,
name: 'files',
header:{'Authorization': 'Bearer ' + uni.getStorageSync('token')},