企微应用配置

This commit is contained in:
liuye
2022-09-01 17:45:50 +08:00
parent d5f4e02148
commit 87f5fd32ad

View File

@@ -8,12 +8,10 @@
<div class="app-list">
<div class="item" v-for="(item, index) in appInfo.wxApplicationList" :key="index" @click="linkTo(item.accessPath)">
<img :src="item.icon" alt="" class="icon">
<!-- <div class="icon" :style="`backgroundImage: url(${item.icon});`"></div> -->
<p>{{item.title}}</p>
</div>
</div>
</div>
</section>
</template>
@@ -24,17 +22,13 @@ export default {
appName: '企微应用配置',
data() {
return {
label: '',
appList: [],
headerBg: '',
id: '',
appInfo: {},
}
},
onLoad(options) {
// this.id = options.id
this.id = '7a4701d5641543cca4419488db368d3e'
this.id = options.id
// this.id = '7a4701d5641543cca4419488db368d3e'
this.getAppInfo()
},
methods: {
@@ -46,7 +40,6 @@ export default {
});
},
linkTo(url) {
console.log(url)
uni.navigateTo({url})
}
}