|
|
@@ -0,0 +1,80 @@
|
|
|
+<template>
|
|
|
+ <view>
|
|
|
+ <view class="section">
|
|
|
+ <view class="tit">
|
|
|
+ <image src="/static/image/cb/sim1.png" mode=""></image>
|
|
|
+ sim卡流量
|
|
|
+ </view>
|
|
|
+ <view class="">
|
|
|
+ <text>ICCID:</text>
|
|
|
+ <text>{{sim.iccid}}</text>
|
|
|
+ </view>
|
|
|
+ <view class="">
|
|
|
+ <text>状态:</text>
|
|
|
+ <text>{{sim.account_status}}</text>
|
|
|
+ </view>
|
|
|
+ <view class="">
|
|
|
+ <text>套餐:</text>
|
|
|
+ <text>{{sim.data_plan}}</text>
|
|
|
+ </view>
|
|
|
+ <view class="">
|
|
|
+ <text>已用流量:</text>
|
|
|
+ <text>{{sim.data_usage}}</text>
|
|
|
+ </view>
|
|
|
+ <view class="">
|
|
|
+ <text>剩余流量:</text>
|
|
|
+ <text>{{sim.data_balance}}</text>
|
|
|
+ </view>
|
|
|
+ <view class="">
|
|
|
+ <text>到期时间:</text>
|
|
|
+ <text>{{sim.expiry_date}}</text>
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+ <template v-if="showHksimFlag">
|
|
|
+ <view class="section">
|
|
|
+ <view class="tit">
|
|
|
+ <image src="/static/image/cb/sim2.png" mode=""></image>
|
|
|
+ 海康sim卡流量
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+ </template>
|
|
|
+
|
|
|
+ </view>
|
|
|
+</template>
|
|
|
+
|
|
|
+<script>
|
|
|
+ export default {
|
|
|
+ data() {
|
|
|
+ return {
|
|
|
+ sim: {
|
|
|
+ iccid: "",
|
|
|
+ account_status: 0, //卡状态 0-7 未知 测试期 沉默期 使用中 停机 停机保号 预销号 销号
|
|
|
+ data_plan: 0, //套餐大小
|
|
|
+ data_usage: 0, //当月用量
|
|
|
+ data_balance: 0, //剩余流量
|
|
|
+ expiry_date: 0, //到期日期
|
|
|
+ },
|
|
|
+ showHksimFlag: true, //是否显示hksim卡标识
|
|
|
+ hksim: {
|
|
|
+ iccid: "",
|
|
|
+ account_status: 0, //卡状态 0-7 未知 测试期 沉默期 使用中 停机 停机保号 预销号 销号
|
|
|
+ data_plan: 0, //套餐大小
|
|
|
+ data_usage: 0, //当月用量
|
|
|
+ data_balance: 0, //剩余流量
|
|
|
+ expiry_date: 0, //到期日期
|
|
|
+ },
|
|
|
+ d_id:''
|
|
|
+ }
|
|
|
+ },
|
|
|
+ onLoad(option){
|
|
|
+ this.d_id=option.d_id
|
|
|
+ },
|
|
|
+ methods: {
|
|
|
+
|
|
|
+ }
|
|
|
+ }
|
|
|
+</script>
|
|
|
+
|
|
|
+<style>
|
|
|
+
|
|
|
+</style>
|