45 lines
738 B
Vue
45 lines
738 B
Vue
<template>
|
|
<view class="container">
|
|
<view class="price-list">
|
|
<uni-list>
|
|
<uni-list-item v-for="item in priceList" >
|
|
<price-cell></price-cell>
|
|
</uni-list-item>
|
|
</uni-list>
|
|
</view>
|
|
</view>
|
|
</template>
|
|
|
|
<script lang="ts">
|
|
import { Component, Vue } from 'vue-property-decorator'
|
|
import PriceCell from '@/components/PriceCell/index.vue'
|
|
|
|
@Component({
|
|
name: 'GameInfo',
|
|
components: {
|
|
PriceCell,
|
|
}
|
|
})
|
|
export default class extends Vue{
|
|
private priceList: string[] = ['1', '2', '3']
|
|
|
|
onLoad() {
|
|
|
|
}
|
|
async created() {
|
|
uni.setNavigationBarTitle({
|
|
title: "游戏详情"
|
|
});
|
|
}
|
|
private onClickBack() {
|
|
|
|
}
|
|
}
|
|
</script>
|
|
|
|
<style>
|
|
price-cell {
|
|
width: 100%;
|
|
}
|
|
</style>
|