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
73835638
Commit
73835638
authored
Jul 27, 2022
by
Facius
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
https://git.banshouhui.com/liuwenhu/account-book
parents
b9c0e34f
3215f24e
Pipeline
#2979
canceled with stages
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
26 additions
and
13 deletions
+26
-13
price.vue
pages/bill/quoted-price/price/price.vue
+14
-5
login.vue
pages/login/login.vue
+6
-4
quick-login.vue
pages/login/quick-login/quick-login.vue
+6
-4
No files found.
pages/bill/quoted-price/price/price.vue
View file @
73835638
...
@@ -9,7 +9,8 @@
...
@@ -9,7 +9,8 @@
</view>
</view>
<!-- 滚动区域 -->
<!-- 滚动区域 -->
<view
class=
"scroll-panel"
id=
"scroll-panel"
>
<view
class=
"scroll-panel"
id=
"scroll-panel"
>
<view
class=
"list-box"
>
<NoData
v-if=
"noData"
:text=
"noDataText"
customStyle=
"margin-top: 0rpx;"
:imageName=
"noDataImage"
/>
<view
class=
"list-box"
v-else
>
<view
class=
"left"
>
<view
class=
"left"
>
<scroll-view
scroll-y
:style=
"
{ width: '100%', height: '100%' }">
<scroll-view
scroll-y
:style=
"
{ width: '100%', height: '100%' }">
<view
class=
"item"
:class=
"
{ active: index == leftIndex }" v-for="(item, index) in leftArray" :id="item.classA" :key="index" @click="leftTap(item, index)">
<view
class=
"item"
:class=
"
{ active: index == leftIndex }" v-for="(item, index) in leftArray" :id="item.classA" :key="index" @click="leftTap(item, index)">
...
@@ -83,6 +84,7 @@
...
@@ -83,6 +84,7 @@
</
template
>
</
template
>
<
script
>
<
script
>
import
NoData
from
'@/components/no-data'
;
import
QuotedPriceStep
from
'../components/quoted-price-step.vue'
;
import
QuotedPriceStep
from
'../components/quoted-price-step.vue'
;
import
UniCollapse
from
'@/components/uni-collapse/uni-collapse.vue'
;
import
UniCollapse
from
'@/components/uni-collapse/uni-collapse.vue'
;
import
UniCollapseItem
from
'@/components/uni-collapse-item/uni-collapse-item.vue'
;
import
UniCollapseItem
from
'@/components/uni-collapse-item/uni-collapse-item.vue'
;
...
@@ -93,9 +95,11 @@ import CartPopup from './components/cart-popup.vue';
...
@@ -93,9 +95,11 @@ import CartPopup from './components/cart-popup.vue';
import
{
mapGetters
}
from
'vuex'
;
import
{
mapGetters
}
from
'vuex'
;
import
{
getOffer
}
from
'@/api/bill/quoted-price.js'
;
import
{
getOffer
}
from
'@/api/bill/quoted-price.js'
;
export
default
{
export
default
{
components
:
{
QuotedPriceStep
,
UniCollapse
,
UniCollapseItem
,
QuotedPriceTips
,
CollapseBody
,
ShoppingCart
,
CartPopup
},
components
:
{
NoData
,
QuotedPriceStep
,
UniCollapse
,
UniCollapseItem
,
QuotedPriceTips
,
CollapseBody
,
ShoppingCart
,
CartPopup
},
data
()
{
data
()
{
return
{
return
{
noDataText
:
'当前暂无内容'
,
noDataImage
:
'bill/wuzhangdanneirong@3x.png'
,
form
:
{
form
:
{
serviceType
:
''
,
serviceType
:
''
,
brandCode
:
''
,
brandCode
:
''
,
...
@@ -110,14 +114,18 @@ export default {
...
@@ -110,14 +114,18 @@ export default {
topArr
:
[],
topArr
:
[],
leftIndex
:
0
,
leftIndex
:
0
,
shoppingCartList
:
[],
// 购物车商品
shoppingCartList
:
[],
// 购物车商品
cartShow
:
false
cartShow
:
false
,
loaded
:
false
,
};
};
},
},
computed
:
{
computed
:
{
...
mapGetters
([
'quotedPriceTooltip'
])
...
mapGetters
([
'quotedPriceTooltip'
])
,
// mainData(){
// mainData(){
// return this.totalArray[this.leftIndex]
// return this.totalArray[this.leftIndex]
// }
// },
noData
()
{
return
(
this
.
totalArray
||
[]).
length
==
0
&&
this
.
loaded
;
}
},
},
onLoad
(
options
)
{
onLoad
(
options
)
{
if
(
options
)
{
if
(
options
)
{
...
@@ -304,6 +312,7 @@ export default {
...
@@ -304,6 +312,7 @@ export default {
console
.
log
(
e
);
console
.
log
(
e
);
//TODO handle the exception
//TODO handle the exception
}
}
this
.
loaded
=
true
},
},
/* 左侧导航点击 */
/* 左侧导航点击 */
leftTap
(
item
,
index
)
{
leftTap
(
item
,
index
)
{
...
...
pages/login/login.vue
View file @
73835638
...
@@ -4,7 +4,7 @@
...
@@ -4,7 +4,7 @@
<view
class=
"quick-color-cancel"
:style=
"
{ 'padding-top': platform == '3' ? 0 : statusBarHeight + 'px' }">
<u-icon
name=
"close"
@
click=
"toIndex"
></u-icon></view>
<view
class=
"quick-color-cancel"
:style=
"
{ 'padding-top': platform == '3' ? 0 : statusBarHeight + 'px' }">
<u-icon
name=
"close"
@
click=
"toIndex"
></u-icon></view>
</view>
</view>
<view
class=
"quick-background"
>
<view
class=
"quick-background"
>
<image
src=
"/static/image/login/startup/denglulogo@3x.png
"
mode=
""
class=
"quick-background-logo"
></image>
<image
:src=
"logoImage
"
mode=
""
class=
"quick-background-logo"
></image>
<image
src=
"/static/image/index/shiyongbanshou@3x.png"
mode=
""
class=
"quick-background-slogn"
></image>
<image
src=
"/static/image/index/shiyongbanshou@3x.png"
mode=
""
class=
"quick-background-slogn"
></image>
</view>
</view>
<view
class=
"quick-mark"
>
<view
class=
"quick-mark"
>
...
@@ -42,11 +42,13 @@
...
@@ -42,11 +42,13 @@
</
template
>
</
template
>
<
script
>
<
script
>
import
{
baseUrl
}
from
'@/utils/config.js'
;
import
{
mapGetters
}
from
'vuex'
;
import
{
mapGetters
}
from
'vuex'
;
export
default
{
export
default
{
components
:
{},
components
:
{},
data
()
{
data
()
{
return
{
return
{
logoImage
:
baseUrl
+
'login-logo@3x.png'
,
agree
:
false
,
agree
:
false
,
statusBarHeight
:
20
,
statusBarHeight
:
20
,
loading
:
false
loading
:
false
...
@@ -202,13 +204,13 @@ export default {
...
@@ -202,13 +204,13 @@ export default {
align-items
:
center
;
align-items
:
center
;
flex-direction
:
column
;
flex-direction
:
column
;
&
-logo
{
&
-logo
{
width
:
144
upx
;
width
:
216
upx
;
height
:
144
upx
;
height
:
216
upx
;
}
}
&
-slogn
{
&
-slogn
{
width
:
362upx
;
width
:
362upx
;
height
:
38upx
;
height
:
38upx
;
margin-top
:
46
upx
;
margin-top
:
10
upx
;
}
}
}
}
&
-mark
{
&
-mark
{
...
...
pages/login/quick-login/quick-login.vue
View file @
73835638
...
@@ -4,7 +4,7 @@
...
@@ -4,7 +4,7 @@
<view
class=
"quick-color-cancel"
:style=
"
{ 'padding-top': platform == '3' ? 0 : statusBarHeight + 'px' }">
<u-icon
name=
"close"
@
click=
"toIndex"
></u-icon></view>
<view
class=
"quick-color-cancel"
:style=
"
{ 'padding-top': platform == '3' ? 0 : statusBarHeight + 'px' }">
<u-icon
name=
"close"
@
click=
"toIndex"
></u-icon></view>
</view>
</view>
<view
class=
"quick-background"
>
<view
class=
"quick-background"
>
<image
src=
"/static/image/index/denglulogo@3x.png
"
mode=
""
class=
"quick-background-logo"
></image>
<image
:src=
"logoImage
"
mode=
""
class=
"quick-background-logo"
></image>
<image
src=
"/static/image/index/shiyongbanshou@3x.png"
mode=
""
class=
"quick-background-slogn"
></image>
<image
src=
"/static/image/index/shiyongbanshou@3x.png"
mode=
""
class=
"quick-background-slogn"
></image>
</view>
</view>
<view
class=
"quick-mark"
>
<view
class=
"quick-mark"
>
...
@@ -19,6 +19,7 @@
...
@@ -19,6 +19,7 @@
</view>
</view>
</
template
>
</
template
>
<
script
>
<
script
>
import
{
baseUrl
}
from
'@/utils/config.js'
;
import
log
from
'@/utils/log.js'
;
import
log
from
'@/utils/log.js'
;
import
{
showToast
}
from
'@/utils/common.js'
;
import
{
showToast
}
from
'@/utils/common.js'
;
import
{
mapGetters
}
from
'vuex'
;
import
{
mapGetters
}
from
'vuex'
;
...
@@ -26,6 +27,7 @@ export default {
...
@@ -26,6 +27,7 @@ export default {
components
:
{},
components
:
{},
data
()
{
data
()
{
return
{
return
{
logoImage
:
baseUrl
+
'login-logo@3x.png'
,
needAuth
:
true
,
needAuth
:
true
,
list
:
[
list
:
[
{
{
...
@@ -445,13 +447,13 @@ export default {
...
@@ -445,13 +447,13 @@ export default {
align-items
:
center
;
align-items
:
center
;
flex-direction
:
column
;
flex-direction
:
column
;
&
-logo
{
&
-logo
{
width
:
144
upx
;
width
:
216
upx
;
height
:
144
upx
;
height
:
216
upx
;
}
}
&
-slogn
{
&
-slogn
{
width
:
362upx
;
width
:
362upx
;
height
:
38upx
;
height
:
38upx
;
margin-top
:
46
upx
;
margin-top
:
10
upx
;
}
}
}
}
&
-mark
{
&
-mark
{
...
...
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