二手车交易,协议代码部分优化
This commit is contained in:
@ -6,11 +6,10 @@
|
||||
<div style="opacity: 0;" class="back"></div>
|
||||
</div>
|
||||
<div class="contentWrap">
|
||||
<iframe :src="url"></iframe>
|
||||
<iframe :src="urls"></iframe>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import {myMixins} from "@/utils/myMixins"
|
||||
export default {
|
||||
@ -18,11 +17,21 @@ export default {
|
||||
mixins:[myMixins],
|
||||
data(){
|
||||
return{
|
||||
url:''
|
||||
urls:''
|
||||
}
|
||||
},
|
||||
async mounted() {
|
||||
this.url=this.$route.query.url
|
||||
let url='';
|
||||
if (window.location.href.includes('www.sinoassist.com')) {
|
||||
url = 'https://www.sinoassist.com'
|
||||
} else if (window.location.href.includes('ccreview.sino-assist.com')) {
|
||||
url = 'https://ccreview.sino-assist.com'
|
||||
} else if (window.location.href.includes('uat.sino-assist.com')) {
|
||||
url = 'https://api-uat.sino-assist.com'
|
||||
} else {
|
||||
url = 'https://crm1.sino-assist.com'
|
||||
}
|
||||
this.urls=url + '/h5/supplier/dispatch/res/privacy.html'
|
||||
},
|
||||
methods:{ }
|
||||
}
|
||||
|
Reference in New Issue
Block a user