Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
account-book
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
刘文虎
account-book
Commits
2849f3c4
Commit
2849f3c4
authored
Oct 18, 2022
by
Facius
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 按钮按下样式
parent
cba9efd5
Changes
25
Hide whitespace changes
Inline
Side-by-side
Showing
25 changed files
with
49 additions
and
47 deletions
+49
-47
bottom-buttons.vue
components/common/bottom-buttons.vue
+1
-1
index.vue
components/pop-export-bill/index.vue
+2
-1
index.vue
components/pop-normal/index.vue
+2
-1
index.vue
components/pop-qrCode-image/index.vue
+2
-0
index.vue
pages/bill/batch-settle/index.vue
+1
-1
create.vue
pages/bill/quoted-price/create/create.vue
+1
-1
create.vue
pages/card/create.vue
+1
-0
share.vue
pages/card/share.vue
+1
-0
bill-style.vue
pages/maintain-bill/bill-style.vue
+1
-1
detail.vue
pages/maintain-bill/detail.vue
+1
-1
normal-create.vue
pages/maintain-bill/normal-create.vue
+9
-9
particulars.vue
pages/maintain-bill/particulars.vue
+1
-1
show.vue
pages/maintain-bill/show.vue
+5
-3
global-input.vue
pages/mine/global-input/global-input.vue
+0
-8
export.vue
pages/mine/import-export/export/export.vue
+2
-1
input.vue
pages/mine/input/input.vue
+0
-8
pop-wage-setting.vue
pages/workpoint/employees/components/pop-wage-setting.vue
+1
-1
employee-create.vue
pages/workpoint/employees/employee-create.vue
+1
-1
index.vue
pages/workpoint/employees/index.vue
+2
-2
export.vue
pages/workpoint/project-bill/export.vue
+2
-1
cell-project-closed.vue
pages/workpoint/project/components/cell-project-closed.vue
+1
-1
cell-project.vue
pages/workpoint/project/components/cell-project.vue
+1
-1
index.vue
pages/workpoint/project/index.vue
+1
-1
project-edit.vue
pages/workpoint/project/project-edit.vue
+1
-1
uni.scss
uni.scss
+9
-1
No files found.
components/common/bottom-buttons.vue
View file @
2849f3c4
...
@@ -6,7 +6,7 @@
...
@@ -6,7 +6,7 @@
</u-button>
</u-button>
</view>
</view>
<view
class=
"right-view"
>
<view
class=
"right-view"
>
<u-button
:custom-style=
"customConFirm"
@
click=
"handleClickSure"
:disabled=
"disabled"
:loading=
"loading"
>
<u-button
type=
"success"
:custom-style=
"customConFirm"
@
click=
"handleClickSure"
:disabled=
"disabled"
:loading=
"loading"
>
<view
class=
"confirm-view"
>
{{
confirmText
}}
</view>
<view
class=
"confirm-view"
>
{{
confirmText
}}
</view>
</u-button>
</u-button>
</view>
</view>
...
...
components/pop-export-bill/index.vue
View file @
2849f3c4
...
@@ -40,7 +40,7 @@
...
@@ -40,7 +40,7 @@
</view>
</view>
<view
class=
"buttons-view"
>
<view
class=
"buttons-view"
>
<view
class=
"right-view"
>
<view
class=
"right-view"
>
<u-button
:custom-style=
"customConFirm"
@
click=
"handleClickConfirm"
:loading=
"loading"
>
<u-button
:
type=
"customConFirm.type"
:
custom-style=
"customConFirm"
@
click=
"handleClickConfirm"
:loading=
"loading"
>
<view
class=
"confirm-view"
>
{{
confirmText
}}
</view>
<view
class=
"confirm-view"
>
{{
confirmText
}}
</view>
</u-button>
</u-button>
</view>
</view>
...
@@ -94,6 +94,7 @@ export default {
...
@@ -94,6 +94,7 @@ export default {
},
},
customConFirm
()
{
customConFirm
()
{
return
{
return
{
type
:
this
.
isError
?
'error'
:
'success'
,
color
:
'transparent'
,
color
:
'transparent'
,
'background-color'
:
this
.
isError
?
'#FC524D'
:
'#02A074'
,
'background-color'
:
this
.
isError
?
'#FC524D'
:
'#02A074'
,
height
:
'96rpx'
,
height
:
'96rpx'
,
...
...
components/pop-normal/index.vue
View file @
2849f3c4
...
@@ -56,7 +56,7 @@
...
@@ -56,7 +56,7 @@
</u-button>
</u-button>
</view>
</view>
<view
class=
"right-view"
>
<view
class=
"right-view"
>
<u-button
:loading=
"loading"
:custom-style=
"customConFirm"
@
click=
"handleClickConfirm"
>
<u-button
:loading=
"loading"
:
type=
"customConFirm.type"
:
custom-style=
"customConFirm"
@
click=
"handleClickConfirm"
>
<view
class=
"confirm-view"
>
{{
confirmText
}}
</view>
<view
class=
"confirm-view"
>
{{
confirmText
}}
</view>
</u-button>
</u-button>
</view>
</view>
...
@@ -164,6 +164,7 @@ export default {
...
@@ -164,6 +164,7 @@ export default {
},
},
customConFirm
()
{
customConFirm
()
{
return
{
return
{
type
:
this
.
isError
?
'error'
:
'success'
,
color
:
'transparent'
,
color
:
'transparent'
,
'background-color'
:
this
.
isError
?
'#FC524D'
:
'#02A074'
,
'background-color'
:
this
.
isError
?
'#FC524D'
:
'#02A074'
,
height
:
'96rpx'
,
height
:
'96rpx'
,
...
...
components/pop-qrCode-image/index.vue
View file @
2849f3c4
...
@@ -24,6 +24,7 @@
...
@@ -24,6 +24,7 @@
</view>
</view>
<view
class=
"right-view"
>
<view
class=
"right-view"
>
<u-button
<u-button
:type=
"customConFirm.type"
:custom-style=
"customConFirm"
:custom-style=
"customConFirm"
@
click=
"handleClickConfirm"
@
click=
"handleClickConfirm"
>
>
...
@@ -92,6 +93,7 @@ export default {
...
@@ -92,6 +93,7 @@ export default {
},
},
customConFirm
()
{
customConFirm
()
{
return
{
return
{
type
:
this
.
isError
?
'error'
:
'success'
,
color
:
'transparent'
,
color
:
'transparent'
,
'background-color'
:
this
.
isError
?
'#FC524D'
:
'#02A074'
,
'background-color'
:
this
.
isError
?
'#FC524D'
:
'#02A074'
,
height
:
'96rpx'
,
height
:
'96rpx'
,
...
...
pages/bill/batch-settle/index.vue
View file @
2849f3c4
...
@@ -43,7 +43,7 @@
...
@@ -43,7 +43,7 @@
<view
class=
"count-view"
>
共
{{
differentCount
}}
单
</view>
<view
class=
"count-view"
>
共
{{
differentCount
}}
单
</view>
</view>
</view>
</view>
</view>
<u-button
:disabled=
"!canCommit"
:custom-style=
"customSure"
@
click=
"handleClickSure"
>
<u-button
type=
"success"
:disabled=
"!canCommit"
:custom-style=
"customSure"
@
click=
"handleClickSure"
>
<view
class=
"sure-view"
>
确定结清
</view>
<view
class=
"sure-view"
>
确定结清
</view>
</u-button>
</u-button>
</view>
</view>
...
...
pages/bill/quoted-price/create/create.vue
View file @
2849f3c4
...
@@ -17,7 +17,7 @@
...
@@ -17,7 +17,7 @@
/>
/>
<view
v-if=
"!disabled"
class=
"tip-view"
>
{{
tipText
}}
</view>
<view
v-if=
"!disabled"
class=
"tip-view"
>
{{
tipText
}}
</view>
<view
class=
"bottom-view"
>
<view
class=
"bottom-view"
>
<u-button
:customStyle=
"buttonStyle"
@
click=
"handleClick"
><view
class=
"button-text"
>
确定
</view></u-button>
<u-button
type=
"success"
:customStyle=
"buttonStyle"
@
click=
"handleClick"
><view
class=
"button-text"
>
确定
</view></u-button>
</view>
</view>
</view>
</view>
</view>
</view>
...
...
pages/card/create.vue
View file @
2849f3c4
...
@@ -122,6 +122,7 @@
...
@@ -122,6 +122,7 @@
></view>
></view>
<view
class=
"bottom-view"
>
<view
class=
"bottom-view"
>
<u-button
<u-button
type=
"success"
:custom-style=
"customConFirm"
:custom-style=
"customConFirm"
@
click=
"handleClickSure"
@
click=
"handleClickSure"
:disabled=
"!canConfirm"
:disabled=
"!canConfirm"
...
...
pages/card/share.vue
View file @
2849f3c4
...
@@ -21,6 +21,7 @@
...
@@ -21,6 +21,7 @@
</view>
</view>
<view
class=
"right-view"
>
<view
class=
"right-view"
>
<u-button
<u-button
type=
"success"
:custom-style=
"customConFirm"
:custom-style=
"customConFirm"
@
click=
"handleClickConfirm"
@
click=
"handleClickConfirm"
class=
"confirm-button"
class=
"confirm-button"
...
...
pages/maintain-bill/bill-style.vue
View file @
2849f3c4
...
@@ -31,7 +31,7 @@
...
@@ -31,7 +31,7 @@
</view>
</view>
<!--
<submit-button
@
handleClick=
"submit"
text=
"下一步"
></submit-button>
-->
<!--
<submit-button
@
handleClick=
"submit"
text=
"下一步"
></submit-button>
-->
<view
class=
"bottom-view"
>
<view
class=
"bottom-view"
>
<u-button
:custom-style=
"customCreate"
@
click=
"submit"
>
<u-button
type=
"success"
:custom-style=
"customCreate"
@
click=
"submit"
>
<view
class=
"create-view"
>
下一步
</view>
<view
class=
"create-view"
>
下一步
</view>
</u-button>
</u-button>
</view>
</view>
...
...
pages/maintain-bill/detail.vue
View file @
2849f3c4
...
@@ -98,7 +98,7 @@
...
@@ -98,7 +98,7 @@
<view
class=
"status-view"
:style=
"'color: ' + syncFlagSettings.color"
>
{{ syncFlagSettings.text }}
</view>
<view
class=
"status-view"
:style=
"'color: ' + syncFlagSettings.color"
>
{{ syncFlagSettings.text }}
</view>
</u-button>
</u-button>
<u-button
v-if=
"!isSure"
:custom-style=
"customChange"
@
click=
"handleClickChange"
class=
"change-button"
><view
class=
"change-view"
>
修改
</view></u-button>
<u-button
v-if=
"!isSure"
:custom-style=
"customChange"
@
click=
"handleClickChange"
class=
"change-button"
><view
class=
"change-view"
>
修改
</view></u-button>
<u-button
:custom-style=
"customConFirm"
@
click=
"handleClickSure"
class=
"confirm-button"
:loading=
"buttonLoading"
>
<u-button
type=
"success"
:custom-style=
"customConFirm"
@
click=
"handleClickSure"
class=
"confirm-button"
:loading=
"buttonLoading"
>
<view
class=
"confirm-view"
>
预览/发送客户
</view>
<view
class=
"confirm-view"
>
预览/发送客户
</view>
</u-button>
</u-button>
</view>
</view>
...
...
pages/maintain-bill/normal-create.vue
View file @
2849f3c4
...
@@ -173,15 +173,15 @@
...
@@ -173,15 +173,15 @@
baseUrl
()
{
baseUrl
()
{
return
process
.
uniEnv
.
qn_base_url
;
return
process
.
uniEnv
.
qn_base_url
;
},
},
customCreate
()
{
//
customCreate() {
return
{
//
return {
color
:
'transparent'
,
//
color: 'transparent',
'background-color'
:
this
.
canSave
?
'#02a074'
:
'#7DCFB8'
,
//
'background-color': this.canSave ? '#02a074' : '#7DCFB8',
height
:
'104rpx'
,
//
height: '104rpx',
'border-radius'
:
'16rpx'
,
//
'border-radius': '16rpx',
width
:
'686rpx'
//
width: '686rpx'
};
//
};
},
//
},
placeholderStyle
()
{
placeholderStyle
()
{
return
'color:#ccc;font-size:28rpx;font-weight: bold;'
;
return
'color:#ccc;font-size:28rpx;font-weight: bold;'
;
},
},
...
...
pages/maintain-bill/particulars.vue
View file @
2849f3c4
...
@@ -104,7 +104,7 @@
...
@@ -104,7 +104,7 @@
<u-button
:custom-style=
"customSkip"
@
click=
"handleClickSkip"
><view
class=
"skip-view"
>
跳过
</view></u-button>
<u-button
:custom-style=
"customSkip"
@
click=
"handleClickSkip"
><view
class=
"skip-view"
>
跳过
</view></u-button>
</view>
</view>
<view
class=
"right-view"
>
<view
class=
"right-view"
>
<u-button
:custom-style=
"customConFirm"
@
click=
"handleClickSure"
:disabled=
"!canConfirm"
:loading=
"buttonLoading"
><view
class=
"confirm-view"
>
保存
</view></u-button>
<u-button
type=
"success"
:custom-style=
"customConFirm"
@
click=
"handleClickSure"
:disabled=
"!canConfirm"
:loading=
"buttonLoading"
><view
class=
"confirm-view"
>
保存
</view></u-button>
</view>
</view>
</view>
</view>
<view
class=
"loading-view"
v-if=
"loading"
><u-loading
mode=
"flower"
></u-loading></view>
<view
class=
"loading-view"
v-if=
"loading"
><u-loading
mode=
"flower"
></u-loading></view>
...
...
pages/maintain-bill/show.vue
View file @
2849f3c4
...
@@ -138,13 +138,13 @@
...
@@ -138,13 +138,13 @@
</view>
</view>
</view>
</view>
<view
class=
"right-view-r"
>
<view
class=
"right-view-r"
>
<u-button
:custom-style=
"customSave"
@
click=
"handleClickSave"
class=
"save-button"
>
<u-button
type=
"success"
:custom-style=
"customSave"
@
click=
"handleClickSave"
class=
"save-button"
>
<view
class=
"save-view"
>
<view
class=
"save-view"
>
<view
class=
"image-view"
><image
:src=
"saveImage"
></image></view>
<view
class=
"image-view"
><image
:src=
"saveImage"
></image></view>
<view>
保存账单
</view>
<view>
保存账单
</view>
</view>
</view>
</u-button>
</u-button>
<u-button
:disabled=
"isSure"
:custom-style=
"customReceive"
@
click=
"handleClickSign"
class=
"confirm-button"
:loading=
"buttonLoading"
>
<u-button
:disabled=
"isSure"
:
type=
"customReceive.type"
:
custom-style=
"customReceive"
@
click=
"handleClickSign"
class=
"confirm-button"
:loading=
"buttonLoading"
>
<view
class=
"receive-view"
>
<view
class=
"receive-view"
>
<view
class=
"receive-text"
>
{{
customReceive
.
text
}}
</view>
<view
class=
"receive-text"
>
{{
customReceive
.
text
}}
</view>
<view
v-if=
"customReceive.tipText"
class=
"tip-view"
>
{{
customReceive
.
tipText
}}
</view>
<view
v-if=
"customReceive.tipText"
class=
"tip-view"
>
{{
customReceive
.
tipText
}}
</view>
...
@@ -168,7 +168,7 @@
...
@@ -168,7 +168,7 @@
<view
class=
"image-view"
><image
:src=
"saomalingquImage"
></image></view>
<view
class=
"image-view"
><image
:src=
"saomalingquImage"
></image></view>
<view
class=
"scan-view"
>
扫码领取
</view>
<view
class=
"scan-view"
>
扫码领取
</view>
</u-button>
</u-button>
<u-button
:custom-style=
"customConFirm"
@
click=
"handleClickShare"
class=
"confirm-button"
open-type=
"share"
>
<u-button
type=
"success"
:custom-style=
"customConFirm"
@
click=
"handleClickShare"
class=
"confirm-button"
open-type=
"share"
>
<view
class=
"image-view"
><image
:src=
"zhuanfweixinImage"
></image></view>
<view
class=
"image-view"
><image
:src=
"zhuanfweixinImage"
></image></view>
<view
class=
"confirm-view"
>
转发微信
</view>
<view
class=
"confirm-view"
>
转发微信
</view>
</u-button>
</u-button>
...
@@ -348,6 +348,7 @@ export default {
...
@@ -348,6 +348,7 @@ export default {
customReceive
()
{
customReceive
()
{
return
this
.
isSure
return
this
.
isSure
?
{
?
{
type
:
'default'
,
color
:
'transparent'
,
color
:
'transparent'
,
'background-color'
:
'#cccccc'
,
'background-color'
:
'#cccccc'
,
height
:
'104rpx'
,
height
:
'104rpx'
,
...
@@ -356,6 +357,7 @@ export default {
...
@@ -356,6 +357,7 @@ export default {
text
:
'已签收'
text
:
'已签收'
}
}
:
{
:
{
type
:
'success'
,
color
:
'transparent'
,
color
:
'transparent'
,
'background-color'
:
'#02a074'
,
'background-color'
:
'#02a074'
,
height
:
'104rpx'
,
height
:
'104rpx'
,
...
...
pages/mine/global-input/global-input.vue
View file @
2849f3c4
...
@@ -61,14 +61,6 @@ export default {
...
@@ -61,14 +61,6 @@ export default {
baseUrl
()
{
baseUrl
()
{
return
process
.
uniEnv
.
qn_base_url
;
return
process
.
uniEnv
.
qn_base_url
;
},
},
buttonStyle
()
{
return
{
color
:
'transparent'
,
'background-color'
:
'#02A074'
,
height
:
'104rpx'
,
'border-radius'
:
'16rpx'
};
},
placeholderStyle
()
{
placeholderStyle
()
{
return
'color: #cccccc;font-size: 28rpx;font-weight: bold;'
;
return
'color: #cccccc;font-size: 28rpx;font-weight: bold;'
;
},
},
...
...
pages/mine/import-export/export/export.vue
View file @
2849f3c4
...
@@ -31,7 +31,7 @@
...
@@ -31,7 +31,7 @@
</view>
</view>
<view
class=
"buttons-view"
>
<view
class=
"buttons-view"
>
<view
class=
"right-view"
>
<view
class=
"right-view"
>
<u-button
:custom-style=
"customConFirm"
@
click=
"handleClickConfirm"
:loading=
"loading"
>
<u-button
:
type=
"customConFirm.type"
:
custom-style=
"customConFirm"
@
click=
"handleClickConfirm"
:loading=
"loading"
>
<view
class=
"confirm-view"
>
{{
confirmText
}}
</view>
<view
class=
"confirm-view"
>
{{
confirmText
}}
</view>
</u-button>
</u-button>
</view>
</view>
...
@@ -70,6 +70,7 @@ export default {
...
@@ -70,6 +70,7 @@ export default {
},
},
customConFirm
()
{
customConFirm
()
{
return
{
return
{
type
:
this
.
isError
?
'error'
:
'success'
,
color
:
'transparent'
,
color
:
'transparent'
,
'background-color'
:
this
.
isError
?
'#FC524D'
:
'#02A074'
,
'background-color'
:
this
.
isError
?
'#FC524D'
:
'#02A074'
,
height
:
'96rpx'
height
:
'96rpx'
...
...
pages/mine/input/input.vue
View file @
2849f3c4
...
@@ -60,14 +60,6 @@ export default {
...
@@ -60,14 +60,6 @@ export default {
baseUrl
()
{
baseUrl
()
{
return
process
.
uniEnv
.
qn_base_url
;
return
process
.
uniEnv
.
qn_base_url
;
},
},
buttonStyle
()
{
return
{
color
:
'transparent'
,
'background-color'
:
'#02A074'
,
height
:
'104rpx'
,
'border-radius'
:
'16rpx'
};
},
placeholderStyle
()
{
placeholderStyle
()
{
return
'color: #cccccc;font-size: 28rpx;font-weight: bold;'
;
return
'color: #cccccc;font-size: 28rpx;font-weight: bold;'
;
},
},
...
...
pages/workpoint/employees/components/pop-wage-setting.vue
View file @
2849f3c4
...
@@ -4,7 +4,7 @@
...
@@ -4,7 +4,7 @@
<!-- v-if 可以清空上次填写 -->
<!-- v-if 可以清空上次填写 -->
<WageSetting
v-if=
"visible"
type=
"pop"
:form=
"salary"
@
close=
"handleClose"
:fill
.
sync=
"canConfirm"
@
change=
"handleChange"
/>
<WageSetting
v-if=
"visible"
type=
"pop"
:form=
"salary"
@
close=
"handleClose"
:fill
.
sync=
"canConfirm"
@
change=
"handleChange"
/>
<view
class=
"bottom-view"
>
<view
class=
"bottom-view"
>
<u-button
:custom-style=
"customConFirm"
@
click=
"handleClickSure"
:loading=
"buttonLoading"
>
<u-button
type=
"success"
:custom-style=
"customConFirm"
@
click=
"handleClickSure"
:loading=
"buttonLoading"
>
<view
class=
"confirm-view"
>
确定
</view>
<view
class=
"confirm-view"
>
确定
</view>
</u-button>
</u-button>
</view>
</view>
...
...
pages/workpoint/employees/employee-create.vue
View file @
2849f3c4
...
@@ -43,7 +43,7 @@
...
@@ -43,7 +43,7 @@
<u-button
v-if=
"memberId"
:custom-style=
"customDelete"
@
click=
"handleClickDelete"
class=
"delete-button"
>
<u-button
v-if=
"memberId"
:custom-style=
"customDelete"
@
click=
"handleClickDelete"
class=
"delete-button"
>
<view
class=
"delete-view"
>
删除
</view>
<view
class=
"delete-view"
>
删除
</view>
</u-button>
</u-button>
<u-button
:custom-style=
"customConFirm"
@
click=
"handleClickConfirm"
:loading=
"buttonLoading"
>
<u-button
type=
"success"
:custom-style=
"customConFirm"
@
click=
"handleClickConfirm"
:loading=
"buttonLoading"
>
<view
class=
"confirm-view"
>
保存
</view>
<view
class=
"confirm-view"
>
保存
</view>
</u-button>
</u-button>
</view>
</view>
...
...
pages/workpoint/employees/index.vue
View file @
2849f3c4
...
@@ -27,13 +27,13 @@
...
@@ -27,13 +27,13 @@
<u-button
:custom-style=
"customAdd"
@
click=
"handleClickAdd"
>
<u-button
:custom-style=
"customAdd"
@
click=
"handleClickAdd"
>
<view
class=
"scan-view"
>
添加过往合作
</view>
<view
class=
"scan-view"
>
添加过往合作
</view>
</u-button>
</u-button>
<u-button
:custom-style=
"customCreate"
@
click=
"handleClickCreate"
>
<u-button
type=
"success"
:custom-style=
"customCreate"
@
click=
"handleClickCreate"
>
<u-icon
name=
"plus"
color=
"#FFFFFF"
size=
"40"
></u-icon>
<u-icon
name=
"plus"
color=
"#FFFFFF"
size=
"40"
></u-icon>
<view
class=
"create-view"
>
创建新成员
</view>
<view
class=
"create-view"
>
创建新成员
</view>
</u-button>
</u-button>
</view>
</view>
<view
class=
"bottom-select"
v-if=
"isSelect"
>
<view
class=
"bottom-select"
v-if=
"isSelect"
>
<u-button
:loading=
"buttonLoading"
:custom-style=
"customConFirm"
@
click=
"handleClickConfirm"
>
<u-button
type=
"success"
:loading=
"buttonLoading"
:custom-style=
"customConFirm"
@
click=
"handleClickConfirm"
>
<view
class=
"confirm-view"
>
{{
buttonText
}}
</view>
<view
class=
"confirm-view"
>
{{
buttonText
}}
</view>
</u-button>
</u-button>
</view>
</view>
...
...
pages/workpoint/project-bill/export.vue
View file @
2849f3c4
...
@@ -41,7 +41,7 @@
...
@@ -41,7 +41,7 @@
</view>
</view>
<view
class=
"buttons-view"
>
<view
class=
"buttons-view"
>
<view
class=
"right-view"
>
<view
class=
"right-view"
>
<u-button
:custom-style=
"customConFirm"
@
click=
"handleClickConfirm"
:loading=
"loading"
>
<u-button
:
type=
"customConFirm.type"
:
custom-style=
"customConFirm"
@
click=
"handleClickConfirm"
:loading=
"loading"
>
<view
class=
"confirm-view"
>
{{
confirmText
}}
</view>
<view
class=
"confirm-view"
>
{{
confirmText
}}
</view>
</u-button>
</u-button>
</view>
</view>
...
@@ -97,6 +97,7 @@ export default {
...
@@ -97,6 +97,7 @@ export default {
},
},
customConFirm
()
{
customConFirm
()
{
return
{
return
{
type
:
this
.
isError
?
'error'
:
'success'
,
color
:
'transparent'
,
color
:
'transparent'
,
'background-color'
:
this
.
isError
?
'#FC524D'
:
'#02A074'
,
'background-color'
:
this
.
isError
?
'#FC524D'
:
'#02A074'
,
height
:
'96rpx'
height
:
'96rpx'
...
...
pages/workpoint/project/components/cell-project-closed.vue
View file @
2849f3c4
...
@@ -8,7 +8,7 @@
...
@@ -8,7 +8,7 @@
<u-button
:custom-style=
"customLoan"
@
click=
"handleClickButton('delete')"
>
<u-button
:custom-style=
"customLoan"
@
click=
"handleClickButton('delete')"
>
<view
class=
"delete-view"
>
删除
</view>
<view
class=
"delete-view"
>
删除
</view>
</u-button>
</u-button>
<u-button
:custom-style=
"customWork"
@
click=
"handleClickButton('recover')"
>
<u-button
type=
"success"
:custom-style=
"customWork"
@
click=
"handleClickButton('recover')"
>
<view
class=
"recover-view"
>
恢复
</view>
<view
class=
"recover-view"
>
恢复
</view>
</u-button>
</u-button>
</view>
</view>
...
...
pages/workpoint/project/components/cell-project.vue
View file @
2849f3c4
...
@@ -19,7 +19,7 @@
...
@@ -19,7 +19,7 @@
<u-button
:custom-style=
"customLoan"
@
click=
"handleClickButton('loan')"
>
<u-button
:custom-style=
"customLoan"
@
click=
"handleClickButton('loan')"
>
<view
class=
"loan-view"
>
借支/结算
</view>
<view
class=
"loan-view"
>
借支/结算
</view>
</u-button>
</u-button>
<u-button
:custom-style=
"customWork"
@
click=
"handleClickButton('work')"
>
<u-button
type=
"success"
:custom-style=
"customWork"
@
click=
"handleClickButton('work')"
>
<view
class=
"work-view"
>
记工
</view>
<view
class=
"work-view"
>
记工
</view>
</u-button>
</u-button>
</view>
</view>
...
...
pages/workpoint/project/index.vue
View file @
2849f3c4
...
@@ -22,7 +22,7 @@
...
@@ -22,7 +22,7 @@
</scroll-view>
</scroll-view>
</view>
</view>
<view
class=
"bottom-view"
v-if=
"!isClosed"
>
<view
class=
"bottom-view"
v-if=
"!isClosed"
>
<u-button
:custom-style=
"customCreate"
@
click=
"handleClickCreate"
>
<u-button
type=
"success"
:custom-style=
"customCreate"
@
click=
"handleClickCreate"
>
<u-icon
name=
"plus"
color=
"#FFFFFF"
size=
"40"
></u-icon>
<u-icon
name=
"plus"
color=
"#FFFFFF"
size=
"40"
></u-icon>
<view
class=
"create-view"
>
创建项目
</view>
<view
class=
"create-view"
>
创建项目
</view>
</u-button>
</u-button>
...
...
pages/workpoint/project/project-edit.vue
View file @
2849f3c4
...
@@ -44,7 +44,7 @@
...
@@ -44,7 +44,7 @@
<u-button
:custom-style=
"customDelete"
@
click=
"handleClickDelete"
class=
"delete-button"
>
<u-button
:custom-style=
"customDelete"
@
click=
"handleClickDelete"
class=
"delete-button"
>
<view
class=
"delete-view"
>
删除项目
</view>
<view
class=
"delete-view"
>
删除项目
</view>
</u-button>
</u-button>
<u-button
v-if=
"canClosed"
:custom-style=
"customConFirm"
@
click=
"handleClickSetting"
:loading=
"buttonLoading"
>
<u-button
type=
"success"
v-if=
"canClosed"
:custom-style=
"customConFirm"
@
click=
"handleClickSetting"
:loading=
"buttonLoading"
>
<view
class=
"confirm-view"
>
设置为已结清
</view>
<view
class=
"confirm-view"
>
设置为已结清
</view>
</u-button>
</u-button>
</view>
</view>
...
...
uni.scss
View file @
2849f3c4
...
@@ -82,7 +82,15 @@ $uni-font-size-paragraph:15px;
...
@@ -82,7 +82,15 @@ $uni-font-size-paragraph:15px;
display
:
none
;
display
:
none
;
}
}
/
deep
/
.u-default-hover
{
opacity
:
0
.6
!
important
;
}
/
deep
/
.u-success-hover
{
opacity
:
0
.6
!
important
;
}
/* uni.scss */
/* uni.scss */
@import
'uview-ui/theme.scss'
;
@import
'uview-ui/theme.scss'
;
// 引入自定义全局scss变量
// 引入自定义全局scss变量
@import
"@/static/styles/common.scss"
@import
"@/static/styles/common.scss"
;
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment