1.对接卡号绑定接口

yj-dev
杨杰 3 years ago
parent 67680d41ca
commit e8754ab4e8
  1. 4
      Utils/Api.js
  2. 31
      pages.json
  3. 160
      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);

@ -477,26 +477,39 @@
} }
, { , {
"path" : "pages/user/unionCard/unionCard", "path" : "pages/user/bindingCard/bindingCard",
"style" : "style" :
{ {
"enablePullDownRefresh": false, "navigationBarTitleText": "綁定卡号",
"navigationBarTitleText": "工会卡",
"backgroundTextStyle": "light",
"navigationBarBackgroundColor": "#0083f5", "navigationBarBackgroundColor": "#0083f5",
"backgroundColorTop": "#0083f5", "backgroundColorTop": "#0083f5",
"navigationBarTextStyle": "white" "navigationBarTextStyle": "white",
"enablePullDownRefresh": false
} }
} },{
,{ "path" : "pages/user/bindingCardList/bindingCardList",
"path" : "pages/user/bindingCard/bindingCard",
"style" : "style" :
{ {
"navigationBarTitleText": "", "navigationBarTitleText": "卡列表",
"navigationBarBackgroundColor": "#0083f5",
"backgroundColorTop": "#0083f5",
"navigationBarTextStyle": "white",
"enablePullDownRefresh": false "enablePullDownRefresh": false
} }
},{
"path" : "pages/user/unionCard/unionCard",
"style" :
{
"enablePullDownRefresh": false,
"navigationBarTitleText": "工会卡",
"backgroundTextStyle": "light",
"navigationBarBackgroundColor": "#0083f5",
"backgroundColorTop": "#0083f5",
"navigationBarTextStyle": "white"
}
} }
], ],

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