满天星医废小程序,带账号登录

This commit is contained in:
2026-03-03 14:26:16 +08:00
commit 6f7604897f
54 changed files with 14841 additions and 0 deletions
+50
View File
@@ -0,0 +1,50 @@
<template>
<view>
<scroll-view scroll-y class="page bg-white">
<cu-custom bgColor="bg-cyan" :isBack="true"><block slot="backText">返回</block><block slot="content">追溯详情按医废袋</block></cu-custom>
<view class="cu-timeline margin-top" v-for="(value,index) in traceMedicalDetailsInfo" :key="index">
<view class="cu-time">{{value.date}}</view>
<view class="cu-item text-cyan" v-for="(val,ind) in value.content" :key="ind">
<view class="content bg-cyan shadow-blur">
{{val.data}}
</view>
</view>
</view>
</scroll-view>
</view>
</template>
<script>
export default {
data(){
return {
id: '',
traceMedicalDetailsInfo: []
}
},
onLoad(options){
this.id = options.id
let that = this;
uni.request({
url: "https://lekapi.opmonitor.com/?c=app_api&a=getTraceMedicalDetailsInfo",
data: {id: that.id},
header: {
'Content-type': 'application/json'
},
success: function(res){
that.traceMedicalDetailsInfo = res.data.data
},
fail: () => {
console.info('小程序域名不正确,请检查域名的正确性')
}
})
}
}
</script>
<style>
.page {
width: 100vw;
height: 100Vh;
}
</style>