import { BasePlatform } from 'base-platform'; declare var wx; export class Platform implements BasePlatform{ systemInfo = wx.getSystemInfoSync() constructor(){} name = this.systemInfo.platform version = this.systemInfo.system width = this.systemInfo.screenWidth*this.systemInfo.pixelRatio height = this.systemInfo.screenHeight*this.systemInfo.pixelRatio language = this.systemInfo.language model = this.systemInfo.model brand = this.systemInfo.brand wxVersion = this.systemInfo.version sdkVersion = this.systemInfo.SDKVersion }