跳转问题

main
尕宋 2024-06-08 19:37:58 +08:00
parent 35f2667efe
commit 547649e4a4
5 changed files with 26 additions and 5 deletions

View File

@ -47,7 +47,7 @@
.uninavbars { .uninavbars {
position: fixed; position: fixed;
z-index: 9999; z-index: 9999;
top: 20rpx; top: 110rpx;
left: 32rpx; left: 32rpx;
} }

View File

@ -1,6 +1,6 @@
<!-- 兑换商城详情 --> <!-- 兑换商城详情 -->
<template> <template>
<view class="uninavbar"> <view class="uninavbar" @click="returnTo()">
<image src="../../static/images/sign/return.png"></image> <image src="../../static/images/sign/return.png"></image>
</view> </view>
<view> <view>
@ -208,6 +208,13 @@
url: './successfulexchange' url: './successfulexchange'
}); });
} }
//
function returnTo(){
uni.navigateBack({
delta: 1
});
}
const arrImage = reactive([{ const arrImage = reactive([{

View File

@ -2,6 +2,9 @@
<template> <template>
<navbar_neadVue title="收货地址" background_color="#ffffff"></navbar_neadVue> <navbar_neadVue title="收货地址" background_color="#ffffff"></navbar_neadVue>
<view style="position: fixed; z-index: -1; background-color: #ffffff; top: 0; bottom: 0;left: 0;right: 0;"></view>
<!-- 有地址 --> <!-- 有地址 -->
<view v-if="arr.length >= 1" v-for="(item,index) in arr" :key="index"> <view v-if="arr.length >= 1" v-for="(item,index) in arr" :key="index">
<view class="haveaddress" @click="HaveAddress(item.id)"> <view class="haveaddress" @click="HaveAddress(item.id)">
@ -14,7 +17,7 @@
<text class="textaddress">{{item.address}}</text> <text class="textaddress">{{item.address}}</text>
</view> </view>
<view class="butview"> <view class="butview" @click="returnTo()">
<view class="but"> <view class="but">
<text>确定地址</text> <text>确定地址</text>
</view> </view>
@ -71,6 +74,12 @@
function HaveAddress(id) { function HaveAddress(id) {
IsHave.value = id; IsHave.value = id;
} }
function returnTo(){
uni.navigateBack({
delta: 1
});
}
</script> </script>
<style scoped> <style scoped>

View File

@ -84,8 +84,9 @@
<view class="bottom-text"> <view class="bottom-text">
<text class="bottom-text-s">兑换商城</text> <text class="bottom-text-s">兑换商城</text>
<view class="bottom-text-r" @click="GoExchange()"> <view class="bottom-text-r" @click="GoExchange()">
<text>更多</text> <text style=" vertical-align: middle;">更多</text>
<image style="width: 14rpx; height: 23rpx;margin-left: 9rpx;" src="../../static/images/sign/rig.png"> <image style="width: 14rpx; height: 23rpx;margin-left: 9rpx; vertical-align: middle;"
src="../../static/images/sign/rig.png">
</image> </image>
</view> </view>
</view> </view>

View File

@ -1,6 +1,10 @@
<!-- 签到明细 --> <!-- 签到明细 -->
<template> <template>
<navbar_neadVue title="签到明细"></navbar_neadVue> <navbar_neadVue title="签到明细"></navbar_neadVue>
<view style="position: fixed; z-index: -1; background-color: #ffffff; top: 0; bottom: 0;left: 0;right: 0;"></view>
<view style="background-color: #ffffff;"> <view style="background-color: #ffffff;">
<view style="height: 24rpx;"></view> <view style="height: 24rpx;"></view>
<view class="content" v-for="(item,index) in arr" :key="index"> <view class="content" v-for="(item,index) in arr" :key="index">