Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
T
take_order
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
和慭琛
take_order
Commits
022407ce
Commit
022407ce
authored
Mar 27, 2021
by
李俊赕
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'dev-photo-v2' of
https://git.banshouhui.com/heyinchen/take_order
into dev-photo-v2
parents
5097b821
f82046bc
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
433 additions
and
356 deletions
+433
-356
pages.json
take-order/pages.json
+6
-4
index.vue
take-order/pages/photo/index.vue
+19
-43
preview.vue
take-order/pages/photo/preview.vue
+14
-0
setting.vue
take-order/pages/photo/setting.vue
+394
-309
No files found.
take-order/pages.json
View file @
022407ce
...
@@ -124,10 +124,12 @@
...
@@ -124,10 +124,12 @@
{
{
"path"
:
"pages/photo/setting"
,
"path"
:
"pages/photo/setting"
,
"style"
:
{
"style"
:
{
"navigationBarTitleText"
:
"水印设置"
,
"navigationBarTitleText"
:
"水印设置"
,
"navigationBarBackgroundColor"
:
"#333333"
,
"navigationBarBackgroundColor"
:
"#FFFFFF"
,
"navigationBarTextStyle"
:
"#FFFFFF"
,
"backgroundColor"
:
"#F4F5F7"
"disableScroll"
:
true
//
"navigationBarBackgroundColor"
:
"#333333"
,
//
"navigationBarTextStyle"
:
"#FFFFFF"
,
//
"disableScroll"
:
true
}
}
},
},
{
{
...
...
take-order/pages/photo/index.vue
View file @
022407ce
...
@@ -5,8 +5,8 @@
...
@@ -5,8 +5,8 @@
<view
class=
"topTitle"
><text>
{{
dataItem
.
title
}}
</text></view>
<view
class=
"topTitle"
><text>
{{
dataItem
.
title
}}
</text></view>
<view
class=
"ph-pr-content"
>
<view
class=
"ph-pr-content"
>
<view
v-for=
"(item,ikey) in dataItem.data"
<view
v-for=
"(item,ikey) in dataItem.data"
:class=
"param[dataItem.type] === item.
_
id ? 'select-item-view' : 'item-view'"
:class=
"param[dataItem.type] === item.id ? 'select-item-view' : 'item-view'"
@
click=
"itemClick(dataItem.type, item
)"
:key=
"item._
id"
>
@
click=
"itemClick(dataItem.type, item
, ikey)"
:key=
"item.
id"
>
<text
class=
"itemTitle"
>
{{
item
.
name
}}
</text>
<text
class=
"itemTitle"
>
{{
item
.
name
}}
</text>
</view>
</view>
</view>
</view>
...
@@ -59,8 +59,7 @@
...
@@ -59,8 +59,7 @@
},
},
onLoad
(
e
)
{
onLoad
(
e
)
{
getApp
().
trackPage
(
'选择产品页'
)
getApp
().
trackPage
(
'选择产品页'
)
this
.
getclassifyList
()
this
.
getRelationDictionaryV2
()
},
},
onShareAppMessage
(
res
)
{
onShareAppMessage
(
res
)
{
let
shareObj
=
{
let
shareObj
=
{
...
@@ -72,69 +71,46 @@
...
@@ -72,69 +71,46 @@
}
}
return
shareObj
return
shareObj
},
},
methods
:
{
methods
:
{
getRelationDictionaryV2
:
function
()
{
getclassifyList
:
function
()
{
this
.
$u
.
cloudApi
.
getRelationDictionaryV2
().
then
(
res
=>
{
console
.
log
(
'V2:'
)
let
that
=
this
this
.
$u
.
cloudApi
.
getClassifyDictionary
().
then
(
res
=>
{
console
.
log
(
'获取产品数据:'
)
console
.
log
(
res
)
console
.
log
(
res
)
if
(
res
.
result
&&
res
.
result
.
data
)
{
if
(
res
&&
res
.
result
)
{
that
.
classifyList
=
res
.
result
.
data
this
.
classifyList
=
res
.
result
that
.
param
.
classifyId
=
that
.
classifyList
[
0
].
_id
this
.
param
.
classifyId
=
res
.
result
[
0
].
id
that
.
$u
.
cloudApi
.
getRelationDictionary
({
this
.
systemList
=
res
.
result
[
0
].
child
"classify_id"
:
that
.
param
.
classifyId
,
"field"
:
"system_id"
}).
then
(
res1
=>
{
that
.
systemList
=
res1
.
result
})
}
}
})
})
},
},
//选择 点击
//选择 点击
itemClick
:
function
(
type
,
item
)
{
itemClick
:
function
(
type
,
item
,
ikey
)
{
switch
(
type
)
{
switch
(
type
)
{
case
'classifyId'
:
case
'classifyId'
:
this
.
param
=
{
this
.
param
=
{
classifyId
:
item
.
_
id
,
classifyId
:
item
.
id
,
systemId
:
''
,
systemId
:
''
,
brandId
:
''
brandId
:
''
}
}
this
.
selectedAll
=
false
this
.
selectedAll
=
false
this
.
systemList
=
[]
this
.
systemList
=
this
.
classifyList
[
ikey
].
child
this
.
brandList
=
[]
this
.
brandList
=
[]
this
.
$u
.
cloudApi
.
getRelationDictionary
({
"classify_id"
:
this
.
param
.
classifyId
,
"field"
:
"system_id"
}).
then
(
res
=>
{
this
.
systemList
=
res
.
result
})
break
break
case
'systemId'
:
case
'systemId'
:
this
.
param
=
{
this
.
param
=
{
classifyId
:
this
.
param
.
classifyId
,
classifyId
:
this
.
param
.
classifyId
,
systemId
:
item
.
_
id
,
systemId
:
item
.
id
,
brandId
:
''
brandId
:
''
}
}
this
.
selectedAll
=
false
this
.
selectedAll
=
false
this
.
brandList
=
[]
this
.
brandList
=
this
.
systemList
[
ikey
].
child
this
.
$u
.
cloudApi
.
getRelationDictionary
({
"classify_id"
:
this
.
param
.
classifyId
,
"system_id"
:
this
.
param
.
systemId
,
"field"
:
"brand_id"
}).
then
(
res
=>
{
console
.
log
(
'获取品牌数据:'
,
res
)
this
.
brandList
=
res
.
result
})
break
break
case
'brandId'
:
case
'brandId'
:
this
.
param
.
brandId
=
item
.
_
id
this
.
param
.
brandId
=
item
.
id
this
.
selectedAll
=
true
this
.
selectedAll
=
true
this
.
brandName
=
item
.
name
this
.
brandName
=
item
.
name
break
break
...
...
take-order/pages/photo/preview.vue
View file @
022407ce
...
@@ -12,6 +12,7 @@
...
@@ -12,6 +12,7 @@
<
script
>
<
script
>
import
qiniup
from
'@/components/upload/qiniup'
;
import
qiniup
from
'@/components/upload/qiniup'
;
const
app
=
getApp
()
export
default
{
export
default
{
mixins
:
[
qiniup
],
mixins
:
[
qiniup
],
data
()
{
data
()
{
...
@@ -25,9 +26,18 @@
...
@@ -25,9 +26,18 @@
fileMaps
:
[],
fileMaps
:
[],
keys
:
[],
keys
:
[],
token
:
''
,
token
:
''
,
product
:
''
,
}
}
},
},
onLoad
(
e
)
{
onLoad
(
e
)
{
// 获取照片选项对象
const
product
=
app
.
globalData
.
photo
.
product
this
.
product
=
`?brandId=
${
product
.
brandId
}
&brand=
${
product
.
brandName
}
&classifyId=
${
product
.
classifyId
}
&systemId=
${
product
.
systemId
}
`
if
(
app
.
globalData
.
photo
.
currentItem
)
{
// 获取规格Id
this
.
standardId
=
app
.
globalData
.
photo
.
currentItem
.
_id
}
getApp
().
trackPage
(
'照片预览页'
)
getApp
().
trackPage
(
'照片预览页'
)
const
globalTempPath
=
getApp
().
globalData
.
photo
.
tempPath
const
globalTempPath
=
getApp
().
globalData
.
photo
.
tempPath
if
(
globalTempPath
&&
globalTempPath
.
mixWater
){
if
(
globalTempPath
&&
globalTempPath
.
mixWater
){
...
@@ -41,6 +51,9 @@
...
@@ -41,6 +51,9 @@
this
.
images
=
[
e
.
img
]
this
.
images
=
[
e
.
img
]
// this.downloadImages()
// this.downloadImages()
}
}
// if() {
// }
console
.
log
(
this
.
images
,
'this.images'
)
console
.
log
(
this
.
images
,
'this.images'
)
this
.
token
=
getApp
().
globalData
.
token
this
.
token
=
getApp
().
globalData
.
token
...
@@ -122,6 +135,7 @@
...
@@ -122,6 +135,7 @@
},
},
submitFile
()
{
submitFile
()
{
let
self
=
this
let
self
=
this
if
(
self
.
keys
.
length
)
{
if
(
self
.
keys
.
length
)
{
for
(
let
s
of
self
.
keys
)
{
for
(
let
s
of
self
.
keys
)
{
self
.
$u
.
cloudApi
.
saveImage
({
self
.
$u
.
cloudApi
.
saveImage
({
...
...
take-order/pages/photo/setting.vue
View file @
022407ce
<
template
>
<
template
>
<view
class=
"backView"
>
<view
class=
"backView"
>
<view
class=
"firstItemView"
>
<view
class=
"itemView firstItem"
>
<view
class=
"itemTitleView "
>
<view
class=
"itemTitleView"
>
<text
class=
"itemTitle"
>
保存原图
</text>
<text
class=
"itemTitle"
>
保存原图
</text>
<text
class=
"itemNotice"
>
拍照后另保存一张无水印的图片
</text>
<text
class=
"itemNotice"
>
拍照后另保存一张无水印的图片
</text>
</view>
</view>
<switch
class=
"itemSwitch"
:checked=
"isSaveOrigine"
@
change=
"saveOrigineChange"
color=
"#007AFF"
style=
"transform:scale(0.8)"
/>
<switch
class=
"itemSwitch"
:checked=
"result['has_origin']"
@
change=
"handleOrigineChange"
color=
"#007AFF"
</view>
style=
"transform:scale(0.8)"
/>
<view
class=
"itemView"
v-for=
"(item,ikey) in itemList"
:key=
"ikey"
>
</view>
<view
class=
"itemTitleView"
@
click=
"itemClick(item,ikey)"
>
<view
class=
"itemView"
v-if=
"showTitleSwitch"
>
<text
class=
"itemTitle"
>
{{
item
.
title
}}
</text>
<view
class=
"itemTitleView"
@
click=
"itemClick(
{},-1)">
<text
class=
"itemNotice"
>
{{
item
.
notice
}}
</text>
<text
class=
"itemTitle"
>
水印标题
</text>
</view>
<text
class=
"itemNotice"
>
{{
result
[
'lower_right'
][
'title_text'
]
||
'点击可编辑更改'
}}
</text>
<switch
class=
"itemSwitch"
:checked=
"item.isSelect"
@
change=
"itemChange"
color=
"#007AFF"
style=
"transform:scale(0.8)"
/>
</view>
</view>
<switch
class=
"itemSwitch"
:checked=
"result['lower_right']['title_text']"
@
change=
"itemChange(
{},-1)"
<view
class=
"shadowBackView"
v-if=
"isPopShow"
>
color="#007AFF" style="transform:scale(0.8)" />
<view
class=
"popCenterView"
>
</view>
<text
class=
"popTitle"
>
设置自定义项
</text>
<view
class=
"itemView"
v-for=
"(item,ikey) in itemList"
:key=
"ikey"
>
<view
class=
"inputBackView"
>
<view
class=
"itemTitleView"
@
click=
"itemClick(item,ikey)"
>
<view
class=
"leftInputView"
>
<text
class=
"itemTitle"
>
{{
item
[
'watemark_text'
]
||
'自定义'
+
(
ikey
+
1
)
}}
</text>
<input
class=
"leftInput"
type=
"text"
value=
""
placeholder=
"请输入"
@
input=
"leftInput"
/>
<text
class=
"itemNotice"
>
{{
item
[
'watemark_value'
]
||
'点击可编辑更改'
}}
</text>
</view>
</view>
:
<switch
class=
"itemSwitch"
:checked=
"item['watemark_value']"
@
change=
"itemChange(item, ikey)"
<view
class=
"rightInputView"
>
color=
"#007AFF"
style=
"transform:scale(0.8)"
/>
<input
class=
"rightInput"
type=
"text"
value=
""
placeholder=
"请输入内容"
@
input=
"rightInput"
/>
</view>
</view>
<view
class=
"shadowBackView"
v-if=
"isPopShow"
>
</view>
<view
class=
"popCenterView"
>
<text
class=
"popNoticeText u-m-t-40"
>
示例:
</text>
<text
class=
"popTitle"
>
设置自定义项
</text>
<text
class=
"popNoticeText"
>
工程队名称:蓝天工程队
</text>
<view
class=
"inputBackView"
>
<view
class=
"popBtnView"
>
<view
class=
"leftInputView"
>
<view
class=
"popCancelBtn"
@
click=
"popCancelClick()"
>
<input
class=
"leftInput"
type=
"text"
v-model=
"currenItem['watemark_text']"
<text
class=
"popBtnText"
>
取消
</text>
:disabled=
"currenItem.type === 'title_text'"
placeholder=
"请输入"
maxlength=
"10"
/>
</view>
</view>
<view
class=
"popSaveBtn"
@
click=
"popSaveClick()"
>
:
<text
class=
"popBtnText"
>
保存
</text>
<view
class=
"rightInputView"
>
</view>
<input
class=
"rightInput"
type=
"text"
v-model=
"currenItem['watemark_value']"
placeholder=
"请输入内容"
</view>
maxlength=
"30"
/>
</view>
</view>
</view>
</view>
</view>
<text
class=
"popNoticeText u-m-t-40"
>
示例:
</text>
</
template
>
<text
class=
"popNoticeText"
>
工程队名称:蓝天工程队
</text>
<view
class=
"popBtnView"
>
<
script
>
<view
class=
"popCancelBtn"
@
click=
"popCancelClick()"
>
export
default
{
<text
class=
"popBtnText"
>
取消
</text>
data
()
{
</view>
return
{
<view
class=
"popSaveBtn"
@
click=
"popSaveClick()"
>
isSaveOrigine
:
true
,
<text
class=
"popBtnText"
>
保存
</text>
itemList
:[],
</view>
isPopShow
:
false
,
</view>
icon_close_new
:
''
</view>
}
</view>
},
</view>
onLoad
(
e
)
{
</
template
>
getApp
().
trackPage
(
'水印设置页'
)
this
.
icon_close_new
=
getApp
().
globalData
.
icon_close_new
<
script
>
if
(
e
&&
e
.
product_code
){
export
default
{
this
.
product_code
=
e
.
product_code
data
()
{
}
return
{
systemId
:
''
,
this
.
getItemList
()
isSaveOrigine
:
true
,
},
isPopShow
:
false
,
methods
:
{
icon_close_new
:
''
,
result
:
{
getItemList
:
function
()
{
has_origin
:
true
,
this
.
itemList
=
[
lower_right
:
{
{
body
:
[]
title
:
'自定义1'
,
}
notice
:
'点击可编辑更改'
,
},
isSelect
:
false
currenItem
:
{
},
'watemark_text'
:
''
,
{
'watemark_value'
:
''
title
:
'自定义2'
,
},
notice
:
'点击可编辑更改'
,
editingItem
:
{}
isSelect
:
true
}
},
},
{
computed
:
{
title
:
'自定义3'
,
itemList
()
{
notice
:
'点击可编辑更改'
,
if
(
this
.
result
[
'lower_right'
])
{
isSelect
:
false
var
arr
=
this
.
result
[
'lower_right'
][
'body'
]
},
return
arr
.
filter
((
item
)
=>
{
{
return
item
.
watemark_type
===
'备注'
title
:
'自定义4'
,
})
notice
:
'点击可编辑更改'
,
}
else
{
isSelect
:
false
return
[]
},
}
{
title
:
'自定义5'
,
},
notice
:
'点击可编辑更改'
,
showTitleSwitch
()
{
isSelect
:
false
return
this
.
result
[
'lower_right'
].
hasOwnProperty
(
'title_text'
)
}
}
]
},
},
onLoad
(
e
)
{
getApp
().
trackPage
(
'水印设置页'
)
//保存原图 开关
this
.
icon_close_new
=
getApp
().
globalData
.
icon_close_new
saveOrigineChange
:
function
(
e
)
{
if
(
e
&&
e
.
systemId
)
{
console
.
log
(
'保存原图 开关 发生 change 事件,携带值为'
,
e
.
target
.
value
)
this
.
systemId
=
e
.
systemId
},
}
//自定义 开关
this
.
getItemList
()
itemChange
:
function
(
e
)
{
},
console
.
log
(
'自定义 开关 发生 change 事件,携带值为'
,
e
.
target
.
value
)
methods
:
{
},
getItemList
:
function
()
{
//自定义 点击
this
.
systemId
=
'79550af260555cc20afb34156c94b32c'
// 测试数据
itemClick
:
function
(
item
,
ikey
)
{
uni
.
showLoading
();
console
.
log
(
'自定义 开关 发生 click 事件,携带值为'
,
item
,
ikey
)
this
.
$u
.
cloudApi
.
getUserWatermark
({
this
.
isPopShow
=
true
'system_id'
:
this
.
systemId
},
}).
then
(
res
=>
{
console
.
log
(
res
)
//左侧输入框
leftInput
:
function
(
e
){
if
(
res
&&
res
.
result
)
{
console
.
log
(
'左侧输入框 发生 input 事件,携带值为'
,
e
.
detail
.
value
)
this
.
result
=
res
.
result
},
}
this
.
$nextTick
(
function
()
{
//右侧输入框
uni
.
hideLoading
();
rightInput
:
function
(
e
){
})
console
.
log
(
'右侧输入框 发生 input 事件,携带值为'
,
e
.
detail
.
value
)
},
})
},
//自定义弹窗 关闭
saveUserWatermark
:
function
()
{
popCancelClick
:
function
()
{
uni
.
showLoading
();
this
.
isPopShow
=
false
this
.
$u
.
cloudApi
.
saveUserWatermark
({
},
'token'
:
getApp
().
globalData
.
token
,
'watermark'
:
this
.
result
//自定义弹窗 保存
}).
then
(
res
=>
{
popSaveClick
:
function
()
{
console
.
log
(
res
)
this
.
isPopShow
=
false
this
.
$nextTick
(
function
()
{
}
uni
.
hideLoading
();
})
}
})
}
},
</
script
>
//保存原图 开关
<
style
>
handleOrigineChange
:
function
(
e
)
{
.backView
{
this
.
result
[
'has_origin'
]
=
!
this
.
result
[
'has_origin'
]
background-color
:
#FAFAFA
;
console
.
log
(
'保存原图 开关 发生 change 事件,携带值为'
,
this
.
result
[
'has_origin'
])
position
:
absolute
;
},
top
:
0
;
left
:
0
;
//自定义 开关
width
:
100%
;
itemChange
:
function
(
item
,
ikey
)
{
display
:
flex
;
if
(
ikey
===
-
1
)
{
// 水印标题
flex-direction
:
column
;
if
(
this
.
result
[
'lower_right'
][
'title_text'
])
{
align-items
:
center
;
// 修改
}
this
.
saveUserWatermark
()
}
else
{
.firstItemView
{
// 弹出修改框
background-color
:
#FFFFFF
;
this
.
itemClick
(
item
,
ikey
)
width
:
100%
;
}
display
:
flex
;
}
else
{
// 其他自定义
flex-direction
:
row
;
if
(
item
[
'watemark_value'
])
{
align-items
:
center
;
// 修改
justify-content
:
space-between
;
this
.
saveUserWatermark
()
padding-top
:
80
rpx
;
}
else
{
padding-bottom
:
80
rpx
;
// 弹出修改框
border-bottom
:
2
rpx
solid
#F4F5F7
;
this
.
itemClick
(
item
,
ikey
)
}
}
.itemView
{
}
background-color
:
#FFFFFF
;
},
width
:
100%
;
display
:
flex
;
//自定义 点击
flex-direction
:
row
;
itemClick
:
function
(
item
,
ikey
)
{
align-items
:
center
;
if
(
ikey
===
-
1
)
{
justify-content
:
space-between
;
this
.
currenItem
=
{
padding-top
:
54
rpx
;
'watemark_text'
:
'水印标题'
,
padding-bottom
:
54
rpx
;
'watemark_value'
:
this
.
result
[
'lower_right'
][
'title_text'
],
'type'
:
'title_text'
}
}
}
else
{
this
.
editingItem
=
item
.itemTitleView
{
this
.
currenItem
=
{
background-color
:
#FFFFFF
;
...
item
width
:
80%
;
}
display
:
flex
;
}
flex-direction
:
column
;
padding-left
:
30
rpx
;
this
.
isPopShow
=
true
}
},
.itemTitle
{
//左侧输入框
font-size
:
32
rpx
;
leftInput
:
function
(
e
)
{
font-weight
:
bold
;
console
.
log
(
'左侧输入框 发生 input 事件,携带值为'
,
e
.
detail
.
value
)
color
:
#333333
;
},
}
//右侧输入框
.itemNotice
{
rightInput
:
function
(
e
)
{
font-size
:
26
rpx
;
console
.
log
(
'右侧输入框 发生 input 事件,携带值为'
,
e
.
detail
.
value
)
font-weight
:
bold
;
},
color
:
#666666
;
margin-top
:
4
rpx
;
//自定义弹窗 关闭
}
popCancelClick
:
function
()
{
this
.
currenItem
=
{
.itemSwitch
{
'watemark_text'
:
''
,
margin-right
:
30
rpx
;
'watemark_value'
:
''
}
}
this
.
isPopShow
=
false
.shadowBackView
{
},
background-color
:
rgba
(
0
,
0
,
0
,
0.5
);
position
:
absolute
;
//自定义弹窗 保存
top
:
0
;
popSaveClick
:
function
()
{
left
:
0
;
this
.
isPopShow
=
false
width
:
100%
;
debugger
height
:
100%
;
if
(
this
.
currenItem
.
type
===
'title_text'
)
{
display
:
flex
;
this
.
result
[
'lower_right'
][
'title_text'
]
=
this
.
currenItem
[
'watemark_value'
]
flex-direction
:
column
;
}
else
{
align-items
:
center
;
this
.
editingItem
[
'watemark_text'
]
=
this
.
currenItem
[
'watemark_text'
]
}
this
.
editingItem
[
'watemark_value'
]
=
this
.
currenItem
[
'watemark_value'
]
}
this
.
saveUserWatermark
()
.popCenterView
{
}
background-color
:
#FFFFFF
;
width
:
690
rpx
;
height
:
600
rpx
;
}
margin-top
:
300
rpx
;
}
border-radius
:
12
rpx
;
</
script
>
display
:
flex
;
flex-direction
:
column
;
<
style
>
.backView
{
}
background-color
:
#FAFAFA
;
position
:
absolute
;
.popTitle
{
top
:
0
;
font-size
:
36
rpx
;
left
:
0
;
font-weight
:
bold
;
width
:
100%
;
margin-top
:
50
rpx
;
display
:
flex
;
padding-left
:
30
rpx
;
flex-direction
:
column
;
}
align-items
:
center
;
}
.inputBackView
{
margin-top
:
52
rpx
;
/*
width
:
100%
;
.firstItemView{
display
:
flex
;
background-color: #FFFFFF;
flex-direction
:
row
;
width: 100%;
align-items
:
center
;
display: flex;
justify-content
:
space-between
;
flex-direction: row;
}
align-items: center;
justify-content: space-between;
.leftInputView
{
padding-top: 80rpx;
width
:
220
rpx
;
padding-bottom: 80rpx;
height
:
72
rpx
;
border-bottom: 2rpx solid #F4F5F7;
border
:
2
rpx
solid
#666666
;
} */
margin-left
:
30
rpx
;
display
:
flex
;
.itemView
{
align-items
:
center
;
background-color
:
#FFFFFF
;
justify-content
:
center
;
width
:
100%
;
}
display
:
flex
;
flex-direction
:
row
;
.leftInput
{
align-items
:
center
;
width
:
180
rpx
;
justify-content
:
space-between
;
height
:
32
rpx
;
padding-top
:
54
rpx
;
}
padding-bottom
:
54
rpx
;
.rightInputView
{
}
width
:
360
rpx
;
height
:
72
rpx
;
.itemView.firstItem
{
border
:
2
rpx
solid
#666666
;
border-bottom
:
2
rpx
solid
#F4F5F7
;
margin-right
:
30
rpx
;
}
display
:
flex
;
align-items
:
center
;
.itemTitleView
{
justify-content
:
center
;
background-color
:
#FFFFFF
;
}
width
:
80%
;
display
:
flex
;
.rightInput
{
flex-direction
:
column
;
width
:
320
rpx
;
padding-left
:
30
rpx
;
height
:
32
rpx
;
}
}
.itemTitle
{
.popNoticeText
{
font-size
:
32
rpx
;
font-size
:
26
rpx
;
font-weight
:
bold
;
color
:
#666666
;
color
:
#333333
;
padding-left
:
30
rpx
;
}
}
.itemNotice
{
.popBtnView
{
font-size
:
26
rpx
;
margin-top
:
110
rpx
;
font-weight
:
bold
;
width
:
100%
;
color
:
#666666
;
display
:
flex
;
margin-top
:
4
rpx
;
align-items
:
center
;
}
justify-content
:
space-between
;
}
.itemSwitch
{
margin-right
:
30
rpx
;
.popCancelBtn
{
}
background-color
:
#D1D4D4
;
width
:
280
rpx
;
.shadowBackView
{
height
:
96
rpx
;
background-color
:
rgba
(
0
,
0
,
0
,
0.5
);
border-radius
:
48
rpx
;
position
:
absolute
;
margin-left
:
40
rpx
;
top
:
0
;
display
:
flex
;
left
:
0
;
align-items
:
center
;
width
:
100%
;
justify-content
:
center
;
height
:
100%
;
}
display
:
flex
;
flex-direction
:
column
;
.popSaveBtn
{
align-items
:
center
;
background-color
:
#2272FF
;
}
width
:
280
rpx
;
height
:
96
rpx
;
border-radius
:
48
rpx
;
.popCenterView
{
margin-right
:
40
rpx
;
background-color
:
#FFFFFF
;
display
:
flex
;
width
:
690
rpx
;
align-items
:
center
;
height
:
600
rpx
;
justify-content
:
center
;
margin-top
:
300
rpx
;
}
border-radius
:
12
rpx
;
display
:
flex
;
.popBtnText
{
flex-direction
:
column
;
font-size
:
32
rpx
;
color
:
#FFFFFF
;
}
font-weight
:
600
;
}
.popTitle
{
font-size
:
36
rpx
;
font-weight
:
bold
;
margin-top
:
50
rpx
;
padding-left
:
30
rpx
;
}
.inputBackView
{
margin-top
:
52
rpx
;
width
:
100%
;
display
:
flex
;
flex-direction
:
row
;
align-items
:
center
;
justify-content
:
space-between
;
}
.leftInputView
{
width
:
220
rpx
;
height
:
72
rpx
;
border
:
2
rpx
solid
#666666
;
margin-left
:
30
rpx
;
display
:
flex
;
align-items
:
center
;
justify-content
:
center
;
}
.leftInput
{
width
:
180
rpx
;
height
:
32
rpx
;
}
.rightInputView
{
width
:
360
rpx
;
height
:
72
rpx
;
border
:
2
rpx
solid
#666666
;
margin-right
:
30
rpx
;
display
:
flex
;
align-items
:
center
;
justify-content
:
center
;
}
.rightInput
{
width
:
320
rpx
;
height
:
32
rpx
;
}
.popNoticeText
{
font-size
:
26
rpx
;
color
:
#666666
;
padding-left
:
30
rpx
;
}
.popBtnView
{
margin-top
:
110
rpx
;
width
:
100%
;
display
:
flex
;
align-items
:
center
;
justify-content
:
space-between
;
}
.popCancelBtn
{
background-color
:
#D1D4D4
;
width
:
280
rpx
;
height
:
96
rpx
;
border-radius
:
48
rpx
;
margin-left
:
40
rpx
;
display
:
flex
;
align-items
:
center
;
justify-content
:
center
;
}
.popSaveBtn
{
background-color
:
#2272FF
;
width
:
280
rpx
;
height
:
96
rpx
;
border-radius
:
48
rpx
;
margin-right
:
40
rpx
;
display
:
flex
;
align-items
:
center
;
justify-content
:
center
;
}
.popBtnText
{
font-size
:
32
rpx
;
color
:
#FFFFFF
;
font-weight
:
600
;
}
</
style
>
</
style
>
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