Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
K
Kindergarten
Project
Project
Details
Activity
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
张杰
Kindergarten
Commits
ca4156f0
Commit
ca4156f0
authored
6 years ago
by
张杰
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
优化添加wc界面
parent
57d52cbb
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
index.js
pages/add_record/index.js
+1
-1
index.wxml
pages/add_record/index.wxml
+1
-1
No files found.
pages/add_record/index.js
View file @
ca4156f0
...
@@ -255,7 +255,7 @@ Page({
...
@@ -255,7 +255,7 @@ Page({
}
}
console
.
log
(
'pee '
+
pee
+
' poo '
+
poo
+
' diaper '
+
diaper
)
console
.
log
(
'pee '
+
pee
+
' poo '
+
poo
+
' diaper '
+
diaper
)
}
}
let
wcString
=
'pee '
+
pee
+
'
poo '
+
poo
+
' diaper '
+
diaper
let
wcString
=
'pee '
+
pee
+
'
次 poo '
+
poo
+
'次 diaper '
+
diaper
+
'次'
item
.
wcString
=
wcString
item
.
wcString
=
wcString
}
}
...
...
This diff is collapsed.
Click to expand it.
pages/add_record/index.wxml
View file @
ca4156f0
...
@@ -80,7 +80,7 @@
...
@@ -80,7 +80,7 @@
<!-- <view wx:for="{{item.recordItems}}" wx:for-item="r"> -->
<!-- <view wx:for="{{item.recordItems}}" wx:for-item="r"> -->
<view class='kg-quantity-cell'>
<view class='kg-quantity-cell'>
<template is='quantity_cell' data="{{title:item.recordStudentName,type:item.cellType,unit:item.cellUnit, options: item.cellOptions, selectOptionIndex:item.optionIndex, cellIndex:dietIndex, inputValue:item.value}}"></template>
<template is='quantity_cell' data="{{title:item.recordStudentName,type:item.cellType,unit:item.cellUnit, options: item.cellOptions, selectOptionIndex:item.optionIndex, cellIndex:dietIndex, inputValue:item.value}}"></template>
<
view class='kg-text-normal-gray'>{{item.wcString}}</view
>
<
text class='kg-text-normal-gray' style='margin-top:20rpx;color: black;' space="ensp">{{item.wcString}}</text
>
<!-- </view> -->
<!-- </view> -->
</view>
</view>
</view>
</view>
...
...
This diff is collapsed.
Click to expand it.
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