Compare commits
1 Commits
main
...
wzm-regist
Author | SHA1 | Date | |
---|---|---|---|
f662610ef3 |
@ -125,7 +125,7 @@
|
|||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
|
|
||||||
<view class="signBtn" @click="toTabb('/pages/index/category')">
|
<view class="signBtn" @click="toPage('/pages/index/category')">
|
||||||
去消费
|
去消费
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
@ -218,7 +218,7 @@
|
|||||||
</view>
|
</view>
|
||||||
<view class="contactBtn">
|
<view class="contactBtn">
|
||||||
<view class="tactBtnBox" style="color: #999999;" @click="showFB = false">取消</view>
|
<view class="tactBtnBox" style="color: #999999;" @click="showFB = false">取消</view>
|
||||||
<view class="tactBtnBox2" style="color: #323232;" @click="toFaBu">去发布</view>
|
<view class="tactBtnBox2" style="color: #323232;" @click="toTabb('/pages/index/fabu')">去发布</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</su-popup>
|
</su-popup>
|
||||||
@ -410,15 +410,7 @@
|
|||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
const showFB = ref(false);
|
const showFB = ref(false)
|
||||||
function toFaBu() {
|
|
||||||
uni.navigateTo({
|
|
||||||
url: '/pages/canteenRent/fabu',
|
|
||||||
})
|
|
||||||
setTimeout(() => {
|
|
||||||
showFB.value = false;
|
|
||||||
},1000)
|
|
||||||
}
|
|
||||||
function openFB() {
|
function openFB() {
|
||||||
showFB.value = true;
|
showFB.value = true;
|
||||||
}
|
}
|
||||||
@ -426,6 +418,7 @@
|
|||||||
showFB.value = false;
|
showFB.value = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
//分享功能
|
//分享功能
|
||||||
function showShare() {
|
function showShare() {
|
||||||
// 确保使用有效的图片URL
|
// 确保使用有效的图片URL
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
<template>
|
<template>
|
||||||
<!-- <view> 发布 </view>-->
|
<!-- <view> 发布 </view> tabbar="/pages/index/fabu"-->
|
||||||
<s-layout title="发布信息" :bgStyle="{ color: '#f7f7f7' }">
|
<s-layout title="发布信息" :bgStyle="{ color: '#f7f7f7' }">
|
||||||
<view class="container">
|
<view class="container">
|
||||||
<!-- :style="{height: isIphone ? `calc(71vh - ${systemInfo.safeAreaInsets.bottom}px)` : '78vh',}" -->
|
<!-- :style="{height: isIphone ? `calc(71vh - ${systemInfo.safeAreaInsets.bottom}px)` : '78vh',}" -->
|
||||||
|
@ -182,7 +182,7 @@
|
|||||||
/* 使用券 */
|
/* 使用券 */
|
||||||
function toUseFull(item) {
|
function toUseFull(item) {
|
||||||
console.log('使用满减券', item);
|
console.log('使用满减券', item);
|
||||||
uni.switchTab({
|
uni.navigateTo({
|
||||||
url: '/pages/index/category'
|
url: '/pages/index/category'
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
@ -271,7 +271,7 @@
|
|||||||
.car-show {
|
.car-show {
|
||||||
height: 80rpx;
|
height: 80rpx;
|
||||||
position: fixed;
|
position: fixed;
|
||||||
bottom: 200rpx;
|
bottom: 150rpx;
|
||||||
right: 0;
|
right: 0;
|
||||||
|
|
||||||
.car-image {
|
.car-image {
|
||||||
|
@ -150,6 +150,16 @@
|
|||||||
@confirm="onRegionConfirm">
|
@confirm="onRegionConfirm">
|
||||||
</su-regionCity-picker>
|
</su-regionCity-picker>
|
||||||
|
|
||||||
|
<su-popup :show="registerShow == true" type="center" round="10" :isMaskClick="false">
|
||||||
|
<view class="popup">
|
||||||
|
|
||||||
|
<button class="texbut" open-type="getPhoneNumber" @getphonenumber="getPhoneNumber">
|
||||||
|
<!-- <image style="width: 100%;height: 136rpx;" src="https://jiangxiaoxian.0rui.cn/loginBtn.png"></image> -->
|
||||||
|
<!-- 授权登录 -->
|
||||||
|
</button>
|
||||||
|
</view>
|
||||||
|
</su-popup>
|
||||||
|
|
||||||
</s-layout>
|
</s-layout>
|
||||||
</view>
|
</view>
|
||||||
</template>
|
</template>
|
||||||
@ -208,7 +218,8 @@
|
|||||||
|
|
||||||
const template = computed(() => sheep.$store('app').template?.home);
|
const template = computed(() => sheep.$store('app').template?.home);
|
||||||
const isLogin = computed(() => sheep.$store('user').isLogin);
|
const isLogin = computed(() => sheep.$store('user').isLogin);
|
||||||
const qualification = ref(false)
|
const qualification = ref(false);
|
||||||
|
const registerShow = ref(false);//注册获取优惠券弹框
|
||||||
|
|
||||||
const state = reactive({
|
const state = reactive({
|
||||||
showRegion: false,
|
showRegion: false,
|
||||||
@ -321,7 +332,7 @@
|
|||||||
console.log('轮播图跳转事件:', item.url);
|
console.log('轮播图跳转事件:', item.url);
|
||||||
const tabBarPages = [
|
const tabBarPages = [
|
||||||
'/pages/index/index',
|
'/pages/index/index',
|
||||||
'/pages/index/category',
|
'/pages/index/fabu',
|
||||||
'/pages/index/user'
|
'/pages/index/user'
|
||||||
];
|
];
|
||||||
console.log('tabbarsList:', tabBarPages);
|
console.log('tabbarsList:', tabBarPages);
|
||||||
@ -607,38 +618,38 @@
|
|||||||
// align-items: center;
|
// align-items: center;
|
||||||
|
|
||||||
.navTop-left {
|
.navTop-left {
|
||||||
width: 330rpx;
|
width: 270rpx;
|
||||||
height: 390rpx;
|
height: 350rpx;
|
||||||
background-image: url('https://jiangxiaoxian.0rui.cn/shoppingMall.png');
|
background-image: url('https://jiangxiaoxian.0rui.cn/shoppingMall.png');
|
||||||
background-size: 100% 100%;
|
background-size: 100%;
|
||||||
border-radius: 18rpx;
|
border-radius: 18rpx;
|
||||||
// padding: 40rpx 30rpx 0rpx 30rpx;
|
padding: 40rpx 30rpx 0rpx 30rpx;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.navTop-right {
|
.navTop-right {
|
||||||
// display: grid;
|
display: grid;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
width: 330rpx;
|
width: 330rpx;
|
||||||
|
|
||||||
.navRight1 {
|
.navRight1 {
|
||||||
width: 330rpx;
|
width: 270rpx;
|
||||||
height: 180rpx;
|
height: 140rpx;
|
||||||
background-image: url('https://jiangxiaoxian.0rui.cn/rent.png');
|
background-image: url('https://jiangxiaoxian.0rui.cn/rent.png');
|
||||||
background-size: 100%;
|
background-size: 100%;
|
||||||
border-radius: 18rpx;
|
border-radius: 18rpx;
|
||||||
// padding: 40rpx 30rpx 0rpx 30rpx;
|
padding: 40rpx 30rpx 0rpx 30rpx;
|
||||||
}
|
}
|
||||||
|
|
||||||
.navRight2 {
|
.navRight2 {
|
||||||
margin-top: 30rpx;
|
margin-top: 30rpx;
|
||||||
width: 330rpx;
|
width: 270rpx;
|
||||||
height: 180rpx;
|
height: 140rpx;
|
||||||
background-image: url('https://jiangxiaoxian.0rui.cn/school.png');
|
background-image: url('https://jiangxiaoxian.0rui.cn/school.png');
|
||||||
background-size: 100%;
|
background-size: 100%;
|
||||||
border-radius: 18rpx;
|
border-radius: 18rpx;
|
||||||
// padding: 40rpx 30rpx 0rpx 30rpx;
|
padding: 40rpx 30rpx 0rpx 30rpx;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -781,4 +792,56 @@
|
|||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.popup {
|
||||||
|
background-image: url('https://jiangxiaoxian.0rui.cn/registerBack.png');
|
||||||
|
background-size: 100%;
|
||||||
|
width: 690rpx;
|
||||||
|
height: 640rpx;
|
||||||
|
display: flex;
|
||||||
|
padding-bottom: 44rpx;
|
||||||
|
flex-direction: column;
|
||||||
|
align-items: baseline;
|
||||||
|
justify-content: flex-end;
|
||||||
|
padding-left: 73rpx;
|
||||||
|
padding-right: 73rpx;
|
||||||
|
|
||||||
|
.img_shouquan {
|
||||||
|
position: absolute;
|
||||||
|
width: 680rpx;
|
||||||
|
height: 857rpx;
|
||||||
|
left: -25rpx;
|
||||||
|
top: -390rpx;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
#txt2 {
|
||||||
|
text-align: center;
|
||||||
|
margin-top: 200rpx;
|
||||||
|
font-size: 28rpx;
|
||||||
|
color: #525252;
|
||||||
|
margin-bottom: 60rpx;
|
||||||
|
position: relative;
|
||||||
|
font-weight: 500;
|
||||||
|
}
|
||||||
|
|
||||||
|
.texbut {
|
||||||
|
width: 507rpx;
|
||||||
|
height: 93rpx;
|
||||||
|
border-radius: 16rpx;
|
||||||
|
// background: #ffbd25;
|
||||||
|
background-image: url('https://jiangxiaoxian.0rui.cn/scoreBtn.png');
|
||||||
|
background-size: 100%;
|
||||||
|
font-size: 34rpx;
|
||||||
|
color: #3d3d3d;
|
||||||
|
font-weight: bold;
|
||||||
|
display: flex;
|
||||||
|
justify-content: center;
|
||||||
|
align-items: center;
|
||||||
|
margin-top: 30rpx;
|
||||||
|
// margin: 0 auto;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
</style>
|
</style>
|
@ -26,14 +26,20 @@
|
|||||||
<view style="font-weight: 800;" @click="sheep.$router.go('/pages/user/info')">
|
<view style="font-weight: 800;" @click="sheep.$router.go('/pages/user/info')">
|
||||||
{{ userInfo.nickname}}
|
{{ userInfo.nickname}}
|
||||||
</view>
|
</view>
|
||||||
<image class="UnAuthenBox weight8 fs-20" v-if="authenInfo?.status == -1"
|
<!-- <view class="UnAuthenBox weight8 fs-20" v-if="authenInfo.status == -1 "
|
||||||
|
@click="toPage('/pages/user/authentication')">未认证</view>
|
||||||
|
<view class="authenticationBox weight8 fs-20" >已认证
|
||||||
|
</view> -->
|
||||||
|
<image class="UnAuthenBox weight8 fs-20" v-if="authenInfo.status == -1"
|
||||||
src="https://jiangxiaoxian.0rui.cn/unAuthen.png" @click="toPage('/pages/user/authentication')"></image>
|
src="https://jiangxiaoxian.0rui.cn/unAuthen.png" @click="toPage('/pages/user/authentication')"></image>
|
||||||
<image class="authenticationBox weight8 fs-20" v-if="authenInfo?.status == 1 "
|
<image class="authenticationBox weight8 fs-20" v-if="authenInfo.status == 1 "
|
||||||
src="https://jiangxiaoxian.0rui.cn/authened.png"></image>
|
src="https://jiangxiaoxian.0rui.cn/authened.png"></image>
|
||||||
|
|
||||||
</view>
|
</view>
|
||||||
<view class="info-name fs-36 weight8 flexD" v-else>
|
<view class="info-name fs-36 weight8 flexD" v-else>
|
||||||
<view style="font-weight: 800;" @click="toLogin">登录/注册</view>
|
<view style="font-weight: 800;" @click="toLogin">登录/注册</view>
|
||||||
|
<!-- <view class="UnAuthenBox weight8 fs-20" v-if="authenInfo.status == -1 && isLogin == true">未认证</view>
|
||||||
|
<view class="authenticationBox weight8 fs-20" v-if="authenInfo.status == 1 && isLogin == true">已认证</view> -->
|
||||||
</view>
|
</view>
|
||||||
<view class="fs-28 weight4" style="margin-top: 30rpx;">剩余拨打次数:
|
<view class="fs-28 weight4" style="margin-top: 30rpx;">剩余拨打次数:
|
||||||
{{ userInfo.all_mobile_num ? userInfo.all_mobile_num : 0 }}次
|
{{ userInfo.all_mobile_num ? userInfo.all_mobile_num : 0 }}次
|
||||||
@ -249,7 +255,6 @@
|
|||||||
const scrollHeight = ref()
|
const scrollHeight = ref()
|
||||||
|
|
||||||
onShow(() => {
|
onShow(() => {
|
||||||
// console.log('onShow',authenInfo.value.status);
|
|
||||||
isIos();
|
isIos();
|
||||||
sheep.$store('user').updateUserData();
|
sheep.$store('user').updateUserData();
|
||||||
});
|
});
|
||||||
|
Loading…
x
Reference in New Issue
Block a user