Commit abf8824a by 赵雅纹

Merge branch 'dev' into feature-zyw

parents 8efb97a2 e43eb651
...@@ -113,7 +113,7 @@ App({ ...@@ -113,7 +113,7 @@ App({
loginFirst: false, loginFirst: false,
imageUrl:"", //图片地址 imageUrl:"", //图片地址
isFullSucreen: false, // 当前设备是否为 FullSucreen isFullSucreen: false, // 当前设备是否为 FullSucreen
brandId: 2005, // brandId: 2005,
// brandId: 1001, brandId: 1001,
} }
}) })
...@@ -23,6 +23,7 @@ ...@@ -23,6 +23,7 @@
"navigateToMiniProgramAppIdList": [ "navigateToMiniProgramAppIdList": [
"wxeb490c6f9b154ef9", "wxeb490c6f9b154ef9",
"wxcf6d299fecd830cf", "wxcf6d299fecd830cf",
"wx5717ceb7cfa09f2e" "wx5717ceb7cfa09f2e",
"wx358b56af62edbde1"
] ]
} }
\ No newline at end of file
...@@ -3,15 +3,15 @@ ...@@ -3,15 +3,15 @@
border-collapse: collapse; border-collapse: collapse;
font-size: 28rpx; font-size: 28rpx;
color: #333333; color: #333333;
text-align: center; text-align: left;
vertical-align: middle; vertical-align: middle;
width: 100%; width: 100%;
} }
.table .tr{ .table .tr{
display: table-row; display: table-row;
height: 60rpx; height: 70rpx;
vertical-align: middle; vertical-align: middle;
line-height: 60rpx; line-height: 70rpx;
} }
.table .thead{ .table .thead{
display: table-header-group; display: table-header-group;
...@@ -27,5 +27,12 @@ ...@@ -27,5 +27,12 @@
} }
.table .tr .th,.table .tr .td{ .table .tr .th,.table .tr .td{
display: table-cell; display: table-cell;
/* border: 1px solid #ddd; */
} }
.table .tr .th:first-child {
width: 100rpx;
padding: 0rpx 30rpx 0 0;
}
.table .tr .th:last-child {
padding-left: 10rpx;
box-sizing: border-box;
}
\ No newline at end of file
const PROJECT_ENV = 'pre' // 生产 prod, 测试 dev, 预生产 pre const PROJECT_ENV = 'dev' // 生产 prod, 测试 dev, 预生产 pre
const needMock = '' // const needMock = '' //
// appid_dev_wx wxc3b64b09b1d3dfc2 // appid_dev_wx wxc3b64b09b1d3dfc2
......
...@@ -37,7 +37,7 @@ wxService.page({ ...@@ -37,7 +37,7 @@ wxService.page({
if(orderNo){ if(orderNo){
this.initOrderDetail(orderNo) this.initOrderDetail(orderNo)
} }
// this.initOrderDetail('30119060422083416189296') // this.initOrderDetail('71110110025959520190610160256')
}, },
initOrderDetail(orderNo){ initOrderDetail(orderNo){
......
<!--pages/consumptionDetails.wxml--> <!--pages/consumptionDetails.wxml-->
<wxs src="../../wxs/utils.wxs" module="utils" /> <wxs src="../../wxs/utils.wxs" module="utils" />
<view class="consumption"> <view wx:if="{{!orderDetail.length}}">
<view class="no-speed">暂无消费</view>
</view>
<view class="consumption" wx:if="{{orderDetail.length}}">
<view class="consumption-top"> <view class="consumption-top">
<view class="top-ract" /> <view class="top-ract" />
<view class="top-order"> <view class="top-order">
......
...@@ -5,7 +5,6 @@ ...@@ -5,7 +5,6 @@
box-shadow: 0 0 10px #eee; box-shadow: 0 0 10px #eee;
padding:40rpx; padding:40rpx;
position: relative; position: relative;
/* background-color: pink; */
} }
.top-ract { .top-ract {
width: 20rpx; width: 20rpx;
...@@ -13,7 +12,7 @@ ...@@ -13,7 +12,7 @@
background: rgb(5, 195, 90); background: rgb(5, 195, 90);
border-radius:20rpx; border-radius:20rpx;
position: absolute; position: absolute;
top: 5%; top: 50rpx;
left: 0; left: 0;
} }
.consumption-top { .consumption-top {
...@@ -34,7 +33,9 @@ ...@@ -34,7 +33,9 @@
left: 35%; left: 35%;
} }
.consumption-table { .consumption-table {
height: 450rpx; min-height: 450rpx;
padding-bottom: 20rpx;
box-sizing: border-box;
} }
.consumption-img { .consumption-img {
width: 100%; width: 100%;
...@@ -96,6 +97,9 @@ ...@@ -96,6 +97,9 @@
border-bottom: 1px dashed #ccc; border-bottom: 1px dashed #ccc;
margin-bottom:60rpx; margin-bottom:60rpx;
} }
.top-data{ .no-speed {
/* padding-left: 20rpx; */ color: #ccc;
font-size: 28rpx;
text-align: center;
padding-top: 200rpx;
} }
\ No newline at end of file
...@@ -79,17 +79,17 @@ wxService.page({ ...@@ -79,17 +79,17 @@ wxService.page({
cardNoOnline: this.data.memberCardNo cardNoOnline: this.data.memberCardNo
} }
wxService.post(`/member/find`,params).then(res => { wxService.post(`/member/find`,params).then(res => {
const { result, data } = res.data const { result, data } = res.data
if (result == 0) { if (result == 0) {
wx.hideLoading() wx.hideLoading()
data.member.birthday = data.member.birthday.substring(0,10) data.member.birthday = data.member.birthday && data.member.birthday.substring(0,10)
data.member.sex = data.member.sex == '男'? 0 : 1 data.member.sex = data.member.sex == '男'? 0 : 1
this.setData({ this.setData({
memberInfo: data.member, memberInfo: data.member,
index: data.member.sex index: data.member.sex
}) })
} }
}) })
}, },
// 更新 // 更新
handelMemberUplate(params){ handelMemberUplate(params){
......
...@@ -20,7 +20,18 @@ ...@@ -20,7 +20,18 @@
<canvas canvas-id="barcode" /> <canvas canvas-id="barcode" />
</view> </view>
</view> </view>
<view class='form-info'>
<!-- <view class="section">
<view class="section__title">普通选择器</view>
<picker bindchange="bindPickerChange" value="{{index}}" range="{{array}}">
<view class="picker">
当前选择:{{array[index]}}
</view>
</picker>
</view>-->
<view class='form-info'>
<form bindsubmit="formSubmit"> <form bindsubmit="formSubmit">
<view class='form-section'> <view class='form-section'>
<label class='form-label'>姓名</label> <label class='form-label'>姓名</label>
......
/* pages/userCenter.wxss */ /* pages/userCenter.wxss */
@import './../../base/base.wxss'; @import './../../base/base.wxss';
/* .own-content{
padding: 30rpx 50rpx 0;
}
.user-info{
position: relative;
width: 650rpx;
height: 298rpx;
box-shadow: 0 0 40rpx 1rpx #ccc;
border-radius: 7rpx;
padding-top: 30rpx;
box-sizing:border-box;
}
.own-bg{
width: 100%;
height: 100%;
position: absolute;
top: 0;
left: 0;
z-index: -1;
}
.user-avatar{
width: 90rpx;
height: 90rpx;
overflow:hidden;
border-radius: 50%;
display: inline-block;
margin-right: 18rpx;
margin-left: 30rpx;
}
.user-name-content{
display: inline-block;
}
.user-name{
margin-bottom: 10rpx;
}
.user-id{
color: #FFF;
font-size: 24rpx;
}
.qr-code image{
width: 50rpx;
height: 50rpx;
margin-right: 31rpx;
margin-top:15rpx;
}
.user-qr-code{
background-color: #ffffff;
border-radius: 7rpx;
width:650rpx;
height: 100rpx;
line-height: 100rpx;
text-align: center;
}
canvas{
top: 20rpx;
left: 70rpx;
} */
.textarea-wrp { .textarea-wrp {
padding-left: 46rpx; padding-left: 46rpx;
} }
...@@ -39,7 +97,6 @@ ...@@ -39,7 +97,6 @@
display: inline-block; display: inline-block;
margin-right: 18rpx; margin-right: 18rpx;
margin-left: 30rpx; margin-left: 30rpx;
/* margin-top:-6rpx; */
} }
.userinfo-nickname { .userinfo-nickname {
font-size: 28rpx; font-size: 28rpx;
...@@ -74,7 +131,6 @@ ...@@ -74,7 +131,6 @@
height: 100rpx; height: 100rpx;
line-height: 100rpx; line-height: 100rpx;
text-align: center; text-align: center;
/* box-shadow: 0 0 10rpx 1rpx #666666; */
} }
.user-qr-code image{ .user-qr-code image{
...@@ -84,7 +140,6 @@ ...@@ -84,7 +140,6 @@
margin-top: 25rpx; margin-top: 25rpx;
} }
/* form表单 */
.form-info{ .form-info{
background-color: #ffffff; background-color: #ffffff;
margin-top: 60rpx; margin-top: 60rpx;
......
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
}, },
"compileType": "miniprogram", "compileType": "miniprogram",
"libVersion": "2.6.6", "libVersion": "2.6.6",
"appid": "wx358b56af62edbde1", "appid": "wxc3b64b09b1d3dfc2",
"projectname": "7-Eleven", "projectname": "7-Eleven",
"debugOptions": { "debugOptions": {
"hidedInDevtools": [] "hidedInDevtools": []
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment