| | |
| | | <view class="container"> |
| | | <view class="example"> |
| | | <uni-forms ref="form" :model="food" labelWidth="100px"> |
| | | <uni-forms-item label="整只鸡腿卷" name="zhengzhitui"> |
| | | <uni-forms-item label="整只鸡腿卷饼" name="zhengZhiTui"> |
| | | <uni-easyinput type="number" placeholder="请输入一个数量" v-model="food.zhengZhiTui" /> |
| | | </uni-forms-item> |
| | | <uni-forms-item label="田园半腿卷" name="banzhitui"> |
| | | <uni-easyinput type="number" placeholder="请输入一个数量" v-model="food.banZhiTui" /> |
| | | <uni-forms-item label="田园半腿卷饼" name="banZhiTui"> |
| | | <uni-easyinput type="number" placeholder="请输入一个数量" v-model="food.banZhiTui" /> |
| | | </uni-forms-item> |
| | | </uni-forms> |
| | | <button type="primary" @click="submit">提交</button> |
| | | <uni-forms-item label="厚乳芝士卷饼" name="zhiShi"> |
| | | <uni-easyinput type="number" placeholder="请输入一个数量" v-model="food.zhiShi" /> |
| | | </uni-forms-item> |
| | | <uni-forms-item label="菠萝鸡腿卷饼" name="boLuo"> |
| | | <uni-easyinput type="number" placeholder="请输入一个数量" v-model="food.boLuo" /> |
| | | </uni-forms-item> |
| | | <uni-forms-item label="时蔬轻食卷饼" name="qingShi"> |
| | | <uni-easyinput type="number" placeholder="请输入一个数量" v-model="food.qingShi" /> |
| | | </uni-forms-item> |
| | | <uni-forms-item label="爆辣鸡腿卷饼" name="baoLa"> |
| | | <uni-easyinput type="number" placeholder="请输入一个数量" v-model="food.baoLa" /> |
| | | </uni-forms-item> |
| | | <uni-forms-item label="藤椒鸡腿卷饼" name="tengJiao"> |
| | | <uni-easyinput type="number" placeholder="请输入一个数量" v-model="food.tengJiao" /> |
| | | </uni-forms-item> |
| | | </uni-forms> |
| | | <button type="primary" @click="submit">开始测算</button> |
| | | </view> |
| | | </view> |
| | | </template> |