b9106935 by 张猛

个人会员添加

1 parent 90c0a58b
1 <template> 1 <template>
2 <view class="page-bg"> 2 <view class="page-bg">
3 <!-- <view class="nav-bar" style="margin-top:-30px"> 3 <view class="nav-bar">
4 <view class="back-btn" @click="goBack"> 4 <view class="back-btn" @click="goBack">
5 <uni-icons color="#fff" size="20" type="left"></uni-icons> 5 <uni-icons color="#fff" size="25" type="left"></uni-icons>
6 </view> 6 </view>
7 </view> --> 7 </view>
8 <image :src="config.baseUrl_api+'/fs/static/dg/home_bg.png'" class="ren1"/> 8 <image :src="config.baseUrl_api+'/fs/static/dg/home_bg.png'" class="ren1"/>
9 <!-- 登录 --> 9 <!-- 登录 -->
10 <view class="retop"> 10 <view class="retop">
...@@ -677,4 +677,11 @@ function call(num) { ...@@ -677,4 +677,11 @@ function call(num) {
677 color: #fff; 677 color: #fff;
678 } 678 }
679 } 679 }
680
681 .nav-bar {
682 position: relative;
683 top: 110rpx;
684 left: 10rpx;
685 z-index: 99;
686 }
680 </style> 687 </style>
......
1 <template> 1 <template>
2 <view> 2 <view style="padding-bottom: 200rpx;">
3 <uni-segmented-control :current="current" :values="items" activeColor="#C40F18" class="whitebg" 3 <uni-segmented-control :current="current" :values="items" activeColor="#C40F18" class="whitebg"
4 styleType="text" @clickItem="onClickItem"></uni-segmented-control> 4 styleType="text" @clickItem="onClickItem"></uni-segmented-control>
5 <view class="hasfixedbottom"> 5 <view class="hasfixedbottom">
...@@ -51,13 +51,13 @@ ...@@ -51,13 +51,13 @@
51 <uni-easyinput v-model="baseFormData.phone" :placeholderStyle="placeholderStyle" 51 <uni-easyinput v-model="baseFormData.phone" :placeholderStyle="placeholderStyle"
52 :styles="inputstyle" placeholder="请输入联系方式"/> 52 :styles="inputstyle" placeholder="请输入联系方式"/>
53 </uni-forms-item> 53 </uni-forms-item>
54 <uni-forms-item v-if="baseFormData.perCode" label="会员编号" name="perCode"> 54 <uni-forms-item label="会员编号" name="perCode">
55 <uni-easyinput v-model="baseFormData.perCode" :placeholderStyle="placeholderStyle" 55 <uni-easyinput v-model="baseFormData.perCode" :placeholderStyle="placeholderStyle" :styles="inputstyle"
56 :styles="inputstyle" placeholder="请输入会员编号"/> 56 placeholder="会员编号"/>
57 </uni-forms-item> 57 </uni-forms-item>
58 <uni-forms-item v-if="baseFormData.validityDate" label="会员有效期" name="validityDate"> 58 <uni-forms-item label="会员有效期" name="validityDate">
59 <uni-easyinput v-model="baseFormData.validityDate" :placeholderStyle="placeholderStyle" 59 <uni-easyinput v-model="baseFormData.validityDate" :placeholderStyle="placeholderStyle"
60 :styles="inputstyle" placeholder="请输入会员有效期"/> 60 :styles="inputstyle" placeholder="会员有效期"/>
61 </uni-forms-item> 61 </uni-forms-item>
62 62
63 63
...@@ -74,58 +74,62 @@ ...@@ -74,58 +74,62 @@
74 @select="upPhoto" :del-ico="false" :image-styles="imageStylesTx"></uni-file-picker> 74 @select="upPhoto" :del-ico="false" :image-styles="imageStylesTx"></uni-file-picker>
75 <image mode="aspectFill" v-if="baseFormData.photo2" style="height:200rpx;width:200rpx;" :src="config.baseUrl_api + baseFormData.photo2"/> 75 <image mode="aspectFill" v-if="baseFormData.photo2" style="height:200rpx;width:200rpx;" :src="config.baseUrl_api + baseFormData.photo2"/>
76 </uni-forms-item> --> 76 </uni-forms-item> -->
77 </view> 77 </view>
78 </uni-forms> 78 </uni-forms>
79 </view> 79 </view>
80 </view> 80 </view>
81 <view class="fixed-agreeline"> 81 <view class="fixed-agreeline">
82 <view class="agreeline"> 82 <view class="agreeline">
83 <image @click="changeAgree(agree)" v-if="agree" 83 <image v-if="agree" :src="config.baseUrl_api+'/fs/static/login/xz_dwn@2x.png'"
84 :src="config.baseUrl_api+'/fs/static/login/xz_dwn@2x.png'"></image> 84 @click="changeAgree(agree)"></image>
85 <image @click="changeAgree(agree)" v-else :src="config.baseUrl_api+'/fs/static/login/xz@2x.png'"> 85 <image v-else :src="config.baseUrl_api+'/fs/static/login/xz@2x.png'" @click="changeAgree(agree)">
86 </image> 86 </image>
87 <view>我已阅读<text @click="openpopup">《入会须知》</text></view> 87 <view>我已阅读
88 </view> 88 <text @click="openpopup">《入会须知》</text>
89 </view> 89 </view>
90 <view class="fixedBottom"><button class="btn-red" @click="goSubmit">确 定</button></view> 90 </view>
91 91 </view>
92 <!-- 会员须知 --> 92 <view class="fixedBottom">
93 <uni-popup ref="popup" type="bottom" background-color="#fff" animation :disable-scroll="true" 93 <button class="btn-red" @click="goSubmit">确 定</button>
94 :mask-click="false"> 94 </view>
95 <view class="tt">注册须知</view> 95
96 <view class="tt">入会须知</view> 96 <!-- 会员须知 -->
97 <view class="popBody"> 97 <uni-popup ref="popup" :disable-scroll="true" :mask-click="false" animation background-color="#fff"
98 _{{baseFormData.name}}_欢迎您申请成为中国跆拳道协会(以下简称中国跆协)会员,请确保本次申请是经过您本人或监护人授权同意后的自愿行为,请您务必仔细阅读本入会须知。 98 type="bottom">
99 <br /> 99 <view class="tt">注册须知</view>
100 一、中国跆协会员分为个人会员和单位会员。 100 <view class="tt">入会须知</view>
101 <br /> 101 <view class="popBody">
102 二、成为本协会会员条件:遵守中国跆协章程和协会各项规章制度及相关决议,按期交纳会费,积极支持和参与中国跆拳道事业发展的社会各届人士或地方跆拳道协会、俱乐部、培训机构等,均可自愿申请成为中国跆协会员。<br /> 102 _{{ baseFormData.name }}_欢迎您申请成为中国跆拳道协会(以下简称中国跆协)会员,请确保本次申请是经过您本人或监护人授权同意后的自愿行为,请您务必仔细阅读本入会须知。
103 三、个人会员为在中国工作和生活的跆拳道爱好者,16 周岁以下应有监护人协助申请,会员须为中国公民。<br /> 103 <br/>
104 四、会员入会需向所在区域内中国跆协单位会员提出入会申请,并按程序报中国跆协批准,按规定交纳会费。<br /> 104 一、中国跆协会员分为个人会员和单位会员。
105 五、会员享有《中国跆拳道协会会员管理办法》规定的会员权利。 105 <br/>
106 <br /> 106 二、成为本协会会员条件:遵守中国跆协章程和协会各项规章制度及相关决议,按期交纳会费,积极支持和参与中国跆拳道事业发展的社会各届人士或地方跆拳道协会、俱乐部、培训机构等,均可自愿申请成为中国跆协会员。<br/>
107 六、会员应履行《中国跆拳道协会会员管理办法》规定的会员义务。 107 三、个人会员为在中国工作和生活的跆拳道爱好者,16 周岁以下应有监护人协助申请,会员须为中国公民。<br/>
108 <br /> 108 四、会员入会需向所在区域内中国跆协单位会员提出入会申请,并按程序报中国跆协批准,按规定交纳会费。<br/>
109 七、凡中国跆协会员,须按照《中国跆拳道协会会员会费标准(2021 版)》按时交纳年度会费。<br /> 109 五、会员享有《中国跆拳道协会会员管理办法》规定的会员权利。
110 八、会员行为违反《中国跆拳道协会会员管理办法》中规定的,按照相关处罚规定进行处理。<br /> 110 <br/>
111 九、其它会员相关内容请查看《中国跆拳道协会章程》《中国跆拳道协会会员管理办法》。<br /> 111 六、会员应履行《中国跆拳道协会会员管理办法》规定的会员义务。
112 112 <br/>
113 <button @click="closepopup" class="btn-red">我已阅读</button> 113 七、凡中国跆协会员,须按照《中国跆拳道协会会员会费标准(2021 版)》按时交纳年度会费。<br/>
114 </view> 114 八、会员行为违反《中国跆拳道协会会员管理办法》中规定的,按照相关处罚规定进行处理。<br/>
115 </uni-popup> 115 九、其它会员相关内容请查看《中国跆拳道协会章程》《中国跆拳道协会会员管理办法》。<br/>
116 116
117 <uni-popup ref="infoConfirm" type="center" :disable-scroll="true" :mask-click="false"> 117 <button class="btn-red" @click="closepopup">我已阅读</button>
118 <view class="tt">确认信息</view> 118 </view>
119 <view class="popBody"> 119 </uni-popup>
120 <view> 120
121 121 <uni-popup ref="infoConfirm" :disable-scroll="true" :mask-click="false" type="center">
122 </view> 122 <view class="tt">确认信息</view>
123 123 <view class="popBody">
124 <button @click="closepopup" class="btn-red">已确认</button> 124 <view>
125 </view> 125
126 </uni-popup> 126 </view>
127 127
128 </view> 128 <button class="btn-red" @click="closepopup">已确认</button>
129 </view>
130 </uni-popup>
131
132 </view>
129 </template> 133 </template>
130 134
131 <script setup> 135 <script setup>
...@@ -589,10 +593,21 @@ function goSubmit() { ...@@ -589,10 +593,21 @@ function goSubmit() {
589 baseFormData.value.t = time + Math.floor(Math.random() * 10) 593 baseFormData.value.t = time + Math.floor(Math.random() * 10)
590 baseFormData.value.signT = aes2.AESEncrypt(baseFormData.value.idcType + time) 594 baseFormData.value.signT = aes2.AESEncrypt(baseFormData.value.idcType + time)
591 const baseFormDataJson = encodeURIComponent(JSON.stringify(baseFormData.value)) 595 const baseFormDataJson = encodeURIComponent(JSON.stringify(baseFormData.value))
592 uni.navigateTo({ 596
593 url: `/personal/goPay_per?baseFormData=${baseFormDataJson}` 597 api.insertSinglePay({
598 ...baseFormData.value,
599 payYear: 1,
600 payType: 1,
601 validityDate: undefined
602 }).then(res => {
603 if (res.code == 200) {
604 uni.navigateTo({
605 url: `/personal/goPay_per?baseFormData=${baseFormDataJson}`
606 })
607 }
594 }) 608 })
595 609
610
596 // uni.showModal({ 611 // uni.showModal({
597 // content: '保存成功', 612 // content: '保存成功',
598 // title: '提示', 613 // title: '提示',
...@@ -724,15 +739,16 @@ function getUserInfo() { ...@@ -724,15 +739,16 @@ function getUserInfo() {
724 } 739 }
725 740
726 .hasfixedbottom { 741 .hasfixedbottom {
727 padding-bottom: 200rpx; 742 //padding-bottom: 200rpx;
743 padding-bottom: 0 !important;
728 } 744 }
729 745
730 .fixed-agreeline { 746 .fixed-agreeline {
731 position: fixed; 747 //position: fixed;
732 bottom: 150rpx; 748 //bottom: 150rpx;
733 left: 0; 749 //left: 0;
734 right: 0; 750 //right: 0;
735 z-index: 1; 751 //z-index: 1;
736 } 752 }
737 753
738 .agreeline { 754 .agreeline {
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!