Commit fd464fa5 by liimin

Merge branch 'SAAS+V4.56.0-0908' of http://192.168.3.233:8090/saas/mini-program/…

…points-mall into SAAS+V4.56.0-0908
2 parents d5ef1775 1ecc8c1f
import { preReleaseAppId } from '~/config' import { preReleaseAppId } from '~/config'
const target = ['ip', 'dev', 'uat', 'prod', 'preRelease'] const target = ['ip', 'dev', 'uat', 'prod', 'preRelease']
let index = 1 let index = 2
/** /**
* *
...@@ -15,7 +15,7 @@ const systemInfo = wx.getSystemInfoSync() ...@@ -15,7 +15,7 @@ const systemInfo = wx.getSystemInfoSync()
// console.log(systemInfo); // console.log(systemInfo);
// console.log(accountInfo.miniProgram.envVersion) // console.log(accountInfo.miniProgram.envVersion)
//手动控制体验版环境的请求 true就依据下面index false就默认为2 //手动控制体验版环境的请求 true就依据下面index false就默认为2
const manual = true const manual = false
const release = false const release = false
......
<view class="navigation-bar" id="navigation-bar" style="padding-top:{{statusBarHeight}}px;height:{{navigationBarHeight}}px;{{navStyle}}"> <view class="navigation-bar" id="navigation-bar" style="padding-top:{{statusBarHeight}}px;height:{{navigationBarHeight}}px;line-height:{{navigationBarHeight}}px;{{navStyle}}">
<block wx:if="{{!custom}}"> <block wx:if="{{!custom}}">
<view class="navigation-bar-box" wx:if="{{showNavBar}}" style="{{navigationBarStyle}}"> <view class="navigation-bar-box" wx:if="{{showNavBar}}" style="{{navigationBarStyle}}">
<block wx:if="{{SHOWBACK}}"> <block wx:if="{{SHOWBACK}}">
......
...@@ -5,6 +5,11 @@ ...@@ -5,6 +5,11 @@
font-size: 34rpx; font-size: 34rpx;
font-weight: 600; font-weight: 600;
} }
::-webkit-scrollbar {
width: 0;
height: 0;
color: transparent;
}
.container { .container {
overflow: auto; overflow: auto;
.special-image { .special-image {
......
...@@ -153,3 +153,6 @@ page { ...@@ -153,3 +153,6 @@ page {
} }
.custom-picker {
color: #FC5B32; /* 这会改变确认按钮的颜色 */
}
\ No newline at end of file \ No newline at end of file
<!--packageIndex/pages/bankAccount/add/add.wxml--> <!--packageIndex/pages/bankAccount/add/add.wxml-->
<block> <block>
<view class="tips flex"> <view class="tips flex">
账户信息<text>(首次申请兑换时需要您输入正确的银行账户信息)</text> 账户信息<text>(首次申请提现时需要您输入正确的银行账户信息)</text>
</view> </view>
<view class="form"> <view class="form">
<!-- <mp-cells ext-class="my-cells"> --> <!-- <mp-cells ext-class="my-cells"> -->
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
<view class=" flex {{item.upload?'id-card-wrap':'item'}}"> <view class=" flex {{item.upload?'id-card-wrap':'item'}}">
<block wx:if="{{item.pickerData}}"> <block wx:if="{{item.pickerData}}">
<picker bindchange="bindPickerChange" range-key="{{item.pickerKey}}" range="{{item.pickerData}}" data-item="{{item}}"> <picker bindchange="bindPickerChange" range-key="{{item.pickerKey}}" range="{{item.pickerData}}" data-item="{{item}}" mode="selector" >
<mp-cell value="{{item.label}}" ext-class="my-cells"> <mp-cell value="{{item.label}}" ext-class="my-cells">
<view slot="footer" class="flex_sc"> <view slot="footer" class="flex_sc">
<input value="{{ formData[item.key] }}" clearable label="{{item.label}}" placeholder="{{item.placeholder}}" class="input" is-link disabled="true" input-align="right" placeholder-class="placeStyle" /> <input value="{{ formData[item.key] }}" clearable label="{{item.label}}" placeholder="{{item.placeholder}}" class="input" is-link disabled="true" input-align="right" placeholder-class="placeStyle" />
......
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
</block> </block>
</view> </view>
<view class="btn-color text-center" bindtap="jump"> <view class="btn-color text-center" bindtap="jump">
去添加 去添加账户
</view> </view>
</block> </block>
<block wx:else> <block wx:else>
......
...@@ -13,7 +13,9 @@ ...@@ -13,7 +13,9 @@
background-size: 100%; background-size: 100%;
background-repeat: no-repeat; background-repeat: no-repeat;
background-image: url('https://img02.glsx.com.cn/weapp/resource/miniprogram/points-mall/integral/bg.png'); background-image: url('https://img02.glsx.com.cn/weapp/resource/miniprogram/points-mall/integral/bg.png');
.nav-wrap{
position: relative;
}
.bar-text { .bar-text {
font-weight: 500; font-weight: 500;
font-size: 34rpx; font-size: 34rpx;
...@@ -26,7 +28,7 @@ ...@@ -26,7 +28,7 @@
height: 40rpx; height: 40rpx;
position: absolute; position: absolute;
left: 32rpx; left: 32rpx;
top: 50%; top:50%;
transform: translateY(-50%); transform: translateY(-50%);
z-index: 8; z-index: 8;
...@@ -172,6 +174,7 @@ ...@@ -172,6 +174,7 @@
font-size: 24rpx; font-size: 24rpx;
color: #888888; color: #888888;
line-height: 36rpx; line-height: 36rpx;
white-space: nowrap;
} }
} }
......
...@@ -10,7 +10,9 @@ ...@@ -10,7 +10,9 @@
background-size: 100%; background-size: 100%;
background-repeat: no-repeat; background-repeat: no-repeat;
background-image: url('https://img02.glsx.com.cn/weapp/resource/miniprogram/points-mall/integral/have-bg.png'); background-image: url('https://img02.glsx.com.cn/weapp/resource/miniprogram/points-mall/integral/have-bg.png');
.nav-wrap{
position: relative;
}
.bar-text { .bar-text {
font-weight: 500; font-weight: 500;
font-size: 34rpx; font-size: 34rpx;
...@@ -130,7 +132,7 @@ ...@@ -130,7 +132,7 @@
flex: 1; flex: 1;
.value{ .value{
color: #333333; color: #333333;
font-size: 36rpx; font-size: 34rpx;
font-weight: 600; font-weight: 600;
} }
.text{ .text{
......
...@@ -86,3 +86,8 @@ ...@@ -86,3 +86,8 @@
line-height: 36rpx; line-height: 36rpx;
text-align: center; text-align: center;
} }
::-webkit-scrollbar {
width: 0;
height: 0;
color: transparent;
}
\ No newline at end of file \ No newline at end of file
<view class="list_widget"> <view class="list_widget">
<view class="title_wrap"> <view class="title_wrap">
收益明细 收益明细
......
...@@ -5,13 +5,13 @@ Component({ ...@@ -5,13 +5,13 @@ Component({
* 组件的属性列表 * 组件的属性列表
*/ */
properties: { properties: {
showBank:{ showBank: {
type: Boolean, type: Boolean,
value: true, value: true,
}, },
bankList:{ bankList: {
type:Array, type: Array,
value:[] value: []
} }
}, },
...@@ -19,24 +19,30 @@ Component({ ...@@ -19,24 +19,30 @@ Component({
* 组件的初始数据 * 组件的初始数据
*/ */
data: { data: {
activeIndex:0 activeIndex: 0
}, },
/** /**
* 组件的方法列表 * 组件的方法列表
*/ */
methods: { methods: {
pickerBankCard(e){ pickerBankCard(e) {
console.log(e) console.log(e)
let {index,item} = e.currentTarget.dataset; let {
index,
item
} = e.currentTarget.dataset;
this.setData({ this.setData({
activeIndex:index activeIndex: index
}) })
this.triggerEvent('PickerChange',item) this.triggerEvent('PickerChange', item)
}, },
goBank(){ goBank() {
const thisPage = wx.p.router.getPageInstance() const thisPage = wx.p.router.getPageInstance()
thisPage.goBank() thisPage.goBank()
thisPage.setData({
showBank: false
})
} }
} }
}) })
\ No newline at end of file \ No newline at end of file
...@@ -35,6 +35,7 @@ Page({ ...@@ -35,6 +35,7 @@ Page({
*/ */
onLoad(options) { onLoad(options) {
wx.p.router.getRouterParams().then(params => { wx.p.router.getRouterParams().then(params => {
console.log(params)
this.setData(params) this.setData(params)
}) })
this.getBankList() this.getBankList()
...@@ -76,9 +77,16 @@ Page({ ...@@ -76,9 +77,16 @@ Page({
checkbankConfig() { checkbankConfig() {
let { let {
bankInfo bankInfo
} = this.data; } = this.data, {
merchantId,
merchantName,
channelSource
} = wx.p.storage.get('userInfo');
wx.p.api.withdrawalApi.checkbankConfig({ wx.p.api.withdrawalApi.checkbankConfig({
id: bankInfo.id id: bankInfo.id,
merchantId,
merchantName,
channelSource
}).then(res => { }).then(res => {
if (res.code == 0) { if (res.code == 0) {
this.setData({ this.setData({
......
...@@ -152,7 +152,7 @@ ...@@ -152,7 +152,7 @@
font-weight: 500; font-weight: 500;
font-size: 32rpx; font-size: 32rpx;
color: #FFFFFF; color: #FFFFFF;
width: 654rpx; width: calc(100% - 96rpx);
height: 88rpx; height: 88rpx;
background: #FB8A32; background: #FB8A32;
border-radius: 20rpx; border-radius: 20rpx;
...@@ -160,6 +160,7 @@ ...@@ -160,6 +160,7 @@
text-align: center; text-align: center;
position: fixed; position: fixed;
bottom: 266rpx; bottom: 266rpx;
left:48rpx;
} }
} }
} }
......
page { page {
background: #F7F8FA; background: #F7F8FA;
} }
.layout {
overflow: auto;
}
::-webkit-scrollbar {
width: 0;
height: 0;
color: transparent;
}
.nothing-box { .nothing-box {
position: fixed; position: fixed;
top: 0; top: 0;
......
<view class="layout" style="padding-bottom:{{padding_bottom }}px"> <view class="layout" style="padding-bottom:{{padding_bottom }}px;height: calc(100vh - {{padding_bottom}}px);">
<block wx:if="{{shoppingcartFlag}}"> <block wx:if="{{shoppingcartFlag}}">
<block wx:if="{{!goodsList.length}}"> <block wx:if="{{!goodsList.length}}">
<view class="nothing-box"> <view class="nothing-box">
......
...@@ -6,6 +6,12 @@ ...@@ -6,6 +6,12 @@
color: #FFFFFF; color: #FFFFFF;
} }
::-webkit-scrollbar {
width: 0;
height: 0;
color: transparent;
}
.bg { .bg {
width: 100%; width: 100%;
height: 480rpx; height: 480rpx;
......
...@@ -61,14 +61,18 @@ Page({ ...@@ -61,14 +61,18 @@ Page({
}, },
go(e) { go(e) {
console.log(e); console.log(e);
const thisPage = wx.p.router.getPageInstance(); const {
currentScore,
} = this.data.scoreSummary;
let { index } = e.currentTarget.dataset; let { index } = e.currentTarget.dataset;
let arr = [ let arr = [
() => { () => {
wx.p.router.go("/packageIndex/pages/integral/index/index"); wx.p.router.go("/packageIndex/pages/integral/index/index");
}, },
() => { () => {
wx.p.router.go("/packageIndex/pages/bankAccount/list/list"); wx.p.router.go("/packageIndex/pages/bankAccount/list/list",{
score: currentScore
});
}, },
]; ];
arr[index](); arr[index]();
...@@ -113,6 +117,7 @@ Page({ ...@@ -113,6 +117,7 @@ Page({
}); });
}, },
onShow:function() { onShow:function() {
this.searchScoreSummaryData();
// this.getOrderNumberList(); // this.getOrderNumberList();
// this.toCheckMember(); // this.toCheckMember();
}, },
......
...@@ -151,7 +151,7 @@ page { ...@@ -151,7 +151,7 @@ page {
} }
.user-info .setUpZinx { .user-info .setUpZinx {
// z-index: -1; z-index: -1;
} }
.user-info .vip { .user-info .vip {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!