修正网页版上部分组件无法识别的问题
This commit is contained in:
parent
a33be949e9
commit
db6cb7f7bd
@ -1,4 +1,4 @@
|
||||
const DATA_BASE = 'http://154.8.214.202:8030'
|
||||
const DATA_BASE = 'https://sps.kingsome.cn'
|
||||
|
||||
export const searchGames = (params: any) => {
|
||||
let data = {skip: 0, limit: 10}
|
||||
|
@ -49,6 +49,7 @@
|
||||
<script lang="ts">
|
||||
import { Component, Vue, Watch } from 'vue-property-decorator'
|
||||
import { IGameInfo } from '@/modules/gameinfo'
|
||||
import {uniIcons, uniCard, uniTag} from '@dcloudio/uni-ui'
|
||||
|
||||
declare module 'vue/types/vue' {
|
||||
interface Vue {
|
||||
@ -59,6 +60,11 @@ declare module 'vue/types/vue' {
|
||||
@Component({
|
||||
name: 'BegImgCell',
|
||||
props: ['gData'],
|
||||
components:{
|
||||
uniIcons,
|
||||
uniCard,
|
||||
uniTag
|
||||
}
|
||||
})
|
||||
export default class extends Vue{
|
||||
private collect = false
|
||||
|
@ -21,7 +21,7 @@
|
||||
<view class="price-list" v-if="priceList.length > 0">
|
||||
<view class="price-title">低价排名</view>
|
||||
<uni-list>
|
||||
<uni-list-item v-for="item in priceList" :key="item.gameId" >
|
||||
<uni-list-item v-for="item in priceList" :key="item.id" >
|
||||
<price-cell :data="item"></price-cell>
|
||||
</uni-list-item>
|
||||
<uni-list-item>
|
||||
|
Loading…
x
Reference in New Issue
Block a user