lhl 3 年之前
父节点
当前提交
4e6302888e
共有 44 个文件被更改,包括 483 次插入402 次删除
  1. 16 13
      App.vue
  2. 77 47
      pages/applic/contribution.vue
  3. 77 64
      pages/applic/info.vue
  4. 1 0
      pages/article/detail.vue
  5. 6 6
      pages/form/loveitem.vue
  6. 1 1
      pages/index/index.vue
  7. 256 254
      pages/share/card.vue
  8. 35 16
      pages/share/search.vue
  9. 13 0
      pages/share/subsidy.vue
  10. 二进制
      static/img/sharebase.png
  11. 二进制
      static/img/test_bg.png
  12. 二进制
      static/img/test_mail.png
  13. 二进制
      unpackage/dist/build/h5/7-27-1.rar
  14. 1 1
      unpackage/dist/build/h5/index.html
  15. 二进制
      unpackage/dist/build/h5/static/img/baseaddr.7564a17f.png
  16. 二进制
      unpackage/dist/build/h5/static/img/erweima.e5d3850a.jpg
  17. 二进制
      unpackage/dist/build/h5/static/img/sharebase.3ec57ab8.png
  18. 二进制
      unpackage/dist/build/h5/static/img/sharebase.png
  19. 二进制
      unpackage/dist/build/h5/static/img/test_bg.8ff239f6.png
  20. 二进制
      unpackage/dist/build/h5/static/img/test_bg.png
  21. 二进制
      unpackage/dist/build/h5/static/img/test_mail.png
  22. 二进制
      unpackage/dist/build/h5/static/img/top_bg.1bfdf6da.png
  23. 0 0
      unpackage/dist/build/h5/static/index.2772579d.css
  24. 0 0
      unpackage/dist/build/h5/static/index.a5c69d49.css
  25. 0 0
      unpackage/dist/build/h5/static/js/chunk-vendors.5609f4ed.js
  26. 0 0
      unpackage/dist/build/h5/static/js/chunk-vendors.5fbda0c2.js
  27. 0 0
      unpackage/dist/build/h5/static/js/index.d622c327.js
  28. 0 0
      unpackage/dist/build/h5/static/js/index.d748940b.js
  29. 0 0
      unpackage/dist/build/h5/static/js/pages-applic-contribution.256ab1be.js
  30. 0 0
      unpackage/dist/build/h5/static/js/pages-applic-contribution.51dbb71e.js
  31. 0 0
      unpackage/dist/build/h5/static/js/pages-applic-info.60743785.js
  32. 0 0
      unpackage/dist/build/h5/static/js/pages-applic-info.bdfefee7.js
  33. 0 0
      unpackage/dist/build/h5/static/js/pages-article-detail.96b6bfbc.js
  34. 0 0
      unpackage/dist/build/h5/static/js/pages-article-detail.99ddfc9c.js
  35. 0 0
      unpackage/dist/build/h5/static/js/pages-form-loveitem.1ac01f8e.js
  36. 0 0
      unpackage/dist/build/h5/static/js/pages-form-loveitem.4d839ae2.js
  37. 0 0
      unpackage/dist/build/h5/static/js/pages-index-index.0403be2e.js
  38. 0 0
      unpackage/dist/build/h5/static/js/pages-index-index.5e8c5576.js
  39. 0 0
      unpackage/dist/build/h5/static/js/pages-share-card.7f51082c.js
  40. 0 0
      unpackage/dist/build/h5/static/js/pages-share-card.d48e6735.js
  41. 0 0
      unpackage/dist/build/h5/static/js/pages-share-search.57210335.js
  42. 0 0
      unpackage/dist/build/h5/static/js/pages-share-search.d9fdc3b9.js
  43. 0 0
      unpackage/dist/build/h5/static/js/pages-share-subsidy.1dcce3fd.js
  44. 0 0
      unpackage/dist/build/h5/static/js/pages-share-subsidy.f3047b3c.js

+ 16 - 13
App.vue

@@ -26,7 +26,7 @@
 			let obj = this;
 			let obj = this;
 			// 加载缓存中的用户信息
 			// 加载缓存中的用户信息
 			let userInfo = uni.getStorageSync('userInfo') || '';
 			let userInfo = uni.getStorageSync('userInfo') || '';
-			console.log(userInfo,'bba');
+			console.log(userInfo, 'bba');
 			// 判断是否拥有用户信息
 			// 判断是否拥有用户信息
 			if (userInfo.uid) {
 			if (userInfo.uid) {
 				//更新登陆状态
 				//更新登陆状态
@@ -62,9 +62,9 @@
 			// obj.audioMusic.onError(function(res){
 			// obj.audioMusic.onError(function(res){
 			// 	console.log(res)
 			// 	console.log(res)
 			// })
 			// })
-			
-			
-			
+
+
+
 		},
 		},
 		onShow: function() {
 		onShow: function() {
 			// 加载拦截
 			// 加载拦截
@@ -135,14 +135,15 @@
 	}
 	}
 
 
 	//多行字体省略
 	//多行字体省略
-	.word2_ellipsis{
+	.word2_ellipsis {
 		overflow: hidden;
 		overflow: hidden;
 		text-overflow: ellipsis;
 		text-overflow: ellipsis;
 		display: -webkit-box;
 		display: -webkit-box;
-		-webkit-line-clamp: 2;//在第几行显示...
+		-webkit-line-clamp: 2; //在第几行显示...
 		-webkit-box-orient: vertical;
 		-webkit-box-orient: vertical;
 
 
 	}
 	}
+
 	//右外边距
 	//右外边距
 	.m-r25 {
 	.m-r25 {
 		margin-right: 25rpx;
 		margin-right: 25rpx;
@@ -355,17 +356,19 @@
 		// 设置默认字体
 		// 设置默认字体
 		font-family: PingFang SC, STHeitiSC-Light, Helvetica-Light, arial, sans-serif, Droid Sans Fallback;
 		font-family: PingFang SC, STHeitiSC-Light, Helvetica-Light, arial, sans-serif, Droid Sans Fallback;
 	}
 	}
+
 	.clamp {
 	.clamp {
 		overflow: hidden;
 		overflow: hidden;
 		text-overflow: ellipsis;
 		text-overflow: ellipsis;
 		white-space: nowrap;
 		white-space: nowrap;
 		display: block;
 		display: block;
 	}
 	}
-	.clamp2{
-		overflow:hidden; 
-		text-overflow:ellipsis;
-		display:-webkit-box; 
-		-webkit-box-orient:vertical;
-		-webkit-line-clamp:2;
+
+	.clamp2 {
+		overflow: hidden;
+		text-overflow: ellipsis;
+		display: -webkit-box;
+		-webkit-box-orient: vertical;
+		-webkit-line-clamp: 2;
 	}
 	}
-</style>
+</style>

+ 77 - 47
pages/applic/contribution.vue

@@ -14,10 +14,11 @@
 			<view class="tit">
 			<view class="tit">
 				捐赠意向
 				捐赠意向
 			</view>
 			</view>
-			<picker :value="index" @change="PickerDire" :range="chooseDire" class="choose-yx-box">
+			<picker :value="jkindex" @change="PickerDire" :range="chooseDire" class="choose-yx-box">
 				<view class="">{{ intention || '请选择捐款意向'}}</view>
 				<view class="">{{ intention || '请选择捐款意向'}}</view>
 			</picker>
 			</picker>
-			<view class="list-box" v-for="(item,index) in gyList" :key='index' @click="Jump(item)" v-if="item.title == intention">
+			<view class="list-box" v-for="(item,index) in gyList" :key='index' @click="Jump(item)"
+				v-if="item.title == intention">
 				<view class="box-left">
 				<view class="box-left">
 					<image :src="item.image_input[0]" mode="" class="left-img"></image>
 					<image :src="item.image_input[0]" mode="" class="left-img"></image>
 				</view>
 				</view>
@@ -57,18 +58,19 @@
 				<input type="text" placeholder="请输入单位名称" v-model="donate_er" v-else class="name-ipt" />
 				<input type="text" placeholder="请输入单位名称" v-model="donate_er" v-else class="name-ipt" />
 				<view class="">
 				<view class="">
 					<switch :checked="!is_public" color='#E63931' style="transform: scale(0.7,0.7)"
 					<switch :checked="!is_public" color='#E63931' style="transform: scale(0.7,0.7)"
-						@change="switch1Change" />匿名捐赠
+						@change="switch1Change" />匿名捐赠<br />
 					<switch :checked="is_receipts" color='#E63931' style="transform: scale(0.7,0.7)"
 					<switch :checked="is_receipts" color='#E63931' style="transform: scale(0.7,0.7)"
 						@change="switch2Change" />寄发票
 						@change="switch2Change" />寄发票
 				</view>
 				</view>
 			</view>
 			</view>
 		</template>
 		</template>
-		
+
 		<template v-if="currentIndex == 0">
 		<template v-if="currentIndex == 0">
 			<input type="text" placeholder="请输入姓名" v-model="donate_er" v-if="way=='个人'" class="name-ipt name-ipt-t" />
 			<input type="text" placeholder="请输入姓名" v-model="donate_er" v-if="way=='个人'" class="name-ipt name-ipt-t" />
 			<input type="text" placeholder="请输入单位名称" v-model="donate_er" v-else class="name-ipt name-ipt-t" />
 			<input type="text" placeholder="请输入单位名称" v-model="donate_er" v-else class="name-ipt name-ipt-t" />
 		</template>
 		</template>
-		<input type="text" placeholder="请输入手机号" v-model="mobile" class="name-ipt name-ipt-t" style="margin: 40rpx 0 40rpx 30rpx"/>
+		<input type="text" placeholder="请输入手机号" v-model="mobile" class="name-ipt name-ipt-t"
+			style="margin: 40rpx 0 40rpx 30rpx" />
 		<view class="tit">
 		<view class="tit">
 			{{currentIndex == 1? '捐赠金额' : '缴费金额'}}
 			{{currentIndex == 1? '捐赠金额' : '缴费金额'}}
 		</view>
 		</view>
@@ -79,18 +81,18 @@
 			</view>
 			</view>
 			<input type="text" placeholder="请输入联系地址" v-model="address" class="name-ipt name-ipt-t" />
 			<input type="text" placeholder="请输入联系地址" v-model="address" class="name-ipt name-ipt-t" />
 		</template>
 		</template>
-		
-		
+
+
 		<view class="submit" @click="confirm()">
 		<view class="submit" @click="confirm()">
 			立即提交
 			立即提交
 		</view>
 		</view>
-		
+
 		<template v-if="currentIndex == 1 ">
 		<template v-if="currentIndex == 1 ">
 			<view class="tit">
 			<view class="tit">
 				爱心榜
 				爱心榜
 			</view>
 			</view>
 			<scroll-view class="love-wrap" scroll-y @scrolltolower="getLoveList()">
 			<scroll-view class="love-wrap" scroll-y @scrolltolower="getLoveList()">
-				<view class="love-item" v-for="item in loveList" >
+				<view class="love-item" v-for="item in loveList">
 					<view class="itemt clamp">
 					<view class="itemt clamp">
 						{{item.donate_er}}
 						{{item.donate_er}}
 					</view>
 					</view>
@@ -104,10 +106,10 @@
 				<uni-load-more :status="loadingType"></uni-load-more>
 				<uni-load-more :status="loadingType"></uni-load-more>
 			</scroll-view>
 			</scroll-view>
 			<view class="" style="height: 20rpx;">
 			<view class="" style="height: 20rpx;">
-				
+
 			</view>
 			</view>
 		</template>
 		</template>
-		
+
 		<uni-popup ref="popup1" type="center">
 		<uni-popup ref="popup1" type="center">
 			<view class="popup-box">
 			<view class="popup-box">
 				<!-- <view class="img">
 				<!-- <view class="img">
@@ -138,7 +140,9 @@
 </template>
 </template>
 
 
 <script>
 <script>
-	import { getArticleList } from '@/api/index.js'
+	import {
+		getArticleList
+	} from '@/api/index.js'
 	import {
 	import {
 		chosintention,
 		chosintention,
 		joinDona
 		joinDona
@@ -161,13 +165,15 @@
 	import {
 	import {
 		userinfo
 		userinfo
 	} from '@/api/user.js';
 	} from '@/api/user.js';
-	import { loveList } from '@/api/order.js'
+	import {
+		loveList
+	} from '@/api/order.js'
 	export default {
 	export default {
 		filters: {
 		filters: {
 			time(val) {
 			time(val) {
 				let str = ''
 				let str = ''
-				if(val) {
-					let date = new Date(val*1000)
+				if (val) {
+					let date = new Date(val * 1000)
 					let y = date.getFullYear()
 					let y = date.getFullYear()
 					let m = date.getMonth() + 1
 					let m = date.getMonth() + 1
 					let d = date.getDate()
 					let d = date.getDate()
@@ -181,25 +187,26 @@
 			// uniLoadMore
 			// uniLoadMore
 		},
 		},
 		watch: {
 		watch: {
-			currentIndex(newValue,oldValue) {
-				if(newValue == 0) {
+			currentIndex(newValue, oldValue) {
+				if (newValue == 0) {
 					uni.setNavigationBarTitle({
 					uni.setNavigationBarTitle({
 						title: '会费缴纳'
 						title: '会费缴纳'
 					})
 					})
-				}else if(newValue == 1) {
+				} else if (newValue == 1) {
 					uni.setNavigationBarTitle({
 					uni.setNavigationBarTitle({
 						title: '在线捐赠'
 						title: '在线捐赠'
 					})
 					})
-				}else if(newValue == 2) {
+				} else if (newValue == 2) {
 					uni.setNavigationBarTitle({
 					uni.setNavigationBarTitle({
 						title: '我的记录'
 						title: '我的记录'
 					})
 					})
 				}
 				}
-					
+
 			}
 			}
 		},
 		},
 		data() {
 		data() {
 			return {
 			return {
+				jkindex: '',
 				hfType: '',
 				hfType: '',
 				hfList: [],
 				hfList: [],
 				navList: [{
 				navList: [{
@@ -261,12 +268,15 @@
 				loadingType: 'more',
 				loadingType: 'more',
 				loaded: false,
 				loaded: false,
 				gyList: []
 				gyList: []
-				
+
 				// orderInfo: {},
 				// orderInfo: {},
 			}
 			}
 		},
 		},
 		onLoad(options) {
 		onLoad(options) {
 			// console.log(333,options)
 			// console.log(333,options)
+			if (options.key) {
+				this.intention = options.key
+			}
 			this.getYxList()
 			this.getYxList()
 			this.getLoveList()
 			this.getLoveList()
 			this.getGyList()
 			this.getGyList()
@@ -274,7 +284,7 @@
 		},
 		},
 		onShow() {
 		onShow() {
 			// this.getYxList()
 			// this.getYxList()
-			
+
 			saveUrl()
 			saveUrl()
 			// let token = uni.getStorageSync('token');
 			// let token = uni.getStorageSync('token');
 			console.log(1, this);
 			console.log(1, this);
@@ -315,28 +325,31 @@
 				getArticleList({
 				getArticleList({
 					page: 1,
 					page: 1,
 					limit: 20
 					limit: 20
-				},17).then(({data}) => {
-					console.log(data,'17')
+				}, 17).then(({
+					data
+				}) => {
+					console.log(data, '17')
 					this.gyList = data.list
 					this.gyList = data.list
 				})
 				})
 			},
 			},
 			Jump(item) {
 			Jump(item) {
-				console.log(item.url,'item.url')
-				if(item.url != '') {
+				console.log(item.url, 'item.url')
+				
+				if (item.url != '') {
 					window.location.href = item.url
 					window.location.href = item.url
-				}else {
-					// uni.navigateTo({
-					// 	url: '/pages/article/detail?id=' + index
-					// })
+				} else {
+					uni.navigateTo({
+						url: '/pages/article/detail?id=' + item.id
+					})
 				}
 				}
-				
+
 			},
 			},
 			ceshi() {
 			ceshi() {
 				window.location.href = 'weixin://dl/business/?t=gLuI4kyK2mj'
 				window.location.href = 'weixin://dl/business/?t=gLuI4kyK2mj'
 			},
 			},
 			getLoveList() {
 			getLoveList() {
 				let obj = this
 				let obj = this
-				if(obj.loadingType == 'loading' || obj.loadingType == 'noMore') {
+				if (obj.loadingType == 'loading' || obj.loadingType == 'noMore') {
 					return
 					return
 				}
 				}
 				obj.loadingType = 'loading'
 				obj.loadingType = 'loading'
@@ -344,12 +357,12 @@
 					page: this.page,
 					page: this.page,
 					limit: this.limit
 					limit: this.limit
 				}).then(res => {
 				}).then(res => {
-					console.log(res,'loveList')
+					console.log(res, 'loveList')
 					this.loveList = this.loveList.concat(res.data.list)
 					this.loveList = this.loveList.concat(res.data.list)
 					this.page++
 					this.page++
-					if(res.data.list.length == this.limit) {
+					if (res.data.list.length == this.limit) {
 						this.loadingType = 'more'
 						this.loadingType = 'more'
-					}else {
+					} else {
 						this.loadingType = 'noMore'
 						this.loadingType = 'noMore'
 					}
 					}
 					obj.loaded = true
 					obj.loaded = true
@@ -374,7 +387,11 @@
 					this.hfList = arr2.map(item => item.title)
 					this.hfList = arr2.map(item => item.title)
 					this.hfType = this.hfList[0]
 					this.hfType = this.hfList[0]
 					this.chooseDire = arr.map(item => item.title)
 					this.chooseDire = arr.map(item => item.title)
-					this.intention = this.chooseDire[0]
+
+					if (!this.intention) {
+						this.intention = this.chooseDire[0]
+					}
+
 					console.log(this.chooseDire, 'filter')
 					console.log(this.chooseDire, 'filter')
 				}).catch()
 				}).catch()
 			},
 			},
@@ -505,10 +522,10 @@
 				if (!obj.address) {
 				if (!obj.address) {
 					obj.address = '用户未填写联系地址'
 					obj.address = '用户未填写联系地址'
 				}
 				}
-				
+
 				createOrderkey({
 				createOrderkey({
 					money: obj.money, //捐款金额
 					money: obj.money, //捐款金额
-					intention: obj.currentIndex == 0? obj.hfType : obj.intention, //捐款意向
+					intention: obj.currentIndex == 0 ? obj.hfType : obj.intention, //捐款意向
 					way: obj.way, //捐款方式
 					way: obj.way, //捐款方式
 					is_public: obj.is_public, //是否实名公开
 					is_public: obj.is_public, //是否实名公开
 					is_receipts: obj.is_receipts, //是否开发票
 					is_receipts: obj.is_receipts, //是否开发票
@@ -897,11 +914,14 @@
 		margin-left: 30rpx;
 		margin-left: 30rpx;
 		background-color: #ffffff;
 		background-color: #ffffff;
 	}
 	}
+
 	.name-ipt-t {
 	.name-ipt-t {
 		width: 676rpx;
 		width: 676rpx;
 	}
 	}
+
 	.money-box {
 	.money-box {
 		position: relative;
 		position: relative;
+
 		&::after {
 		&::after {
 			content: '元';
 			content: '元';
 			position: absolute;
 			position: absolute;
@@ -911,18 +931,21 @@
 			margin: auto;
 			margin: auto;
 		}
 		}
 	}
 	}
+
 	.love-wrap {
 	.love-wrap {
 		width: 693rpx;
 		width: 693rpx;
 		height: 380rpx;
 		height: 380rpx;
 		margin: auto;
 		margin: auto;
 		border-radius: 10rpx;
 		border-radius: 10rpx;
 		background-color: #fff;
 		background-color: #fff;
+
 		.love-item {
 		.love-item {
 			height: 60rpx;
 			height: 60rpx;
 			line-height: 60rpx;
 			line-height: 60rpx;
 			display: flex;
 			display: flex;
 			justify-content: space-between;
 			justify-content: space-between;
 			align-items: center;
 			align-items: center;
+
 			.itemt {
 			.itemt {
 				width: 231rpx;
 				width: 231rpx;
 				height: 60rpx;
 				height: 60rpx;
@@ -930,36 +953,42 @@
 			}
 			}
 		}
 		}
 	}
 	}
-	.list-box{
+
+	.list-box {
 		width: 725rpx;
 		width: 725rpx;
 		height: 200rpx;
 		height: 200rpx;
 		margin: 20rpx auto 0;
 		margin: 20rpx auto 0;
 		background: #FFFFFF;
 		background: #FFFFFF;
 		box-shadow: 0px 5rpx 5rpx 0px rgba(35, 24, 21, 0.06);
 		box-shadow: 0px 5rpx 5rpx 0px rgba(35, 24, 21, 0.06);
 		border-radius: 7rpx;
 		border-radius: 7rpx;
-		padding:0 20rpx;
+		padding: 0 20rpx;
 		display: flex;
 		display: flex;
 		align-items: center;
 		align-items: center;
-		.box-left{
+
+		.box-left {
 			width: 230rpx;
 			width: 230rpx;
 			height: 145rpx;
 			height: 145rpx;
 			margin-right: 20rpx;
 			margin-right: 20rpx;
-			.left-img{
+
+			.left-img {
 				width: 230rpx;
 				width: 230rpx;
 				height: 145rpx;
 				height: 145rpx;
 			}
 			}
 		}
 		}
-		.box-right{
+
+		.box-right {
 			width: 430rpx;
 			width: 430rpx;
 			height: 145rpx;
 			height: 145rpx;
 			position: relative;
 			position: relative;
-			.right-top{
+
+			.right-top {
 				font-size: 25rpx;
 				font-size: 25rpx;
 				font-weight: bold;
 				font-weight: bold;
 				color: #333333;
 				color: #333333;
 				margin-bottom: 24rpx;
 				margin-bottom: 24rpx;
 			}
 			}
-			.right-center{
+
+			.right-center {
 				width: 362rpx;
 				width: 362rpx;
 				// height: 53rpx;
 				// height: 53rpx;
 				font-size: 21rpx;
 				font-size: 21rpx;
@@ -969,10 +998,11 @@
 				overflow: hidden;
 				overflow: hidden;
 				text-overflow: ellipsis;
 				text-overflow: ellipsis;
 				display: -webkit-box;
 				display: -webkit-box;
-				-webkit-line-clamp: 2;//在第几行显示...
+				-webkit-line-clamp: 2; //在第几行显示...
 				-webkit-box-orient: vertical;
 				-webkit-box-orient: vertical;
 			}
 			}
-			.right-foot{
+
+			.right-foot {
 				font-size: 21rpx;
 				font-size: 21rpx;
 				font-weight: bold;
 				font-weight: bold;
 				color: #999999;
 				color: #999999;

+ 77 - 64
pages/applic/info.vue

@@ -1,66 +1,79 @@
-<template>
-	<view class="container">
-	<view class="notice-item">
-		<jyf-parser :html="description" ref="article"></jyf-parser>
-	</view>
-	</view>
-</template>
-
-<script>
-	import { details , deconstructArticle } from '@/api/info.js';
-	import jyfParser from "@/components/jyf-parser/jyf-parser.vue";
-	export default{
-		components: {
-		   jyfParser
-		 },
-		data(){
-			return{
-				id:'',
-				list:"",
-				description:'',
-				type:0,
-				
-			}
-		},
-		onLoad(option) {
-			this.id = option.id;
-				this.loadData();
-		},
-		methods:{
-			loadData(){
-				let obj = this;
-			details({},obj.id).then(function(e) {
-				obj.list = e.data;
-				if(obj.list.content != null){
-					obj.description = obj.list.content.replace(/<img/g,"<img style='max-width:100%;height:auto;'");
-				}//小程序商品详情图超出屏幕问题
-			});
-			}
-		}
-	}
-</script>
-
-<style lang="scss">
-page {
-	min-height: 100%;
-	background:#FFFFFF;
-}
-.notice_name {
-	font-size: 35rpx !important;
-	color: #303133;
-	padding: 25rpx 25rpx 0rpx 25rpx;
-	margin-bottom: 25rpx;
-}
-.course-video{
-			width: 100%;
-			height: 500rpx;
+<template>
+	<view class="container">
+		<view class="notice-item">
+			<jyf-parser :html="description" ref="article"></jyf-parser>
+		</view>
+	</view>
+</template>
+
+<script>
+	import {
+		details,
+		deconstructArticle
+	} from '@/api/info.js';
+	import jyfParser from "@/components/jyf-parser/jyf-parser.vue";
+	export default {
+		components: {
+			jyfParser
+		},
+		data() {
+			return {
+				id: '',
+				list: "",
+				description: '',
+				type: 0,
+
+			}
+		},
+		onLoad(option) {
+			this.id = option.id;
+			this.loadData();
+		},
+		methods: {
+			loadData() {
+				let obj = this;
+				details({}, obj.id).then(function(e) {
+					obj.list = e.data;
+					console.log(obj.list.url)
+					
+					if (obj.list.content != null) {
+						obj.description = obj.list.content.replace(/<img/g,
+							"<img style='max-width:100%;height:auto;'").replace(/<a/g, "<a class='noa'");
+					} //小程序商品详情图超出屏幕问题
+				});
+			}
 		}
 		}
-.notice-item {
-	width: 100%;
-	height: 100%;
-	color: #666666;
-	padding: 35rpx 35rpx;
-	font-size: 23rpx;
-	padding-bottom: 30rpx;
-}
+	}
+</script>
+
+<style lang="scss">
+	page {
+		min-height: 100%;
+		background: #FFFFFF;
+	}
+
+	.notice_name {
+		font-size: 35rpx !important;
+		color: #303133;
+		padding: 25rpx 25rpx 0rpx 25rpx;
+		margin-bottom: 25rpx;
+	}
+
+	.course-video {
+		width: 100%;
+		height: 500rpx;
+	}
+
+	.notice-item {
+		width: 100%;
+		height: 100%;
+		color: #666666;
+		padding: 35rpx 35rpx;
+		font-size: 23rpx;
+		padding-bottom: 30rpx;
+	}
+
+	/deep/ .noa {
+		text-decoration: none;
+	}
 </style>
 </style>

+ 1 - 0
pages/article/detail.vue

@@ -46,6 +46,7 @@
 				getDetail({},obj.articleId).then( ({data}) => {
 				getDetail({},obj.articleId).then( ({data}) => {
 					obj.article = data
 					obj.article = data
 					obj.article.content = obj.article.content.replace(/\<img/gi, '<img class="rich-img"');
 					obj.article.content = obj.article.content.replace(/\<img/gi, '<img class="rich-img"');
+					
 					obj.loaded = true
 					obj.loaded = true
 				})
 				})
 			}
 			}

+ 6 - 6
pages/form/loveitem.vue

@@ -36,15 +36,15 @@
 		},
 		},
 		onLoad(opt) {
 		onLoad(opt) {
 			this.cartId = opt.id
 			this.cartId = opt.id
-			if(this.cartId == 17) {
+			if (this.cartId == 17) {
 				uni.setNavigationBarTitle({
 				uni.setNavigationBarTitle({
 					title: '公益项目'
 					title: '公益项目'
 				})
 				})
-			}else if(this.cartId == 18){
+			} else if (this.cartId == 18) {
 				uni.setNavigationBarTitle({
 				uni.setNavigationBarTitle({
 					title: '造血干细胞捐献'
 					title: '造血干细胞捐献'
 				})
 				})
-			}else if(this.cartId == 19) {
+			} else if (this.cartId == 19) {
 				uni.setNavigationBarTitle({
 				uni.setNavigationBarTitle({
 					title: '器官遗体捐献'
 					title: '器官遗体捐献'
 				})
 				})
@@ -72,15 +72,15 @@
 				});
 				});
 			},
 			},
 			Jump(item) {
 			Jump(item) {
-				if(item.url) {
+				if (item.url) {
 					console.log(item.url)
 					console.log(item.url)
 					window.location.href = item.url
 					window.location.href = item.url
-				}else {
+				} else {
 					uni.navigateTo({
 					uni.navigateTo({
 						url: "/pages/applic/info?id=" + item.id
 						url: "/pages/applic/info?id=" + item.id
 					})
 					})
 				}
 				}
-				
+
 			},
 			},
 		}
 		}
 	}
 	}

+ 1 - 1
pages/index/index.vue

@@ -210,7 +210,7 @@ export default {
 				},
 				},
 				{
 				{
 					logo: '../../static/icon/index2.png',
 					logo: '../../static/icon/index2.png',
-					name: '走红会',
+					name: '走红会',
 					cid: 4,
 					cid: 4,
 				},
 				},
 				{
 				{

+ 256 - 254
pages/share/card.vue

@@ -1,98 +1,93 @@
-<template>
-	<view class="center">
-		<view class="bg"><image class="imgBox" src="../../static/img/test_bg.png" mode="scaleToFill"></image></view>
-		<view class="top flex">
-			<image src="../../static/img/top_bg.png" mode="aspectFill"></image>
-			<view class="china-font">温岭市红十字会</view>
-			<view class="english-font">Red Cross Society of China Wen Ling Branch</view>
-			<view class="fgx"></view>
-		</view>
-		<view class="buttom flex">
-			<view class="item flex">
-				<image class="home_img" src="../../static/img/test_home.png" mode="aspectFill"></image>
-				<view class="text"><text>温岭市人民东路258号<br>市行政中心5楼</text></view>
-			</view>
-			<view class="item flex">
-				<image class="home_img" src="../../static/img/test_phone.png" mode="aspectFill"></image>
-				<view class="text" @click="callphone(phone)"><text class="text1">0576-86128533</text></view>
-			</view>
-			<view class="map">
-				<image class="map-box" src="../../static/img/baseaddr.png"></image>
-				<view class="map-font flex">
-					<view class="font-left">温岭市红十字会</view>
-					<view @click="navigation()" class="font-right"><image src="../../static/img/btn.png" mode="aspectFill"></image></view>
-				</view>
-			</view>
-			<view class="qrcode">
-				<image src="../../static/icon/erweima.jpg" mode="aspectFill"></image>
-			</view>
-		</view>
-		<uni-popup ref="popup2" type="bottom" @click="close">
-			<view class="popup_row">
-				<view class="rows">
-					<view class="rows-item" @click="toGaodeMap()">高德地图</view>
-					<view class="rows-item" @click="toBaiduMap()">百度地图</view>
-					<view class="rows-item" @click="toTengxunMap()">腾讯地图</view>
-				</view>
-			</view>
-		</uni-popup>
+<template>
+	<view class="center">
+		<view class="bg"><image class="imgBox" src="../../static/img/sharebase.png" mode="widthFix"></image></view>
+		<!-- <view class="top flex">
+			<image src="../../static/img/top_bg.png" mode="aspectFill"></image>
+			<view class="china-font">温岭市红十字会</view>
+			<view class="english-font">Red Cross Society of Wenling Branch</view>
+			<view class="fgx"></view>
+		</view> -->
+		<view class="buttom flex">
+			<view class="item flex">
+				<image class="home_img" src="../../static/img/test_home.png" mode="aspectFill"></image>
+				<view class="text"><text>温岭市人民东路258号<br/>市行政中心5楼</text></view>
+			</view>
+			<view class="item flex">
+				<image class="home_img" src="../../static/img/test_phone.png" mode="aspectFill"></image>
+				<!-- #ifdef H5 -->
+				<view class="text"><text class="text1">0576-86128533</text></view>
+				<!-- #endif -->
+				<!-- #ifndef H5 -->
+				<view class="text" @click="uni.makePhoneCall({phoneNumber: '0576-86128533'})"><text>0576-86128533</text></view>
+				<!-- #endif -->
+			</view>
+			<view class="item flex">
+				<image class="home_img" src="../../static/img/test_mail.png" mode="aspectFill"></image>
+				<view class="text"><text>wlhszh@163.com</text></view>
+			</view>
+			<view class="map">
+				<!-- <image class="map-box" src="../../static/icon/erweima.jpg"></image> -->
+				<map class="map-box" id="map" :markers="markers" :scale="scale" :latitude="latitude"
+					:longitude="longitude" ref="map" :show-location="false"></map>
+				<view class="map-font flex">
+					<view class="font-left">温岭市红十字会</view>
+					<view @click="navigation()" class="font-right"><image src="../../static/img/btn.png" mode="aspectFill"></image></view>
+				</view>
+			</view>
+		</view>
+		<uni-popup ref="popup2" type="bottom" @click="close">
+			<view class="popup_row">
+				<view class="rows">
+					<view class="rows-item" @click="toGaodeMap()">高德地图</view>
+					<view class="rows-item" @click="toBaiduMap()">百度地图</view>
+					<view class="rows-item" @click="toTengxunMap()">腾讯地图</view>
+				</view>
+			</view>
+		</uni-popup>
 	</view>
 	</view>
 </template>
 </template>
 
 
-<script>
-import uniPopup from '@/components/uni-popup/uni-popup.vue'
+<script>
+import uniPopup from '@/components/uni-popup/uni-popup.vue'
 import {
 import {
 		weixindata,
 		weixindata,
 		weixinlocation
 		weixinlocation
-	} from '@/utils/wxAuthorized.js';
+	} from '@/utils/wxAuthorized.js';
+	import {
+		mapState,
+		mapMutations
+	} from 'vuex';
 export default {
 export default {
 	components: {
 	components: {
 		uniPopup
 		uniPopup
 	},
 	},
 	data() {
 	data() {
 		return {
 		return {
-			longitude: '121.385862', //温岭市经度
-			latitude: '28.374203', //温岭市纬度
-			longitudeNew: '', //当前经度
-			latitudeNew: '', //当前纬度
-			addr: '温岭市红十字会',
-			phone: '0576-86128533',
+			scale: '12',
+			longitude: '121.385297', //神农架林区经度,,
+			latitude: '28.373233', //神农架林区纬度
+			addr: '温岭市红十字会',
+			markers: [{
+				id: '226',
+				title: '温岭市红十字会',
+				iconPath: '/static/img/img10.png',
+				width: '28',
+				height: '28',
+				longitude: '121.385297', //神农架林区经度,,
+				latitude: '28.373233', //神农架林区纬度
+			}]
 		};
 		};
+	},
+	computed: {
+		...mapState(['baseURL'])
 	},
 	},
 	onLoad() {
 	onLoad() {
-		let obj = this;
+		let obj = this;
 		this.IndexShare();
 		this.IndexShare();
-		uni.getLocation({
-			type: 'wgs84',
-			success: res => {
-				console.log('当前位置的经度:' + res.longitude);
-				console.log('当前位置的纬度:' + res.latitude);
-				obj.longitudeNew = res.longitude;
-				obj.latitudeNew = res.latitude;
-			},
-			fail(e) {
-				console.log('获取位置失败', e);
-			}
-		});
 	},
 	},
-	methods: {
-		callphone(num) {
-			console.log(num);
-			uni.makePhoneCall({
-				phoneNumber: num //仅为示例
-			});
-		},
+	methods: {
 		navigation() {
 		navigation() {
-			this.$refs.popup2.open();
-			// uni.openLocation({
-			// 	latitude:+latitude,
-			// 	longitude:+longitude,
-			// 	address:address,
-			// 	fail(e){
-			// 		console.log(e);
-			// 	}
-			// })
-			
+			this.$refs.popup2.open();	
 		},
 		},
 		toGaodeMap() {
 		toGaodeMap() {
 			let latitude = this.latitude
 			let latitude = this.latitude
@@ -104,192 +99,199 @@ export default {
 		toTengxunMap() {
 		toTengxunMap() {
 			let latitude = this.latitude
 			let latitude = this.latitude
 			let longitude = this.longitude
 			let longitude = this.longitude
-			let address = this.addr
-			window.location.href = `http://apis.map.qq.com/uri/v1/marker?marker=coord:${latitude},${longitude};addr:${address}`;
+			let address = this.addr
+			let title = '温岭市红十字会'
+			window.location.href = `http://apis.map.qq.com/uri/v1/marker?marker=coord:${latitude},${longitude};title:${address};addr:${address}`;
 		},
 		},
 		toBaiduMap() {
 		toBaiduMap() {
 			window.location.href=
 			window.location.href=
-			`http://api.map.baidu.com/marker?location=28.380011,121.392673&title=温岭市红十字会&content=温岭市红十字会&output=html&src=webapp.baidu.openAPIdemo `
-		},
-		//分享
-		IndexShare() {
-			let obj = this;
-			let item = {
-				link:  'http://wl.igxys.com/index/#/pages/share/card',// 分享链接
-				imgUrl: '/index/static/img/002.png',
-				desc: '电子名片分享',
-				title: '温岭市红十字会',
-			};
-			console.log('分享加',item)
-			weixindata(item);
+			`http://api.map.baidu.com/marker?location=28.378884,121.391886&title=温岭市红红十字会&content=温岭市红红十字会&output=html&src=webapp.baidu.openAPIdemo `
+		},
+		//分享
+		IndexShare() {
+			let obj = this;
+			let item = {
+				link:  obj.baseURL + '/index/#/pages/share/card',// 分享链接
+				imgUrl: obj.baseURL + '/index/static/img/002.png',
+				desc: '电子名片分享',
+				title: '温岭市红十字会',
+			};
+			console.log('分享加',item)
+			weixindata(item);
 		},
 		},
 	}
 	}
 };
 };
 </script>
 </script>
 
 
-<style lang="scss">
-	.center {
-		border: 20rpx solid #e01a1c;
-		// height: 100vh;
-		min-height: 600px;
-	}
-	.flex {
-		display: flex;
-		justify-content: space-between;
-		align-items: center;
-	}
-	page {
-		width: 100%;
-		height: 100%;
-		margin: 0;
-		padding: 0;
-	}
+<style lang="scss">
+	.center {
+		border: 20rpx solid #e01a1c;
+		min-height: 100%;
+		background-color: #fff;
+		// min-height: 600px;
+	}
+	.flex {
+		display: flex;
+		justify-content: space-between;
+		align-items: center;
+	}
+	page {
+		width: 100%;
+		height: 100%;
+		margin: 0;
+		padding: 0;
+	}
 	.bg {
 	.bg {
-		width: 100%;
-		height: 100%;
-		position: absolute;
-		left: 0;
-		top: 0;
-		padding: 20rpx;
-		.imgBox {
-			width: 100%;
-		}
-	}
-	.top {
-		flex-direction: column;
-		width: 100%;
-		image {
-			width: 312rpx;
-			height: 312rpx;
-			border-color: linear-gradient(0deg, #e01a1c, #e01a1c);
-			border-radius: 50%;
-			margin-top: 85rpx;
-		}
-	
-		.china-font {
-			z-index: 0;
-			width: 100%;
-			font-size: 62rpx;
-			padding-left: 20rpx;
-			letter-spacing: 20rpx;
-			font-family: Swei Fist Leg CJK SC;
-			font-weight: bold;
-			color: #e01a1c;
-			line-height: 1;
-			margin-top: 19rpx;
-			text-align: center;
-		}
-		.english-font {
-			margin-top: 14rpx;
-			z-index: 0;
-			letter-spacing: -1.9rpx;
-			width: 100%;
-			font-size: 20rpx;
-			font-weight: bold;
-			color: #e01a1c;
-			text-align: center;
-		}
-		.fgx {
-			margin-top: 25rpx;
-			z-index: 0;
-			width: 625rpx;
-			border-bottom: 1rpx dashed #e01a1c;
-		}
-	}
-	.buttom {
+		border: 20rpx solid #e01a1c;
+		background-color: #fff;
+		width: 750rpx;
+		height: 100%;
+		position: absolute;
+		left: 0;
+		top: 0;
+		// padding: 20rpx;
+		.imgBox {
+			width: 100%;
+		}
+	}
+	.top {
+		flex-direction: column;
+		width: 100%;
+		image {
+			width: 312rpx;
+			height: 312rpx;
+			border-color: linear-gradient(0deg, #e01a1c, #e01a1c);
+			border-radius: 50%;
+			margin-top: 85rpx;
+		}
+	
+		.china-font {
+			z-index: 0;
+			width: 100%;
+			font-size: 62rpx;
+			padding-left: 20rpx;
+			letter-spacing: 20rpx;
+			font-family: Swei Fist Leg CJK SC;
+			font-weight: bold;
+			color: #e01a1c;
+			line-height: 1;
+			margin-top: 19rpx;
+			text-align: center;
+		}
+		.english-font {
+			margin-top: 14rpx;
+			z-index: 0;
+			letter-spacing: -1.9rpx;
+			width: 100%;
+			font-size: 20rpx;
+			font-weight: bold;
+			color: #e01a1c;
+			text-align: center;
+		}
+		.fgx {
+			margin-top: 25rpx;
+			margin-bottom: 25rpx;
+			z-index: 0;
+			width: 625rpx;
+			border-bottom: 1rpx dashed #e01a1c;
+		}
+	}
+	.buttom {
 		flex-direction: column;
 		flex-direction: column;
-		.item {
-			z-index: 0;
-			margin: 0 auto;
-			margin-top: 20rpx;
-			width: 532rpx;
-			border: 1rpx solid #e01a1c;
-			border-radius: 38rpx;
-			justify-content: flex-start;
-	
-			.home_img {
-				height: 58rpx;
-				width: 58rpx;
-				margin: 8rpx 13rpx;
-			}
-	
-			.text {
-				display: inline-block;
-				padding-left: 75rpx;
-				letter-spacing: 1.2rpx;
-				font-size: 25rpx;
-				font-weight: bold;
-				text-align: center;
-				
-				.text1 {
-					display: inline-block;
-					padding-left: 30rpx;
-				}
-			}
-		}
-		.map {
-			margin-top: 25rpx;
-			background-color: #ffffff;
-			z-index: 0;
-			width: 517rpx;
-			border: 2rpx solid #ea3638;
-			line-height: 0;
-			.map-box {
-				width: 513rpx;
-				height: 286rpx;
-				background: #ffffff;
-			}
-			.map-font {
-				height: 90rpx;
-				padding: 0 20rpx;
-				justify-content: space-between;
-				.font-left {
-					font-family: PingFang SC;
-					font-weight: bold;
-					font-size: 29rpx;
-					color: #333333;
-					line-height: 1;
-				}
-				.font-right {
-					border-radius: 10rpx;
-					overflow: hidden;
-					background-color: #1593ff;
-					image {
-						width: 120rpx;
-						height: 45rpx;
-					}
-				}
-			}
-		}
-		.qrcode {
-			width: 517rpx;
-			image {
-				width: 517rpx;
-				margin: 20rpx 0 36rpx;
-			}
-		}
-	}
-	.popup_row {
-		width: 100%;
-		height: 500rpx;
-		background-color: #FFFFFF;
-		border-radius: 20rpx 20rpx 0 0;
-		display: flex;
-		justify-content: center;
-		align-items: center;
-		
-		.rows {
-			width: 100%;
-			padding: 0 24rpx;
-			
-			.rows-item {
-				height: 80rpx;
-				line-height: 80rpx;
-				text-align: center;
-				width: 100%;
-				font-size: 32rpx;
-				color: #303133;
-			}
-		}
+		padding-top: 600rpx;
+		.item {
+			z-index: 0;
+			margin: 0 auto;
+			margin-top: 20rpx;
+			width: 532rpx;
+			border: 1rpx solid #e01a1c;
+			border-radius: 38rpx;
+			justify-content: flex-start;
+	
+			.home_img {
+				height: 58rpx;
+				width: 58rpx;
+				margin: 8rpx 13rpx;
+			}
+	
+			.text {
+				width: 405rpx;
+				// display: inline-block;
+				// padding-left: 75rpx;
+				letter-spacing: 1.2rpx;
+				font-size: 25rpx;
+				font-weight: bold;
+				text-align: center;
+				// background-color: red;
+				// .text1 {
+				// 	padding-left: 60rpx;
+				// }
+			}
+		}
+		.map {
+			margin-top: 25rpx;
+			margin-bottom: 25rpx;
+			background-color: #ffffff;
+			z-index: 0;
+			width: 517rpx;
+			border: 2rpx solid #ea3638;
+			line-height: 0;
+			.map-box {
+				width: 513rpx;
+				height: 513rpx;
+				background: #ffffff;
+			}
+			.map-font {
+				height: 90rpx;
+				padding: 0 20rpx;
+				justify-content: space-between;
+				.font-left {
+					font-family: PingFang SC;
+					font-weight: bold;
+					font-size: 29rpx;
+					color: #333333;
+					line-height: 1;
+				}
+				.font-right {
+					border-radius: 10rpx;
+					overflow: hidden;
+					background-color: #1593ff;
+					image {
+						width: 120rpx;
+						height: 45rpx;
+					}
+				}
+			}
+		}
+		.qrcode {
+			width: 517rpx;
+			image {
+				width: 517rpx;
+				margin: 20rpx 0 36rpx;
+			}
+		}
+	}
+	.popup_row {
+		width: 100%;
+		height: 500rpx;
+		background-color: #FFFFFF;
+		border-radius: 20rpx 20rpx 0 0;
+		display: flex;
+		justify-content: center;
+		align-items: center;
+		
+		.rows {
+			width: 100%;
+			padding: 0 24rpx;
+			
+			.rows-item {
+				height: 80rpx;
+				line-height: 80rpx;
+				text-align: center;
+				width: 100%;
+				font-size: 32rpx;
+				color: #303133;
+			}
+		}
 	}
 	}
 </style>
 </style>

+ 35 - 16
pages/share/search.vue

@@ -12,14 +12,14 @@
 			<view class="bd-wrap flex">
 			<view class="bd-wrap flex">
 				<!--  -->
 				<!--  -->
 				<view class="bg-val">
 				<view class="bg-val">
-					<input type="text" value="" placeholder="请输入您的身份证号" class="val-ipt" v-model="cid"/>
+					<input type="text" value="" placeholder="请输入您的身份证号" class="val-ipt" v-model="cid" />
 				</view>
 				</view>
 				<view class="btn" @click="search">
 				<view class="btn" @click="search">
 					查询
 					查询
 				</view>
 				</view>
 			</view>
 			</view>
 		</view>
 		</view>
-		<view class="tab" >
+		<view class="tab" v-if="loaded">
 			<view class="search-tit">
 			<view class="search-tit">
 				查询结果:
 				查询结果:
 			</view>
 			</view>
@@ -28,7 +28,7 @@
 					进度:{{msg}}
 					进度:{{msg}}
 				</view>
 				</view>
 				<view class="flex" style="padding-top: 20rpx;" v-show="resoon">
 				<view class="flex" style="padding-top: 20rpx;" v-show="resoon">
-					<text style="flex-shrink: 0;">拒绝理由:</text><text >{{resoon}}</text>
+					<text style="flex-shrink: 0;">拒绝理由:</text><text>{{resoon}}</text>
 				</view>
 				</view>
 			</view>
 			</view>
 			<view class="" v-show="msg == ''" style="padding: 20rpx;background-color: #fff;">
 			<view class="" v-show="msg == ''" style="padding: 20rpx;background-color: #fff;">
@@ -60,39 +60,53 @@
 			return {
 			return {
 				cid: '',
 				cid: '',
 				msg: '',
 				msg: '',
-				resoon: ''
+				resoon: '',
+				loaded: false
 			}
 			}
 		},
 		},
 		filters: {
 		filters: {
-			
+
 		},
 		},
-		watch:{
-			
+		watch: {
+
 		},
 		},
 		computed: {
 		computed: {
 
 
 		},
 		},
 		onShow() {
 		onShow() {
-			
+
 		},
 		},
 		methods: {
 		methods: {
 			search() {
 			search() {
 				let obj = this
 				let obj = this
+				if (obj.cid == '') {
+					return obj.$api.msg('请输入身份证号码')
+				}
 				search({
 				search({
 					cid: obj.cid
 					cid: obj.cid
 				}).then(res => {
 				}).then(res => {
-					if(res.msg == '未发起申请') {
-						console.log(res,'dd')
-						obj.msg = ''
-					}else {
-						console.log(res)
+					obj.loaded = true
+					// if (res.msg != 'ok') {
+
+					// 	obj.msg = ''
+					// } else {
+					// 	console.log(res)
+					// 	obj.msg = res.data.msg
+					// 	if (res.data.refuse) {
+					// 		obj.resoon = res.data.refuse
+					// 	}
+					// }
+					if (res.msg == 'ok') {
 						obj.msg = res.data.msg
 						obj.msg = res.data.msg
-						if(res.data.refuse) {
+						if (res.data.refuse) {
 							obj.resoon = res.data.refuse
 							obj.resoon = res.data.refuse
 						}
 						}
+					} else if (res.msg == '未发起申请') {
+						obj.msg = ''
+					} else {
+						obj.msg = res.msg
 					}
 					}
-					
-					
+
 				})
 				})
 			}
 			}
 		}
 		}
@@ -106,11 +120,13 @@
 		color: #f74342;
 		color: #f74342;
 		font-size: 28rpx;
 		font-size: 28rpx;
 	}
 	}
+
 	.search-result {
 	.search-result {
 		padding: 20rpx 20rpx 20rpx 60rpx;
 		padding: 20rpx 20rpx 20rpx 60rpx;
 		background-color: #fff;
 		background-color: #fff;
 		font-size: 26rpx;
 		font-size: 26rpx;
 	}
 	}
+
 	.bz-bg {
 	.bz-bg {
 		width: 750rpx;
 		width: 750rpx;
 	}
 	}
@@ -147,6 +163,7 @@
 		line-height: 100rpx;
 		line-height: 100rpx;
 		font-size: 32rpx;
 		font-size: 32rpx;
 		position: relative;
 		position: relative;
+
 		.code {
 		.code {
 			position: absolute;
 			position: absolute;
 			width: 100rpx;
 			width: 100rpx;
@@ -155,6 +172,7 @@
 			color: #f64342;
 			color: #f64342;
 			font-size: 23rpx;
 			font-size: 23rpx;
 		}
 		}
+
 		.bg-name {
 		.bg-name {
 			width: 260rpx;
 			width: 260rpx;
 			height: 100%;
 			height: 100%;
@@ -174,6 +192,7 @@
 
 
 			}
 			}
 		}
 		}
+
 		.btn {
 		.btn {
 			width: 150rpx;
 			width: 150rpx;
 			height: 100rpx;
 			height: 100rpx;

+ 13 - 0
pages/share/subsidy.vue

@@ -105,6 +105,14 @@
 					<input type="text" value="" placeholder="请输入家庭人口" class="val-ipt" v-model="person"/>
 					<input type="text" value="" placeholder="请输入家庭人口" class="val-ipt" v-model="person"/>
 				</view>
 				</view>
 			</view>
 			</view>
+			<view class="bd-wrap flex">
+				<view class="bg-name">
+					现工作单位:
+				</view>
+				<view class="bg-val">
+					<input type="text" value="" placeholder="请输入现工作单位" class="val-ipt" v-model="work"/>
+				</view>
+			</view>
 			<view class="bd-wrap flex">
 			<view class="bd-wrap flex">
 				<view class="bg-name">
 				<view class="bg-name">
 					现居住地址:
 					现居住地址:
@@ -223,6 +231,7 @@
 				bcdimg: '', //银行卡图片
 				bcdimg: '', //银行卡图片
 				code: '', //验证码
 				code: '', //验证码
 				reg: '', //户籍
 				reg: '', //户籍
+				work: '',//现工作单位
 				sfzShow: true,
 				sfzShow: true,
 				checkShow: true,
 				checkShow: true,
 				sfzNum: 0,
 				sfzNum: 0,
@@ -377,6 +386,9 @@
 				if (obj.income == '') {
 				if (obj.income == '') {
 					return obj.$api.msg('请输入家庭年总收入')
 					return obj.$api.msg('请输入家庭年总收入')
 				}
 				}
+				if (obj.work == '') {
+					return obj.$api.msg('请输入现工作单位')
+				}
 				if (obj.address == '') {
 				if (obj.address == '') {
 					return obj.$api.msg('请输入现居住地址')
 					return obj.$api.msg('请输入现居住地址')
 				}
 				}
@@ -409,6 +421,7 @@
 				}
 				}
 				obj.loadingType = 'loading'
 				obj.loadingType = 'loading'
 				sub_list({
 				sub_list({
+					work:obj.work,
 					name: obj.name, //姓名
 					name: obj.name, //姓名
 					age: obj.age, //年龄
 					age: obj.age, //年龄
 					cid: obj.cid, //身份证号
 					cid: obj.cid, //身份证号

二进制
static/img/sharebase.png


二进制
static/img/test_bg.png


二进制
static/img/test_mail.png


二进制
unpackage/dist/build/h5/wl-4-24-1.rar → unpackage/dist/build/h5/7-27-1.rar


+ 1 - 1
unpackage/dist/build/h5/index.html

@@ -1,2 +1,2 @@
 <!DOCTYPE html><html lang=zh-CN><head><meta charset=utf-8><meta http-equiv=X-UA-Compatible content="IE=edge"><title>温岭市红十字会</title><script>var coverSupport = 'CSS' in window && typeof CSS.supports === 'function' && (CSS.supports('top: env(a)') || CSS.supports('top: constant(a)'))
 <!DOCTYPE html><html lang=zh-CN><head><meta charset=utf-8><meta http-equiv=X-UA-Compatible content="IE=edge"><title>温岭市红十字会</title><script>var coverSupport = 'CSS' in window && typeof CSS.supports === 'function' && (CSS.supports('top: env(a)') || CSS.supports('top: constant(a)'))
-            document.write('<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0' + (coverSupport ? ', viewport-fit=cover' : '') + '" />')</script><link rel=stylesheet href=/index/static/index.a5c69d49.css></head><body><noscript><strong>Please enable JavaScript to continue.</strong></noscript><div id=app></div><script src=/index/static/js/chunk-vendors.5609f4ed.js></script><script src=/index/static/js/index.d748940b.js></script></body></html>
+            document.write('<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0' + (coverSupport ? ', viewport-fit=cover' : '') + '" />')</script><link rel=stylesheet href=/index/static/index.2772579d.css></head><body><noscript><strong>Please enable JavaScript to continue.</strong></noscript><div id=app></div><script src=/index/static/js/chunk-vendors.5fbda0c2.js></script><script src=/index/static/js/index.d622c327.js></script></body></html>

二进制
unpackage/dist/build/h5/static/img/baseaddr.7564a17f.png


二进制
unpackage/dist/build/h5/static/img/erweima.e5d3850a.jpg


二进制
unpackage/dist/build/h5/static/img/sharebase.3ec57ab8.png


二进制
unpackage/dist/build/h5/static/img/sharebase.png


二进制
unpackage/dist/build/h5/static/img/test_bg.8ff239f6.png


二进制
unpackage/dist/build/h5/static/img/test_bg.png


二进制
unpackage/dist/build/h5/static/img/test_mail.png


二进制
unpackage/dist/build/h5/static/img/top_bg.1bfdf6da.png


文件差异内容过多而无法显示
+ 0 - 0
unpackage/dist/build/h5/static/index.2772579d.css


文件差异内容过多而无法显示
+ 0 - 0
unpackage/dist/build/h5/static/index.a5c69d49.css


文件差异内容过多而无法显示
+ 0 - 0
unpackage/dist/build/h5/static/js/chunk-vendors.5609f4ed.js


文件差异内容过多而无法显示
+ 0 - 0
unpackage/dist/build/h5/static/js/chunk-vendors.5fbda0c2.js


文件差异内容过多而无法显示
+ 0 - 0
unpackage/dist/build/h5/static/js/index.d622c327.js


文件差异内容过多而无法显示
+ 0 - 0
unpackage/dist/build/h5/static/js/index.d748940b.js


文件差异内容过多而无法显示
+ 0 - 0
unpackage/dist/build/h5/static/js/pages-applic-contribution.256ab1be.js


文件差异内容过多而无法显示
+ 0 - 0
unpackage/dist/build/h5/static/js/pages-applic-contribution.51dbb71e.js


文件差异内容过多而无法显示
+ 0 - 0
unpackage/dist/build/h5/static/js/pages-applic-info.60743785.js


文件差异内容过多而无法显示
+ 0 - 0
unpackage/dist/build/h5/static/js/pages-applic-info.bdfefee7.js


文件差异内容过多而无法显示
+ 0 - 0
unpackage/dist/build/h5/static/js/pages-article-detail.96b6bfbc.js


文件差异内容过多而无法显示
+ 0 - 0
unpackage/dist/build/h5/static/js/pages-article-detail.99ddfc9c.js


文件差异内容过多而无法显示
+ 0 - 0
unpackage/dist/build/h5/static/js/pages-form-loveitem.1ac01f8e.js


文件差异内容过多而无法显示
+ 0 - 0
unpackage/dist/build/h5/static/js/pages-form-loveitem.4d839ae2.js


文件差异内容过多而无法显示
+ 0 - 0
unpackage/dist/build/h5/static/js/pages-index-index.0403be2e.js


文件差异内容过多而无法显示
+ 0 - 0
unpackage/dist/build/h5/static/js/pages-index-index.5e8c5576.js


文件差异内容过多而无法显示
+ 0 - 0
unpackage/dist/build/h5/static/js/pages-share-card.7f51082c.js


文件差异内容过多而无法显示
+ 0 - 0
unpackage/dist/build/h5/static/js/pages-share-card.d48e6735.js


文件差异内容过多而无法显示
+ 0 - 0
unpackage/dist/build/h5/static/js/pages-share-search.57210335.js


文件差异内容过多而无法显示
+ 0 - 0
unpackage/dist/build/h5/static/js/pages-share-search.d9fdc3b9.js


文件差异内容过多而无法显示
+ 0 - 0
unpackage/dist/build/h5/static/js/pages-share-subsidy.1dcce3fd.js


文件差异内容过多而无法显示
+ 0 - 0
unpackage/dist/build/h5/static/js/pages-share-subsidy.f3047b3c.js


部分文件因为文件数量过多而无法显示