12345678910111213141516171819202122232425262728293031 |
- <template>
- <view>
- <page ref="list" />
- </view>
- </template>
- <script>
- import page from "./modules/page.vue";
- import { winTheCustomer } from "../../utils/share";
- export default {
- components: { page },
- data() {
- return {};
- },
- onLoad(options) {
- this.id = options.id - 0;
- this.isInitializeLogin(render.bind(this));
- function render() {
- this.$refs.list.getDetail(this.id).then((detail) => {
- this.detail = detail;
- });
- this.shareUserid = winTheCustomer(options.shareUserid || 0, "长图文", {
- ownertable: "sat_sharematerial",
- ownerid: this.id,
- });
- }
- },
- };
- </script>
- <style></style>
|