b9106935 by 张猛

个人会员添加

1 parent 90c0a58b
<template>
<view class="page-bg">
<!-- <view class="nav-bar" style="margin-top:-30px">
<view class="nav-bar">
<view class="back-btn" @click="goBack">
<uni-icons color="#fff" size="20" type="left"></uni-icons>
<uni-icons color="#fff" size="25" type="left"></uni-icons>
</view>
</view> -->
</view>
<image :src="config.baseUrl_api+'/fs/static/dg/home_bg.png'" class="ren1"/>
<!-- 登录 -->
<view class="retop">
......@@ -677,4 +677,11 @@ function call(num) {
color: #fff;
}
}
.nav-bar {
position: relative;
top: 110rpx;
left: 10rpx;
z-index: 99;
}
</style>
......
<template>
<view>
<view style="padding-bottom: 200rpx;">
<uni-segmented-control :current="current" :values="items" activeColor="#C40F18" class="whitebg"
styleType="text" @clickItem="onClickItem"></uni-segmented-control>
<view class="hasfixedbottom">
......@@ -51,13 +51,13 @@
<uni-easyinput v-model="baseFormData.phone" :placeholderStyle="placeholderStyle"
:styles="inputstyle" placeholder="请输入联系方式"/>
</uni-forms-item>
<uni-forms-item v-if="baseFormData.perCode" label="会员编号" name="perCode">
<uni-easyinput v-model="baseFormData.perCode" :placeholderStyle="placeholderStyle"
:styles="inputstyle" placeholder="请输入会员编号"/>
<uni-forms-item label="会员编号" name="perCode">
<uni-easyinput v-model="baseFormData.perCode" :placeholderStyle="placeholderStyle" :styles="inputstyle"
placeholder="会员编号"/>
</uni-forms-item>
<uni-forms-item v-if="baseFormData.validityDate" label="会员有效期" name="validityDate">
<uni-forms-item label="会员有效期" name="validityDate">
<uni-easyinput v-model="baseFormData.validityDate" :placeholderStyle="placeholderStyle"
:styles="inputstyle" placeholder="请输入会员有效期"/>
:styles="inputstyle" placeholder="会员有效期"/>
</uni-forms-item>
......@@ -74,58 +74,62 @@
@select="upPhoto" :del-ico="false" :image-styles="imageStylesTx"></uni-file-picker>
<image mode="aspectFill" v-if="baseFormData.photo2" style="height:200rpx;width:200rpx;" :src="config.baseUrl_api + baseFormData.photo2"/>
</uni-forms-item> -->
</view>
</uni-forms>
</view>
</view>
<view class="fixed-agreeline">
<view class="agreeline">
<image @click="changeAgree(agree)" v-if="agree"
:src="config.baseUrl_api+'/fs/static/login/xz_dwn@2x.png'"></image>
<image @click="changeAgree(agree)" v-else :src="config.baseUrl_api+'/fs/static/login/xz@2x.png'">
</image>
<view>我已阅读<text @click="openpopup">《入会须知》</text></view>
</view>
</view>
<view class="fixedBottom"><button class="btn-red" @click="goSubmit">确 定</button></view>
<!-- 会员须知 -->
<uni-popup ref="popup" type="bottom" background-color="#fff" animation :disable-scroll="true"
:mask-click="false">
<view class="tt">注册须知</view>
<view class="tt">入会须知</view>
<view class="popBody">
_{{baseFormData.name}}_欢迎您申请成为中国跆拳道协会(以下简称中国跆协)会员,请确保本次申请是经过您本人或监护人授权同意后的自愿行为,请您务必仔细阅读本入会须知。
<br />
一、中国跆协会员分为个人会员和单位会员。
<br />
二、成为本协会会员条件:遵守中国跆协章程和协会各项规章制度及相关决议,按期交纳会费,积极支持和参与中国跆拳道事业发展的社会各届人士或地方跆拳道协会、俱乐部、培训机构等,均可自愿申请成为中国跆协会员。<br />
三、个人会员为在中国工作和生活的跆拳道爱好者,16 周岁以下应有监护人协助申请,会员须为中国公民。<br />
四、会员入会需向所在区域内中国跆协单位会员提出入会申请,并按程序报中国跆协批准,按规定交纳会费。<br />
五、会员享有《中国跆拳道协会会员管理办法》规定的会员权利。
<br />
六、会员应履行《中国跆拳道协会会员管理办法》规定的会员义务。
<br />
七、凡中国跆协会员,须按照《中国跆拳道协会会员会费标准(2021 版)》按时交纳年度会费。<br />
八、会员行为违反《中国跆拳道协会会员管理办法》中规定的,按照相关处罚规定进行处理。<br />
九、其它会员相关内容请查看《中国跆拳道协会章程》《中国跆拳道协会会员管理办法》。<br />
<button @click="closepopup" class="btn-red">我已阅读</button>
</view>
</uni-popup>
<uni-popup ref="infoConfirm" type="center" :disable-scroll="true" :mask-click="false">
<view class="tt">确认信息</view>
<view class="popBody">
<view>
</view>
<button @click="closepopup" class="btn-red">已确认</button>
</view>
</uni-popup>
</view>
</view>
</uni-forms>
</view>
</view>
<view class="fixed-agreeline">
<view class="agreeline">
<image v-if="agree" :src="config.baseUrl_api+'/fs/static/login/xz_dwn@2x.png'"
@click="changeAgree(agree)"></image>
<image v-else :src="config.baseUrl_api+'/fs/static/login/xz@2x.png'" @click="changeAgree(agree)">
</image>
<view>我已阅读
<text @click="openpopup">《入会须知》</text>
</view>
</view>
</view>
<view class="fixedBottom">
<button class="btn-red" @click="goSubmit">确 定</button>
</view>
<!-- 会员须知 -->
<uni-popup ref="popup" :disable-scroll="true" :mask-click="false" animation background-color="#fff"
type="bottom">
<view class="tt">注册须知</view>
<view class="tt">入会须知</view>
<view class="popBody">
_{{ baseFormData.name }}_欢迎您申请成为中国跆拳道协会(以下简称中国跆协)会员,请确保本次申请是经过您本人或监护人授权同意后的自愿行为,请您务必仔细阅读本入会须知。
<br/>
一、中国跆协会员分为个人会员和单位会员。
<br/>
二、成为本协会会员条件:遵守中国跆协章程和协会各项规章制度及相关决议,按期交纳会费,积极支持和参与中国跆拳道事业发展的社会各届人士或地方跆拳道协会、俱乐部、培训机构等,均可自愿申请成为中国跆协会员。<br/>
三、个人会员为在中国工作和生活的跆拳道爱好者,16 周岁以下应有监护人协助申请,会员须为中国公民。<br/>
四、会员入会需向所在区域内中国跆协单位会员提出入会申请,并按程序报中国跆协批准,按规定交纳会费。<br/>
五、会员享有《中国跆拳道协会会员管理办法》规定的会员权利。
<br/>
六、会员应履行《中国跆拳道协会会员管理办法》规定的会员义务。
<br/>
七、凡中国跆协会员,须按照《中国跆拳道协会会员会费标准(2021 版)》按时交纳年度会费。<br/>
八、会员行为违反《中国跆拳道协会会员管理办法》中规定的,按照相关处罚规定进行处理。<br/>
九、其它会员相关内容请查看《中国跆拳道协会章程》《中国跆拳道协会会员管理办法》。<br/>
<button class="btn-red" @click="closepopup">我已阅读</button>
</view>
</uni-popup>
<uni-popup ref="infoConfirm" :disable-scroll="true" :mask-click="false" type="center">
<view class="tt">确认信息</view>
<view class="popBody">
<view>
</view>
<button class="btn-red" @click="closepopup">已确认</button>
</view>
</uni-popup>
</view>
</template>
<script setup>
......@@ -589,10 +593,21 @@ function goSubmit() {
baseFormData.value.t = time + Math.floor(Math.random() * 10)
baseFormData.value.signT = aes2.AESEncrypt(baseFormData.value.idcType + time)
const baseFormDataJson = encodeURIComponent(JSON.stringify(baseFormData.value))
uni.navigateTo({
url: `/personal/goPay_per?baseFormData=${baseFormDataJson}`
api.insertSinglePay({
...baseFormData.value,
payYear: 1,
payType: 1,
validityDate: undefined
}).then(res => {
if (res.code == 200) {
uni.navigateTo({
url: `/personal/goPay_per?baseFormData=${baseFormDataJson}`
})
}
})
// uni.showModal({
// content: '保存成功',
// title: '提示',
......@@ -724,15 +739,16 @@ function getUserInfo() {
}
.hasfixedbottom {
padding-bottom: 200rpx;
//padding-bottom: 200rpx;
padding-bottom: 0 !important;
}
.fixed-agreeline {
position: fixed;
bottom: 150rpx;
left: 0;
right: 0;
z-index: 1;
//position: fixed;
//bottom: 150rpx;
//left: 0;
//right: 0;
//z-index: 1;
}
.agreeline {
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!