first commit

This commit is contained in:
PC-202306242200\Administrator
2026-03-28 23:27:25 +08:00
commit 85b89ccea7
1694 changed files with 168292 additions and 0 deletions

56
pages/article/web.vue Normal file
View File

@@ -0,0 +1,56 @@
<template>
<view>
<web-view :src="articleItem.oa_url"></web-view>
</view>
</template>
<script>
let self;
import {
getUser,
setUser
} from '@/com/storage/auth.js';
export default {
data() {
return {
articleItem: {
id: '',
title: '',
cover: '',
note: '',
created_at: '',
oa_url: '',
},
search: {
id: ''
}
}
},
onLoad(option) {
self = this;
if (option && option.id) {
self.search.id = option.id;
}
},
onShow() {
self.getArticleItem();
},
methods: {
getArticleItem() {
self.$http.get('/shop/v10/article/item', self.search).then(({
data,
success
}) => {
if (success) {
self.articleItem = data;
}
})
},
}
}
</script>
<style>
</style>