Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas_plus
/
store-assistant
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 40c99a7a
authored
Nov 01, 2022
by
张晓玮
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'zhangxw_dev_3.0' into 'v3.0'
线上问题 样式优化 See merge request
!123
2 parents
fcc25d5b
c22b0d67
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
37 additions
and
20 deletions
packageActivity/pages/applyActivity/applyActivity.scss
packageActivity/pages/applyActivity/applyActivity.wxml
pages/authentication/customerService/customerService.scss
pages/tab/discovery/components/product/product.wxml
pages/tab/index/components/activeBox/activeBox.js
pages/tab/index/components/activityDiagnosis/activityDiagnosis.js
utils/request/environment.js
utils/request/request.js
utils/share.js
packageActivity/pages/applyActivity/applyActivity.scss
View file @
40c99a7
...
@@ -12,7 +12,7 @@ page {
...
@@ -12,7 +12,7 @@ page {
// left: 50%;
// left: 50%;
// transform: translateX(-50%);
// transform: translateX(-50%);
width
:
100%
;
width
:
100%
;
padding
:
0
24
rpx
;
padding
:
0
10
rpx
;
box-sizing
:
border-box
;
box-sizing
:
border-box
;
}
}
...
@@ -65,16 +65,14 @@ page {
...
@@ -65,16 +65,14 @@ page {
box-sizing
:
border-box
;
box-sizing
:
border-box
;
padding-left
:
32rpx
;
padding-left
:
32rpx
;
}
}
.widget
{
.widget
{
box-sizing
:
border-box
;
box-sizing
:
border-box
;
padding
:
0
16rp
x
;
display
:
fle
x
;
display
:
fle
x
;
padding
:
0
10rp
x
;
.element
{
.element
{
flex
:
0
0
23%
;
width
:
25%
;
// width: 154rpx;
height
:
180rpx
;
height
:
180rpx
;
margin-right
:
2%
;
margin-right
:
4rpx
;
background
:
#F7F8FA
;
background
:
#F7F8FA
;
border-radius
:
16rpx
;
border-radius
:
16rpx
;
display
:
flex
;
display
:
flex
;
...
@@ -97,14 +95,18 @@ page {
...
@@ -97,14 +95,18 @@ page {
.tip
{
.tip
{
font-size
:
18rpx
;
font-size
:
18rpx
;
color
:
#8A8C90
;
color
:
#323436
;
line-height
:
24rpx
;
line-height
:
24rpx
;
font-weight
:
500
;
}
}
.active_color
{
.active_color
{
color
:
#4466F0
;
color
:
#4466F0
;
}
}
}
}
:last-child
{
margin
:
0
;
}
.active
{
.active
{
background-image
:
linear-gradient
(
145deg
,
#E6E6FF
0%
,
#FFFFFF
73%
);
background-image
:
linear-gradient
(
145deg
,
#E6E6FF
0%
,
#FFFFFF
73%
);
...
...
packageActivity/pages/applyActivity/applyActivity.wxml
View file @
40c99a7
...
@@ -12,8 +12,8 @@
...
@@ -12,8 +12,8 @@
<view class="label">开通门店活动产品/活动</view>
<view class="label">开通门店活动产品/活动</view>
</view>
</view>
<view class="sinceTitle">业务场景</view>
<view class="sinceTitle">业务场景</view>
<view class="widget">
<view class="widget">
<block wx:for="{{list}}" wx:key="index">
<block wx:for="{{list}}" wx:key="index">
<view bind:tap="select" data-index="{{index}}" data-item="{{item}}" class="element {{currentIndex==index?'active':''}}">
<view bind:tap="select" data-index="{{index}}" data-item="{{item}}" class="element {{currentIndex==index?'active':''}}">
<image webp mode="widthFix" class="icon" src="{{IMGURL}}apply_activity_icon_{{index+1}}.png" />
<image webp mode="widthFix" class="icon" src="{{IMGURL}}apply_activity_icon_{{index+1}}.png" />
<view class="name {{currentIndex==index?'active_color':''}}">
<view class="name {{currentIndex==index?'active_color':''}}">
...
@@ -26,7 +26,7 @@
...
@@ -26,7 +26,7 @@
<!-- <view class="triangle-down_temp"></view> -->
<!-- <view class="triangle-down_temp"></view> -->
</view>
</view>
</block>
</block>
</view>
</view>
<view class="title_tip">
<view class="title_tip">
产品/活动
产品/活动
<text class="tips">(可多选)</text>
<text class="tips">(可多选)</text>
...
@@ -46,7 +46,7 @@
...
@@ -46,7 +46,7 @@
</block>
</block>
<block wx:else>
<block wx:else>
<view class="emptyData" style="margin-top: {{headerHeight+32}}px;">
<view class="emptyData" style="margin-top: {{headerHeight+32}}px;">
<image src="{{IMGURL}}toLink.png" style="height: 400rpx;width: 400rpx;"></image>
<image
webp
src="{{IMGURL}}toLink.png" style="height: 400rpx;width: 400rpx;"></image>
<view class="tip">
<view class="tip">
<view>您的门店尚未开通业务场景,</view>
<view>您的门店尚未开通业务场景,</view>
<view>请联系在线客服进行咨询,谢谢。</view>
<view>请联系在线客服进行咨询,谢谢。</view>
...
...
pages/authentication/customerService/customerService.scss
View file @
40c99a7
...
@@ -2,7 +2,6 @@
...
@@ -2,7 +2,6 @@
.container
{
.container
{
background-color
:
#F6F8FA
;
background-color
:
#F6F8FA
;
padding
:
180rpx
32rpx
;
padding
:
180rpx
32rpx
;
height
:
100vh
;
.service-wrap
{
.service-wrap
{
width
:
100%
;
width
:
100%
;
background-color
:
#fff
;
background-color
:
#fff
;
...
...
pages/tab/discovery/components/product/product.wxml
View file @
40c99a7
...
@@ -22,7 +22,7 @@
...
@@ -22,7 +22,7 @@
<view class="share-btn" wx:if="{{!isShare}}" bindtap="toSharePage">
<view class="share-btn" wx:if="{{!isShare}}" bindtap="toSharePage">
<image class="icon" src="{{IMGURL}}share.png"></image>
<image class="icon" src="{{IMGURL}}share.png"></image>
<text>分享</text>
<text>
去
分享</text>
</view>
</view>
</view>
</view>
</view>
</view>
...
...
pages/tab/index/components/activeBox/activeBox.js
View file @
40c99a7
...
@@ -96,6 +96,12 @@ Component({
...
@@ -96,6 +96,12 @@ Component({
this
.
setData
({
this
.
setData
({
[
itemVal
]:
val
[
itemVal
]:
val
})
})
}).
catch
(
err
=>
{
val
.
isloading
=
false
let
itemVal
=
'activeList['
+
idx
+
']'
this
.
setData
({
[
itemVal
]:
val
})
})
})
}
else
if
(
flag
&&
val
.
missionList
)
{
// 已请求数据 展开默认选中当天
}
else
if
(
flag
&&
val
.
missionList
)
{
// 已请求数据 展开默认选中当天
val
.
newtaskCalenderList
=
this
.
calenderFilter
(
JSON
.
parse
(
JSON
.
stringify
(
val
.
missionList
))
||
[],
7
)
val
.
newtaskCalenderList
=
this
.
calenderFilter
(
JSON
.
parse
(
JSON
.
stringify
(
val
.
missionList
))
||
[],
7
)
...
...
pages/tab/index/components/activityDiagnosis/activityDiagnosis.js
View file @
40c99a7
...
@@ -70,6 +70,12 @@ Component({
...
@@ -70,6 +70,12 @@ Component({
this
.
setData
({
this
.
setData
({
[
itemVal
]:
val
[
itemVal
]:
val
})
})
}).
catch
(
err
=>
{
val
.
isloading
=
false
let
itemVal
=
'activityList['
+
ind
+
']'
this
.
setData
({
[
itemVal
]:
val
})
})
})
}
else
{
}
else
{
val
.
isCollapse
=
!
flag
val
.
isCollapse
=
!
flag
...
...
utils/request/environment.js
View file @
40c99a7
...
@@ -39,7 +39,7 @@ const domain = {
...
@@ -39,7 +39,7 @@ const domain = {
商城: 192.168.2.3:8558 */
商城: 192.168.2.3:8558 */
dev
:
'https://scrm.dev.glsx.com.cn'
,
dev
:
'https://scrm.dev.glsx.com.cn'
,
uat
:
'https://scrm.test.glsx.com.cn'
,
uat
:
'https://scrm.test.glsx.com.cn'
,
//
uat: 'https://scrm.beta.glsx.com.cn',
//
uat: 'https://scrm.beta.glsx.com.cn',
prod
:
'https://scrm.glsx.com.cn'
prod
:
'https://scrm.glsx.com.cn'
}[
target
[
index
]]
}[
target
[
index
]]
...
...
utils/request/request.js
View file @
40c99a7
...
@@ -68,11 +68,11 @@ class Request {
...
@@ -68,11 +68,11 @@ class Request {
if
(
code
==
'0'
)
{
if
(
code
==
'0'
)
{
resolve
(
data
.
data
)
resolve
(
data
.
data
)
}
else
{
}
else
{
console
.
log
(
data
)
wx
.
showToast
({
wx
.
showToast
({
title
:
message
||
'系统异常'
,
title
:
message
||
'系统异常'
,
icon
:
'none'
icon
:
'none'
})
})
reject
(
data
)
}
}
}
}
},
},
...
@@ -87,7 +87,11 @@ class Request {
...
@@ -87,7 +87,11 @@ class Request {
},
},
complete
()
{
complete
()
{
requestTimes
--
;
requestTimes
--
;
if
(
requestTimes
==
0
)
wx
.
hideLoading
();
if
(
requestTimes
==
0
)
{
setTimeout
(()
=>
{
wx
.
hideLoading
()
},
1500
)
}
wx
.
stopPullDownRefresh
()
wx
.
stopPullDownRefresh
()
wx
.
hideNavigationBarLoading
()
wx
.
hideNavigationBarLoading
()
}
}
...
...
utils/share.js
View file @
40c99a7
...
@@ -51,7 +51,7 @@ pageLeaveProxy(page) {
...
@@ -51,7 +51,7 @@ pageLeaveProxy(page) {
// path += that.setCommonShareQuery()
// path += that.setCommonShareQuery()
if
(
shareQuery
)
path
+=
`?
${
shareQuery
}
`
if
(
shareQuery
)
path
+=
`?
${
shareQuery
}
`
if
(
!
noPageAuth
)
path
=
`/
logi
n/loading/loading?url=
${
encodeURIComponent
(
path
)}
`
if
(
!
noPageAuth
)
path
=
`/
authenticatio
n/loading/loading?url=
${
encodeURIComponent
(
path
)}
`
if
(
shareFun
)
shareFun
()
if
(
shareFun
)
shareFun
()
if
(
shareTrackData
)
that
.
reportShareData
(
shareTrackData
)
if
(
shareTrackData
)
that
.
reportShareData
(
shareTrackData
)
console
.
log
(
'::'
,
path
)
console
.
log
(
'::'
,
path
)
...
...
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