|
|
|
@ -16,7 +16,7 @@
|
|
|
|
<view class="g_bg_f" v-if="current == 2">
|
|
|
|
<view class="g_bg_f" v-if="current == 2">
|
|
|
|
<telPanel />
|
|
|
|
<telPanel />
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
<view class="" v-if="is_use_im == 0">
|
|
|
|
<view class="" v-if="is_use_im == 0">
|
|
|
|
<!-- #ifdef MP-WEIXIN -->
|
|
|
|
<!-- #ifdef MP-WEIXIN -->
|
|
|
|
<div class="1" style="height: 10px" v-if="current == 1 || current == 2"></div>
|
|
|
|
<div class="1" style="height: 10px" v-if="current == 1 || current == 2"></div>
|
|
|
|
@ -54,12 +54,22 @@
|
|
|
|
|
|
|
|
|
|
|
|
<script lang="ts" setup>
|
|
|
|
<script lang="ts" setup>
|
|
|
|
import { ref, onMounted, computed, getCurrentInstance } from "vue";
|
|
|
|
import { ref, onMounted, computed, getCurrentInstance } from "vue";
|
|
|
|
import { onShow, onLoad } from "@dcloudio/uni-app";
|
|
|
|
import { onShow, onLoad, onShareAppMessage } from "@dcloudio/uni-app";
|
|
|
|
import message from "./components/message.vue";
|
|
|
|
import message from "./components/message.vue";
|
|
|
|
import conversationList from "../../components/conversationList.vue";
|
|
|
|
import conversationList from "../../components/conversationList.vue";
|
|
|
|
import gMessageCell from "@/components/panel/messageCell.vue";
|
|
|
|
import gMessageCell from "@/components/panel/messageCell.vue";
|
|
|
|
|
|
|
|
|
|
|
|
const G = getCurrentInstance().appContext.app.config.globalProperties.G;
|
|
|
|
const G = getCurrentInstance().appContext.app.config.globalProperties.G;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
onShareAppMessage(() => {
|
|
|
|
|
|
|
|
let appInfo = uni.getStorageSync("miniApp-info");
|
|
|
|
|
|
|
|
return {
|
|
|
|
|
|
|
|
title: appInfo.slogan || "你想找的厂都有,立即查看",
|
|
|
|
|
|
|
|
imageUrl: appInfo.sharePoster,
|
|
|
|
|
|
|
|
path: "/pages/message/index",
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
let firstLoad = ref(false);
|
|
|
|
let firstLoad = ref(false);
|
|
|
|
let showLoading = ref(true);
|
|
|
|
let showLoading = ref(true);
|
|
|
|
const globalData = ref(getApp().globalData);
|
|
|
|
const globalData = ref(getApp().globalData);
|
|
|
|
|