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 001a5f76
authored
Oct 26, 2022
by
wuwx
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
修复样式
1 parent
96b7f10c
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
28 additions
and
15 deletions
components/Tab/Tab.wxml
pages/apply/apply.scss
pages/apply/apply.wxml
pages/tab/index/index.scss
pages/tab/index/index.wxml
components/Tab/Tab.wxml
View file @
001a5f7
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
<block wx:if="{{openScroll}}">
<block wx:if="{{openScroll}}">
<scroll-view
<scroll-view
class="tab-box {{align}} {{outClassName}}"
class="tab-box {{align}} {{outClassName}}"
style="{{productHeight ? 'height:
68
rpx;' : ''}}"
style="{{productHeight ? 'height:
72
rpx;' : ''}}"
scroll-x
scroll-x
enable-flex
enable-flex
scroll-with-animation
scroll-with-animation
...
@@ -28,7 +28,7 @@
...
@@ -28,7 +28,7 @@
<block wx:for="{{tab}}" wx:key="index">
<block wx:for="{{tab}}" wx:key="index">
<view
<view
class="tab {{index==count?'active':''}}"
class="tab {{index==count?'active':''}}"
style="width:{{itemWidth}}"
style="width:{{itemWidth}}
; {{index == 0 ? 'margin-left: 32rpx;' : ''}}
"
bindtap="click"
bindtap="click"
data-count="{{index}}"
data-count="{{index}}"
>
>
...
...
pages/apply/apply.scss
View file @
001a5f7
/* pages/apply/apply.wxss */
/* pages/apply/apply.wxss */
page
{
background
:
white
;
height
:
100%
;
position
:
relative
;
}
.apply
{
.apply
{
.head
{
.head
{
width
:
100%
;
width
:
100%
;
}
}
.introduce
{
.introduce
{
height
:
180
px
;
height
:
360r
px
;
}
}
.content
{
.content
{
padding
:
16px
17px
0
;
padding
:
16px
17px
0
;
...
@@ -42,15 +47,22 @@
...
@@ -42,15 +47,22 @@
border
:
1px
solid
#E3E4E8
;
border
:
1px
solid
#E3E4E8
;
border-radius
:
2px
;
border-radius
:
2px
;
}
}
.inp-placeholder
{
font-family
:
PingFangSC-Regular
;
font-size
:
24rpx
;
color
:
#8A8C90
;
}
}
}
}
}
.btn
{
.btn
{
margin-top
:
40px
;
width
:
648rpx
;
width
:
100%
;
font-weight
:
500
;
font-weight
:
500
;
font-size
:
17px
;
font-size
:
17px
;
color
:
#ffffff
;
color
:
#ffffff
;
text-align
:
center
;
background
:
var
(
--
btnColor
);
background
:
var
(
--
btnColor
);
position
:
absolute
;
bottom
:
40rpx
;
left
:
50%
;
transform
:
translateX
(
-50%
);
}
}
}
}
pages/apply/apply.wxml
View file @
001a5f7
...
@@ -11,27 +11,27 @@
...
@@ -11,27 +11,27 @@
<view class="title" hover-class="none" hover-stop-propagation="false">开通门店账号</view>
<view class="title" hover-class="none" hover-stop-propagation="false">开通门店账号</view>
</view>
</view>
<view class="inp-wrap">
<view class="inp-wrap">
<view class="title" hover-class="none" hover-stop-propagation="false">
<view class="title" hover-class="none" hover-stop-propagation="false"
style="margin-top: 32rpx;"
>
开店名称
开店名称
<text class="point">*</text>
<text class="point">*</text>
</view>
</view>
<input class="inp" value="{{carObj.name}}" bindinput="bindinputFn" data-name="name" maxlength="{{30}}" placeholder="请输入30个字符以内" />
<input class="inp"
placeholder-class="inp-placeholder"
value="{{carObj.name}}" bindinput="bindinputFn" data-name="name" maxlength="{{30}}" placeholder="请输入30个字符以内" />
</view>
</view>
<view class="inp-wrap">
<view class="inp-wrap">
<view class="title" hover-class="none" hover-stop-propagation="false">店面车型</view>
<view class="title" hover-class="none" hover-stop-propagation="false">店面车型</view>
<input class="inp" value="{{carObj.model}}" bindinput="bindinputFn" data-name="model" maxlength="{{30}}" placeholder="请输入30个字符以内" />
<input class="inp"
placeholder-class="inp-placeholder"
value="{{carObj.model}}" bindinput="bindinputFn" data-name="model" maxlength="{{30}}" placeholder="请输入30个字符以内" />
</view>
</view>
<view class="inp-wrap">
<view class="inp-wrap">
<view class="title" hover-class="none" hover-stop-propagation="false">店面新车销量/基盘客户</view>
<view class="title" hover-class="none" hover-stop-propagation="false">店面新车销量/基盘客户</view>
<input class="inp" value="{{carObj.selNum}}" bindinput="bindinputFn" data-name="selNum" maxlength="{{30}}" placeholder="请输入30个字符以内" />
<input class="inp"
placeholder-class="inp-placeholder"
value="{{carObj.selNum}}" bindinput="bindinputFn" data-name="selNum" maxlength="{{30}}" placeholder="请输入30个字符以内" />
</view>
</view>
<view class="inp-wrap">
<view class="inp-wrap">
<view class="title" hover-class="none" hover-stop-propagation="false">门店联系人</view>
<view class="title" hover-class="none" hover-stop-propagation="false">门店联系人</view>
<input class="inp" value="{{carObj.contact}}" bindinput="bindinputFn" data-name="contact" placeholder="请输入联系人" />
<input class="inp"
placeholder-class="inp-placeholder"
value="{{carObj.contact}}" bindinput="bindinputFn" data-name="contact" placeholder="请输入联系人" />
</view>
</view>
<view class="inp-wrap">
<view class="inp-wrap">
<view class="title" hover-class="none" hover-stop-propagation="false">联系人手机号</view>
<view class="title" hover-class="none" hover-stop-propagation="false">联系人手机号</view>
<input class="inp" value="{{carObj.phone}}" bindinput="bindinputFn" data-name="phone" placeholder="请输入手机号" />
<input class="inp"
placeholder-class="inp-placeholder"
value="{{carObj.phone}}" bindinput="bindinputFn" data-name="phone" placeholder="请输入手机号" />
</view>
</view>
</view>
</view>
<button class="btn" bindtap="applyFn">提交开店信息</button>
<button class="btn" bindtap="applyFn">提交开店信息</button>
...
...
pages/tab/index/index.scss
View file @
001a5f7
...
@@ -89,7 +89,7 @@ page {
...
@@ -89,7 +89,7 @@ page {
.clue
{
.clue
{
padding
:
0px
10px
0
;
padding
:
0px
10px
0
;
background-color
:
#f2f3f7
;
background-color
:
#f2f3f7
;
margin-top
:
-16rpx
;
.types
{
.types
{
margin-bottom
:
8px
;
margin-bottom
:
8px
;
display
:
flex
;
display
:
flex
;
...
@@ -100,7 +100,7 @@ page {
...
@@ -100,7 +100,7 @@ page {
display
:
flex
;
display
:
flex
;
justify-content
:
center
;
justify-content
:
center
;
align-items
:
center
;
align-items
:
center
;
width
:
80
px
;
padding
:
0
16r
px
;
height
:
24px
;
height
:
24px
;
line-height
:
24px
;
line-height
:
24px
;
background
:
#ffffff
;
background
:
#ffffff
;
...
@@ -378,7 +378,7 @@ page {
...
@@ -378,7 +378,7 @@ page {
left
:
0
;
left
:
0
;
width
:
100%
;
width
:
100%
;
height
:
100%
;
height
:
100%
;
z-index
:
2
;
z-index
:
3
;
}
}
}
}
...
...
pages/tab/index/index.wxml
View file @
001a5f7
...
@@ -63,6 +63,7 @@
...
@@ -63,6 +63,7 @@
wx:for="{{typeList}}"
wx:for="{{typeList}}"
wx:key="*this"
wx:key="*this"
data-index="{{index}}"
data-index="{{index}}"
style="{{index == 0 ? 'margin-left: 0px;' : ''}}"
bindtap="filterTypeFn">
bindtap="filterTypeFn">
{{item[item['selectIndex']] }}
{{item[item['selectIndex']] }}
<image class="point" wx:if="{{index != 3}}" src="{{item['selectIndex']!=2&&index != 3? IMAGES.actArrow : IMAGES.arrow}}" />
<image class="point" wx:if="{{index != 3}}" src="{{item['selectIndex']!=2&&index != 3? IMAGES.actArrow : IMAGES.arrow}}" />
...
...
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