lhl 3 anni fa
parent
commit
689171ad73

+ 5 - 5
pages.json

@@ -56,7 +56,7 @@
 				// #endif
 				// #endif
 				"navigationBarBackgroundColor": "#457DBF",
 				"navigationBarBackgroundColor": "#457DBF",
 				"navigationBarTextStyle": "white",
 				"navigationBarTextStyle": "white",
-				"navigationBarTitleText": "孝感红十字会安心捐赠"
+				"navigationBarTitleText": "咸宁市红十字会安心捐赠"
 			}
 			}
 		},
 		},
 		{
 		{
@@ -69,7 +69,7 @@
 				// #endif
 				// #endif
 				"navigationBarBackgroundColor": "#457DBF",
 				"navigationBarBackgroundColor": "#457DBF",
 				"navigationBarTextStyle": "white",
 				"navigationBarTextStyle": "white",
-				"navigationBarTitleText": "孝感红十字会安心捐赠"
+				"navigationBarTitleText": "咸宁市红十字会安心捐赠"
 			}
 			}
 		},
 		},
 		// donaSuccess
 		// donaSuccess
@@ -175,7 +175,7 @@
 				// #endif
 				// #endif
 				"navigationBarBackgroundColor": "#457DBF",
 				"navigationBarBackgroundColor": "#457DBF",
 				"navigationBarTextStyle": "white",
 				"navigationBarTextStyle": "white",
-				"navigationBarTitleText": "孝感红十字会安心捐赠"
+				"navigationBarTitleText": "我的捐款"
 			}
 			}
 		},
 		},
 		// teamSign  perSign  donateLove  donateList myDonate
 		// teamSign  perSign  donateLove  donateList myDonate
@@ -511,7 +511,7 @@
 					"titleNView": false
 					"titleNView": false
 				},
 				},
 					// #endif
 					// #endif
-				"navigationBarTitleText": "救护员登记"
+				"navigationBarTitleText": "救护员招募"
 			}
 			}
 		},
 		},
 		{
 		{
@@ -990,7 +990,7 @@
 				"pagePath": "pages/category/category",
 				"pagePath": "pages/category/category",
 				"iconPath": "static/tabBar/dengji.png",
 				"iconPath": "static/tabBar/dengji.png",
 				"selectedIconPath": "static/tabBar/dengji-action.png",
 				"selectedIconPath": "static/tabBar/dengji-action.png",
-				"text": "救在身边"
+				"text": "救护员招募"
 				// "visible":false
 				// "visible":false
 			},
 			},
 			// {
 			// {

+ 4 - 2
pages/applic/location.vue

@@ -298,7 +298,8 @@
 						latitude: obj.latitude,
 						latitude: obj.latitude,
 						longitude: obj.longitude,
 						longitude: obj.longitude,
 						rescuers_id: obj.rescuers_id,
 						rescuers_id: obj.rescuers_id,
-						rescuers_user_id: obj.user_id
+						rescuers_user_id: obj.user_id,
+						re_url: obj.$store.state.baseURL + '/index/#/pages/applic/rescuerecords',
 					}).then(res => {
 					}).then(res => {
 						uni.showModal({
 						uni.showModal({
 							title: '请耐心等待救援',
 							title: '请耐心等待救援',
@@ -500,7 +501,8 @@
 				}
 				}
 			}
 			}
 
 
-			.box-right {
+			.box-right {
+				flex-shrink: 0;
 				.img {
 				.img {
 					height: 107rpx;
 					height: 107rpx;
 
 

+ 4 - 1
pages/applic/love.vue

@@ -28,7 +28,10 @@ export default {
 		}
 		}
 	},
 	},
 	methods: {
 	methods: {
-		nav(url) {
+		nav(url) {
+			// if(url == '/pages/applic/contribution') {
+			// 	return this.$api.msg('功能建设中,敬请期待')
+			// }
 			uni.navigateTo({
 			uni.navigateTo({
 				url:url, 
 				url:url, 
 			})
 			})

+ 1 - 1
pages/applic/science.vue

@@ -70,7 +70,7 @@
 			},
 			},
 			loadData(){
 			loadData(){
 				let obj = this;
 				let obj = this;
-				getArticList({ifyid:64}).then(({ data }) => {
+				getArticList({ifyid:65}).then(({ data }) => {
 					console.log(data,123456);
 					console.log(data,123456);
 					obj.science = obj.science.concat(data.list);
 					obj.science = obj.science.concat(data.list);
 					console.log(obj.science,'999999999999999999')
 					console.log(obj.science,'999999999999999999')

+ 11 - 9
pages/category/category.vue

@@ -1,7 +1,7 @@
 <template>
 <template>
 	<view class="content">
 	<view class="content">
 		<view class="top">
 		<view class="top">
-			<image src="../../static/img/jiuzai.png" mode="widthFix" class="bgi"></image>
+			<image src="../../static/img/xn-jhy.png" mode="" class="bgi"></image>
 		</view>
 		</view>
 		<view class="pop-box">公众参与</view>
 		<view class="pop-box">公众参与</view>
 		<view class="pop-list">
 		<view class="pop-list">
@@ -9,7 +9,7 @@
 				<view class="list-top">
 				<view class="list-top">
 					<image src="../../static/img/002.png" mode="" class="avatar-img"></image>
 					<image src="../../static/img/002.png" mode="" class="avatar-img"></image>
 				</view>
 				</view>
-				<view class="nickname">{{ item.name }}</view>
+				<view class="nickname clamp">{{ item.name }}</view>
 			</view>
 			</view>
 		</view>
 		</view>
 		<view class="red-box">救在身边报名</view>
 		<view class="red-box">救在身边报名</view>
@@ -320,10 +320,12 @@
 
 
 			.bgi {
 			.bgi {
 				display: block;
 				display: block;
-
-				width: 564rpx;
-				height: 678rpx;
-				margin: 53rpx auto;
+				width: 750rpx;
+				height: 609rpx;
+				// width: rpx;
+				// height: 678rpx;
+				// width:;
+				// margin: 53rpx auto;
 				// position: relative;
 				// position: relative;
 				// top: -20rpx;
 				// top: -20rpx;
 			}
 			}
@@ -355,7 +357,7 @@
 
 
 		.pop-box {
 		.pop-box {
 			padding-top: 31rpx;
 			padding-top: 31rpx;
-			margin: 0 auto;
+			margin: -100rpx auto 0;
 			position: relative;
 			position: relative;
 			z-index: 99;
 			z-index: 99;
 			width: 156rpx;
 			width: 156rpx;
@@ -428,7 +430,7 @@
 			padding: 150rpx 0rpx 30rpx 30rpx;
 			padding: 150rpx 0rpx 30rpx 30rpx;
 			display: flex;
 			display: flex;
 			flex-wrap: wrap;
 			flex-wrap: wrap;
-			box-shadow: 0px 10rpx 20rpx 0px rgba(254, 0, 8, 0.28);
+			// box-shadow: 0px 10rpx 20rpx 0px rgba(254, 0, 8, 0.28);
 
 
 			.list-box1 {
 			.list-box1 {
 				text-align: center;
 				text-align: center;
@@ -461,7 +463,7 @@
 			padding: 100rpx 30rpx 0rpx 30rpx;
 			padding: 100rpx 30rpx 0rpx 30rpx;
 			display: flex;
 			display: flex;
 			flex-wrap: wrap;
 			flex-wrap: wrap;
-			box-shadow: 0px 10rpx 20rpx 0px rgba(254, 0, 8, 0.28);
+			// box-shadow: 0px 10rpx 20rpx 0px rgba(254, 0, 8, 0.28);
 
 
 			.upload-box {
 			.upload-box {
 				width: 100%;
 				width: 100%;

+ 10 - 8
pages/form/donaSuccess.vue

@@ -78,7 +78,8 @@ export default {
 			)
 			)
 			.exec();
 			.exec();
 		let ctxBg = '/static/img/thanks1.png'; //画布背景
 		let ctxBg = '/static/img/thanks1.png'; //画布背景
-		let src = '/static/icon/erweima.jpg'; // 二维码
+		let src = '/static/icon/erweima.jpg'; // 二维码
+		let src1 = '/static/icon/gongzhang.png'//公章
 
 
 		let context = uni.createCanvasContext('qrShareBox');
 		let context = uni.createCanvasContext('qrShareBox');
 		// 插入背景图片
 		// 插入背景图片
@@ -106,7 +107,7 @@ export default {
 		context.fillText('感谢信', ((750 - obj.size) * obj.ratio) / 2, 260 * obj.ratio)
 		context.fillText('感谢信', ((750 - obj.size) * obj.ratio) / 2, 260 * obj.ratio)
 		context.setFontSize(30 * obj.ratio);
 		context.setFontSize(30 * obj.ratio);
 		context.fillText('尊敬的' + this.name + ':', 60 * obj.ratio, 350 * obj.ratio);
 		context.fillText('尊敬的' + this.name + ':', 60 * obj.ratio, 350 * obj.ratio);
-		context.fillText('衷心感谢您对孝感市红十字事业的信任与支', 120 * obj.ratio, 410 * obj.ratio);
+		context.fillText('衷心感谢您对咸宁市红十字事业的信任与支', 120 * obj.ratio, 410 * obj.ratio);
 		context.fillText('持!我们已收到您的捐款', 60 * obj.ratio, 465 * obj.ratio);
 		context.fillText('持!我们已收到您的捐款', 60 * obj.ratio, 465 * obj.ratio);
 		// 画横线
 		// 画横线
 		context.moveTo(380 * obj.ratio, 470 * obj.ratio);
 		context.moveTo(380 * obj.ratio, 470 * obj.ratio);
@@ -124,12 +125,13 @@ export default {
 		context.fillText('我们因您更有力量,因您倍感温暖!', 60 * obj.ratio, 735 * obj.ratio);
 		context.fillText('我们因您更有力量,因您倍感温暖!', 60 * obj.ratio, 735 * obj.ratio);
 		// context.fillText('谨表谢意', (580 * obj.ratio), 680 * obj.ratio)
 		// context.fillText('谨表谢意', (580 * obj.ratio), 680 * obj.ratio)
 		// context.setTextAlign('right')
 		// context.setTextAlign('right')
-		context.fillText('孝感市红十字会', 450 * obj.ratio, 850 * obj.ratio);
+		context.fillText('咸宁市红十字会', 450 * obj.ratio, 850 * obj.ratio);
         context.fillText(obj.add_time, 450 * obj.ratio, 910 * obj.ratio);
         context.fillText(obj.add_time, 450 * obj.ratio, 910 * obj.ratio);
 		// 插入二维码
 		// 插入二维码
 		// console.log(codeX, codeY, codeSize, 999)
 		// console.log(codeX, codeY, codeSize, 999)
-		context.drawImage(src, codeX, codeY, codeSize, codeSize);
-
+		context.drawImage(src, codeX, codeY, codeSize, codeSize);
+		// 插入公章
+		context.drawImage(src1, 500 * obj.ratio, 750 * obj.ratio, codeSize, codeSize);
 		// 生成
 		// 生成
 		context.draw(false, e => {
 		context.draw(false, e => {
 			uni.canvasToTempFilePath({
 			uni.canvasToTempFilePath({
@@ -192,10 +194,10 @@ export default {
 			let obj = this;
 			let obj = this;
 			// let money = obj.money;
 			// let money = obj.money;
 			let item = {
 			let item = {
-				link: 'http://slj.igxys.com/index/#/pages/form/donaSuccess?money=' + obj.money + '&name=' + encodeURI(obj.name) + '&time=' + encodeURI(obj.add_time), // 分享链接
-				imgUrl: 'http://slj.igxys.com/index/static/img/002.png',
+				link: this.$store.state.baseURL + '/index/#/pages/form/donaSuccess?money=' + obj.money + '&name=' + encodeURI(obj.name) + '&time=' + encodeURI(obj.add_time), // 分享链接
+				imgUrl: this.$store.state.baseURL + '/index/static/img/002.png',
 				desc: '弘扬红十字精神,传播红十字观念,宣传红十字工作,这是一个汇聚爱心、救助之家力量的平台!',
 				desc: '弘扬红十字精神,传播红十字观念,宣传红十字工作,这是一个汇聚爱心、救助之家力量的平台!',
-				title: '来自孝感市红十字会的感谢信',
+				title: '来自'+ this.$store.state.baseName + '的感谢信',
 				success: console.log('分享加载成功')
 				success: console.log('分享加载成功')
 			};
 			};
 			console.log('分享加', item);
 			console.log('分享加', item);

+ 1 - 1
pages/index/index.vue

@@ -759,7 +759,7 @@
 			background-color: #fff;
 			background-color: #fff;
 
 
 			.carousel {
 			.carousel {
-				width: 705rpx;
+				width: 744rpx;
 				height: 375rpx;
 				height: 375rpx;
 				margin: 0 auto;
 				margin: 0 auto;
 				border-radius: 20rpx;
 				border-radius: 20rpx;

+ 2 - 2
pages/user/user.vue

@@ -15,7 +15,7 @@
 			</view>
 			</view>
 		</view>
 		</view>
 		<view class="nav-wrapper">
 		<view class="nav-wrapper">
-			<!-- <view class="nav-item flex" @click="tohelp">
+			<view class="nav-item flex" @click="tohelp">
 				<view class="item-left flex">
 				<view class="item-left flex">
 					<image src="../../static/icon/i6.png" mode="" class="img1"></image>
 					<image src="../../static/icon/i6.png" mode="" class="img1"></image>
 					<view class="title">求救记录</view>
 					<view class="title">求救记录</view>
@@ -32,7 +32,7 @@
 				<view class="item-right">
 				<view class="item-right">
 					>
 					>
 				</view>
 				</view>
-			</view> -->
+			</view>
 			<!-- <view class="nav-item flex" @click="navTo('/pages/form/myDonate')">
 			<!-- <view class="nav-item flex" @click="navTo('/pages/form/myDonate')">
 				<view class="item-left flex">
 				<view class="item-left flex">
 					<image src="../../static/icon/u-jz.png" mode="" class="img1"></image>
 					<image src="../../static/icon/u-jz.png" mode="" class="img1"></image>

BIN
static/icon/erweima.jpg


BIN
static/icon/gongzhang.png


BIN
static/img/xn-jhy.png


+ 2 - 2
store/index.js

@@ -23,8 +23,8 @@ const store = new Vuex.Store({
 		// #endif
 		// #endif
 		// shareData:'',//分享信息
 		// shareData:'',//分享信息
 		project_area: 0,
 		project_area: 0,
-		sys_appid: 'xnshszh2022120',//系统AppID
-		sys_appsecret: '2022120xnshszh',//系统AppSecret
+		sys_appid: 'xns2022324',//系统AppID
+		sys_appsecret: '2022324xns',//系统AppSecret
 		baseName: '咸宁市红十字会',
 		baseName: '咸宁市红十字会',
 		shareDesc: '弘扬红十字精神,传播红十字观念,宣传红十字工作,这是一个汇聚爱心、救助之家力量的平台!'
 		shareDesc: '弘扬红十字精神,传播红十字观念,宣传红十字工作,这是一个汇聚爱心、救助之家力量的平台!'
 	},
 	},