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 c22b0d67
authored
Nov 01, 2022
by
zhangxw
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
线上问题 样式优化
1 parent
d14ad6c2
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 @
c22b0d6
...
...
@@ -12,7 +12,7 @@ page {
// left: 50%;
// transform: translateX(-50%);
width
:
100%
;
padding
:
0
24
rpx
;
padding
:
0
10
rpx
;
box-sizing
:
border-box
;
}
...
...
@@ -65,16 +65,14 @@ page {
box-sizing
:
border-box
;
padding-left
:
32rpx
;
}
.widget
{
box-sizing
:
border-box
;
padding
:
0
16rp
x
;
display
:
fle
x
;
display
:
fle
x
;
padding
:
0
10rp
x
;
.element
{
flex
:
0
0
23%
;
// width: 154rpx;
width
:
25%
;
height
:
180rpx
;
margin-right
:
2%
;
margin-right
:
4rpx
;
background
:
#F7F8FA
;
border-radius
:
16rpx
;
display
:
flex
;
...
...
@@ -97,14 +95,18 @@ page {
.tip
{
font-size
:
18rpx
;
color
:
#8A8C90
;
line-height
:
24rpx
;
color
:
#323436
;
line-height
:
24rpx
;
font-weight
:
500
;
}
.active_color
{
color
:
#4466F0
;
}
}
}
:last-child
{
margin
:
0
;
}
.active
{
background-image
:
linear-gradient
(
145deg
,
#E6E6FF
0%
,
#FFFFFF
73%
);
...
...
packageActivity/pages/applyActivity/applyActivity.wxml
View file @
c22b0d6
...
...
@@ -12,8 +12,8 @@
<view class="label">开通门店活动产品/活动</view>
</view>
<view class="sinceTitle">业务场景</view>
<view class="widget">
<block wx:for="{{list}}" wx:key="index">
<view class="widget">
<block wx:for="{{list}}" wx:key="index">
<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" />
<view class="name {{currentIndex==index?'active_color':''}}">
...
...
@@ -26,7 +26,7 @@
<!-- <view class="triangle-down_temp"></view> -->
</view>
</block>
</view>
</view>
<view class="title_tip">
产品/活动
<text class="tips">(可多选)</text>
...
...
@@ -46,7 +46,7 @@
</block>
<block wx:else>
<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>您的门店尚未开通业务场景,</view>
<view>请联系在线客服进行咨询,谢谢。</view>
...
...
pages/authentication/customerService/customerService.scss
View file @
c22b0d6
...
...
@@ -2,7 +2,6 @@
.container
{
background-color
:
#F6F8FA
;
padding
:
180rpx
32rpx
;
height
:
100vh
;
.service-wrap
{
width
:
100%
;
background-color
:
#fff
;
...
...
pages/tab/discovery/components/product/product.wxml
View file @
c22b0d6
...
...
@@ -22,7 +22,7 @@
<view class="share-btn" wx:if="{{!isShare}}" bindtap="toSharePage">
<image class="icon" src="{{IMGURL}}share.png"></image>
<text>分享</text>
<text>
去
分享</text>
</view>
</view>
</view>
...
...
pages/tab/index/components/activeBox/activeBox.js
View file @
c22b0d6
...
...
@@ -96,6 +96,12 @@ Component({
this
.
setData
({
[
itemVal
]:
val
})
}).
catch
(
err
=>
{
val
.
isloading
=
false
let
itemVal
=
'activeList['
+
idx
+
']'
this
.
setData
({
[
itemVal
]:
val
})
})
}
else
if
(
flag
&&
val
.
missionList
)
{
// 已请求数据 展开默认选中当天
val
.
newtaskCalenderList
=
this
.
calenderFilter
(
JSON
.
parse
(
JSON
.
stringify
(
val
.
missionList
))
||
[],
7
)
...
...
pages/tab/index/components/activityDiagnosis/activityDiagnosis.js
View file @
c22b0d6
...
...
@@ -70,6 +70,12 @@ Component({
this
.
setData
({
[
itemVal
]:
val
})
}).
catch
(
err
=>
{
val
.
isloading
=
false
let
itemVal
=
'activityList['
+
ind
+
']'
this
.
setData
({
[
itemVal
]:
val
})
})
}
else
{
val
.
isCollapse
=
!
flag
...
...
utils/request/environment.js
View file @
c22b0d6
...
...
@@ -39,7 +39,7 @@ const domain = {
商城: 192.168.2.3:8558 */
dev
:
'https://scrm.dev.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'
}[
target
[
index
]]
...
...
utils/request/request.js
View file @
c22b0d6
...
...
@@ -68,11 +68,11 @@ class Request {
if
(
code
==
'0'
)
{
resolve
(
data
.
data
)
}
else
{
console
.
log
(
data
)
wx
.
showToast
({
title
:
message
||
'系统异常'
,
icon
:
'none'
})
reject
(
data
)
}
}
},
...
...
@@ -87,7 +87,11 @@ class Request {
},
complete
()
{
requestTimes
--
;
if
(
requestTimes
==
0
)
wx
.
hideLoading
();
if
(
requestTimes
==
0
)
{
setTimeout
(()
=>
{
wx
.
hideLoading
()
},
1500
)
}
wx
.
stopPullDownRefresh
()
wx
.
hideNavigationBarLoading
()
}
...
...
utils/share.js
View file @
c22b0d6
...
...
@@ -51,7 +51,7 @@ pageLeaveProxy(page) {
// path += that.setCommonShareQuery()
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
(
shareTrackData
)
that
.
reportShareData
(
shareTrackData
)
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