Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
self-support
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
李俊赕
self-support
Commits
53235fde
Commit
53235fde
authored
Apr 20, 2021
by
李俊赕
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
公共组件-添加备注
parent
e332c8a2
Changes
10
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
10 additions
and
2 deletions
+10
-2
classify.data.js
src/common/classify.data.js
+1
-1
XhCheckbox.vue
src/components/createCom/XhCheckbox.vue
+1
-0
XhFiles.vue
src/components/createCom/XhFiles.vue
+1
-0
XhInput.vue
src/components/createCom/XhInput.vue
+1
-0
XhLocation.vue
src/components/createCom/XhLocation.vue
+1
-0
XhPicker.vue
src/components/createCom/XhPicker.vue
+1
-0
XhRadio.vue
src/components/createCom/XhRadio.vue
+1
-0
XhScan.vue
src/components/createCom/XhScan.vue
+1
-0
XhSelect.vue
src/components/createCom/XhSelect.vue
+1
-0
complete.vue
src/pages/order/complete.vue
+1
-1
No files found.
src/common/classify.data.js
View file @
53235fde
...
...
@@ -4,7 +4,7 @@ export default [{
"required"
:
true
,
"fieldsTitle"
:
"A字裙"
,
"fieldsName"
:
"name"
,
"fieldsType"
:
"
inpu
t"
,
"fieldsType"
:
"
tex
t"
,
"fieldsValue"
:
""
,
"key"
:
"A字裙"
,
"icon"
:
"https://cdn.uviewui.com/uview/common/classify/1/1.jpg"
,
...
...
src/components/createCom/XhCheckbox.vue
View file @
53235fde
<!-- ******************* 多选框 ******************* -->
<
template
>
<view
class=
"list"
>
<view
v-for=
"(item,index) in settings"
:key=
"index"
...
...
src/components/createCom/XhFiles.vue
View file @
53235fde
<!-- ******************* 文件上传 ******************* -->
<
template
>
<view
class=
"file-box"
>
<view
class=
"u-flex"
@
click=
"selectUpload"
>
...
...
src/components/createCom/XhInput.vue
View file @
53235fde
<!-- ******************* 输入框 ******************* -->
<
template
>
<view>
<u-input
v-model=
"dataValue"
@
input=
"valueChange"
:type=
"type"
/>
...
...
src/components/createCom/XhLocation.vue
View file @
53235fde
<!-- ******************* 定位 ******************* -->
<
template
>
<view
class=
"list u-flex u-row-between"
>
<text
class=
"required"
v-if=
"item.required"
>
*
</text>
...
...
src/components/createCom/XhPicker.vue
View file @
53235fde
<!-- ******************* 单级/多级 选择 ******************* -->
<
template
>
<view
class=
"picker-box"
>
<view
class=
"u-flex u-row-between"
@
click=
"openPicker"
>
...
...
src/components/createCom/XhRadio.vue
View file @
53235fde
<!-- ******************* 单选框 ******************* -->
<
template
>
<view
class=
"list"
>
<view
v-for=
"(item,index) in settings"
:key=
"index"
:class=
"
{'txt':true,'active':item===dataValue}"
...
...
src/components/createCom/XhScan.vue
View file @
53235fde
<!-- ******************* 扫码 ******************* -->
<
template
>
<view
class=
""
>
<view
class=
"u-flex"
>
...
...
src/components/createCom/XhSelect.vue
View file @
53235fde
<!-- ******************* 单个下拉选择 ******************* -->
<
template
>
<view>
<u-input
v-model=
"dataValue"
readOnly
@
click=
"show=true"
type=
"select"
/>
...
...
src/pages/order/complete.vue
View file @
53235fde
...
...
@@ -30,7 +30,7 @@
{{
item
.
fieldsTitle
}}
</view>
<template
v-if=
"item.fieldsType"
>
<xh-input
v-if=
"
toLowerCase(item.fieldsType)==='input'
"
:groupIndex=
"groupIndex"
<xh-input
v-if=
"
['text','number'].indexOf(item.fieldsType)>=0
"
:groupIndex=
"groupIndex"
:itemIndex=
"itemIndex"
:item=
"item"
@
value-change=
"fieldValueChange"
>
</xh-input>
<xh-radio
v-else-if=
"toLowerCase(item.fieldsType)==='radio'"
...
...
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