This commit is contained in:
DESKTOP-GMUNQ1B\k 2024-04-02 18:35:04 +08:00
parent 48018b340b
commit cda31b548e
1 changed files with 24 additions and 0 deletions

View File

@ -1,6 +1,11 @@
<!-- 未开通商户 --> <!-- 未开通商户 -->
<template> <template>
<view class="unregist"> <view class="unregist">
<view class="icon" @click="handleBack">
<u-icon name="arrow-left" color="#fff" size="20"></u-icon>
</view>
<view class="head"> <view class="head">
<image src="@/static/images/f.png"></image> <image src="@/static/images/f.png"></image>
<text>暂无信息</text> <text>暂无信息</text>
@ -21,6 +26,16 @@
<script> <script>
export default { export default {
methods: { methods: {
handleBack() {
console.log(1241)
// #ifdef APP-PLUS
uni.sendHostEvent('backApp', (ret) => {
//
console.log('关闭应用' + JSON.stringify(ret));
});
// #endif
},
handleOpen() { handleOpen() {
// #ifdef APP-PLUS // #ifdef APP-PLUS
uni.sendHostEvent('closeAppToOpenShop', (ret) => { uni.sendHostEvent('closeAppToOpenShop', (ret) => {
@ -35,6 +50,15 @@
<style lang="scss"> <style lang="scss">
.unregist { .unregist {
position: relative;
.icon {
position: absolute;
top: calc(30rpx + var(--status-bar-height));
left: 30rpx;
z-index: 10;
}
.head { .head {
display: flex; display: flex;
align-items: center; align-items: center;