Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
7
7-Eleven
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
高淑倩
7-Eleven
Commits
abf8824a
Commit
abf8824a
authored
Jun 10, 2019
by
赵雅纹
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'dev' into feature-zyw
parents
8efb97a2
e43eb651
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
105 additions
and
20 deletions
+105
-20
app.js
src/app.js
+2
-2
app.json
src/app.json
+3
-1
base.wxss
src/base/base.wxss
+0
-0
table.wxss
src/component/table/table.wxss
+12
-4
index.js
src/config/index.js
+1
-1
consumptionDetails.js
src/pages/consumptionDetails/consumptionDetails.js
+1
-1
consumptionDetails.wxml
src/pages/consumptionDetails/consumptionDetails.wxml
+5
-1
consumptionDetails.wxss
src/pages/consumptionDetails/consumptionDetails.wxss
+10
-5
memberOfOwn.js
src/pages/memberOfOwn/memberOfOwn.js
+1
-1
memberOfOwn.wxml
src/pages/memberOfOwn/memberOfOwn.wxml
+11
-0
memberOfOwn.wxss
src/pages/memberOfOwn/memberOfOwn.wxss
+58
-3
project.config.json
src/project.config.json
+1
-1
No files found.
src/app.js
View file @
abf8824a
...
...
@@ -113,7 +113,7 @@ App({
loginFirst
:
false
,
imageUrl
:
""
,
//图片地址
isFullSucreen
:
false
,
// 当前设备是否为 FullSucreen
brandId
:
2005
,
//
brandId: 1001,
//
brandId: 2005,
brandId
:
1001
,
}
})
src/app.json
View file @
abf8824a
...
...
@@ -23,6 +23,7 @@
"navigateToMiniProgramAppIdList"
:
[
"wxeb490c6f9b154ef9"
,
"wxcf6d299fecd830cf"
,
"wx5717ceb7cfa09f2e"
"wx5717ceb7cfa09f2e"
,
"wx358b56af62edbde1"
]
}
\ No newline at end of file
src/base/base.wxss
View file @
abf8824a
This diff is collapsed.
Click to expand it.
src/component/table/table.wxss
View file @
abf8824a
...
...
@@ -3,15 +3,15 @@
border-collapse: collapse;
font-size: 28rpx;
color: #333333;
text-align:
center
;
text-align:
left
;
vertical-align: middle;
width: 100%;
}
.table .tr{
display: table-row;
height:
6
0rpx;
height:
7
0rpx;
vertical-align: middle;
line-height:
6
0rpx;
line-height:
7
0rpx;
}
.table .thead{
display: table-header-group;
...
...
@@ -27,5 +27,12 @@
}
.table .tr .th,.table .tr .td{
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
src/config/index.js
View file @
abf8824a
const
PROJECT_ENV
=
'
pre
'
// 生产 prod, 测试 dev, 预生产 pre
const
PROJECT_ENV
=
'
dev
'
// 生产 prod, 测试 dev, 预生产 pre
const
needMock
=
''
//
// appid_dev_wx wxc3b64b09b1d3dfc2
...
...
src/pages/consumptionDetails/consumptionDetails.js
View file @
abf8824a
...
...
@@ -37,7 +37,7 @@ wxService.page({
if
(
orderNo
){
this
.
initOrderDetail
(
orderNo
)
}
// this.initOrderDetail('
3011906042208341618929
6')
// this.initOrderDetail('
7111011002595952019061016025
6')
},
initOrderDetail
(
orderNo
){
...
...
src/pages/consumptionDetails/consumptionDetails.wxml
View file @
abf8824a
<!--pages/consumptionDetails.wxml-->
<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="top-ract" />
<view class="top-order">
...
...
src/pages/consumptionDetails/consumptionDetails.wxss
View file @
abf8824a
...
...
@@ -5,7 +5,6 @@
box-shadow: 0 0 10px #eee;
padding:40rpx;
position: relative;
/* background-color: pink; */
}
.top-ract {
width: 20rpx;
...
...
@@ -13,7 +12,7 @@
background: rgb(5, 195, 90);
border-radius:20rpx;
position: absolute;
top: 5
%
;
top: 5
0rpx
;
left: 0;
}
.consumption-top {
...
...
@@ -34,7 +33,9 @@
left: 35%;
}
.consumption-table {
height: 450rpx;
min-height: 450rpx;
padding-bottom: 20rpx;
box-sizing: border-box;
}
.consumption-img {
width: 100%;
...
...
@@ -96,6 +97,9 @@
border-bottom: 1px dashed #ccc;
margin-bottom:60rpx;
}
.top-data{
/* padding-left: 20rpx; */
.no-speed {
color: #ccc;
font-size: 28rpx;
text-align: center;
padding-top: 200rpx;
}
\ No newline at end of file
src/pages/memberOfOwn/memberOfOwn.js
View file @
abf8824a
...
...
@@ -82,7 +82,7 @@ wxService.page({
const
{
result
,
data
}
=
res
.
data
if
(
result
==
0
)
{
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
this
.
setData
({
memberInfo
:
data
.
member
,
...
...
src/pages/memberOfOwn/memberOfOwn.wxml
View file @
abf8824a
...
...
@@ -20,6 +20,17 @@
<canvas canvas-id="barcode" />
</view>
</view>
<!-- <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">
<view class='form-section'>
...
...
src/pages/memberOfOwn/memberOfOwn.wxss
View file @
abf8824a
/* pages/userCenter.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 {
padding-left: 46rpx;
}
...
...
@@ -39,7 +97,6 @@
display: inline-block;
margin-right: 18rpx;
margin-left: 30rpx;
/* margin-top:-6rpx; */
}
.userinfo-nickname {
font-size: 28rpx;
...
...
@@ -74,7 +131,6 @@
height: 100rpx;
line-height: 100rpx;
text-align: center;
/* box-shadow: 0 0 10rpx 1rpx #666666; */
}
.user-qr-code image{
...
...
@@ -84,7 +140,6 @@
margin-top: 25rpx;
}
/* form表单 */
.form-info{
background-color: #ffffff;
margin-top: 60rpx;
...
...
src/project.config.json
View file @
abf8824a
...
...
@@ -13,7 +13,7 @@
},
"compileType"
:
"miniprogram"
,
"libVersion"
:
"2.6.6"
,
"appid"
:
"wx
358b56af62edbde1
"
,
"appid"
:
"wx
c3b64b09b1d3dfc2
"
,
"projectname"
:
"7-Eleven"
,
"debugOptions"
:
{
"hidedInDevtools"
:
[]
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment