|
@@ -11,60 +11,69 @@
|
|
|
<!-- 分类 -->
|
|
<!-- 分类 -->
|
|
|
<view class="cate-section flex">
|
|
<view class="cate-section flex">
|
|
|
<view class="cate-item flex" @click="aixin">
|
|
<view class="cate-item flex" @click="aixin">
|
|
|
- <view class="img-wrapper flex">
|
|
|
|
|
|
|
+ <!-- <view class="img-wrapper flex">
|
|
|
<image src="../../static/index/index10.png" mode="" class="img"></image>
|
|
<image src="../../static/index/index10.png" mode="" class="img"></image>
|
|
|
</view>
|
|
</view>
|
|
|
- <view class="item-title">爱心捐款</view>
|
|
|
|
|
|
|
+ <view class="item-title">爱心捐款</view> -->
|
|
|
|
|
+ <image src="../../static/index/in1.png" mode=""></image>
|
|
|
</view>
|
|
</view>
|
|
|
- <view class="cate-item flex" @click="tocontribution">
|
|
|
|
|
- <view class="img-wrapper flex">
|
|
|
|
|
|
|
+ <view class="cate-item flex" @click="navTo('https://register.codac.org.cn/wx/html/notice.htm')">
|
|
|
|
|
+ <!-- <view class="img-wrapper flex">
|
|
|
<image src="../../static/index/index04.png" mode="" class="img" style="width: 110rpx;"></image>
|
|
<image src="../../static/index/index04.png" mode="" class="img" style="width: 110rpx;"></image>
|
|
|
</view>
|
|
</view>
|
|
|
- <view class="item-title">遗体器官捐献</view>
|
|
|
|
|
|
|
+ <view class="item-title">遗体器官捐献</view> -->
|
|
|
|
|
+ <image src="../../static/index/in2.png" mode=""></image>
|
|
|
</view>
|
|
</view>
|
|
|
<view class="cate-item flex" @click="toapplic">
|
|
<view class="cate-item flex" @click="toapplic">
|
|
|
- <view class="img-wrapper flex">
|
|
|
|
|
|
|
+ <!-- <view class="img-wrapper flex">
|
|
|
<image src="../../static/index/index03.png" mode="" class="img"></image>
|
|
<image src="../../static/index/index03.png" mode="" class="img"></image>
|
|
|
</view>
|
|
</view>
|
|
|
- <view class="item-title">造血干细胞捐献</view>
|
|
|
|
|
|
|
+ <view class="item-title">造血干细胞捐献</view> -->
|
|
|
|
|
+ <image src="../../static/index/in3.png" mode=""></image>
|
|
|
</view>
|
|
</view>
|
|
|
- <view class="cate-item flex" @click="toOrgan">
|
|
|
|
|
- <view class="img-wrapper flex">
|
|
|
|
|
|
|
+ <view class="cate-item flex" @click="navTo('http://www.hszzyz.cn/index.php/index/index')">
|
|
|
|
|
+ <!-- <view class="img-wrapper flex">
|
|
|
<image src="../../static/index/index02.png" mode="" class="img"></image>
|
|
<image src="../../static/index/index02.png" mode="" class="img"></image>
|
|
|
</view>
|
|
</view>
|
|
|
- <view class="item-title">红十字志愿者</view>
|
|
|
|
|
|
|
+ <view class="item-title">红十字志愿者</view> -->
|
|
|
|
|
+ <image src="../../static/index/in4.png" mode=""></image>
|
|
|
</view>
|
|
</view>
|
|
|
<view class="cate-item flex" @click="navTo('/pages/train/index')">
|
|
<view class="cate-item flex" @click="navTo('/pages/train/index')">
|
|
|
- <view class="img-wrapper flex">
|
|
|
|
|
|
|
+ <!-- <view class="img-wrapper flex">
|
|
|
<image src="../../static/index/index01.png" mode="" class="img"></image>
|
|
<image src="../../static/index/index01.png" mode="" class="img"></image>
|
|
|
</view>
|
|
</view>
|
|
|
- <view class="item-title">培训报名</view>
|
|
|
|
|
|
|
+ <view class="item-title">培训报名</view> -->
|
|
|
|
|
+ <image src="../../static/index/in5.png" mode=""></image>
|
|
|
</view>
|
|
</view>
|
|
|
- <view class="cate-item flex" @click="tohelpActi1">
|
|
|
|
|
- <view class="img-wrapper flex">
|
|
|
|
|
|
|
+ <view class="cate-item flex" @click="navTo('http://www.hszzyz.cn/index.php/index/index')">
|
|
|
|
|
+ <!-- <view class="img-wrapper flex">
|
|
|
<image src="../../static/index/index07.png" mode="" class="img"></image>
|
|
<image src="../../static/index/index07.png" mode="" class="img"></image>
|
|
|
</view>
|
|
</view>
|
|
|
- <view class="item-title">红十字会员</view>
|
|
|
|
|
|
|
+ <view class="item-title">红十字会员</view> -->
|
|
|
|
|
+ <image src="../../static/index/in6.png" mode=""></image>
|
|
|
</view>
|
|
</view>
|
|
|
|
|
|
|
|
<view class="cate-item flex" @click="tohelpActi2">
|
|
<view class="cate-item flex" @click="tohelpActi2">
|
|
|
- <view class="img-wrapper flex">
|
|
|
|
|
|
|
+ <!-- <view class="img-wrapper flex">
|
|
|
<image src="../../static/index/index09.png" mode="" class="img"></image>
|
|
<image src="../../static/index/index09.png" mode="" class="img"></image>
|
|
|
</view>
|
|
</view>
|
|
|
- <view class="item-title">救在身边系统</view>
|
|
|
|
|
|
|
+ <view class="item-title">救在身边系统</view> -->
|
|
|
|
|
+ <image src="../../static/index/in7.png" mode=""></image>
|
|
|
</view>
|
|
</view>
|
|
|
|
|
|
|
|
<view class="cate-item flex" @click="tohelpActi3">
|
|
<view class="cate-item flex" @click="tohelpActi3">
|
|
|
- <view class="img-wrapper flex">
|
|
|
|
|
|
|
+ <!-- <view class="img-wrapper flex">
|
|
|
<image src="../../static/index/index08.png" mode="" class="img"></image>
|
|
<image src="../../static/index/index08.png" mode="" class="img"></image>
|
|
|
</view>
|
|
</view>
|
|
|
- <view class="item-title">AED智能系统</view>
|
|
|
|
|
|
|
+ <view class="item-title">AED智能系统</view> -->
|
|
|
|
|
+ <image src="../../static/index/in8.png" mode=""></image>
|
|
|
</view>
|
|
</view>
|
|
|
<view class="cate-item flex" @click="navTo('/pages/applic/aid')">
|
|
<view class="cate-item flex" @click="navTo('/pages/applic/aid')">
|
|
|
- <view class="img-wrapper flex">
|
|
|
|
|
|
|
+ <!-- <view class="img-wrapper flex">
|
|
|
<image src="../../static/index/index06.png" mode="" class="img"></image>
|
|
<image src="../../static/index/index06.png" mode="" class="img"></image>
|
|
|
</view>
|
|
</view>
|
|
|
- <view class="item-title">救护站智能系统</view>
|
|
|
|
|
|
|
+ <view class="item-title">救护站智能系统</view> -->
|
|
|
|
|
+ <image src="../../static/index/in9.png" mode=""></image>
|
|
|
</view>
|
|
</view>
|
|
|
|
|
|
|
|
<!-- <view class="cate-item flex" @click="tohelpActi4">
|
|
<!-- <view class="cate-item flex" @click="tohelpActi4">
|
|
@@ -77,7 +86,8 @@
|
|
|
</view>
|
|
</view>
|
|
|
</view> -->
|
|
</view> -->
|
|
|
<view class="redkp flex" @click="navTo('/pages/applic/science')">
|
|
<view class="redkp flex" @click="navTo('/pages/applic/science')">
|
|
|
- <image src="../../static/index/index05.png" mode="" class="redkp-img"></image>
|
|
|
|
|
|
|
+ <image src="../../static/index/in10.png" mode=""></image>
|
|
|
|
|
+ <!-- <image src="../../static/index/index05.png" mode="" class="redkp-img"></image>
|
|
|
<view class="redkp-center">
|
|
<view class="redkp-center">
|
|
|
<view class="">
|
|
<view class="">
|
|
|
红会科普
|
|
红会科普
|
|
@@ -86,7 +96,7 @@
|
|
|
一起学习救援知识
|
|
一起学习救援知识
|
|
|
</view>
|
|
</view>
|
|
|
</view>
|
|
</view>
|
|
|
- <image src="../../static/icon/goto.png" mode="" class="goto"></image>
|
|
|
|
|
|
|
+ <image src="../../static/icon/goto.png" mode="" class="goto"></image> -->
|
|
|
</view>
|
|
</view>
|
|
|
</view>
|
|
</view>
|
|
|
</view>
|
|
</view>
|
|
@@ -630,9 +640,15 @@
|
|
|
this.$refs.popup.close();
|
|
this.$refs.popup.close();
|
|
|
},
|
|
},
|
|
|
navTo(url) {
|
|
navTo(url) {
|
|
|
- uni.navigateTo({
|
|
|
|
|
- url
|
|
|
|
|
- });
|
|
|
|
|
|
|
+ if(url.indexOf('http') != -1) {
|
|
|
|
|
+ //https://register.codac.org.cn/wx/html/notice.htm
|
|
|
|
|
+ window.location.href = url
|
|
|
|
|
+ }else {
|
|
|
|
|
+ uni.navigateTo({
|
|
|
|
|
+ url
|
|
|
|
|
+ });
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
},
|
|
},
|
|
|
space(lat1, lng1, lat2, lng2) {
|
|
space(lat1, lng1, lat2, lng2) {
|
|
|
console.log(lat1, lng1, lat2, lng2);
|
|
console.log(lat1, lng1, lat2, lng2);
|
|
@@ -801,37 +817,40 @@
|
|
|
align-items: center;
|
|
align-items: center;
|
|
|
justify-content: center;
|
|
justify-content: center;
|
|
|
margin-bottom: 20rpx;
|
|
margin-bottom: 20rpx;
|
|
|
|
|
+ image {
|
|
|
|
|
+ width: 227rpx;
|
|
|
|
|
+ height: 192rpx;
|
|
|
|
|
+ }
|
|
|
|
|
+ // .img-wrapper {
|
|
|
|
|
+ // width: 90rpx;
|
|
|
|
|
+ // height: 90rpx;
|
|
|
|
|
+ // background: #eef4ff;
|
|
|
|
|
+ // border-radius: 14rpx;
|
|
|
|
|
+ // position: relative;
|
|
|
|
|
|
|
|
- .img-wrapper {
|
|
|
|
|
- width: 90rpx;
|
|
|
|
|
- height: 90rpx;
|
|
|
|
|
- background: #eef4ff;
|
|
|
|
|
- border-radius: 14rpx;
|
|
|
|
|
- position: relative;
|
|
|
|
|
-
|
|
|
|
|
- image {
|
|
|
|
|
- position: absolute;
|
|
|
|
|
- left: 50%;
|
|
|
|
|
- top: 50%;
|
|
|
|
|
- transform: translate(-50%, -50%);
|
|
|
|
|
- }
|
|
|
|
|
|
|
+ // image {
|
|
|
|
|
+ // position: absolute;
|
|
|
|
|
+ // left: 50%;
|
|
|
|
|
+ // top: 50%;
|
|
|
|
|
+ // transform: translate(-50%, -50%);
|
|
|
|
|
+ // }
|
|
|
|
|
|
|
|
- .img {
|
|
|
|
|
- width: 90rpx;
|
|
|
|
|
- height: 90rpx;
|
|
|
|
|
- }
|
|
|
|
|
|
|
+ // .img {
|
|
|
|
|
+ // width: 90rpx;
|
|
|
|
|
+ // height: 90rpx;
|
|
|
|
|
+ // }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
- }
|
|
|
|
|
|
|
+ // }
|
|
|
|
|
|
|
|
- .item-title {
|
|
|
|
|
- margin-top: 15rpx;
|
|
|
|
|
- font-size: 28rpx;
|
|
|
|
|
- font-family: PingFang SC;
|
|
|
|
|
- font-weight: bold;
|
|
|
|
|
- color: #333333;
|
|
|
|
|
- }
|
|
|
|
|
|
|
+ // .item-title {
|
|
|
|
|
+ // margin-top: 15rpx;
|
|
|
|
|
+ // font-size: 28rpx;
|
|
|
|
|
+ // font-family: PingFang SC;
|
|
|
|
|
+ // font-weight: bold;
|
|
|
|
|
+ // color: #333333;
|
|
|
|
|
+ // }
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
|
|
|
|
@@ -1331,9 +1350,11 @@
|
|
|
box-shadow: 0 0 20rpx 0 rgba(50, 50, 52, 0.06);
|
|
box-shadow: 0 0 20rpx 0 rgba(50, 50, 52, 0.06);
|
|
|
border-radius: 25rpx;
|
|
border-radius: 25rpx;
|
|
|
margin: auto;
|
|
margin: auto;
|
|
|
- padding: 25rpx 45rpx;
|
|
|
|
|
align-items: center;
|
|
align-items: center;
|
|
|
-
|
|
|
|
|
|
|
+ image {
|
|
|
|
|
+ width: 706rpx;
|
|
|
|
|
+ height: 158rpx;
|
|
|
|
|
+ }
|
|
|
.redkp-img {
|
|
.redkp-img {
|
|
|
width: 70rpx;
|
|
width: 70rpx;
|
|
|
height: 89rpx;
|
|
height: 89rpx;
|