Browse Source

feat: 照片更换

2912631854@qq.com 4 months ago
parent
commit
e53605ffbb

+ 3 - 2
components/NoData/index.vue

@@ -1,8 +1,9 @@
 <template>
 	<view class="nodatadiv">
 		<view class="">
-			<u--image :showLoading="true" src="https://i.ringzle.com/file/20240104/a41e61c5857c446c8f6c63aa12008681.png"
-				width="220rpx" height="150rpx" @click="click"></u--image>
+			<u--image :showLoading="true"
+				src="https://fsy.shengsi.gov.cn/file/20240619/4d6038aac7114ddface2354cd2e8e1ee.png" width="220rpx"
+				height="150rpx" @click="click"></u--image>
 		</view>
 		<view class="nodata">
 			暂无数据

+ 8 - 7
pages/HotelMerchandise/index.vue

@@ -60,10 +60,10 @@
 		<view class="" style="padding-bottom: 160rpx;">
 			<!-- 房型选择 -->
 			<view class="type" v-for="item,index in roomType" :key="index" style="">
-				<view class="left" v-if="Selected==true">
+				<view class="left" v-if="Selected==true" @tap="selectPerson(item,index)">
 					<view class="image">
-						<image @tap="selectPerson(item,index)"
-							:src="selectedTags.includes(item)?'https://i.ringzle.com/file/20240228/c741a340e19642c59473e6f4a6d2f4be.png':'https://i.ringzle.com/file/20231027/db588133d67548fc82dfb0d128eac9a8.png'">
+						<image
+							:src="selectedTags.includes(item)?'https://fsy.shengsi.gov.cn/file/20240619/ab6bcbe73e114802a93baa7c40c7ac97.png':'https://fsy.shengsi.gov.cn/file/20240619/bf140a7159e249e7bf47be677a5d9585.png'">
 						</image>
 					</view>
 				</view>
@@ -117,7 +117,7 @@
 							:src="isSelect?'https://i.ringzle.com/file/20240228/c741a340e19642c59473e6f4a6d2f4be.png':'https://i.ringzle.com/file/20231027/db588133d67548fc82dfb0d128eac9a8.png'">
 						</image> -->
 						<image
-							:src="selectedTags.length>0?'https://i.ringzle.com/file/20240228/c741a340e19642c59473e6f4a6d2f4be.png':'https://i.ringzle.com/file/20231027/db588133d67548fc82dfb0d128eac9a8.png'">
+							:src="selectedTags.length>0?'https://fsy.shengsi.gov.cn/file/20240619/ab6bcbe73e114802a93baa7c40c7ac97.png':'https://fsy.shengsi.gov.cn/file/20240619/bf140a7159e249e7bf47be677a5d9585.png'">
 						</image>
 					</view>
 					<view class="text">
@@ -965,14 +965,15 @@
 		display: flex;
 
 		.left {
+			margin-top: 30rpx;
 			height: 114rpx;
-			line-height: 200rpx;
+			line-height: 150rpx;
 			margin-right: 20rpx;
 
 			.image {
 				margin: 0 10rpx;
-				width: 30rpx;
-				height: 30rpx;
+				width: 40rpx;
+				height: 40rpx;
 
 				image {
 					width: 100%;

+ 4 - 2
pages/home/details.vue

@@ -10,7 +10,9 @@
 				<view class="b_grey b_rb">不可售</view>
 			</view>
 			<view v-if="list.length>0" class="t_item" v-for="(item,index) in list" :key="index">
-				<view class="b_grey b_rb">{{item.houseBaseName}}</view>
+				<view class="b_grey b_rb">
+					{{item.houseBaseName}}{{item.houseBaseName}}{{item.houseBaseName}}{{item.houseBaseName}}{{item.houseBaseName}}
+				</view>
 				<view class="b_rb" :class="(index==list.length-1||index==list.length-2)?'b_grey':''">{{item.totalNums}}
 				</view>
 				<view class="b_rb" :class="(index==list.length-1||index==list.length-2)?'b_grey':''">{{item.saleNums}}
@@ -156,7 +158,7 @@
 
 				&>view {
 					width: 25%;
-					height: 106rpx;
+					height: 160rpx;
 					display: flex;
 					align-items: center;
 					justify-content: center;

+ 44 - 34
pages/login/index.vue

@@ -1,7 +1,7 @@
 <template>
 	<view class="page" :style="{'min-height':h+'px'}">
 		<view class="box">
-		<!-- 	<image src="https://i.ringzle.com/file/20240109/d6c4691423cf40c2bdf9210d389cdd1e.png"></image>
+			<!-- 	<image src="https://i.ringzle.com/file/20240109/d6c4691423cf40c2bdf9210d389cdd1e.png"></image>
 			<view class="text">您好!欢迎使用<br>游嵊泗商家服务平台</view> -->
 			<!-- <view class="" @click="aa()">核销</view> -->
 			<view class="login">
@@ -10,54 +10,59 @@
 		</view>
 	</view>
 </template>
- 
+
 <script>
 	export default {
 		data() {
 			return {
-				
+
 			}
 		},
 		onLoad() {
 			uni.clearStorageSync();
 		},
 		methods: {
-			aa(){
+			aa() {
 				uni.reLaunch({
-					url:"/pagesHouse/hexiao/index"
+					url: "/pagesHouse/hexiao/index"
 				})
 			},
 			//获取手机号进行登录
-			decryptPhoneNumber(e){
-				if(e.detail.code) this.wxLogin(e.detail.code);
+			decryptPhoneNumber(e) {
+				if (e.detail.code) this.wxLogin(e.detail.code);
 			},
-			//登录
-			wxLogin(code){
-				uni.showLoading({ title:'登录中' });
+			// 登录
+			wxLogin(code) {
+				uni.showLoading({
+					title: '登录中'
+				});
 				let that = this;
 				wx.login({
-					success(res){
-						that.$api.post('/auth/oauth/token',{
-							code:res.code,
-							phoneCode:code,
-							grant_type:'merchantWeChat',
-							captcha:'aaa'
-						},false).then(result=>{
-							if(result.data.code===0){
-								uni.setStorageSync('authorization',result.data.token_type+' '+result.data.access_token);
-								uni.setStorageSync('access_token',result.data.access_token);
-								that.$api.get('/sys/user/info').then(resu=>{
-									if(resu.data.code===0){
+					success(res) {
+						that.$api.post('/auth/oauth/token', {
+							code: res.code,
+							phoneCode: code,
+							grant_type: 'merchantWeChat',
+							captcha: 'aaa'
+						}, false).then(result => {
+							if (result.data.code === 0) {
+								uni.setStorageSync('authorization', result.data.token_type + ' ' + result
+									.data.access_token);
+								uni.setStorageSync('access_token', result.data.access_token);
+								that.$api.get('/sys/user/info').then(resu => {
+									if (resu.data.code === 0) {
 										that.$showToast('登录成功');
-										uni.setStorageSync('userInfo',resu.data.data);
-										setTimeout(()=>{
+										uni.setStorageSync('userInfo', resu.data.data);
+										setTimeout(() => {
 											uni.reLaunch({
-												url:'/pages/login/select?userInfo='+encodeURIComponent(JSON.stringify(resu.data.data))
+												url: '/pages/login/select?userInfo=' +
+													encodeURIComponent(JSON
+														.stringify(resu.data.data))
 											})
-										},1500)
-									}else that.$showToast(resu.data.msg)
+										}, 1500)
+									} else that.$showToast(resu.data.msg)
 								})
-							}else that.$showToast(result.data.msg)
+							} else that.$showToast(result.data.msg)
 						})
 					}
 				})
@@ -67,22 +72,25 @@
 </script>
 
 <style scoped lang="less">
-	.page{
+	.page {
 		background: url(https://i.ringzle.com/file/20240523/474a7a2656cb499d851cf7665f9d7d6a.png) no-repeat;
 		background-size: 100% 100%;
 		display: flex;
 		align-items: center;
 		justify-content: center;
-		.box{
+
+		.box {
 			width: calc(100% - 180rpx);
 			display: flex;
 			flex-direction: column;
 			align-items: center;
-			image{
+
+			image {
 				width: 480rpx;
 				height: 520rpx;
 			}
-			.text{
+
+			.text {
 				text-align: center;
 				font-size: 56rpx;
 				font-family: PingFang SC, PingFang SC;
@@ -90,11 +98,13 @@
 				color: #FFFFFF;
 				line-height: 96rpx;
 			}
-			.login{
+
+			.login {
 				margin-top: 780rpx;
 				width: 100%;
 				height: 96rpx;
-				button{
+
+				button {
 					width: 100%;
 					height: 100%;
 					background: #1372FF;

+ 28 - 13
pages/my/roomType.vue

@@ -9,20 +9,20 @@
 			</view>
 			<view class="right" @click="showList">
 				<view class="image">
-					<image src="https://i.ringzle.com/file/20240313/f3d301b3bc4544ffaf5a0d96a761dd00.png" mode="">
+					<image src="https://fsy.shengsi.gov.cn/file/20240619/0a897090737641b5b4111899617a8085.png" mode="">
 					</image>
 				</view>
 				<view class="text">
-					批量操作
+					批量定价
 				</view>
 			</view>
 		</view>
 		<!-- 房型选择 -->
 		<view class="type" v-for="item,index in roomType" :key="item.houseBaseId">
-			<view class="left" v-if="Selected==true">
+			<view class="left" v-if="Selected==true" @tap="selectPerson(item,index)">
 				<view class="image">
-					<image @tap="selectPerson(item,index)"
-						:src="selectedTags.includes(item)?'https://i.ringzle.com/file/20240605/5251702f12aa4ff0a4ddadc1669901b0.png':'https://i.ringzle.com/file/20231027/db588133d67548fc82dfb0d128eac9a8.png'">
+					<image
+						:src="selectedTags.includes(item)?'https://fsy.shengsi.gov.cn/file/20240619/ab6bcbe73e114802a93baa7c40c7ac97.png':'https://fsy.shengsi.gov.cn/file/20240619/bf140a7159e249e7bf47be677a5d9585.png'">
 					</image>
 				</view>
 			</view>
@@ -45,11 +45,8 @@
 			<view class="bottom-btn">
 				<view class="left">
 					<view class="image">
-						<!-- 	<image
-						:src="isSelect?'https://i.ringzle.com/file/20240228/c741a340e19642c59473e6f4a6d2f4be.png':'https://i.ringzle.com/file/20231027/db588133d67548fc82dfb0d128eac9a8.png'">
-					</image> -->
 						<image
-							:src="selectedTags.length>0?'https://i.ringzle.com/file/20240605/5251702f12aa4ff0a4ddadc1669901b0.png':'https://i.ringzle.com/file/20231027/db588133d67548fc82dfb0d128eac9a8.png'">
+							:src="selectedTags.length>0?'https://fsy.shengsi.gov.cn/file/20240619/ab6bcbe73e114802a93baa7c40c7ac97.png':'https://fsy.shengsi.gov.cn/file/20240619/bf140a7159e249e7bf47be677a5d9585.png'">
 						</image>
 					</view>
 					<view class="text">
@@ -309,6 +306,8 @@
 			},
 			closeDate() {
 				this.showOne = false
+				this.showTwo = false
+
 			},
 			selectType(type) {
 				console.log(type);
@@ -428,8 +427,24 @@
 <style lang="scss">
 	.uicon-close {
 		font-size: 35rpx !important;
+		z-index: 99999 !important;
+	}
+
+	.u-popup__content__close--top-right {
+		width: 40rpx !important;
+		height: 40rpx !important;
+		z-index: 99999 !important;
 	}
 
+
+
+	.u-popup__content {
+		z-index: 99999 !important;
+	}
+
+
+
+
 	.u-radio__text {
 		margin-right: 35rpx !important;
 	}
@@ -638,8 +653,8 @@
 
 			.image {
 				margin: 0 10rpx;
-				width: 30rpx;
-				height: 30rpx;
+				width: 40rpx;
+				height: 40rpx;
 
 				image {
 					width: 100%;
@@ -690,8 +705,8 @@
 
 
 				.image {
-					width: 38rpx;
-					height: 38rpx;
+					width: 40rpx;
+					height: 40rpx;
 					margin: 0 10rpx;
 
 					image {