| | |
| | | <div class="bui-page">
|
| | | <header class="bui-bar">
|
| | | <div class="bui-bar-left">
|
| | | <div class="bui-btn btn-back"><i class="icon-back"></i></div>
|
| | | <div class="bui-btn btn-back" @click="exitDeiviceConn()"><i class="icon-back"></i></div>
|
| | | </div>
|
| | | <div class="bui-bar-main">首页</div>
|
| | | <div class="bui-bar-right">
|
| | |
| | | }else {
|
| | | bui.alert('二维码插件未定义')
|
| | | }
|
| | | }
|
| | | },
|
| | | exitDeiviceConn: function() {
|
| | | if(typeof(JSInterface) != 'undefined') {
|
| | | JSInterface.exitDeiviceConn();
|
| | | }
|
| | | }
|
| | | },
|
| | | mounted() {},
|
| | | |
| | | mounted() {
|
| | | |
| | | },
|
| | | destroyed: function destroyed() {}
|
| | | });
|
| | | },
|
| | |
| | | }, |
| | | methods: { |
| | | enterIndex: function() { |
| | | // 进入首页后 |
| | | this.states = true; |
| | | var url = getRouteUrl('index'); |
| | | router.load({ |
| | | url: url, |
| | |
| | | } |
| | | } |
| | | }, |
| | | computed: { |
| | | getDisabled: function() { |
| | | return this.states?false:true; |
| | | } |
| | | }, |
| | | mounted() { |
| | | var self = this; |
| | | this.getIp(); |
| | |
| | | <div class="bui-page">
|
| | | <header class="bui-bar">
|
| | | <div class="bui-bar-left">
|
| | | <div class="bui-btn btn-back"><i class="icon-back"></i></div>
|
| | | <div class="bui-btn btn-back" @click="exitDeiviceConn()"><i class="icon-back"></i></div>
|
| | | </div>
|
| | | <div class="bui-bar-main">首页</div>
|
| | | <div class="bui-bar-right">
|
| | |
| | | }else {
|
| | | bui.alert('二维码插件未定义')
|
| | | }
|
| | | }
|
| | | },
|
| | | exitDeiviceConn: function() {
|
| | | if(typeof(JSInterface) != 'undefined') {
|
| | | JSInterface.exitDeiviceConn();
|
| | | }
|
| | | }
|
| | | },
|
| | | mounted() {},
|
| | | |
| | | mounted() {
|
| | | |
| | | },
|
| | | destroyed: function destroyed() {}
|
| | | });
|
| | | },
|
| | |
| | | <div class="span1 right">
|
| | | <i-button
|
| | | @click="testIp"
|
| | | type="success" |
| | | type="success"
|
| | | :disabled="getDisabled" |
| | | style="margin-right: 16px;">测试链接</i-button>
|
| | | <i-button
|
| | | type="primary"
|
| | |
| | | }, |
| | | methods: { |
| | | enterIndex: function() { |
| | | // 进入首页后 |
| | | this.states = true; |
| | | var url = getRouteUrl('index'); |
| | | router.load({ |
| | | url: url, |
| | |
| | | } |
| | | } |
| | | }, |
| | | computed: { |
| | | getDisabled: function() { |
| | | return this.states?false:true; |
| | | } |
| | | }, |
| | | mounted() { |
| | | var self = this; |
| | | this.getIp(); |