|
@@ -1,28 +1,54 @@
|
|
-<template lang="html">
|
|
|
|
-<div class="order">
|
|
|
|
- <h2>order</h2>
|
|
|
|
- <group>
|
|
|
|
- <cell title="title" value="value"></cell>
|
|
|
|
- </group>
|
|
|
|
- <h2>{{userId}}</h2>
|
|
|
|
- <navigation></navigation>
|
|
|
|
-</div>
|
|
|
|
|
|
+<template>
|
|
|
|
+ <div>
|
|
|
|
+ <div style="padding: 15px;">
|
|
|
|
+ <button-tab>
|
|
|
|
+ <button-tab-item >123</button-tab-item>
|
|
|
|
+ <button-tab-item selected>342</button-tab-item>
|
|
|
|
+ <button-tab-item >234</button-tab-item>
|
|
|
|
+ </button-tab>
|
|
|
|
+ <br>
|
|
|
|
+ <divider>2222</divider>
|
|
|
|
+ <br>
|
|
|
|
+ <button-tab v-model="demo01">
|
|
|
|
+ <button-tab-item @on-item-click="consoleIndex()">222</button-tab-item>
|
|
|
|
+ <button-tab-item @on-item-click="consoleIndex()">2222</button-tab-item>
|
|
|
|
+ </button-tab>
|
|
|
|
+ <br>
|
|
|
|
+ <button-tab v-model="demo01">
|
|
|
|
+ <button-tab-item>2222</button-tab-item>
|
|
|
|
+ <button-tab-item>234</button-tab-item>
|
|
|
|
+ </button-tab>
|
|
|
|
+ <br>
|
|
|
|
+ <divider>234234</divider>
|
|
|
|
+ <br>
|
|
|
|
+ <button-tab>
|
|
|
|
+ <button-tab-item selected>324234234</button-tab-item>
|
|
|
|
+ <button-tab-item><span class="vux-reddot-s">WERWERWE</span></button-tab-item>
|
|
|
|
+ </button-tab>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
</template>
|
|
</template>
|
|
|
|
|
|
|
|
+
|
|
|
|
+
|
|
<script>
|
|
<script>
|
|
- import { Group, Cell } from 'vux'
|
|
|
|
|
|
+ import { ButtonTab, ButtonTabItem, Divider } from 'vux'
|
|
|
|
+
|
|
export default {
|
|
export default {
|
|
|
|
+ components: {
|
|
|
|
+ ButtonTab,
|
|
|
|
+ ButtonTabItem,
|
|
|
|
+ Divider
|
|
|
|
+ },
|
|
|
|
+ methods: {
|
|
|
|
+ consoleIndex () {
|
|
|
|
+ console.log('click demo01', this.demo01)
|
|
|
|
+ }
|
|
|
|
+ },
|
|
data () {
|
|
data () {
|
|
return {
|
|
return {
|
|
- userId: this.$store.state.user.userId
|
|
|
|
|
|
+ demo01: 0
|
|
}
|
|
}
|
|
- },
|
|
|
|
- components: {
|
|
|
|
- Group,
|
|
|
|
- Cell
|
|
|
|
}
|
|
}
|
|
}
|
|
}
|
|
</script>
|
|
</script>
|
|
-
|
|
|
|
-<style lang="css">
|
|
|
|
-</style>
|
|
|