Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas_plus
/
business-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 515d0de8
authored
Nov 07, 2022
by
张立顺
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'dev_v3.1' of 192.168.3.233:saas_plus/business-assistant into dev_v3.1
2 parents
b724a86d
973cdbc8
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
21 additions
and
22 deletions
components/image/index.js
packagesList/packageOutput/pages/summary.scss
packagesList/packageOutput/pages/summary.wxml
components/image/index.js
View file @
515d0de
// components/image/index.js
// components/image/index.js
import
{
IMG_URL
,
IMG_VERSION
}
from
'~/utils/constantData'
import
{
IMG_URL
,
IMG_VERSION
}
from
'~/utils/constantData'
Component
({
Component
({
externalClasses
:
[
'custom-class'
,
'class'
],
externalClasses
:
[
'custom-class'
,
'class'
],
/**
/**
* 组件的属性列表
* 组件的属性列表
*/
*/
...
@@ -30,7 +33,7 @@ Component({
...
@@ -30,7 +33,7 @@ Component({
let
src
=
this
.
data
.
src
let
src
=
this
.
data
.
src
let
prefix
=
IMG_URL
let
prefix
=
IMG_URL
this
.
setData
({
this
.
setData
({
imagePath
:
`
${
prefix
}${
src
}
`
+
IMG_VERSION
()
imagePath
:
`
${
prefix
}${
src
}
?v=
`
+
IMG_VERSION
()
})
})
},
},
// 在组件实例被从页面节点树移除时执行
// 在组件实例被从页面节点树移除时执行
...
...
packagesList/packageOutput/pages/summary.scss
View file @
515d0de
...
@@ -38,6 +38,11 @@
...
@@ -38,6 +38,11 @@
border-bottom
:
1rpx
dashed
#CCCED1
;
border-bottom
:
1rpx
dashed
#CCCED1
;
}
}
.icon-open
{
width
:
40rpx
;
height
:
40rpx
;
}
.scene-box
{
.scene-box
{
padding
:
27rpx
0
24rpx
;
padding
:
27rpx
0
24rpx
;
}
}
...
...
packagesList/packageOutput/pages/summary.wxml
View file @
515d0de
...
@@ -3,31 +3,23 @@
...
@@ -3,31 +3,23 @@
<view class="layout {{ (sceneActive != 1 && activityList[activityActive].productStatus == 2) ? 'bg-grey' : 'bg-white'}}">
<view class="layout {{ (sceneActive != 1 && activityList[activityActive].productStatus == 2) ? 'bg-grey' : 'bg-white'}}">
<view class="{{ (sceneActive != 1 && activityList[activityActive].productStatus == 2) ? 'bg-white' : 'p-rl-20'}}">
<view class="{{ (sceneActive != 1 && activityList[activityActive].productStatus == 2) ? 'bg-white' : 'p-rl-20'}}">
<view class="{{ (sceneActive != 1 && activityList[activityActive].productStatus == 2) ? 'm-rl-20' : ''}}">
<view class="{{ (sceneActive != 1 && activityList[activityActive].productStatus == 2) ? 'm-rl-20' : ''}}">
<view class="title bg-white ">选产品/活动</view>
<view class="title bg-white">
选产品/活动
<view>
<image class="icon-open" webp src="{{IMGURL}}output/icon-open.png?v={{img_version}}"></image>
开通活动
</view>
</view>
<view class="scene-box bg-white">
<view class="scene-box bg-white">
<scene-box
<scene-box formData="{{sceneObj}}" scenePriceList="{{scenePriceList}}" sceneActive="{{sceneActive}}" bindhandleSceneChange="handleSceneChange" />
formData="{{sceneObj}}"
scenePriceList="{{scenePriceList}}"
sceneActive="{{sceneActive}}"
bindhandleSceneChange="handleSceneChange" />
</view>
</view>
</view>
</view>
</view>
</view>
<!-- 活动 -->
<!-- 活动 -->
<view class="p-rl-20 bg-white">
<view class="p-rl-20 bg-white">
<scroll-view
<scroll-view scroll-x="{{true}}" enable-flex class="activity-box" scroll-with-animation scroll-left="{{scrollLeft}}">
scroll-x="{{true}}"
enable-flex
class="activity-box"
scroll-with-animation
scroll-left="{{scrollLeft}}">
<view class="flex">
<view class="flex">
<view
<view class="activity-item {{ activityActive == index ? 'active' : ''}} {{item.productStatus == 2 ? 'open' : 'no-open'}}" wx:for="{{activityList}}" wx:key="index" bindtap="handleActChange" data-idx="{{index}}">
class="activity-item {{ activityActive == index ? 'active' : ''}} {{item.productStatus == 2 ? 'open' : 'no-open'}}"
wx:for="{{activityList}}"
wx:key="index"
bindtap="handleActChange"
data-idx="{{index}}">
{{item.productName}}
{{item.productName}}
</view>
</view>
</view>
</view>
...
@@ -65,4 +57,3 @@
...
@@ -65,4 +57,3 @@
<view class="btn-disabled">点击开通</view>
<view class="btn-disabled">点击开通</view>
</view>
</view>
</view>
</view>
\ No newline at end of file
\ No newline at end of file
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