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
a689a8db
Commit
a689a8db
authored
Oct 19, 2022
by
刘文虎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
绘图兼容性
parent
2310a6b7
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
32 additions
and
14 deletions
+32
-14
index.vue
components/submit-button/index.vue
+5
-1
unit-popup.vue
components/unit-popup/unit-popup.vue
+1
-1
pages.json
pages.json
+1
-2
show-collection.vue
pages/maintain-bill/components/show-collection.vue
+24
-9
collection.js
utils/options/maintain-bill/collection.js
+1
-1
No files found.
components/submit-button/index.vue
View file @
a689a8db
<
template
>
<
template
>
<view
:style=
"
{background:background,position:position}" class="submit-button-box"
v-loading="loading"
>
<view
:style=
"
{background:background,position:position}" class="submit-button-box">
<view
class=
"submit-button"
:class=
"
{ disabled: disabled }" :style="buttonStyleString" hover-class="u-hover-class" @click.stop="$u.throttle(submit, 500)">
<view
class=
"submit-button"
:class=
"
{ disabled: disabled }" :style="buttonStyleString" hover-class="u-hover-class" @click.stop="$u.throttle(submit, 500)">
<u-loading
mode=
"flower"
v-if=
"loading"
:style=
"
{color:buttonStyle
&&
buttonStyle.color?buttonStyle.color:''}" class="loading-icon">
</u-loading>
<u-icon
name=
"plus"
v-if=
"plusIcon"
class=
"plus-icon"
></u-icon>
<u-icon
name=
"plus"
v-if=
"plusIcon"
class=
"plus-icon"
></u-icon>
<view
class=
"submit-button-text"
>
{{
text
}}
</view>
<view
class=
"submit-button-text"
>
{{
text
}}
</view>
</view>
</view>
...
@@ -93,6 +94,9 @@ export default {
...
@@ -93,6 +94,9 @@ export default {
margin-bottom
:
4rpx
;
margin-bottom
:
4rpx
;
}
}
}
}
.loading-icon
{
color
:
#ffffff
;
}
.disabled
{
.disabled
{
background
:
#7dcfb8
;
background
:
#7dcfb8
;
color
:
rgba
(
255
,
255
,
255
,
0
.6
);
color
:
rgba
(
255
,
255
,
255
,
0
.6
);
...
...
components/unit-popup/unit-popup.vue
View file @
a689a8db
...
@@ -29,7 +29,7 @@ export default {
...
@@ -29,7 +29,7 @@ export default {
},
},
options
:{
options
:{
type
:
Array
,
type
:
Array
,
default
:
unitOptions
default
:
()
=>
unitOptions
},
},
},
},
data
()
{
data
()
{
...
...
pages.json
View file @
a689a8db
...
@@ -393,8 +393,7 @@
...
@@ -393,8 +393,7 @@
"style"
:
{
"style"
:
{
"navigationBarTitleText"
:
"收款收据(通用)"
,
"navigationBarTitleText"
:
"收款收据(通用)"
,
"navigationStyle"
:
"custom"
,
"navigationStyle"
:
"custom"
,
"enablePullDownRefresh"
:
false
,
"enablePullDownRefresh"
:
false
"disableScroll"
:
true
}
}
},
{
},
{
"path"
:
"create"
,
"path"
:
"create"
,
...
...
pages/maintain-bill/components/show-collection.vue
View file @
a689a8db
...
@@ -217,7 +217,8 @@ export default {
...
@@ -217,7 +217,8 @@ export default {
padding
:
'4px 0'
,
padding
:
'4px 0'
,
width
:
'100%'
,
width
:
'100%'
,
display
:
'flex'
,
display
:
'flex'
,
'align-items'
:
'center'
'align-items'
:
'center'
,
'box-sizing'
:
'border-box'
};
};
let
labelCss
=
{
let
labelCss
=
{
width
:
'40px'
,
width
:
'40px'
,
...
@@ -229,7 +230,8 @@ export default {
...
@@ -229,7 +230,8 @@ export default {
justifyContent
:
'flex-start'
justifyContent
:
'flex-start'
};
};
let
valueCss
=
{
let
valueCss
=
{
width
:
'292px'
,
width
:
'288px'
,
// flex:1,
height
:
'14px'
,
height
:
'14px'
,
'line-height'
:
'14px'
,
'line-height'
:
'14px'
,
'border-bottom'
:
borderCss
,
'border-bottom'
:
borderCss
,
...
@@ -343,6 +345,14 @@ export default {
...
@@ -343,6 +345,14 @@ export default {
// 金额
// 金额
if
(
item
.
value
===
'actualAmount'
)
{
if
(
item
.
value
===
'actualAmount'
)
{
let
trRightPadding
=
'0px'
;
// if (this.platform === '4' ) {
// if(this.isIOS){
// trRightPadding = '3px';
// }else{
// trRightPadding = '3px';
// }
// }
trRight
.
css
=
{
trRight
.
css
=
{
...
valueCss
,
...
valueCss
,
'border-bottom'
:
'none'
,
'border-bottom'
:
'none'
,
...
@@ -350,10 +360,11 @@ export default {
...
@@ -350,10 +360,11 @@ export default {
'align-items'
:
'center'
,
'align-items'
:
'center'
,
'justify-content'
:
'space-between'
,
'justify-content'
:
'space-between'
,
overflow
:
'visible'
,
overflow
:
'visible'
,
color
:
defaultColor
color
:
defaultColor
,
// 'padding-right': trRightPadding,
'padding-right'
:
'3px'
,
};
};
let
numberViews
=
this
.
uppercaseNumber
.
map
(
numberItem
=>
{
let
numberViews
=
this
.
uppercaseNumber
.
map
(
numberItem
=>
{
console
.
log
(
numberItem
.
value
===
'-'
);
let
view
=
{
let
view
=
{
type
:
'view'
,
type
:
'view'
,
css
:
{
css
:
{
...
@@ -380,12 +391,13 @@ export default {
...
@@ -380,12 +391,13 @@ export default {
};
};
return
view
;
return
view
;
});
});
trRight
.
views
=
[
trRight
.
views
=
[
{
{
type
:
'view'
,
type
:
'view'
,
css
:
{
css
:
{
display
:
'inline-block'
,
display
:
'inline-block'
,
width
:
'
200
px'
,
width
:
'
197
px'
,
height
:
'100%'
,
height
:
'100%'
,
'border-bottom'
:
borderCss
'border-bottom'
:
borderCss
},
},
...
@@ -398,7 +410,8 @@ export default {
...
@@ -398,7 +410,8 @@ export default {
'margin-left'
:
'18px'
,
'margin-left'
:
'18px'
,
height
:
'14px'
,
height
:
'14px'
,
'line-height'
:
'14px'
,
'line-height'
:
'14px'
,
'box-sizing'
:
'border-box'
'box-sizing'
:
'border-box'
,
// background: 'red'
},
},
views
:
[
views
:
[
{
{
...
@@ -629,7 +642,8 @@ export default {
...
@@ -629,7 +642,8 @@ export default {
width
:
`
${
375
*
scale
}
px`
,
width
:
`
${
375
*
scale
}
px`
,
'background-color'
:
'#FFFFFF'
,
'background-color'
:
'#FFFFFF'
,
padding
:
'12px 8px'
,
padding
:
'12px 8px'
,
color
:
orangeColor
color
:
orangeColor
,
'box-sizing'
:
'border-box'
},
},
views
:
[
views
:
[
// 标题
// 标题
...
@@ -695,13 +709,14 @@ export default {
...
@@ -695,13 +709,14 @@ export default {
{
{
type
:
'view'
,
type
:
'view'
,
css
:
{
css
:
{
width
:
'
351px
'
,
width
:
'
100%
'
,
fontSize
:
'7px'
,
fontSize
:
'7px'
,
lineHeight
:
'11px'
,
lineHeight
:
'11px'
,
textAlign
:
'left'
,
textAlign
:
'left'
,
marginTop
:
'3px'
,
marginTop
:
'3px'
,
padding
:
'0 8px'
,
padding
:
'0 8px'
,
border
:
borderCss
border
:
borderCss
,
'box-sizing'
:
'border-box'
},
},
views
:
tableView
views
:
tableView
},
},
...
...
utils/options/maintain-bill/collection.js
View file @
a689a8db
...
@@ -69,7 +69,7 @@ export const canvasTableCellOptions = [
...
@@ -69,7 +69,7 @@ export const canvasTableCellOptions = [
{
{
value
:
"actualAmount"
,
value
:
"actualAmount"
,
// #ifdef APP-PLUS
// #ifdef APP-PLUS
label
:
"金 额 ( 大 写"
,
label
:
"金 额 ( 大 写
)
"
,
// #endif
// #endif
// #ifndef APP-PLUS
// #ifndef APP-PLUS
label
:
"金 额( 大写 )"
,
label
:
"金 额( 大写 )"
,
...
...
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