1.对接卡号绑定接口

yj-dev
杨杰 3 years ago
parent 67680d41ca
commit e8754ab4e8
  1. 4
      Utils/Api.js
  2. 35
      pages.json
  3. 180
      pages/user/bindingCard/bindingCard.vue
  4. 25
      pages/user/bindingCardList/bindingCardList.vue
  5. 7
      static/css/login.scss

@ -160,6 +160,10 @@ export const getCmsContent = params => {
/** /**
* 工会卡 * 工会卡
*/ */
//根据卡号查询
export const getHuiLianTongCardByCardNo = params => {
return POST('GET', `${base}/highUserCard/getHuiLianTongCardByCardNo`, params).then(res => res.data);
}
// 获取用户卡号列表 // 获取用户卡号列表
export const getUserCardList = params => { export const getUserCardList = params => {
return POST('GET', `${base}/highUserCard/getUserCardList`, params).then(res => res.data); return POST('GET', `${base}/highUserCard/getUserCardList`, params).then(res => res.data);

@ -1,6 +1,6 @@
{ {
"pages": [ //pageshttps://uniapp.dcloud.io/collocation/pages "pages": [ //pageshttps://uniapp.dcloud.io/collocation/pages
{ {
"path": "pages/tabBar/home/home", "path": "pages/tabBar/home/home",
"style": { "style": {
"navigationBarTextStyle": "white", "navigationBarTextStyle": "white",
@ -476,7 +476,29 @@
} }
} }
,{ , {
"path" : "pages/user/bindingCard/bindingCard",
"style" :
{
"navigationBarTitleText": "綁定卡号",
"navigationBarBackgroundColor": "#0083f5",
"backgroundColorTop": "#0083f5",
"navigationBarTextStyle": "white",
"enablePullDownRefresh": false
}
},{
"path" : "pages/user/bindingCardList/bindingCardList",
"style" :
{
"navigationBarTitleText": "卡列表",
"navigationBarBackgroundColor": "#0083f5",
"backgroundColorTop": "#0083f5",
"navigationBarTextStyle": "white",
"enablePullDownRefresh": false
}
},{
"path" : "pages/user/unionCard/unionCard", "path" : "pages/user/unionCard/unionCard",
"style" : "style" :
{ {
@ -489,15 +511,6 @@
} }
} }
,{
"path" : "pages/user/bindingCard/bindingCard",
"style" :
{
"navigationBarTitleText": "",
"enablePullDownRefresh": false
}
}
], ],
"globalStyle": { "globalStyle": {

File diff suppressed because one or more lines are too long

@ -0,0 +1,25 @@
<template>
<view>
<view class="height80 cardListcs width90"></view>
</view>
</template>
<script>
export default {
data() {
return {
}
},
methods: {
}
}
</script>
<style lang="scss">
.cardListcs{
box-shadow: 0px 1px 7px 1px rgba(0, 0, 0, 0.14);
border-radius: 16rpx;
}
</style>

@ -44,12 +44,11 @@ page {
margin-bottom: 26upx; margin-bottom: 26upx;
margin-top: 30px; margin-top: 30px;
input { input {
width: 90%; width: 60%;
margin-left: 5%;
height: 50upx; height: 50upx;
font-size: 16px; font-size: 16px;
color: #333333; color: #333333;
font-weight: 200; font-weight: blod;
} }
} }
@ -84,7 +83,7 @@ page {
content: " "; content: " ";
width: 1upx; width: 1upx;
height: 50upx; height: 50upx;
background-color: #333333; // background-color: #333333;
position: absolute; position: absolute;
z-index: 3; z-index: 3;
margin-right: 100%; margin-right: 100%;

Loading…
Cancel
Save