Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas_plus
/
sales-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 253a040b
authored
Nov 03, 2025
by
zhangxw
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
UI走查修改
1 parent
6f60603d
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
9 additions
and
5 deletions
components/SelectPopup/SelectPopup.scss
components/SelectPopup/SelectPopup.wxml
packageCustomer/components/SelectPopup/SelectPopup.scss
packageCustomer/components/SelectPopup/SelectPopup.wxml
pages/tab/customer/customer.wxml
components/SelectPopup/SelectPopup.scss
View file @
253a040
/* components/SelectPopup/SelectPopup.wxss */
/* components/SelectPopup/SelectPopup.wxss */
.sp-list
{
.sp-list
{
padding
:
0
32rpx
;
padding
:
0
32rpx
;
box-sizing
:
border-box
;
height
:
100%
;
.sp-item
{
.sp-item
{
display
:
flex
;
display
:
flex
;
align-items
:
center
;
align-items
:
center
;
...
...
components/SelectPopup/SelectPopup.wxml
View file @
253a040
...
@@ -8,7 +8,7 @@
...
@@ -8,7 +8,7 @@
bind:confirm="onConfirm"
bind:confirm="onConfirm"
bind:hidePopup="onCancel"
bind:hidePopup="onCancel"
>
>
<
view
class="sp-list">
<
scroll-view scroll-y show-scrollbar="{{false}}" enhanced
class="sp-list">
<block wx:for="{{ displayOptions }}" wx:key="value">
<block wx:for="{{ displayOptions }}" wx:key="value">
<view
<view
class="sp-item {{ item.checked ? 'active' : ''}} {{item.disabled ? 'disabled' : '' }}"
class="sp-item {{ item.checked ? 'active' : ''}} {{item.disabled ? 'disabled' : '' }}"
...
@@ -19,5 +19,5 @@
...
@@ -19,5 +19,5 @@
<image class="check" src="{{ IMG_URL }}customer/checked.png" wx:if="{{ item.checked }}" />
<image class="check" src="{{ IMG_URL }}customer/checked.png" wx:if="{{ item.checked }}" />
</view>
</view>
</block>
</block>
</view>
</
scroll-
view>
</popup>
</popup>
\ No newline at end of file
\ No newline at end of file
packageCustomer/components/SelectPopup/SelectPopup.scss
View file @
253a040
/* components/SelectPopup/SelectPopup.wxss */
/* components/SelectPopup/SelectPopup.wxss */
.sp-list
{
.sp-list
{
padding
:
0
32rpx
;
padding
:
0
32rpx
;
box-sizing
:
border-box
;
height
:
100%
;
.sp-item
{
.sp-item
{
display
:
flex
;
display
:
flex
;
align-items
:
center
;
align-items
:
center
;
...
...
packageCustomer/components/SelectPopup/SelectPopup.wxml
View file @
253a040
<!-- components/SelectPopup/SelectPopup.wxml -->
<!-- components/SelectPopup/SelectPopup.wxml -->
<popup show="{{show}}" title="{{title}}" height="50%" bind:confirm="onConfirm" bind:hidePopup="onCancel" customPopupSlotStyle="overflow:auto;">
<popup show="{{show}}" title="{{title}}" height="50%" bind:confirm="onConfirm" bind:hidePopup="onCancel" customPopupSlotStyle="overflow:auto;">
<
view
class="sp-list">
<
scroll-view scroll-y show-scrollbar="{{false}}" enhanced
class="sp-list">
<block wx:for="{{displayOptions}}" wx:key="value">
<block wx:for="{{displayOptions}}" wx:key="value">
<view class="sp-item {{item.checked ? 'active' : ''}} {{item.disabled ? 'disabled' : ''}}" catchtap="toggle" data-index="{{index}}">
<view class="sp-item {{item.checked ? 'active' : ''}} {{item.disabled ? 'disabled' : ''}}" catchtap="toggle" data-index="{{index}}">
<text class="label">{{item[labelKey] || item.label || item.text}}</text>
<text class="label">{{item[labelKey] || item.label || item.text}}</text>
<image class="check" src="{{IMG_URL}}customer/checked.png" wx:if="{{item.checked}}" />
<image class="check" src="{{IMG_URL}}customer/checked.png" wx:if="{{item.checked}}" />
</view>
</view>
</block>
</block>
</view>
</
scroll-
view>
</popup>
</popup>
\ No newline at end of file
\ No newline at end of file
pages/tab/customer/customer.wxml
View file @
253a040
...
@@ -9,7 +9,7 @@
...
@@ -9,7 +9,7 @@
<view wx:for="{{tabList}}" wx:key="index" bindtap="changeMyTab" data-id="{{index}}" class='my-tab-item {{myTabIdx==index ? "tab-item-active": ""}}'>{{item.name}}</view>
<view wx:for="{{tabList}}" wx:key="index" bindtap="changeMyTab" data-id="{{index}}" class='my-tab-item {{myTabIdx==index ? "tab-item-active": ""}}'>{{item.name}}</view>
</view>
</view>
<view class="screen-box">
<view class="screen-box">
<scroll-view class="view-container" scroll-left="{{scrollLeft}}" show-scrollbar="{{false}}" scroll-x>
<scroll-view class="view-container" scroll-left="{{scrollLeft}}"
enhanced
show-scrollbar="{{false}}" scroll-x>
<view class="view-box">
<view class="view-box">
<block wx:for="{{myTabIdx == 0 ? selectedScreenPotential : selectedScreenStore}}" wx:key="index">
<block wx:for="{{myTabIdx == 0 ? selectedScreenPotential : selectedScreenStore}}" wx:key="index">
<view bindtap="changeScreen" class="view-item" wx:if="{{userInfo.loginRole == 1 ? true : item.key != 'provinces' && item.key != 'salesStaffList'}}">
<view bindtap="changeScreen" class="view-item" wx:if="{{userInfo.loginRole == 1 ? true : item.key != 'provinces' && item.key != 'salesStaffList'}}">
...
...
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