| | |
| | | <view class="tool_list"> |
| | | <view class="group_tool_wrap" v-for="item in models" :key="item.assistant_id" @click="handleJump(item)"> |
| | | <view class="tool_wrap"> |
| | | <u--image :showLoading="true" :src="`${item.icon}`" width="112rpx" height="112rpx" class="tool_icon"></u--image> |
| | | <u--image :showLoading="true" :src="`${setting_data.base_url+item.icon}`" width="112rpx" height="112rpx" class="tool_icon"></u--image> |
| | | <view class="tool_info"> |
| | | <view class="tool_name"> |
| | | <view class="tool_name_l"> |
| | |
| | | ...mapState(['models','tabbar','userInfo']) |
| | | }, |
| | | async onLoad() { |
| | | console.log(this.models,"assisstent") |
| | | this.setting_data = setting |
| | | this.getTabIndex() |
| | | // await recognition() |
| | | // const flag = await handleTime() |
| | | // const value = uni.getStorageSync('config'); |
| | | // const that = this |
| | | // if (value && flag) { |
| | | // const { |
| | | // admin |
| | | // } = value |
| | | // that.admin = admin |
| | | // const data = { |
| | | // pageIndex: 1, |
| | | // pageSize: 12 |
| | | // } |
| | | // await this.handlegetAppla(data) |
| | | // return |
| | | // } |
| | | // uni.login({ |
| | | // provider: "weixin", |
| | | // success(res) { |
| | | // uni.showLoading({ |
| | | // title: '加载中', |
| | | // mask: true |
| | | // }) |
| | | // that.handlefig(res.code) |
| | | // } |
| | | // }) |
| | | |
| | | }, |
| | | onShareAppMessage: function() { |
| | | return { |