|
@@ -0,0 +1,62 @@
|
|
|
+<template>
|
|
|
+ <view class="Body">
|
|
|
+ <image src="/static/login/logo1.png" mode=""></image>
|
|
|
+ <button type="primary" @click="goBack()">返回宜格服务APP</button>
|
|
|
+ </view>
|
|
|
+</template>
|
|
|
+
|
|
|
+<script>
|
|
|
+ export default {
|
|
|
+ data() {
|
|
|
+ return {
|
|
|
+ orderNo:""
|
|
|
+ }
|
|
|
+ },
|
|
|
+ onLoad(options) {
|
|
|
+ if(options.orderNo){
|
|
|
+ this.orderNo=options.orderNo
|
|
|
+ }else{
|
|
|
+ uni.showToast({
|
|
|
+ icon:"none",
|
|
|
+ title: "参数缺失!",
|
|
|
+ duration: 2000
|
|
|
+ });
|
|
|
+ }
|
|
|
+ },
|
|
|
+ methods: {
|
|
|
+ goBack() {
|
|
|
+ // window.location.href='sandh5payres://ygfuJumpScheme'
|
|
|
+ // this.isIos = uni.getSystemInfoSync().platform //判断是否安卓、ios
|
|
|
+ // if (this.isIos == 'android') {
|
|
|
+ // let ifr = document.createElement("iframe");
|
|
|
+ // ifr.src =
|
|
|
+ // "ygfwUrlSchemes://"; // 这里的hbuilder在manifest.json中配置->“App常用其它设置” -> “Android设置” -> “UrlSchemes” 项中进行设置
|
|
|
+ // ifr.style.display = "none";
|
|
|
+ // document.body.appendChild(ifr);
|
|
|
+ // } else {
|
|
|
+ // // window.location = "https://apps.apple.com/cn/app/idxxxxxxx" //你的苹果应用app链接
|
|
|
+ // }
|
|
|
+ window.location ="ygfwUrlSchemes://&orderNo="+this.orderNo;
|
|
|
+ },
|
|
|
+
|
|
|
+ }
|
|
|
+ }
|
|
|
+</script>
|
|
|
+
|
|
|
+<style lang="scss" scoped>
|
|
|
+ .Body {
|
|
|
+ padding-top: 300rpx;
|
|
|
+ text-align: center;
|
|
|
+
|
|
|
+ image {
|
|
|
+ width: 200rpx;
|
|
|
+ height: 200rpx;
|
|
|
+ }
|
|
|
+
|
|
|
+ button {
|
|
|
+ width: 80%;
|
|
|
+ margin: 200rpx auto 0;
|
|
|
+ // background: rgb(107,228,247);
|
|
|
+ }
|
|
|
+ }
|
|
|
+</style>
|