|
@@ -3,8 +3,8 @@
|
|
<view class="top flex">
|
|
<view class="top flex">
|
|
<image src="../../static/img/002.png" mode="aspectFill"></image>
|
|
<image src="../../static/img/002.png" mode="aspectFill"></image>
|
|
<view class="font">
|
|
<view class="font">
|
|
- <view class="china-font">咸宁市红十字会</view>
|
|
|
|
- <view class="english-font">Red Cross Society of China Xianning Branch</view>
|
|
|
|
|
|
+ <view class="china-font">{{$store.state.baseName}}</view>
|
|
|
|
+ <view class="english-font">{{$store.state.baseNameEn}}</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
|
|
|
|
@@ -12,18 +12,18 @@
|
|
|
|
|
|
<view class="box">
|
|
<view class="box">
|
|
<view class="title" style="margin-top: 0;">1.银行转账</view>
|
|
<view class="title" style="margin-top: 0;">1.银行转账</view>
|
|
- <view class="detail" v-for="item in list" :key="item.id">
|
|
|
|
|
|
+ <view class="detail">
|
|
<view class="detail-item">
|
|
<view class="detail-item">
|
|
- 开户名:{{ item.name }}
|
|
|
|
- <view class="copy" @click="copy(item.name)">复制开户名</view>
|
|
|
|
|
|
+ 开户名:{{ jw.realName }}
|
|
|
|
+ <view class="copy" @click="copy(jw.realName)">复制开户名</view>
|
|
</view>
|
|
</view>
|
|
<view class="detail-item">
|
|
<view class="detail-item">
|
|
- 银行账户:{{ item.number }}
|
|
|
|
- <view class="copy" @click="copy(item.number)">复制账号</view>
|
|
|
|
|
|
+ 银行账户:{{ jw.code }}
|
|
|
|
+ <view class="copy" @click="copy(jw.code)">复制账号</view>
|
|
</view>
|
|
</view>
|
|
<view class="detail-spe">
|
|
<view class="detail-spe">
|
|
- 开户行:{{ item.count }}
|
|
|
|
- <view class="copyband" @click="copy(item.count)">复制开户行</view>
|
|
|
|
|
|
+ 开户行:{{ jw.bank }}
|
|
|
|
+ <view class="copyband" @click="copy(jw.bank)">复制开户行</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
<view class="image">
|
|
<view class="image">
|
|
@@ -33,223 +33,237 @@
|
|
<image src="../../static/images/other.png" mode=""></image>
|
|
<image src="../../static/images/other.png" mode=""></image>
|
|
</view> -->
|
|
</view> -->
|
|
<!-- <view class="title">2.扫码捐款</view> -->
|
|
<!-- <view class="title">2.扫码捐款</view> -->
|
|
- <!-- <view class="zfb">支付宝扫码捐款</view> -->
|
|
|
|
|
|
+ <!-- <view class="zfb">支付宝扫码捐款</view> -->
|
|
<!-- <view class="erweima"><image src="../../static/images/smjk.png" mode=""></image></view> -->
|
|
<!-- <view class="erweima"><image src="../../static/images/smjk.png" mode=""></image></view> -->
|
|
<!-- <view class="weixin">微信扫码捐款</view>
|
|
<!-- <view class="weixin">微信扫码捐款</view>
|
|
<view class="erweima" style="background: #02974A;"><image src="" mode=""></image></view> -->
|
|
<view class="erweima" style="background: #02974A;"><image src="" mode=""></image></view> -->
|
|
|
|
|
|
<view class="title">2.现场捐款/捐物</view>
|
|
<view class="title">2.现场捐款/捐物</view>
|
|
<view class="detail">
|
|
<view class="detail">
|
|
- <view class="detail-item">负责人:吴端容</view>
|
|
|
|
- <view class="detail-item">咨询电话:0715-8111765</view>
|
|
|
|
- <view class="detail-item">地址:湖北省咸宁市咸安区温泉街道办事处</view>
|
|
|
|
|
|
+ <view class="detail-item ">负责人:{{jw.name}}</view>
|
|
|
|
+ <view class="detail-item ">咨询电话:{{jw.phone}}</view>
|
|
|
|
+ <view class="detail-item ">地址:{{jw.address}}</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</template>
|
|
</template>
|
|
|
|
|
|
<script>
|
|
<script>
|
|
-import uniCopy from '../../components/js_sdk/xb-copy/uni-copy.js';
|
|
|
|
-export default {
|
|
|
|
- data() {
|
|
|
|
- return {
|
|
|
|
- list: [
|
|
|
|
- {
|
|
|
|
|
|
+ import {
|
|
|
|
+ mapState,
|
|
|
|
+ mapMutations
|
|
|
|
+ } from 'vuex';
|
|
|
|
+ import uniCopy from '../../components/js_sdk/xb-copy/uni-copy.js';
|
|
|
|
+ export default {
|
|
|
|
+ data() {
|
|
|
|
+ return {
|
|
|
|
+ list: [{
|
|
id: 0,
|
|
id: 0,
|
|
spread_url: 11,
|
|
spread_url: 11,
|
|
name: '咸宁市红十字会',
|
|
name: '咸宁市红十字会',
|
|
count: '农行咸宁金厦支行',
|
|
count: '农行咸宁金厦支行',
|
|
number: '1768 0801 0400 03251'
|
|
number: '1768 0801 0400 03251'
|
|
- }
|
|
|
|
- ]
|
|
|
|
- };
|
|
|
|
- },
|
|
|
|
-
|
|
|
|
- methods: {
|
|
|
|
- tocontrilist() {
|
|
|
|
- uni.navigateTo({
|
|
|
|
- url: '/pages/applic/tocontrilist'
|
|
|
|
- });
|
|
|
|
|
|
+ }]
|
|
|
|
+ };
|
|
},
|
|
},
|
|
- copy(value) {
|
|
|
|
- let obj = this;
|
|
|
|
- let content = value; //需要复制的内容
|
|
|
|
- console.log('复制的内容:', content);
|
|
|
|
- // content = typeof content === 'string' ? content : content.toString(); // 复制内容,必须字符串,数字需要转换为字符串
|
|
|
|
- const result = uniCopy(content);
|
|
|
|
- if (result === false) {
|
|
|
|
- uni.showToast({
|
|
|
|
- title: '不支持'
|
|
|
|
- });
|
|
|
|
- } else {
|
|
|
|
- uni.showToast({
|
|
|
|
- title: '复制成功',
|
|
|
|
- icon: 'none'
|
|
|
|
|
|
+ computed: {
|
|
|
|
+ ...mapState(['jw'])
|
|
|
|
+ },
|
|
|
|
+ methods: {
|
|
|
|
+ tocontrilist() {
|
|
|
|
+ uni.navigateTo({
|
|
|
|
+ url: '/pages/applic/tocontrilist'
|
|
});
|
|
});
|
|
|
|
+ },
|
|
|
|
+ copy(value) {
|
|
|
|
+ let obj = this;
|
|
|
|
+ let content = value; //需要复制的内容
|
|
|
|
+ console.log('复制的内容:', content);
|
|
|
|
+ // content = typeof content === 'string' ? content : content.toString(); // 复制内容,必须字符串,数字需要转换为字符串
|
|
|
|
+ const result = uniCopy(content);
|
|
|
|
+ if (result === false) {
|
|
|
|
+ uni.showToast({
|
|
|
|
+ title: '不支持'
|
|
|
|
+ });
|
|
|
|
+ } else {
|
|
|
|
+ uni.showToast({
|
|
|
|
+ title: '复制成功',
|
|
|
|
+ icon: 'none'
|
|
|
|
+ });
|
|
|
|
+ }
|
|
}
|
|
}
|
|
}
|
|
}
|
|
- }
|
|
|
|
-};
|
|
|
|
|
|
+ };
|
|
</script>
|
|
</script>
|
|
|
|
|
|
<style lang="scss">
|
|
<style lang="scss">
|
|
-body,
|
|
|
|
-page {
|
|
|
|
- height: 100%;
|
|
|
|
- background-color: #fefefe;
|
|
|
|
-}
|
|
|
|
-
|
|
|
|
-.content {
|
|
|
|
- background-color: #fefefe;
|
|
|
|
- line-height: 1;
|
|
|
|
- padding-top: 25rpx;
|
|
|
|
- padding: 24rpx 24rpx 90rpx;
|
|
|
|
-
|
|
|
|
- .top {
|
|
|
|
- align-items: center;
|
|
|
|
- width: 100%;
|
|
|
|
- image {
|
|
|
|
- width: 64rpx;
|
|
|
|
- height: 64rpx;
|
|
|
|
- border-radius: 50%;
|
|
|
|
- }
|
|
|
|
- .font {
|
|
|
|
- margin-left: 20rpx;
|
|
|
|
- .china-font {
|
|
|
|
- font-size: 27rpx;
|
|
|
|
- font-family: PingFang SC;
|
|
|
|
- font-weight: bold;
|
|
|
|
- color: #101010;
|
|
|
|
- letter-spacing:20rpx;
|
|
|
|
|
|
+ body,
|
|
|
|
+ page {
|
|
|
|
+ height: 100%;
|
|
|
|
+ background-color: #fefefe;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ .content {
|
|
|
|
+ background-color: #fefefe;
|
|
|
|
+ line-height: 1;
|
|
|
|
+ padding-top: 25rpx;
|
|
|
|
+ padding: 24rpx 24rpx 90rpx;
|
|
|
|
+
|
|
|
|
+ .top {
|
|
|
|
+ align-items: center;
|
|
|
|
+ width: 100%;
|
|
|
|
+
|
|
|
|
+ image {
|
|
|
|
+ width: 64rpx;
|
|
|
|
+ height: 64rpx;
|
|
|
|
+ border-radius: 50%;
|
|
}
|
|
}
|
|
- .english-font {
|
|
|
|
- margin-top: 6rpx;
|
|
|
|
- font-size: 12rpx;
|
|
|
|
- font-family: PingFang SC;
|
|
|
|
- // font-weight: bold;
|
|
|
|
- color: #101010;
|
|
|
|
- // letter-spacing:1rpx;
|
|
|
|
|
|
+
|
|
|
|
+ .font {
|
|
|
|
+ margin-left: 20rpx;
|
|
|
|
+
|
|
|
|
+ .china-font {
|
|
|
|
+ font-size: 27rpx;
|
|
|
|
+ font-family: PingFang SC;
|
|
|
|
+ font-weight: bold;
|
|
|
|
+ color: #101010;
|
|
|
|
+ letter-spacing: 20rpx;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ .english-font {
|
|
|
|
+ margin-top: 6rpx;
|
|
|
|
+ font-size: 18rpx;
|
|
|
|
+ // font-weight: bold;
|
|
|
|
+ color: #101010;
|
|
|
|
+ // letter-spacing:1rpx;
|
|
|
|
+ }
|
|
}
|
|
}
|
|
}
|
|
}
|
|
- }
|
|
|
|
|
|
|
|
- .cross {
|
|
|
|
- margin-left: 6rpx;
|
|
|
|
- height: 76rpx;
|
|
|
|
- line-height: 76rpx;
|
|
|
|
- color: #444444;
|
|
|
|
- border-bottom: 1rpx solid #cccccc;
|
|
|
|
- }
|
|
|
|
|
|
+ .cross {
|
|
|
|
+ margin-left: 6rpx;
|
|
|
|
+ height: 76rpx;
|
|
|
|
+ line-height: 76rpx;
|
|
|
|
+ color: #444444;
|
|
|
|
+ border-bottom: 1rpx solid #cccccc;
|
|
|
|
+ }
|
|
|
|
|
|
- .image {
|
|
|
|
- margin-top: 44rpx;
|
|
|
|
- margin-bottom: 48rpx;
|
|
|
|
- height: 404rpx;
|
|
|
|
- width: 100%;
|
|
|
|
- image {
|
|
|
|
|
|
+ .image {
|
|
|
|
+ margin-top: 44rpx;
|
|
|
|
+ margin-bottom: 48rpx;
|
|
|
|
+ height: 404rpx;
|
|
width: 100%;
|
|
width: 100%;
|
|
- height: 100%;
|
|
|
|
|
|
+
|
|
|
|
+ image {
|
|
|
|
+ width: 100%;
|
|
|
|
+ height: 100%;
|
|
|
|
+ }
|
|
}
|
|
}
|
|
- }
|
|
|
|
|
|
|
|
- .box {
|
|
|
|
- padding: 20rpx 0 24rpx;
|
|
|
|
|
|
+ .box {
|
|
|
|
+ padding: 20rpx 0 24rpx;
|
|
|
|
|
|
- .title {
|
|
|
|
- margin-top: 60rpx;
|
|
|
|
- font-size: 28rpx;
|
|
|
|
- font-family: PingFang SC;
|
|
|
|
- font-weight: bold;
|
|
|
|
- color: #101010;
|
|
|
|
- }
|
|
|
|
|
|
+ .title {
|
|
|
|
+ margin-top: 60rpx;
|
|
|
|
+ font-size: 28rpx;
|
|
|
|
+ font-family: PingFang SC;
|
|
|
|
+ font-weight: bold;
|
|
|
|
+ color: #101010;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ .detail {
|
|
|
|
+ padding-top: 10rpx;
|
|
|
|
+ font-size: 28rpx;
|
|
|
|
+ line-height: 40rpx;
|
|
|
|
+
|
|
|
|
+ .detail-spe {
|
|
|
|
+ margin-top: 10rpx;
|
|
|
|
+ line-height: 46rpx;
|
|
|
|
+ overflow: hidden;
|
|
|
|
+ text-overflow: ellipsis;
|
|
|
|
+ display: -webkit-box; //必须结合的属性,将对象作为弹性伸缩盒子模型显示
|
|
|
|
+ -webkit-line-clamp: 2; //控制文本的行数
|
|
|
|
+ -webkit-box-orient: vertical; //必须结合的属性,设置或检索伸缩盒对象的子元素的排列方式
|
|
|
|
|
|
- .detail {
|
|
|
|
- padding-top: 10rpx;
|
|
|
|
- font-size: 28rpx;
|
|
|
|
- line-height: 40rpx;
|
|
|
|
- .detail-spe {
|
|
|
|
- margin-top: 10rpx;
|
|
|
|
- line-height: 46rpx;
|
|
|
|
- overflow: hidden;
|
|
|
|
- text-overflow: ellipsis;
|
|
|
|
- display: -webkit-box; //必须结合的属性,将对象作为弹性伸缩盒子模型显示
|
|
|
|
- -webkit-line-clamp: 2; //控制文本的行数
|
|
|
|
- -webkit-box-orient: vertical; //必须结合的属性,设置或检索伸缩盒对象的子元素的排列方式
|
|
|
|
-
|
|
|
|
- .copyband {
|
|
|
|
|
|
+ .copyband {
|
|
|
|
+ display: flex;
|
|
|
|
+ float: right;
|
|
|
|
+ // float: right;
|
|
|
|
+ justify-content: center;
|
|
|
|
+ background-color: #f1f1f1;
|
|
|
|
+ border-radius: 10rpx;
|
|
|
|
+ line-height: 34rpx;
|
|
|
|
+ font-size: 24rpx;
|
|
|
|
+ color: #333;
|
|
|
|
+ // padding: 0 24rpx;
|
|
|
|
+ width: 168rpx;
|
|
|
|
+ height: 34rpx;
|
|
|
|
+ margin-top: 8rpx;
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ .detail-item1 {
|
|
|
|
+ justify-content: flex-start !important;
|
|
|
|
+ }
|
|
|
|
+ .detail-item {
|
|
display: flex;
|
|
display: flex;
|
|
- float: right;
|
|
|
|
- // float: right;
|
|
|
|
- justify-content: center;
|
|
|
|
- background-color: #f1f1f1;
|
|
|
|
- border-radius: 10rpx;
|
|
|
|
- line-height: 34rpx;
|
|
|
|
- font-size: 24rpx;
|
|
|
|
- color: #333;
|
|
|
|
- // padding: 0 24rpx;
|
|
|
|
- width: 168rpx;
|
|
|
|
- height: 34rpx;
|
|
|
|
- margin-top: 8rpx;
|
|
|
|
|
|
+ justify-content: space-between;
|
|
|
|
+ align-items: center;
|
|
|
|
+ // height: 40rpx;
|
|
|
|
+ line-height: 46rpx;
|
|
|
|
+ color: #000;
|
|
|
|
+ margin-top: 10rpx;
|
|
|
|
+
|
|
|
|
+ .copy {
|
|
|
|
+ width: 168rpx;
|
|
|
|
+ display: flex;
|
|
|
|
+ justify-content: center;
|
|
|
|
+ background-color: #f1f1f1;
|
|
|
|
+ border-radius: 10rpx;
|
|
|
|
+ line-height: 34rpx;
|
|
|
|
+ font-size: 24rpx;
|
|
|
|
+ color: #333;
|
|
|
|
+ padding: 0 24rpx;
|
|
|
|
+ // width: 144rpx;
|
|
|
|
+ height: 34rpx;
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ .phone {
|
|
|
|
+ margin-left: 138rpx;
|
|
|
|
+ height: 40rpx;
|
|
|
|
+ color: #000;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
- .detail-item {
|
|
|
|
- display: flex;
|
|
|
|
- justify-content: space-between;
|
|
|
|
- align-items: center;
|
|
|
|
- // height: 40rpx;
|
|
|
|
- line-height: 46rpx;
|
|
|
|
- color: #000;
|
|
|
|
- margin-top: 10rpx;
|
|
|
|
-
|
|
|
|
- .copy {
|
|
|
|
- width: 168rpx;
|
|
|
|
- display: flex;
|
|
|
|
- justify-content: center;
|
|
|
|
- background-color: #f1f1f1;
|
|
|
|
- border-radius: 10rpx;
|
|
|
|
- line-height: 34rpx;
|
|
|
|
- font-size: 24rpx;
|
|
|
|
- color: #333;
|
|
|
|
- padding: 0 24rpx;
|
|
|
|
- // width: 144rpx;
|
|
|
|
- height: 34rpx;
|
|
|
|
|
|
+ .erweima {
|
|
|
|
+ width: 362rpx;
|
|
|
|
+ height: 362rpx;
|
|
|
|
+ background: #0b9edd;
|
|
|
|
+ margin: 26rpx auto;
|
|
|
|
+
|
|
|
|
+ image {
|
|
|
|
+ height: 100%;
|
|
|
|
+ width: 100%;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
- .phone {
|
|
|
|
- margin-left: 138rpx;
|
|
|
|
- height: 40rpx;
|
|
|
|
- color: #000;
|
|
|
|
|
|
+ .zfb {
|
|
|
|
+ font-size: 30rpx;
|
|
|
|
+ font-family: PingFang SC;
|
|
|
|
+ font-weight: bold;
|
|
|
|
+ color: #0b9edd;
|
|
|
|
+ margin-top: 36rpx;
|
|
|
|
+ text-align: center;
|
|
}
|
|
}
|
|
- }
|
|
|
|
|
|
|
|
- .erweima {
|
|
|
|
- width: 362rpx;
|
|
|
|
- height: 362rpx;
|
|
|
|
- background: #0b9edd;
|
|
|
|
- margin: 26rpx auto;
|
|
|
|
- image {
|
|
|
|
- height: 100%;
|
|
|
|
- width: 100%;
|
|
|
|
|
|
+ .weixin {
|
|
|
|
+ font-size: 30rpx;
|
|
|
|
+ font-family: PingFang SC;
|
|
|
|
+ font-weight: bold;
|
|
|
|
+ color: #02974a;
|
|
|
|
+ margin-top: 36rpx;
|
|
|
|
+ text-align: center;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
- .zfb {
|
|
|
|
- font-size: 30rpx;
|
|
|
|
- font-family: PingFang SC;
|
|
|
|
- font-weight: bold;
|
|
|
|
- color: #0b9edd;
|
|
|
|
- margin-top: 36rpx;
|
|
|
|
- text-align: center;
|
|
|
|
- }
|
|
|
|
- .weixin {
|
|
|
|
- font-size: 30rpx;
|
|
|
|
- font-family: PingFang SC;
|
|
|
|
- font-weight: bold;
|
|
|
|
- color: #02974a;
|
|
|
|
- margin-top: 36rpx;
|
|
|
|
- text-align: center;
|
|
|
|
- }
|
|
|
|
}
|
|
}
|
|
-}
|
|
|
|
-</style>
|
|
|
|
|
|
+</style>
|