1234567891011121314151617181920212223242526272829303132 |
- <template>
- <layout>
- <iframe :src="url" frameborder="0" width="100%" height="100%"></iframe>
- </layout>
- </template>
- <script>
- import layout from '@/components/layout';
- export default {
- name: 'onlineService',
- components: {
- layout,
- },
- data() {
- return {
- url: ''
- };
- },
- created() {
- let url = `${location.origin}/h5/customer-service?autoopen=true&token=${this.$route.query.token}`
- if(this.$route.query.isWeixin) {
- url+= '&isWeixin=1'
- }
- this.url = url
- },
- mounted() {
- }
- };
- </script>
- <style></style>
|