Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
mini-program
/
hmd
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 7bcf767b
authored
Jul 21, 2023
by
李伟康
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
修复BUG&修改样式
1 parent
0001f32a
Hide whitespace changes
Inline
Side-by-side
Showing
15 changed files
with
58 additions
and
58 deletions
api/module/system.js
app.wxss
mixins/kfMixin.js
packageEquity/pages/allEquity/allEquity.scss
packageMall/components/Sku/Sku.wxss
packageMall/pages/coupon/coupon.wxml
packageMine/pages/address/index/index.js
packageMine/pages/coupon/center/center.scss
packageMine/pages/coupon/index/index.scss
packageMine/pages/coupon/success/success.wxss
packageMine/pages/coupon/usedDetail/usedDetail.scss
packageMine/pages/order/index/index.scss
pages/tab/index/components/customer/customer.wxss
pages/tab/mall/components/SearchBox/SearchBox.wxss
pages/tab/mall/index.wxml
api/module/system.js
View file @
7bcf767
...
...
@@ -51,5 +51,6 @@ const getMockData = async () => {
}
module
.
exports
=
{
getImageVersion
getImageVersion
,
getMockData
}
\ No newline at end of file
app.wxss
View file @
7bcf767
@import "assets/style/common.wxss";
page {
background-color: #F9F7F7;
background-color: #F9F7F7
!important
;
color: #282829;
font-size: 28rpx;
--themeColor: #8A303A;
...
...
mixins/kfMixin.js
View file @
7bcf767
// const kf_list = [{
// sapCode: 5036,
// url: 'https://work.weixin.qq.com/kfid/kfc82ffd378b8649621'
// },
// {
// sapCode: 5028,
// url: 'https://work.weixin.qq.com/kfid/kfcd636da4134201fbb'
// },
// {
// sapCode: 5016,
// url: 'https://work.weixin.qq.com/kfid/kfcdef92056fc8ef091'
// },
// ]
module
.
exports
=
Behavior
({
data
:
{},
methods
:
{
...
...
@@ -35,20 +22,27 @@ module.exports = Behavior({
customerlist
})
},
openKF
(
e
)
{
let
{
kfUrl
,
widgetStatus
}
=
this
.
data
async
openKF
(
e
)
{
let
{
kfUrl
,
widgetStatus
}
=
this
.
data
,
{
corpId
}
=
await
wx
.
p
.
api
.
systemApi
.
getMockData
()
if
(
kfUrl
)
wx
.
openCustomerServiceChat
({
extInfo
:
{
url
:
kfUrl
},
corpId
:
'wx51bda2e574d24a91'
,
corpId
,
success
(
res
)
{
console
.
log
(
res
)
},
fail
({
errMsg
})
{
fail
({
errMsg
})
{
console
.
log
(
errMsg
)
wx
.
p
.
wxApi
.
showToast
(
errMsg
)
wx
.
p
.
wxApi
.
showToast
(
errMsg
)
}
})
else
...
...
@@ -57,4 +51,4 @@ module.exports = Behavior({
})
}
}
})
})
\ No newline at end of file
packageEquity/pages/allEquity/allEquity.scss
View file @
7bcf767
/* packageEquity/pages/allEquity/allEquity.wxss */
page
{
background
:
#F
7F8FA
;
background
:
#F
9F7F7
;
}
.allEquity-container
{
...
...
packageMall/components/Sku/Sku.wxss
View file @
7bcf767
...
...
@@ -138,7 +138,7 @@
.sku-box .sku-item .item {
height: 52rpx;
background: #F
7F8FA
;
background: #F
9F7F7
;
padding: 0 20rpx;
margin: 20rpx 20rpx 0 0;
font-size: 24rpx;
...
...
packageMall/pages/coupon/coupon.wxml
View file @
7bcf767
...
...
@@ -141,34 +141,38 @@
<view class="liness" wx:if="{{index < list.length - 1}}"></view>
</block>
</view>
<view class="qr-box box" style="margin-bottom: 32rpx;" wx:if="{{couponDetail.suitMerchantLists && couponDetail.suitMerchantLists.length}}">
<view class="storeTitle">适用门店</view>
<view wx:for="{{couponDetail.suitMerchantLists}}" wx:key="index" class="store-box">
<view class="storeName">{{item.merchantName}}</view>
<view wx:if="{{item.bussinessBegintime}}" class="businessTime">营业时间:{{item.bussinessBegintime}}-{{item.bussinessEndtime}}</view>
<view wx:else class="businessTime">营业时间:无</view>
<view class="line" wx:if="{{item.merchantAddress}}"></view>
<view class="addressBox" wx:if="{{item.merchantAddress}}">
<view style="width: 552rpx;padding-right: 24rpx;">{{item.merchantAddress}}</view>
<view class="navigation" catchtap="jump" data-item="{{item}}">
<glsx-image webp src="mine/icon-go.png"></glsx-image>
<block wx:if="{{couponDetail.suitMerchantLists && couponDetail.suitMerchantLists.length}}">
<view class="qr-box box" style="margin-bottom: 32rpx;">
<view class="storeTitle">适用门店</view>
<view wx:for="{{couponDetail.suitMerchantLists}}" wx:key="index" class="store-box">
<view class="storeName">{{item.merchantName}}</view>
<view wx:if="{{item.bussinessBegintime}}" class="businessTime">营业时间:{{item.bussinessBegintime}}-{{item.bussinessEndtime}}</view>
<view wx:else class="businessTime">营业时间:无</view>
<view class="line" wx:if="{{item.merchantAddress}}"></view>
<view class="addressBox" wx:if="{{item.merchantAddress}}">
<view style="width: 552rpx;padding-right: 24rpx;">{{item.merchantAddress}}</view>
<view class="navigation" catchtap="jump" data-item="{{item}}">
<glsx-image webp src="mine/icon-go.png"></glsx-image>
</view>
</view>
</view>
</view>
</view>
<view wx:else class="qr-box box" style="margin-bottom: 32rpx;">
<view class="storeTitle">适用门店</view>
<view class="storeName">{{couponDetail.merchantName}}</view>
<view wx:if="{{couponDetail.bussinessBegintime}}" class="businessTime">营业时间:{{couponDetail.bussinessBegintime}}-{{couponDetail.bussinessEndtime}}</view>
<view wx:else class="businessTime">营业时间:无</view>
<view class="line" wx:if="{{couponDetail.merchantAddress}}"></view>
<view class="addressBox" wx:if="{{couponDetail.merchantAddress}}">
<view style="width: 552rpx;padding-right: 24rpx;">{{couponDetail.merchantAddress}}</view>
<view class="navigation-X" catchtap="jumpMap">
<glsx-image webp src="mine/{{useMemberType == 0?'navigation':'unNavigation'}}.png"></glsx-image>
</block>
<block wx:else>
<view class="qr-box box" style="margin-bottom: 32rpx;">
<view class="storeTitle">适用门店</view>
<view class="storeName">{{couponDetail.merchantName}}</view>
<view wx:if="{{couponDetail.bussinessBegintime}}" class="businessTime">营业时间:{{couponDetail.bussinessBegintime}}-{{couponDetail.bussinessEndtime}}</view>
<view wx:else class="businessTime">营业时间:无</view>
<view class="line" wx:if="{{couponDetail.merchantAddress}}"></view>
<view class="addressBox" wx:if="{{couponDetail.merchantAddress}}">
<view style="width: 552rpx;padding-right: 24rpx;">{{couponDetail.merchantAddress}}</view>
<view class="navigation-X" catchtap="jumpMap">
<glsx-image webp src="mine/{{useMemberType == 0?'navigation':'unNavigation'}}.png"></glsx-image>
</view>
</view>
</view>
</
view
>
</
block
>
<view class="associationBox" wx:if="{{couponDetail.relatedGoodsId}}">
<view class="box-X">
<view class="title">关联商品</view>
...
...
packageMine/pages/address/index/index.js
View file @
7bcf767
...
...
@@ -50,7 +50,7 @@ Page({
})
}
},
getUserAddressList
()
{
getUserAddressList
(
showTips
=
''
)
{
wx
.
showLoading
()
this
.
setData
({
addressList
:
[]
...
...
@@ -60,6 +60,7 @@ Page({
addressList
:
data
})
wx
.
hideLoading
()
if
(
showTips
)
wx
.
p
.
wxApi
.
showToast
(
showTips
)
})
},
chooseDefault
(
e
)
{
...
...
@@ -92,7 +93,7 @@ Page({
})
})
}
else
{
this
.
getUserAddressList
()
this
.
getUserAddressList
(
'默认地址更新成功'
)
}
})
},
...
...
packageMine/pages/coupon/center/center.scss
View file @
7bcf767
page
{
background
:
#F
7F8FA
;
background
:
#F
9F7F7
;
}
.center-page
{
...
...
packageMine/pages/coupon/index/index.scss
View file @
7bcf767
...
...
@@ -10,13 +10,13 @@
}
page
{
background
:
#F
7F8FA
;
background
:
#F
9F7F7
;
}
.tab_widget
{
width
:
100%
;
height
:
92rpx
;
background
:
#F
FFFFF
;
background
:
#F
9F7F7
;
}
.tab_element
{
...
...
packageMine/pages/coupon/success/success.wxss
View file @
7bcf767
page {
background: #F
7F8FA
;
background: #F
9F7F7
;
}
.success_page {
...
...
packageMine/pages/coupon/usedDetail/usedDetail.scss
View file @
7bcf767
...
...
@@ -10,7 +10,7 @@
}
page
{
background
:
#F
7F8FA
;
background
:
#F
9F7F7
;
}
.tab_widget
{
...
...
packageMine/pages/order/index/index.scss
View file @
7bcf767
...
...
@@ -38,7 +38,7 @@
left
:
80rpx
;
width
:
420rpx
;
height
:
72rpx
;
background
:
#
f7f8fa
;
background
:
#
F9F7F7
;
border-radius
:
36rpx
;
display
:
flex
;
align-items
:
center
;
...
...
pages/tab/index/components/customer/customer.wxss
View file @
7bcf767
...
...
@@ -119,7 +119,7 @@
bottom: 0;
z-index: 999998;
display: flex;
background: #F
7F8FA
;
background: #F
9F7F7
;
border-radius: 0 0 10px 10px;
padding: 0 40rpx;
box-sizing: border-box;
...
...
pages/tab/mall/components/SearchBox/SearchBox.wxss
View file @
7bcf767
...
...
@@ -3,7 +3,7 @@
height: 104rpx;
box-sizing: border-box;
padding: 0 var(--margin);
background-color: #
fff
;
background-color: #
F9F7F7
;
}
.box-center {
...
...
@@ -69,7 +69,7 @@
align-items: center;
width: 592rpx;
height: 100%;
background: #
F8F8F8
;
background: #
fff
;
border-radius: 38rpx;
}
...
...
pages/tab/mall/index.wxml
View file @
7bcf767
<navigation-bar bindnavbarReady="navbarReady">商城</navigation-bar>
<navigation-bar bindnavbarReady="navbarReady"
navStyle="background-color:#F9F7F7;"
>商城</navigation-bar>
<view class="mall-layout" style="margin-top: {{navHeight}}px;">
<search-box search-type="2" bindsearch="search" model:value="{{searchVal}}"></search-box>
<block wx:if="{{flag}}">
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment