|
@@ -6,8 +6,8 @@
|
|
|
<view class="zai-title text-shadow ">登 录</view>
|
|
|
</view>
|
|
|
<view class="text-center" :style="[{ animation: 'show ' + 0.4 + 's 1' }]">
|
|
|
- <!--<u-link class="zai-title2 text-shadow " href="http://localhost:8080?ticket=234" >切换单点登录</u-link>
|
|
|
- <view class="zai-title2 text-shadow " @click="changeloginType">切换单点登录</view>-->
|
|
|
+ <!-- <u-link class="zai-title2 text-shadow " href="http://localhost:8080?ticket=234" >切换单点登录</u-link> -->
|
|
|
+ <view class="zai-title2 text-shadow " @click="changeloginType">切换单点登录</view>
|
|
|
</view>
|
|
|
<view class="box padding-lr-xl login-paddingtop" :style="[{ animation: 'show ' + 0.6 + 's 1' }]">
|
|
|
<block>
|
|
@@ -272,16 +272,12 @@ export default {
|
|
|
changeloginType() {
|
|
|
console.log("changeloginType====");
|
|
|
var tourl = configService.apiUrl;
|
|
|
- tourl = tourl.replace(9999, 8080);
|
|
|
- tourl =
|
|
|
+ tourl = tourl.replace(9999, 8092);
|
|
|
+ var rastourl =
|
|
|
"https://id.shendong.com.cn/default" +
|
|
|
- "/login?service=" +
|
|
|
- "http://localhost:8080";
|
|
|
- console.log("===========" + tourl);
|
|
|
- if (process.env.VUE_APP_PLATFORM != "h5") {
|
|
|
- // plus.runtime.openURL('http://localhost:8080?ticket=12345')
|
|
|
- this.openBrowser("http://localhost:8080?ticket=12345");
|
|
|
- } else this.openBrowser("https://www.baidu.com");
|
|
|
+ "/login?service=" +tourl;
|
|
|
+ console.log("===========" + rastourl);
|
|
|
+ this.openBrowser(rastourl);
|
|
|
// window.location.href='/pages/index/index?ticket=123'
|
|
|
// this.$router.push({ path: '/pages/index/index?ticket=123',query:"2w354" })
|
|
|
},
|