Compare commits
	
		
			1 Commits
		
	
	
		
			main
			...
			wzm-regist
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
| f662610ef3 | 
@ -125,7 +125,7 @@
 | 
			
		||||
						</view>
 | 
			
		||||
					</view>
 | 
			
		||||
 | 
			
		||||
					<view class="signBtn" @click="toTabb('/pages/index/category')">
 | 
			
		||||
					<view class="signBtn" @click="toPage('/pages/index/category')">
 | 
			
		||||
						去消费
 | 
			
		||||
					</view>
 | 
			
		||||
				</view>
 | 
			
		||||
@ -218,7 +218,7 @@
 | 
			
		||||
				</view>
 | 
			
		||||
				<view class="contactBtn">
 | 
			
		||||
					<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>
 | 
			
		||||
		</su-popup>
 | 
			
		||||
@ -410,15 +410,7 @@
 | 
			
		||||
		})
 | 
			
		||||
	}
 | 
			
		||||
	
 | 
			
		||||
	const showFB = ref(false);
 | 
			
		||||
	function toFaBu() {
 | 
			
		||||
		uni.navigateTo({
 | 
			
		||||
			url: '/pages/canteenRent/fabu',
 | 
			
		||||
		})
 | 
			
		||||
		setTimeout(() => {
 | 
			
		||||
			showFB.value = false;
 | 
			
		||||
		},1000)
 | 
			
		||||
	}
 | 
			
		||||
	const showFB = ref(false)
 | 
			
		||||
	function openFB() {
 | 
			
		||||
		showFB.value = true;
 | 
			
		||||
	}
 | 
			
		||||
@ -426,6 +418,7 @@
 | 
			
		||||
		showFB.value = false;
 | 
			
		||||
	}
 | 
			
		||||
	
 | 
			
		||||
	
 | 
			
		||||
	//分享功能
 | 
			
		||||
	function showShare() {
 | 
			
		||||
	  // 确保使用有效的图片URL
 | 
			
		||||
 | 
			
		||||
@ -1,5 +1,5 @@
 | 
			
		||||
<template>
 | 
			
		||||
	<!-- <view> 发布 </view>-->
 | 
			
		||||
	<!-- <view> 发布 </view> tabbar="/pages/index/fabu"-->
 | 
			
		||||
	<s-layout title="发布信息" :bgStyle="{ color: '#f7f7f7' }">
 | 
			
		||||
		<view class="container">
 | 
			
		||||
			<!-- :style="{height: isIphone ? `calc(71vh - ${systemInfo.safeAreaInsets.bottom}px)` : '78vh',}" -->
 | 
			
		||||
 | 
			
		||||
@ -182,7 +182,7 @@
 | 
			
		||||
	/* 使用券 */
 | 
			
		||||
	function toUseFull(item) {
 | 
			
		||||
		console.log('使用满减券', item);
 | 
			
		||||
		uni.switchTab({
 | 
			
		||||
		uni.navigateTo({
 | 
			
		||||
			url: '/pages/index/category'
 | 
			
		||||
		})
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
@ -271,7 +271,7 @@
 | 
			
		||||
  .car-show {
 | 
			
		||||
  	height: 80rpx;
 | 
			
		||||
  	position: fixed;
 | 
			
		||||
  	bottom: 200rpx;
 | 
			
		||||
  	bottom: 150rpx;
 | 
			
		||||
  	right: 0;
 | 
			
		||||
  
 | 
			
		||||
  	.car-image {
 | 
			
		||||
 | 
			
		||||
@ -149,6 +149,16 @@
 | 
			
		||||
			<su-regionCity-picker :show="state.showRegion" @cancel="state.showRegion = false"
 | 
			
		||||
				@confirm="onRegionConfirm">
 | 
			
		||||
			</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>
 | 
			
		||||
	</view>
 | 
			
		||||
@ -208,7 +218,8 @@
 | 
			
		||||
 | 
			
		||||
	const template = computed(() => sheep.$store('app').template?.home);
 | 
			
		||||
	const isLogin = computed(() => sheep.$store('user').isLogin);
 | 
			
		||||
	const qualification = ref(false)
 | 
			
		||||
	const qualification = ref(false);
 | 
			
		||||
	const registerShow = ref(false);//注册获取优惠券弹框
 | 
			
		||||
 | 
			
		||||
	const state = reactive({
 | 
			
		||||
		showRegion: false,
 | 
			
		||||
@ -321,7 +332,7 @@
 | 
			
		||||
		console.log('轮播图跳转事件:', item.url);
 | 
			
		||||
		const tabBarPages = [
 | 
			
		||||
			'/pages/index/index',
 | 
			
		||||
			'/pages/index/category',
 | 
			
		||||
			'/pages/index/fabu',
 | 
			
		||||
			'/pages/index/user'
 | 
			
		||||
		];
 | 
			
		||||
		console.log('tabbarsList:', tabBarPages);
 | 
			
		||||
@ -607,38 +618,38 @@
 | 
			
		||||
				// align-items: center;
 | 
			
		||||
 | 
			
		||||
				.navTop-left {
 | 
			
		||||
					width: 330rpx;
 | 
			
		||||
					height: 390rpx;
 | 
			
		||||
					width: 270rpx;
 | 
			
		||||
					height: 350rpx;
 | 
			
		||||
					background-image: url('https://jiangxiaoxian.0rui.cn/shoppingMall.png');
 | 
			
		||||
					background-size: 100% 100%;
 | 
			
		||||
					background-size: 100%;
 | 
			
		||||
					border-radius: 18rpx;
 | 
			
		||||
					// padding: 40rpx 30rpx 0rpx 30rpx;
 | 
			
		||||
					padding: 40rpx 30rpx 0rpx 30rpx;
 | 
			
		||||
 | 
			
		||||
				}
 | 
			
		||||
 | 
			
		||||
				.navTop-right {
 | 
			
		||||
					// display: grid;
 | 
			
		||||
					display: grid;
 | 
			
		||||
					justify-content: center;
 | 
			
		||||
					align-items: center;
 | 
			
		||||
					width: 330rpx;
 | 
			
		||||
 | 
			
		||||
					.navRight1 {
 | 
			
		||||
						width: 330rpx;
 | 
			
		||||
						height: 180rpx;
 | 
			
		||||
						width: 270rpx;
 | 
			
		||||
						height: 140rpx;
 | 
			
		||||
						background-image: url('https://jiangxiaoxian.0rui.cn/rent.png');
 | 
			
		||||
						background-size: 100%;
 | 
			
		||||
						border-radius: 18rpx;
 | 
			
		||||
						// padding: 40rpx 30rpx 0rpx 30rpx;
 | 
			
		||||
						padding: 40rpx 30rpx 0rpx 30rpx;
 | 
			
		||||
					}
 | 
			
		||||
 | 
			
		||||
					.navRight2 {
 | 
			
		||||
						margin-top: 30rpx;
 | 
			
		||||
						width: 330rpx;
 | 
			
		||||
						height: 180rpx;
 | 
			
		||||
						width: 270rpx;
 | 
			
		||||
						height: 140rpx;
 | 
			
		||||
						background-image: url('https://jiangxiaoxian.0rui.cn/school.png');
 | 
			
		||||
						background-size: 100%;
 | 
			
		||||
						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>
 | 
			
		||||
@ -26,14 +26,20 @@
 | 
			
		||||
									<view style="font-weight: 800;" @click="sheep.$router.go('/pages/user/info')">
 | 
			
		||||
										{{ userInfo.nickname}}
 | 
			
		||||
									</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>
 | 
			
		||||
									<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>
 | 
			
		||||
 | 
			
		||||
								</view>
 | 
			
		||||
								<view class="info-name fs-36 weight8 flexD" v-else>
 | 
			
		||||
									<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 class="fs-28 weight4" style="margin-top: 30rpx;">剩余拨打次数:
 | 
			
		||||
									{{ userInfo.all_mobile_num ? userInfo.all_mobile_num : 0 }}次
 | 
			
		||||
@ -249,7 +255,6 @@
 | 
			
		||||
	const scrollHeight = ref()
 | 
			
		||||
 | 
			
		||||
	onShow(() => {
 | 
			
		||||
		// console.log('onShow',authenInfo.value.status);
 | 
			
		||||
		isIos();
 | 
			
		||||
		sheep.$store('user').updateUserData();
 | 
			
		||||
	});
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user