| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596 |
- <template>
- <view class="box-data">
- <Nav title="首页"></Nav>
- <!-- <view class="border-item"></view>-->
- <!-- <enInput v-model="text" label="姓名姓名"></enInput>-->
- <view class="" @click="toList()">进入列表演示</view>
- <view>
- <button @click="test" style="background-color: #DD524D;color: #FFFFFF;width: 80%;margin-top: 50rpx">确定</button>
- <!-- <button class="box-but" style="background-color: #DD524D;color: #FFFFFF">确定</button>-->
- </view>
- </view>
- </template>
- <script>
- import enInput from "components/en-from/en-input/en-input"
- import enSend from "components/en-from/en-send/en-send"
- import enCheckbox from "components/en-from/en-checkbox/en-checkbox"
- import enRadio from "components/en-from/en-radio/en-radio"
- import enSwitch from "components/en-from/en-switch/en-switch"
- import enTextarea from "components/en-from/en-textarea/en-textarea"
- import enDate from "components/en-from/en-date/en-date"
- import enHeadImg from "components/en-from/en-head/en-head-img"
- import enUpload from "components/en-from/en-upload/en-upload"
- import enSelect from "components/en-from/en-select/en-select"
- import bitkeepTron from "../../common/wallet/bitkeep-wallet/bitkeep-tron";
- export default {
- components: {
- enSelect,
- enUpload,
- enDate,
- enTextarea,
- enSwitch,
- enRadio,
- enCheckbox,
- enInput,
- enSend,
- enHeadImg
- },
- data() {
- return {
- }
- },
- watch: {
- },
- mounted() {
- },
- methods: {
- test(){
- bitkeepTron.getAccounts().then((Address)=>{
- console.log('---------------------')
- console.log(Address)
- bitkeepTron.getBalance().then((res)=>{
- console.log(res)
- })
- })
- },
- getCode() {
- },
- toList() {
- uni.navigateTo({
- url: '/pages/text/index'
- })
- },
- },
- }
- </script>
- <style lang="scss" scoped>
- .border-item {
- border-bottom: 2rpx solid #F0F0F0;
- }
- .box-data {
- height: 100vh;
- padding: 32rpx 32rpx 0;
- background-color: #fff;
- .box-but{
- //position: fixed;
- width: 80%;
- //left: 10%;
- bottom: 40rpx;
- }
- }
- </style>
|