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
0ece76cd
You need to sign in or sign up before continuing.
Commit
0ece76cd
authored
Mar 02, 2020
by
谢中龙
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'mall_dev_7.5.0' into 'mall_dev_7.9.0'
Mall dev 7.5.0 See merge request
!179
parents
ce058cb8
38aaa11c
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
72 additions
and
38 deletions
+72
-38
imageSwiper.wxml
src/component/imageSwiper/imageSwiper.wxml
+3
-0
picNav.wxml
src/component/picNav/picNav.wxml
+3
-1
productListStyleOne.wxml
src/component/productListStyleOne/productListStyleOne.wxml
+1
-1
productListStyleTwo.wxml
src/component/productListStyleTwo/productListStyleTwo.wxml
+5
-9
index.js
src/config/index.js
+1
-1
confirmOrder.wxml
src/pages/confirmOrder/confirmOrder.wxml
+11
-8
confirmOrder.wxss
src/pages/confirmOrder/confirmOrder.wxss
+44
-16
coupons.js
src/pages/coupons/coupons.js
+3
-1
project.config.json
src/project.config.json
+1
-1
No files found.
src/component/imageSwiper/imageSwiper.wxml
View file @
0ece76cd
...
@@ -27,6 +27,7 @@
...
@@ -27,6 +27,7 @@
id="swiperImg{{index}}"
id="swiperImg{{index}}"
mode="widthFix"
mode="widthFix"
class="slide-image"
class="slide-image"
lazy-load
/>
/>
</button>
</button>
<view wx:if="{{currentHasUserInfo}}">
<view wx:if="{{currentHasUserInfo}}">
...
@@ -43,6 +44,7 @@
...
@@ -43,6 +44,7 @@
id="swiperImg{{index}}"
id="swiperImg{{index}}"
mode="widthFix"
mode="widthFix"
class="slide-image"
class="slide-image"
lazy-load
/>
/>
</view>
</view>
</view>
</view>
...
@@ -62,6 +64,7 @@
...
@@ -62,6 +64,7 @@
id="swiperImg{{index}}"
id="swiperImg{{index}}"
mode="widthFix"
mode="widthFix"
class="slide-image"
class="slide-image"
lazy-load
/>
/>
</view>
</view>
</view>
</view>
...
...
src/component/picNav/picNav.wxml
View file @
0ece76cd
...
@@ -29,6 +29,7 @@
...
@@ -29,6 +29,7 @@
bindload="imageLoad"
bindload="imageLoad"
bindtap='preview'
bindtap='preview'
mode="widthFix"
mode="widthFix"
lazy-load
/>
/>
</button>
</button>
...
@@ -44,7 +45,7 @@
...
@@ -44,7 +45,7 @@
bindload="imageLoad"
bindload="imageLoad"
bindtap='preview'
bindtap='preview'
mode="widthFix"
mode="widthFix"
lazy-load="true"
/>
/>
</view>
</view>
<view wx:else>
<view wx:else>
...
@@ -59,6 +60,7 @@
...
@@ -59,6 +60,7 @@
bindload="imageLoad"
bindload="imageLoad"
bindtap='preview'
bindtap='preview'
mode="widthFix"
mode="widthFix"
lazy-load
/>
/>
</view>
</view>
</view>
</view>
...
...
src/component/productListStyleOne/productListStyleOne.wxml
View file @
0ece76cd
...
@@ -16,7 +16,7 @@
...
@@ -16,7 +16,7 @@
<template name="water-list">
<template name="water-list">
<navigator hover-class="none" url="/pages/productDetail/productDetail?id={{productId}}">
<navigator hover-class="none" url="/pages/productDetail/productDetail?id={{productId}}">
<view class="item">
<view class="item">
<image class="item-img" src="{{indexUrl}}" mode="widthFix"></image>
<image class="item-img" src="{{indexUrl}}" mode="widthFix"
lazy-load
></image>
<view class="item-title-box">
<view class="item-title-box">
<view class="item-title">{{productName}}</view>
<view class="item-title">{{productName}}</view>
</view>
</view>
...
...
src/component/productListStyleTwo/productListStyleTwo.wxml
View file @
0ece76cd
<!--component/productListStyleTwo/productListStyleTwo.wxml-->
<!--component/productListStyleTwo/productListStyleTwo.wxml-->
<wxs src="../../wxs/utils.wxs" module="utils" />
<wxs src="../../wxs/utils.wxs" module="utils" />
<block wx:for="{{imageData}}" wx:key="
{{index}}
">
<block wx:for="{{imageData}}" wx:key="
*this
">
<navigator hover-class="none" url="/pages/productDetail/productDetail?id={{menuSec.productId}}">
<navigator hover-class="none" url="/pages/productDetail/productDetail?id={{menuSec.productId}}">
<view class="hot-item border_box" >
<view class="hot-item border_box" >
<view class="hot-img-box">
<view class="hot-img-box">
<image class="hot-img" src="{{item.indexUrl}}" mode="widthFix" lazy-load
="false" binderror="" bindload=""
/>
<image class="hot-img" src="{{item.indexUrl}}" mode="widthFix" lazy-load />
</view>
</view>
<view class="hot-item-desc border_box">
<view class="hot-item-desc border_box">
<view class="item-name">{{item.productName}}</view>
<view class="item-name">{{item.productName}}</view>
<!-- <view class="item-desc">{{item.productStatusDesc}}</view>-->
<!-- <view class="item-desc">{{item.productStatusDesc}}</view>-->
<view class="item-vip-price weui-flex">
<view class="item-vip-price weui-flex">
<text class="vip-sale-price border_box">¥{{item.memberPrice ? utils.numberFormat(item.memberPrice / 100) : utils.numberFormat(item.minSalePrice / 100)}}</text>
<text class="vip-sale-price border_box">
¥{{item.memberPrice ? utils.numberFormat(item.memberPrice / 100) : utils.numberFormat(item.minSalePrice / 100)}}
</text>
<view class="" >
<view class="" >
<image
<image
class="item-vip"
class="item-vip"
src="./../../assets/imgs/7_1_0/vip.png"
src="./../../assets/imgs/7_1_0/vip.png"
mode="widthFix"
mode="widthFix"
lazy-load="false"
binderror=""
bindload=""
wx:if="{{item.memberPrice}}"
wx:if="{{item.memberPrice}}"
/>
/>
</view>
</view>
...
@@ -33,12 +32,9 @@
...
@@ -33,12 +32,9 @@
src="./../../assets/imgs/7_1_0/plus.png"
src="./../../assets/imgs/7_1_0/plus.png"
mode="widthFix"
mode="widthFix"
lazy-load="false"
lazy-load="false"
binderror=""
bindload=""
/>
/>
</view>
</view>
</view>
</view>
<view/>
<view/>
</view>
</view>
</view>
</view>
...
...
src/config/index.js
View file @
0ece76cd
...
@@ -21,7 +21,7 @@ const PROJECT_ENV = 'prod' // 生产 prod, 开发 dev, 测试 test , 测试门
...
@@ -21,7 +21,7 @@ const PROJECT_ENV = 'prod' // 生产 prod, 开发 dev, 测试 test , 测试门
//2015 花在花园
//2015 花在花园
//2016 阿吉豆
//2016 阿吉豆
//2017 ACTREE wx2aae34874e88cdf5
//2017 ACTREE wx2aae34874e88cdf5
const
BRANCH_ID
=
2006
const
BRANCH_ID
=
3001
const
isMall
=
true
const
isMall
=
true
// const needMock = '' //
// const needMock = '' //
...
...
src/pages/confirmOrder/confirmOrder.wxml
View file @
0ece76cd
...
@@ -228,19 +228,22 @@
...
@@ -228,19 +228,22 @@
</view>
</view>
</view>
</view>
<view class="pro-footer">
<
!-- <
view class="pro-footer">
<view class="cost">
<view class="cost">
<text class="cost-label">实付款:</text>
<text class="cost-label">实付款:</text>
<text class="cost-price">¥{{utils.numberFormat(orderPrice)}}</text>
<text class="cost-price">¥{{utils.numberFormat(orderPrice)}}</text>
</view>
</view>
<view class="theme-color buy-btn positionRe">
<view class="theme-color buy-btn">
<!-- <button wx:if="{{!currentHasUserInfo}}"
<button form-type="submit" class="theme-color">立即购买</button>
bindgetuserinfo="_getUserInfo"
open-type='getUserInfo'
class='positionAbs' ></button> -->
<button form-type="submit" style="display: inline;" class="theme-color buy-btn">立即购买</button>
</view>
</view>
</view>
</view> -->
<view class="footer-btns">
<view class="order-price-info">
<text class="cost-label">实付款:</text>
<text class="cost-price">¥{{utils.numberFormat(orderPrice)}}</text>
</view>
<button form-type="submit" class="theme-color">立即购买</button>
</view>
</form>
</form>
</view>
</view>
<!--goHome-->
<!--goHome-->
...
...
src/pages/confirmOrder/confirmOrder.wxss
View file @
0ece76cd
...
@@ -215,18 +215,54 @@
...
@@ -215,18 +215,54 @@
height: 88rpx;
height: 88rpx;
z-index: 2;
z-index: 2;
background: #ffffff;
background: #ffffff;
width: 100%;
/* margin-top: 100rpx; */
/* margin-top: 100rpx; */
}
}
.cost{
width: 497rpx;
.footer-btns{
position: fixed;
bottom: 0;
left: 0;
width: 100%;
height: 88rpx;
height: 88rpx;
line-height: 80rpx;
background: #ffffff;
display: inline-block;
z-index: 2;
display: flex;
}
.footer-btns .order-price-info{
flex: 1;
height: 100%;
display: flex;
align-items: center;
justify-content: flex-end;
padding-right: 40rpx;
border-top: 1px solid rgba(151, 151, 151, 0.3);
border-top: 1px solid rgba(151, 151, 151, 0.3);
text-align: right;
padding-right: 39rpx;
background-color: #ffffff;
}
}
.footer-btns button{
width: 100%;
height: 100%;
color: #ffffff;
flex: 0;
min-width: 214rpx;
max-width: 214rpx;
display: flex;
align-items: center;
justify-content: center;
font-size: 25rpx;
appearance: none;
}
.button-hover, .button-active{
background-color: #cb3c3c !important;
}
.footer-btns button:active{
opacity: 0.7;
}
.cost-label{
.cost-label{
font-size: 26rpx;
font-size: 26rpx;
color: #808080;
color: #808080;
...
@@ -235,15 +271,7 @@
...
@@ -235,15 +271,7 @@
color: #cb3c3c;
color: #cb3c3c;
font-size: 32rpx;
font-size: 32rpx;
}
}
.buy-btn{
width: 214rpx;
height: 88rpx;
text-align: center;
line-height: 88rpx;
color: #ffffff;
display: inline-block;
font-size: 25rpx;
}
.vip-desc{
.vip-desc{
font-size: 22rpx;
font-size: 22rpx;
color: #aaaaaa;
color: #aaaaaa;
...
...
src/pages/coupons/coupons.js
View file @
0ece76cd
...
@@ -74,7 +74,9 @@ wxService.page({
...
@@ -74,7 +74,9 @@ wxService.page({
/**
/**
* 生命周期函数--监听页面加载
* 生命周期函数--监听页面加载
*/
*/
onLoad
()
{},
onLoad
()
{
wx
.
hideShareMenu
();
},
/**
/**
* 生命周期函数--监听页面显示
* 生命周期函数--监听页面显示
*/
*/
...
...
src/project.config.json
View file @
0ece76cd
...
@@ -13,7 +13,7 @@
...
@@ -13,7 +13,7 @@
},
},
"compileType"
:
"miniprogram"
,
"compileType"
:
"miniprogram"
,
"libVersion"
:
"2.8.2"
,
"libVersion"
:
"2.8.2"
,
"appid"
:
"wx
40fec8944623c8b3
"
,
"appid"
:
"wx
313ec36b710125d4
"
,
"projectname"
:
"%E5%BE%AE%E5%95%86%E5%9F%8E"
,
"projectname"
:
"%E5%BE%AE%E5%95%86%E5%9F%8E"
,
"debugOptions"
:
{
"debugOptions"
:
{
"hidedInDevtools"
:
[]
"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