2024-05-28 14:14:34 +08:00
|
|
|
|
<template>
|
|
|
|
|
|
<view class="container">
|
|
|
|
|
|
|
2024-06-05 17:09:50 +08:00
|
|
|
|
<view class="intro">本项目已包含uni ui组件,测试测试测试无需import和注册,可直接使用。在代码区键入字母u,即可通过代码助手列出所有可用组件。光标置于组件名称处按F1,即可查看组件文档。</view>
|
2024-05-28 14:14:34 +08:00
|
|
|
|
<text class="intro">详见:</text>
|
|
|
|
|
|
<uni-link :href="href" :text="href"></uni-link>
|
|
|
|
|
|
</view>
|
|
|
|
|
|
</template>
|
|
|
|
|
|
|
|
|
|
|
|
<script>
|
|
|
|
|
|
export default {
|
|
|
|
|
|
data() {
|
|
|
|
|
|
return {
|
|
|
|
|
|
href: 'https://uniapp.dcloud.io/component/README?id=uniui'
|
|
|
|
|
|
}
|
|
|
|
|
|
},
|
|
|
|
|
|
methods: {
|
2024-05-28 15:39:21 +08:00
|
|
|
|
async getSwiperList(){
|
|
|
|
|
|
try{
|
|
|
|
|
|
const res = await uni.$http.get(
|
|
|
|
|
|
"/gunshiApp/xfflood/xfProjectIncident/getList?_=1716880158438"
|
|
|
|
|
|
)
|
|
|
|
|
|
console.log(res)
|
|
|
|
|
|
}catch(e){
|
|
|
|
|
|
uni.$showMsg()
|
|
|
|
|
|
}
|
|
|
|
|
|
},
|
|
|
|
|
|
onLoad(){
|
|
|
|
|
|
this.getSwiperList()
|
|
|
|
|
|
}
|
2024-05-28 14:14:34 +08:00
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
</script>
|
|
|
|
|
|
|
|
|
|
|
|
<style>
|
|
|
|
|
|
.container {
|
|
|
|
|
|
padding: 20px;
|
|
|
|
|
|
font-size: 14px;
|
|
|
|
|
|
line-height: 24px;
|
|
|
|
|
|
}
|
|
|
|
|
|
</style>
|