@@ -2093,13 +2093,13 @@ | |||
{ | |||
//其他服务模块 | |||
"root": "subpackage/carPark", | |||
// "plugins": { | |||
// "issuer-plugin": { | |||
// // "version": "dev-5d954bb916bb210d6c17397439d90f07", | |||
// "version": "1.0.2", | |||
// "provider": "wxa2d9acdd1054e69b" | |||
// } | |||
// }, | |||
"plugins": { | |||
"issuer-plugin": { | |||
// "version": "dev-5d954bb916bb210d6c17397439d90f07", | |||
"version": "1.0.2", | |||
"provider": "wxa2d9acdd1054e69b" | |||
} | |||
}, | |||
"pages": [ | |||
{ | |||
"path": "etc/etcDeviceInfo", |
@@ -47,8 +47,8 @@ | |||
<swiper class="swiper" circular :indicator-dots="swiper.indicatorDots" :autoplay="swiper.autoplay" | |||
:interval="swiper.interval" :duration="swiper.duration" > | |||
<block v-if="state.swiperList.length >0" v-for="item in state.swiperList" :key="item.id"> | |||
<swiper-item class="swiper-item" @click="call()"> | |||
<image :src="fileURLList + item.imgUrl" mode="widthFix" class='img'></image> | |||
<swiper-item class="swiper-item" > | |||
<image :src="fileURLList + item.imgUrl" mode="widthFix" class='img' @click="call()"></image> | |||
</swiper-item> | |||
</block> | |||
</swiper> | |||
@@ -632,6 +632,7 @@ | |||
} | |||
} | |||
const call=()=>{ | |||
console.log("点击") | |||
uni.makePhoneCall({ | |||
phoneNumber: '0851-88306555' //仅为示例,并非真实的电话号码 | |||
}) |
@@ -28,7 +28,7 @@ | |||
</template> | |||
<script setup lang="ts"> | |||
import { onLoad, onPageScroll} from "@dcloudio/uni-app"; | |||
import { onLoad, onPageScroll,onShow} from "@dcloudio/uni-app"; | |||
import { reactive, ref } from "vue"; | |||
import { | |||
PAYMENTORDERAPPLY, | |||
@@ -206,6 +206,7 @@ | |||
paySign: data.sign, | |||
success: function (e) { | |||
console.log("支付成功", res); | |||
state.payOK=true | |||
refresh(); | |||
}, | |||
fail: function (err) { | |||
@@ -298,6 +299,11 @@ | |||
console.log("state.dataArray", state.dataArray) | |||
}); | |||
} | |||
onShow(()=>{ | |||
if(state.payOK){ | |||
refreshFirst() | |||
} | |||
}) | |||
onLoad((option : any) => { | |||
console.log("传递过来的到支付页面", option) | |||
state.orderId = option.orderId; | |||
@@ -553,7 +559,7 @@ | |||
qdSignAppId:"", | |||
qtSign:"", | |||
xianxia:"",//线下订单 1 | |||
payOK:false | |||
}); | |||
</script> | |||