Merge branch 'lr' of http://1.94.221.165:3000/sx/jiuyiUniapp
# Conflicts: # jiuyi2/common/js/config.js # jiuyi2/components/index/indexVideo.vue # jiuyi2/pages/shop/commodity/components/jy-commodity-foot/index.vue # jiuyi2/unpackage/dist/cache/.vite/deps/@tencentcloud_chat.js # jiuyi2/unpackage/dist/cache/.vite/deps/@tencentcloud_chat_modules_group-module__js.js # jiuyi2/unpackage/dist/cache/.vite/deps/@tencentcloud_chat_modules_group-module__js.js.map # jiuyi2/unpackage/dist/cache/.vite/deps/_metadata.json # jiuyi2/unpackage/dist/cache/.vite/deps/crypto-js.js # jiuyi2/unpackage/dist/cache/.vite/deps/crypto-js.js.map # jiuyi2/unpackage/dist/cache/.vite/deps/tim-upload-plugin.js # jiuyi2/unpackage/dist/cache/.vite/deps/tim-upload-plugin.js.map # jiuyi2/vite.config.js
This commit is contained in:
commit
0afeee6877
|
@ -1,162 +1,223 @@
|
||||||
<script setup>
|
<script setup>
|
||||||
/**
|
/**
|
||||||
* 消息列表
|
* 消息列表
|
||||||
*/
|
*/
|
||||||
import api from '@/api/index.js'
|
import api from '@/api/index.js'
|
||||||
import {
|
import {
|
||||||
ref,
|
ref,
|
||||||
computed,
|
computed,
|
||||||
reactive,
|
reactive,
|
||||||
onMounted,
|
onMounted,
|
||||||
onUnmounted,
|
onUnmounted,
|
||||||
getCurrentInstance,
|
getCurrentInstance,
|
||||||
} from 'vue'
|
} from 'vue'
|
||||||
// 腾讯云聊天
|
// 腾讯云聊天
|
||||||
import TencentCloudChat from '@tencentcloud/chat';
|
import TencentCloudChat from '@tencentcloud/chat';
|
||||||
// 工具库
|
// 工具库
|
||||||
import util from '@/common/js/util.js'
|
import util from '@/common/js/util.js'
|
||||||
import {
|
import {
|
||||||
useStore,
|
useStore,
|
||||||
} from 'vuex'
|
} from 'vuex'
|
||||||
const store = useStore()
|
const {
|
||||||
const userinfo = computed(() => {
|
proxy
|
||||||
let result = store.state.userinfo
|
} = getCurrentInstance()
|
||||||
return result
|
const store = useStore()
|
||||||
})
|
const userinfo = computed(() => {
|
||||||
|
let result = store.state.userinfo
|
||||||
|
return result
|
||||||
|
})
|
||||||
|
|
||||||
// 右滑菜单
|
// 右滑菜单
|
||||||
const rightOption = [{
|
const rightOption = [{
|
||||||
text: '删除',
|
text: '删除',
|
||||||
style: {
|
style: {
|
||||||
backgroundColor: '#F85050'
|
backgroundColor: '#F85050'
|
||||||
},
|
},
|
||||||
fn: (item) => delMsg(item)
|
fn: (item) => delMsg(item)
|
||||||
},
|
}, {
|
||||||
// {
|
text: '设为已读',
|
||||||
// text: '设为已读',
|
style: {
|
||||||
// style: {
|
backgroundColor: '#00ADEE'
|
||||||
// backgroundColor: '#00ADEE'
|
},
|
||||||
// },
|
fn: (item) => setRead(item)
|
||||||
// }
|
},]
|
||||||
]
|
|
||||||
|
|
||||||
// 系统
|
// 系统
|
||||||
const systemRightOption = [{
|
const systemRightOption = [{
|
||||||
text: '删除',
|
text: '删除',
|
||||||
style: {
|
style: {
|
||||||
backgroundColor: '#F85050'
|
backgroundColor: '#F85050'
|
||||||
},
|
},
|
||||||
}, {
|
}, {
|
||||||
text: '设为已读',
|
text: '设为已读',
|
||||||
style: {
|
style: {
|
||||||
backgroundColor: '#00ADEE'
|
backgroundColor: '#00ADEE'
|
||||||
},
|
},
|
||||||
}, ]
|
},]
|
||||||
|
|
||||||
// 用户列表
|
// 用户列表
|
||||||
const list = reactive([])
|
const list = reactive([])
|
||||||
|
|
||||||
onMounted(() => {
|
onMounted(() => {
|
||||||
|
getList()
|
||||||
|
addListener()
|
||||||
|
})
|
||||||
|
|
||||||
|
onUnmounted(() => {
|
||||||
|
removeListener()
|
||||||
|
})
|
||||||
|
|
||||||
|
// 开启监听消息
|
||||||
|
function addListener() {
|
||||||
|
let onMessageReceived = function (event) {
|
||||||
getList()
|
getList()
|
||||||
addListener()
|
}
|
||||||
|
|
||||||
|
uni.$chat.on(TencentCloudChat.EVENT.CONVERSATION_LIST_UPDATED, onMessageReceived);
|
||||||
|
}
|
||||||
|
|
||||||
|
// 移除监听
|
||||||
|
function removeListener() {
|
||||||
|
uni.$chat.on(TencentCloudChat.EVENT.CONVERSATION_LIST_UPDATED);
|
||||||
|
}
|
||||||
|
|
||||||
|
// 获取朋友列表
|
||||||
|
function getList() {
|
||||||
|
api.news.getMessageList({
|
||||||
|
query: {
|
||||||
|
userId: userinfo.value.id,
|
||||||
|
}
|
||||||
|
}).then(rs => {
|
||||||
|
if (rs.code == 200) {
|
||||||
|
list.data = handleList(rs.data);
|
||||||
|
return
|
||||||
|
}
|
||||||
|
util.alert({
|
||||||
|
content: rs.msg,
|
||||||
|
showCancel: false,
|
||||||
|
})
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 消息列表
|
||||||
|
* @param {Object} item
|
||||||
|
*/
|
||||||
|
function handleList(list) {
|
||||||
|
list.forEach(item => {
|
||||||
|
item.callbackJson = JSON.parse(item.callbackJson);
|
||||||
|
|
||||||
|
if (item.groupId != null) {
|
||||||
|
item.unreadCount = getGroupNoReadNum(item.groupId)
|
||||||
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
onUnmounted(() => {
|
return list
|
||||||
removeListener()
|
}
|
||||||
})
|
|
||||||
|
|
||||||
// 开启监听消息
|
// 查询群聊未读数量
|
||||||
function addListener() {
|
function getGroupNoReadNum(groupId) {
|
||||||
let onMessageReceived = function(event) {
|
// 验证sdk是否准备完毕
|
||||||
getList()
|
let isReady = uni.$chat.isReady();
|
||||||
}
|
if (!isReady) {
|
||||||
|
setTimeout(function () {
|
||||||
uni.$chat.on(TencentCloudChat.EVENT.CONVERSATION_LIST_UPDATED, onMessageReceived);
|
getGroupNoReadNum(groupId);
|
||||||
|
}, 200);
|
||||||
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
// 移除监听
|
const unreadCount = uni.$chat.getTotalUnreadMessageCount('GROUP', groupId);
|
||||||
function removeListener() {
|
|
||||||
uni.$chat.on(TencentCloudChat.EVENT.CONVERSATION_LIST_UPDATED);
|
|
||||||
}
|
|
||||||
|
|
||||||
// 获取朋友列表
|
return unreadCount;
|
||||||
function getList() {
|
}
|
||||||
api.news.getMessageList({
|
|
||||||
query: {
|
|
||||||
userId: userinfo.value.id,
|
|
||||||
}
|
|
||||||
}).then(rs => {
|
|
||||||
if (rs.code == 200) {
|
|
||||||
//
|
|
||||||
return
|
|
||||||
}
|
|
||||||
util.alert({
|
|
||||||
content: rs.msg,
|
|
||||||
showCancel: false,
|
|
||||||
})
|
|
||||||
})
|
|
||||||
}
|
|
||||||
|
|
||||||
// 点击用户
|
// // 点击用户
|
||||||
function handleUser(item) {
|
// function handleUser(item) {
|
||||||
uni.navigateTo({
|
// uni.navigateTo({
|
||||||
url: util.setUrl('/pages/index/videoHome', {
|
// url: util.setUrl('/pages/index/videoHome', {
|
||||||
userId: item.userId,
|
// userId: item.userId,
|
||||||
})
|
// })
|
||||||
})
|
// })
|
||||||
}
|
// }
|
||||||
|
|
||||||
// 跳转
|
// // 跳转
|
||||||
function navigateToPage(path) {
|
// function navigateToPage(path) {
|
||||||
uni.navigateTo({
|
// uni.navigateTo({
|
||||||
url: path
|
// url: path
|
||||||
});
|
// });
|
||||||
}
|
// }
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 去聊天
|
* 去聊天
|
||||||
* @param {Object} item
|
* @param {Object} item
|
||||||
*/
|
*/
|
||||||
function handleChat(item) {
|
function handleChat(item) {
|
||||||
console.log('item', item)
|
let param = {};
|
||||||
let param = {
|
// 单聊
|
||||||
type: item.type
|
if (item.groupId == null) {
|
||||||
}
|
param.type = 'C2C'
|
||||||
// 单聊
|
param.name = `${item.callbackJson.from_name}`
|
||||||
if (item.type == 'C2C') {
|
param.msgId = `${item.callbackJson.from_id}`
|
||||||
param.name = `${item.userProfile.nick}`
|
} else {
|
||||||
param.msgId = `${item.userProfile.userID}`
|
|
||||||
}
|
|
||||||
// 群聊
|
// 群聊
|
||||||
else if (item.type == 'GROUP') {
|
param.type = 'GROUP'
|
||||||
param.name = `${item.groupProfile.name}(${item.groupProfile.memberCount})`
|
param.name = `${item.groupChatDTO.name}`
|
||||||
param.msgId = `${item.groupProfile.groupID}`
|
param.msgId = `${item.groupId}`
|
||||||
}
|
param.num = `${item.groupChatDTO.memberCount}`
|
||||||
//
|
}
|
||||||
util.toChat(param)
|
//
|
||||||
|
util.toChat(param)
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 菜单
|
||||||
|
* @param {Object} ev 默认事件
|
||||||
|
* @param {Object} item 单项
|
||||||
|
*/
|
||||||
|
function handleMenu(ev, item) {
|
||||||
|
console.log('ev', ev, item)
|
||||||
|
ev.content.fn(item)
|
||||||
|
proxy.$refs.swipeAction.closeAll()
|
||||||
|
}
|
||||||
|
|
||||||
|
// 删除会话
|
||||||
|
function delMsg(item) {
|
||||||
|
// 验证sdk是否准备完毕
|
||||||
|
let isReady = uni.$chat.isReady();
|
||||||
|
if (!isReady) {
|
||||||
|
setTimeout(function () {
|
||||||
|
delMsg(item);
|
||||||
|
}, 200);
|
||||||
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
let conversationId = item.groupId == null ? `C2C${item.fromId}` : `GROUP${item.groupId}`;
|
||||||
* 菜单
|
|
||||||
* @param {Object} ev 默认事件
|
uni.$chat.deleteConversation(conversationId).then(rs => {
|
||||||
* @param {Object} item 单项
|
getList()
|
||||||
*/
|
})
|
||||||
function handleMenu(ev, item) {
|
}
|
||||||
console.log('ev', ev, item)
|
|
||||||
ev.content.fn(item)
|
// 标为已读
|
||||||
proxy.$refs.swipeAction.closeAll()
|
function setRead(item) {
|
||||||
|
// 验证sdk是否准备完毕
|
||||||
|
let isReady = uni.$chat.isReady();
|
||||||
|
if (!isReady) {
|
||||||
|
setTimeout(function () {
|
||||||
|
setRead(item);
|
||||||
|
}, 200);
|
||||||
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
// 删除会话
|
let conversationId = item.groupId == null ? `C2C${item.fromId}` : `GROUP${item.groupId}`;
|
||||||
function delMsg(item) {
|
uni.$chat.setMessageRead({
|
||||||
uni.$chat.deleteConversation({
|
conversationID: conversationId,
|
||||||
conversationIDList: [item.conversationID],
|
}).then(rs => {
|
||||||
clearHistoryMessage: false,
|
getList()
|
||||||
}).then(rs => {
|
})
|
||||||
//
|
}
|
||||||
getList()
|
|
||||||
})
|
|
||||||
}
|
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
|
@ -167,7 +228,7 @@
|
||||||
<!-- <uni-swipe-action-item :right-options="systemRightOption">
|
<!-- <uni-swipe-action-item :right-options="systemRightOption">
|
||||||
<view class="item rows ptb20 plr30">
|
<view class="item rows ptb20 plr30">
|
||||||
<view class="image wh90 pr">
|
<view class="image wh90 pr">
|
||||||
<image class="cir" src="/static/msg1.png" mode="aspectFill" />
|
<image class="cir wh90" src="/static/msg1.png" mode="aspectFill" />
|
||||||
<view class="dot pa t0 r0 cir" v-if="1"></view>
|
<view class="dot pa t0 r0 cir" v-if="1"></view>
|
||||||
</view>
|
</view>
|
||||||
|
|
||||||
|
@ -178,8 +239,8 @@
|
||||||
<view class="desc thd mt10 c666 f24">新增一位关注,快看看是谁吧~</view>
|
<view class="desc thd mt10 c666 f24">新增一位关注,快看看是谁吧~</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</uni-swipe-action-item> -->
|
</uni-swipe-action-item>
|
||||||
<!-- <uni-swipe-action-item :right-options="systemRightOption">
|
<uni-swipe-action-item :right-options="systemRightOption">
|
||||||
<view class="item rows ptb20 plr30">
|
<view class="item rows ptb20 plr30">
|
||||||
<view class="image wh90 pr">
|
<view class="image wh90 pr">
|
||||||
<image class="cir wh90" src="/static/msg1.png" mode="aspectFill" />
|
<image class="cir wh90" src="/static/msg1.png" mode="aspectFill" />
|
||||||
|
@ -193,12 +254,12 @@
|
||||||
<view class="desc thd mt10 c666 f24">快去看看吧~</view>
|
<view class="desc thd mt10 c666 f24">快去看看吧~</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</uni-swipe-action-item> -->
|
</uni-swipe-action-item>
|
||||||
|
|
||||||
<!-- <uni-swipe-action-item :right-options="systemRightOption">
|
<uni-swipe-action-item :right-options="systemRightOption">
|
||||||
<view class="item rows ptb20 plr30">
|
<view class="item rows ptb20 plr30">
|
||||||
<view class="image wh90 pr">
|
<view class="image wh90 pr">
|
||||||
<image class="cir" src="/static/msg2.png" mode="aspectFill" />
|
<image class="cir wh90" src="/static/msg2.png" mode="aspectFill" />
|
||||||
<view class="dot pa t0 r0 cir" v-if="0"></view>
|
<view class="dot pa t0 r0 cir" v-if="0"></view>
|
||||||
</view>
|
</view>
|
||||||
|
|
||||||
|
@ -211,71 +272,72 @@
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</uni-swipe-action-item> -->
|
</uni-swipe-action-item> -->
|
||||||
<uni-swipe-action-item :right-options="rightOption" v-for="(item, index) in list" :key="index"
|
|
||||||
@click="handleMenu($event,item)">
|
<uni-swipe-action-item :right-options="rightOption" v-for="(item, index) in list.data" :key="index"
|
||||||
|
@click="handleMenu($event, item)">
|
||||||
<view class="item rows ptb20 plr30" @click="handleChat(item)">
|
<view class="item rows ptb20 plr30" @click="handleChat(item)">
|
||||||
<view class="image wh90 pr">
|
<view class="image wh90 pr">
|
||||||
<template v-if="item.type == 'GROUP'">
|
<template v-if="item.groupId == null">
|
||||||
<image class="cir wh90" :src="item.groupProfile.avatar" mode="aspectFill" />
|
<image class="cir wh90" :src="item.callbackJson.from_url" mode="aspectFill" />
|
||||||
</template>
|
</template>
|
||||||
<template v-else-if="item.type == 'C2C'">
|
<template v-else>
|
||||||
<image class="cir wh90" :src="item.userProfile.avatar" mode="aspectFill" />
|
<image class="cir wh90" :src="item.groupChatDTO.groupFaceUrl" mode="aspectFill" />
|
||||||
</template>
|
</template>
|
||||||
<!-- <view class="mark pa t0 r0 cfff f22 cir" v-if="item.unreadCount">{{item.unreadCount}}</view> -->
|
<view class="mark pa t0 r0 cfff f22 cir" v-if="item.unreadCount">{{ item.unreadCount }}
|
||||||
|
</view>
|
||||||
</view>
|
</view>
|
||||||
|
|
||||||
<view class="col f1 ml20">
|
<view class="col f1 ml20">
|
||||||
<view class="rows">
|
<view class="rows">
|
||||||
<view class="name f1 thd c333 f32">
|
<template v-if="item.groupId == null">
|
||||||
<template v-if="item.type == 'GROUP'">
|
<view class="name f1 thd c333 f32">{{ item.callbackJson.from_name }}</view>
|
||||||
<text>{{ item.groupProfile.name }}</text>
|
</template>
|
||||||
</template>
|
<template v-else>
|
||||||
<template v-else-if="item.type == 'C2C'">
|
<view class="name f1 thd c333 f32">{{ item.groupChatDTO.name }}</view>
|
||||||
<text>{{item.userProfile.nick}}</text>
|
</template>
|
||||||
</template>
|
|
||||||
</view>
|
|
||||||
<view class="datetime c999 f22">
|
<view class="datetime c999 f22">
|
||||||
{{ util.formatTime('MM-dd HH:mm',item.lastMessage.lastTime) }}</view>
|
{{ util.formatTime('MM-dd HH:mm', item.createTime) }}</view>
|
||||||
</view>
|
</view>
|
||||||
<view class="desc thd mt10 c666 f24">{{item.lastMessage.messageForShow}}</view>
|
<view class="desc thd mt10 c666 f24">{{
|
||||||
|
item.callbackJson.callback_json[0].MsgContent.Text }}</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</uni-swipe-action-item>
|
</uni-swipe-action-item>
|
||||||
<view class="mtb20 tac c999 f20">到底啦~</view>
|
<view class="mtb20 tac c999 f20">到底啦~</view>
|
||||||
</view>
|
</view>
|
||||||
</uni-swipe-action>
|
</uni-swipe-action>
|
||||||
|
|
||||||
</scroll-view>
|
</scroll-view>
|
||||||
</view>
|
</view>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<style lang="scss">
|
<style lang="scss">
|
||||||
// 朋友列表
|
// 朋友列表
|
||||||
.firendBox {
|
.firendBox {
|
||||||
height: 100%;
|
height: 100%;
|
||||||
|
|
||||||
.scroll {
|
.scroll {
|
||||||
height: 100%;
|
height: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
|
// 列表
|
||||||
|
.list {
|
||||||
|
|
||||||
|
// 消息提示点
|
||||||
|
.mark,
|
||||||
|
.dot {
|
||||||
|
background-color: #FF6B17;
|
||||||
|
text-align: center;
|
||||||
|
line-height: 30rpx;
|
||||||
}
|
}
|
||||||
|
|
||||||
// 列表
|
.mark {
|
||||||
.list {
|
width: 30rpx;
|
||||||
|
height: 30rpx;
|
||||||
|
}
|
||||||
|
|
||||||
// 消息提示点
|
.dot {
|
||||||
.mark,
|
width: 20rpx;
|
||||||
.dot {
|
height: 20rpx;
|
||||||
background-color: #FF6B17;
|
|
||||||
}
|
|
||||||
|
|
||||||
.mark {
|
|
||||||
width: 30rpx;
|
|
||||||
height: 30rpx;
|
|
||||||
}
|
|
||||||
|
|
||||||
.dot {
|
|
||||||
width: 20rpx;
|
|
||||||
height: 20rpx;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
</style>
|
</style>
|
|
@ -0,0 +1,132 @@
|
||||||
|
// @ts-nocheck
|
||||||
|
export {};
|
||||||
|
|
||||||
|
; declare module 'vue' {
|
||||||
|
export interface GlobalComponents { }
|
||||||
|
export interface GlobalDirectives { }
|
||||||
|
}
|
||||||
|
; declare global {
|
||||||
|
const __VLS_intrinsicElements: __VLS_IntrinsicElements;
|
||||||
|
const __VLS_directiveBindingRestFields: { instance: null, oldValue: null, modifiers: any, dir: any };
|
||||||
|
const __VLS_unref: typeof import('vue').unref;
|
||||||
|
const __VLS_placeholder: any;
|
||||||
|
|
||||||
|
const __VLS_nativeElements = {
|
||||||
|
...{} as SVGElementTagNameMap,
|
||||||
|
...{} as HTMLElementTagNameMap,
|
||||||
|
};
|
||||||
|
|
||||||
|
type __VLS_IntrinsicElements = import('vue/jsx-runtime').JSX.IntrinsicElements;
|
||||||
|
type __VLS_Element = import('vue/jsx-runtime').JSX.Element;
|
||||||
|
type __VLS_GlobalComponents = import('vue').GlobalComponents & Pick<typeof import('vue'), 'Transition' | 'TransitionGroup' | 'KeepAlive' | 'Suspense' | 'Teleport'>;
|
||||||
|
type __VLS_GlobalDirectives = import('vue').GlobalDirectives;
|
||||||
|
type __VLS_IsAny<T> = 0 extends 1 & T ? true : false;
|
||||||
|
type __VLS_PickNotAny<A, B> = __VLS_IsAny<A> extends true ? B : A;
|
||||||
|
type __VLS_unknownDirective = (arg1: unknown, arg2: unknown, arg3: unknown, arg4: unknown) => void;
|
||||||
|
type __VLS_WithComponent<N0 extends string, LocalComponents, N1 extends string, N2 extends string, N3 extends string> =
|
||||||
|
N1 extends keyof LocalComponents ? N1 extends N0 ? Pick<LocalComponents, N0 extends keyof LocalComponents ? N0 : never> : { [K in N0]: LocalComponents[N1] } :
|
||||||
|
N2 extends keyof LocalComponents ? N2 extends N0 ? Pick<LocalComponents, N0 extends keyof LocalComponents ? N0 : never> : { [K in N0]: LocalComponents[N2] } :
|
||||||
|
N3 extends keyof LocalComponents ? N3 extends N0 ? Pick<LocalComponents, N0 extends keyof LocalComponents ? N0 : never> : { [K in N0]: LocalComponents[N3] } :
|
||||||
|
N1 extends keyof __VLS_GlobalComponents ? N1 extends N0 ? Pick<__VLS_GlobalComponents, N0 extends keyof __VLS_GlobalComponents ? N0 : never> : { [K in N0]: __VLS_GlobalComponents[N1] } :
|
||||||
|
N2 extends keyof __VLS_GlobalComponents ? N2 extends N0 ? Pick<__VLS_GlobalComponents, N0 extends keyof __VLS_GlobalComponents ? N0 : never> : { [K in N0]: __VLS_GlobalComponents[N2] } :
|
||||||
|
N3 extends keyof __VLS_GlobalComponents ? N3 extends N0 ? Pick<__VLS_GlobalComponents, N0 extends keyof __VLS_GlobalComponents ? N0 : never> : { [K in N0]: __VLS_GlobalComponents[N3] } :
|
||||||
|
{ [K in N0]: unknown };
|
||||||
|
type __VLS_FunctionalComponentProps<T, K> =
|
||||||
|
'__ctx' extends keyof __VLS_PickNotAny<K, {}> ? K extends { __ctx?: { props?: infer P } } ? NonNullable<P> : never
|
||||||
|
: T extends (props: infer P, ...args: any) => any ? P :
|
||||||
|
{};
|
||||||
|
type __VLS_IsFunction<T, K> = K extends keyof T
|
||||||
|
? __VLS_IsAny<T[K]> extends false
|
||||||
|
? unknown extends T[K]
|
||||||
|
? false
|
||||||
|
: true
|
||||||
|
: false
|
||||||
|
: false;
|
||||||
|
type __VLS_NormalizeComponentEvent<Props, Events, onEvent extends keyof Props, Event extends keyof Events, CamelizedEvent extends keyof Events> = (
|
||||||
|
__VLS_IsFunction<Props, onEvent> extends true
|
||||||
|
? Props
|
||||||
|
: __VLS_IsFunction<Events, Event> extends true
|
||||||
|
? { [K in onEvent]?: Events[Event] }
|
||||||
|
: __VLS_IsFunction<Events, CamelizedEvent> extends true
|
||||||
|
? { [K in onEvent]?: Events[CamelizedEvent] }
|
||||||
|
: Props
|
||||||
|
) & Record<string, unknown>;
|
||||||
|
// fix https://github.com/vuejs/language-tools/issues/926
|
||||||
|
type __VLS_UnionToIntersection<U> = (U extends unknown ? (arg: U) => unknown : never) extends ((arg: infer P) => unknown) ? P : never;
|
||||||
|
type __VLS_OverloadUnionInner<T, U = unknown> = U & T extends (...args: infer A) => infer R
|
||||||
|
? U extends T
|
||||||
|
? never
|
||||||
|
: __VLS_OverloadUnionInner<T, Pick<T, keyof T> & U & ((...args: A) => R)> | ((...args: A) => R)
|
||||||
|
: never;
|
||||||
|
type __VLS_OverloadUnion<T> = Exclude<
|
||||||
|
__VLS_OverloadUnionInner<(() => never) & T>,
|
||||||
|
T extends () => never ? never : () => never
|
||||||
|
>;
|
||||||
|
type __VLS_ConstructorOverloads<T> = __VLS_OverloadUnion<T> extends infer F
|
||||||
|
? F extends (event: infer E, ...args: infer A) => any
|
||||||
|
? { [K in E & string]: (...args: A) => void; }
|
||||||
|
: never
|
||||||
|
: never;
|
||||||
|
type __VLS_NormalizeEmits<T> = __VLS_PrettifyGlobal<
|
||||||
|
__VLS_UnionToIntersection<
|
||||||
|
__VLS_ConstructorOverloads<T> & {
|
||||||
|
[K in keyof T]: T[K] extends any[] ? { (...args: T[K]): void } : never
|
||||||
|
}
|
||||||
|
>
|
||||||
|
>;
|
||||||
|
type __VLS_PrettifyGlobal<T> = { [K in keyof T]: T[K]; } & {};
|
||||||
|
type __VLS_PickFunctionalComponentCtx<T, K> = NonNullable<__VLS_PickNotAny<
|
||||||
|
'__ctx' extends keyof __VLS_PickNotAny<K, {}> ? K extends { __ctx?: infer Ctx } ? Ctx : never : any
|
||||||
|
, T extends (props: any, ctx: infer Ctx) => any ? Ctx : any
|
||||||
|
>>;
|
||||||
|
type __VLS_UseTemplateRef<T> = Readonly<import('vue').ShallowRef<T | null>>;
|
||||||
|
|
||||||
|
function __VLS_getVForSourceType(source: number): [number, number, number][];
|
||||||
|
function __VLS_getVForSourceType(source: string): [string, number, number][];
|
||||||
|
function __VLS_getVForSourceType<T extends any[]>(source: T): [
|
||||||
|
item: T[number],
|
||||||
|
key: number,
|
||||||
|
index: number,
|
||||||
|
][];
|
||||||
|
function __VLS_getVForSourceType<T extends { [Symbol.iterator](): Iterator<any> }>(source: T): [
|
||||||
|
item: T extends { [Symbol.iterator](): Iterator<infer T1> } ? T1 : never,
|
||||||
|
key: number,
|
||||||
|
index: undefined,
|
||||||
|
][];
|
||||||
|
// #3845
|
||||||
|
function __VLS_getVForSourceType<T extends number | { [Symbol.iterator](): Iterator<any> }>(source: T): [
|
||||||
|
item: number | (Exclude<T, number> extends { [Symbol.iterator](): Iterator<infer T1> } ? T1 : never),
|
||||||
|
key: number,
|
||||||
|
index: undefined,
|
||||||
|
][];
|
||||||
|
function __VLS_getVForSourceType<T>(source: T): [
|
||||||
|
item: T[keyof T],
|
||||||
|
key: keyof T,
|
||||||
|
index: number,
|
||||||
|
][];
|
||||||
|
// @ts-ignore
|
||||||
|
function __VLS_getSlotParams<T>(slot: T): Parameters<__VLS_PickNotAny<NonNullable<T>, (...args: any[]) => any>>;
|
||||||
|
// @ts-ignore
|
||||||
|
function __VLS_getSlotParam<T>(slot: T): Parameters<__VLS_PickNotAny<NonNullable<T>, (...args: any[]) => any>>[0];
|
||||||
|
function __VLS_asFunctionalDirective<T>(dir: T): T extends import('vue').ObjectDirective
|
||||||
|
? NonNullable<T['created' | 'beforeMount' | 'mounted' | 'beforeUpdate' | 'updated' | 'beforeUnmount' | 'unmounted']>
|
||||||
|
: T extends (...args: any) => any
|
||||||
|
? T
|
||||||
|
: __VLS_unknownDirective;
|
||||||
|
function __VLS_withScope<T, K>(ctx: T, scope: K): ctx is T & K;
|
||||||
|
function __VLS_makeOptional<T>(t: T): { [K in keyof T]?: T[K] };
|
||||||
|
function __VLS_asFunctionalComponent<T, K = T extends new (...args: any) => any ? InstanceType<T> : unknown>(t: T, instance?: K):
|
||||||
|
T extends new (...args: any) => any
|
||||||
|
? (props: (K extends { $props: infer Props } ? Props : any) & Record<string, unknown>, ctx?: any) => __VLS_Element & { __ctx?: {
|
||||||
|
attrs?: any,
|
||||||
|
slots?: K extends { $slots: infer Slots } ? Slots : any,
|
||||||
|
emit?: K extends { $emit: infer Emit } ? Emit : any
|
||||||
|
} & { props?: (K extends { $props: infer Props } ? Props : any) & Record<string, unknown>; expose?(exposed: K): void; } }
|
||||||
|
: T extends () => any ? (props: {}, ctx?: any) => ReturnType<T>
|
||||||
|
: T extends (...args: any) => any ? T
|
||||||
|
: (_: {} & Record<string, unknown>, ctx?: any) => { __ctx?: { attrs?: any, expose?: any, slots?: any, emit?: any, props?: {} & Record<string, unknown> } };
|
||||||
|
function __VLS_elementAsFunction<T>(tag: T, endTag?: T): (_: T & Record<string, unknown>) => void;
|
||||||
|
function __VLS_functionalComponentArgsRest<T extends (...args: any) => any>(t: T): 2 extends Parameters<T>['length'] ? [any] : [];
|
||||||
|
function __VLS_normalizeSlot<S>(s: S): S extends () => infer R ? (props: {}) => R : S;
|
||||||
|
function __VLS_tryAsConstant<const T>(t: T): T;
|
||||||
|
}
|
|
@ -84,7 +84,7 @@
|
||||||
},
|
},
|
||||||
])
|
])
|
||||||
// tab下标
|
// tab下标
|
||||||
const tabIndex = ref('')
|
const tabIndex = ref(1)
|
||||||
// 起始值
|
// 起始值
|
||||||
const startY = ref(0)
|
const startY = ref(0)
|
||||||
// 上一个播放索引
|
// 上一个播放索引
|
||||||
|
@ -149,8 +149,8 @@
|
||||||
discOffsetTop.value = systemInfo.safeAreaInsets.top + 44 + 30
|
discOffsetTop.value = systemInfo.safeAreaInsets.top + 44 + 30
|
||||||
// 特效完成高度
|
// 特效完成高度
|
||||||
complete2Top.value = systemInfo.safeAreaInsets.top + 44 + 150
|
complete2Top.value = systemInfo.safeAreaInsets.top + 44 + 150
|
||||||
// 推荐
|
// 获取列表
|
||||||
handle_tab(1)
|
tabCurrent.value.getList()
|
||||||
|
|
||||||
// 判断是否提醒过闹铃
|
// 判断是否提醒过闹铃
|
||||||
if (!uni.getStorageSync('alarmAlt')) {
|
if (!uni.getStorageSync('alarmAlt')) {
|
||||||
|
@ -269,6 +269,7 @@
|
||||||
|
|
||||||
// 重载推荐列表
|
// 重载推荐列表
|
||||||
function refreshRecList() {
|
function refreshRecList() {
|
||||||
|
console.log('refreshRecList')
|
||||||
recList.pageNum = 1
|
recList.pageNum = 1
|
||||||
recList.total = 0
|
recList.total = 0
|
||||||
getRecList()
|
getRecList()
|
||||||
|
@ -292,7 +293,7 @@
|
||||||
pageSize: recList.pageSize,
|
pageSize: recList.pageSize,
|
||||||
}
|
}
|
||||||
}).then(rs => {
|
}).then(rs => {
|
||||||
console.log('getRecList then', rs)
|
console.log('getRecList then')
|
||||||
handleListData(rs, recList)
|
handleListData(rs, recList)
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
@ -531,7 +532,6 @@
|
||||||
readSecondAdd()
|
readSecondAdd()
|
||||||
}
|
}
|
||||||
tabIndex.value = index
|
tabIndex.value = index
|
||||||
console.log('load', tab[tabIndex.value].load)
|
|
||||||
// 根据是否加载过判断 播放还是获取
|
// 根据是否加载过判断 播放还是获取
|
||||||
if (tabCurrent.value.load && proxy.$refs[`videoRef${index}`]) proxy.$refs[`videoRef${index}`][current[index]]
|
if (tabCurrent.value.load && proxy.$refs[`videoRef${index}`]) proxy.$refs[`videoRef${index}`][current[index]]
|
||||||
.play()
|
.play()
|
||||||
|
|
|
@ -58,7 +58,7 @@
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
<view class="container pr fmid fdc">
|
<view class="container pr fmid fdc">
|
||||||
<view class="title f40 b">输入二级密码解锁未成年模式</view>
|
<view class="title f40 b">输入登录密码解锁未成年模式</view>
|
||||||
|
|
||||||
<view class="account mtb20 c666 f32">当前账号: {{userinfo.phoneNumber}}</view>
|
<view class="account mtb20 c666 f32">当前账号: {{userinfo.phoneNumber}}</view>
|
||||||
|
|
||||||
|
|
|
@ -41,7 +41,6 @@
|
||||||
const userinfo = computed(() => {
|
const userinfo = computed(() => {
|
||||||
let result = store.state.userinfo
|
let result = store.state.userinfo
|
||||||
if (result.hasSecondCipher) mode.value = 'check'
|
if (result.hasSecondCipher) mode.value = 'check'
|
||||||
console.log('userinfo', result)
|
|
||||||
return result
|
return result
|
||||||
})
|
})
|
||||||
|
|
||||||
|
@ -188,19 +187,12 @@
|
||||||
<view class="container ver mt10p" v-if="mode === 'check'">
|
<view class="container ver mt10p" v-if="mode === 'check'">
|
||||||
<view class="title c333 f54">验证二级密码</view>
|
<view class="title c333 f54">验证二级密码</view>
|
||||||
<view class="content mt50 c666 f32">请输入二级密码用于验证</view>
|
<view class="content mt50 c666 f32">请输入二级密码用于验证</view>
|
||||||
|
<view class="inputBox mt50 ptb10 plr30">
|
||||||
<view class="pwd">
|
|
||||||
<codeInput v-model:modelValue="form.rePwd" />
|
|
||||||
</view>
|
|
||||||
|
|
||||||
<!-- <view class="inputBox mt50 ptb10 plr30">
|
|
||||||
<input type="number" :maxlength="6" v-model="form.pwd" :focus="true" placeholder="六位数字密码" />
|
<input type="number" :maxlength="6" v-model="form.pwd" :focus="true" placeholder="六位数字密码" />
|
||||||
</view> -->
|
</view>
|
||||||
|
|
||||||
<view class="btn lg black mtb50 plr50" @click="handleCheck">验证</view>
|
<view class="btn lg black mtb50 plr50" @click="handleCheck">验证</view>
|
||||||
</view>
|
</view>
|
||||||
|
|
||||||
<view v-show="false">{{userinfo}}</view>
|
|
||||||
</view>
|
</view>
|
||||||
|
|
||||||
<!-- 安全键盘 -->
|
<!-- 安全键盘 -->
|
||||||
|
|
|
@ -111,14 +111,13 @@
|
||||||
}).then(rs => {
|
}).then(rs => {
|
||||||
if (rs.code == 200) {
|
if (rs.code == 200) {
|
||||||
util.alert('创建成功')
|
util.alert('创建成功')
|
||||||
return
|
|
||||||
|
|
||||||
//
|
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
form.name = ''
|
form.name = ''
|
||||||
form.groupFaceUrl = ''
|
form.groupFaceUrl = ''
|
||||||
uni.navigateBack()
|
uni.navigateBack()
|
||||||
}, 2000)
|
}, 2000)
|
||||||
|
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
util.alert({
|
util.alert({
|
||||||
|
|
|
@ -38,8 +38,6 @@
|
||||||
form.id = detail.id
|
form.id = detail.id
|
||||||
// 商品规格
|
// 商品规格
|
||||||
form.categoryId = detail.categoryId
|
form.categoryId = detail.categoryId
|
||||||
//
|
|
||||||
form.categoryCode = detail.categoryCode
|
|
||||||
// 商品价格
|
// 商品价格
|
||||||
form.price = detail.price
|
form.price = detail.price
|
||||||
// 商品名称
|
// 商品名称
|
||||||
|
@ -169,7 +167,6 @@
|
||||||
if (index == categoryIndex.value) return
|
if (index == categoryIndex.value) return
|
||||||
categoryIndex.value = index
|
categoryIndex.value = index
|
||||||
form.categoryId = category[categoryIndex.value].id
|
form.categoryId = category[categoryIndex.value].id
|
||||||
form.categoryCode = category[categoryIndex.value].categoryCode
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// 发布商品
|
// 发布商品
|
||||||
|
@ -211,7 +208,7 @@
|
||||||
<view class="imgList mt20">
|
<view class="imgList mt20">
|
||||||
<view class="imgs" v-for="(item,index) in form.sliderImage">
|
<view class="imgs" v-for="(item,index) in form.sliderImage">
|
||||||
<image class="wh120 br10" :src="item" mode="aspectFill" />
|
<image class="wh120 br10" :src="item" mode="aspectFill" />
|
||||||
<view class="close" @click="removeImage(index)">
|
<view class="close">
|
||||||
<uni-icons type="clear" color="#f00" size="40rpx" />
|
<uni-icons type="clear" color="#f00" size="40rpx" />
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
|
|
File diff suppressed because one or more lines are too long
|
@ -0,0 +1,17 @@
|
||||||
|
var __getOwnPropNames = Object.getOwnPropertyNames;
|
||||||
|
var __require = /* @__PURE__ */ ((x) => typeof require !== "undefined" ? require : typeof Proxy !== "undefined" ? new Proxy(x, {
|
||||||
|
get: (a, b) => (typeof require !== "undefined" ? require : a)[b]
|
||||||
|
}) : x)(function(x) {
|
||||||
|
if (typeof require !== "undefined")
|
||||||
|
return require.apply(this, arguments);
|
||||||
|
throw Error('Dynamic require of "' + x + '" is not supported');
|
||||||
|
});
|
||||||
|
var __commonJS = (cb, mod) => function __require2() {
|
||||||
|
return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
|
||||||
|
};
|
||||||
|
|
||||||
|
export {
|
||||||
|
__require,
|
||||||
|
__commonJS
|
||||||
|
};
|
||||||
|
//# sourceMappingURL=chunk-TDUMLE5V.js.map
|
|
@ -0,0 +1,7 @@
|
||||||
|
{
|
||||||
|
"version": 3,
|
||||||
|
"sources": [],
|
||||||
|
"sourcesContent": [],
|
||||||
|
"mappings": "",
|
||||||
|
"names": []
|
||||||
|
}
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
|
@ -0,0 +1,3 @@
|
||||||
|
{
|
||||||
|
"type": "module"
|
||||||
|
}
|
|
@ -6,6 +6,7 @@ import uni from '@dcloudio/vite-plugin-uni';
|
||||||
// let target = 'http://91f.xyz:8080'
|
// let target = 'http://91f.xyz:8080'
|
||||||
let target = 'http://d5si5v.natappfree.cc'
|
let target = 'http://d5si5v.natappfree.cc'
|
||||||
|
|
||||||
|
|
||||||
export default defineConfig({
|
export default defineConfig({
|
||||||
plugins: [uni()],
|
plugins: [uni()],
|
||||||
server: {
|
server: {
|
||||||
|
|
|
@ -1,12 +1,40 @@
|
||||||
<script>
|
<script>
|
||||||
export default {
|
// 工具库
|
||||||
onLaunch() {},
|
import util from '@/common/js/util';
|
||||||
onShow() {},
|
// vuex
|
||||||
onHide() {}
|
import store from '@/store/index.js'
|
||||||
}
|
export default {
|
||||||
|
onLaunch() {
|
||||||
|
// 登录令牌
|
||||||
|
const token = uni.getStorageSync('token')
|
||||||
|
// 用户信息
|
||||||
|
const userinfo = uni.getStorageSync('userinfo')
|
||||||
|
|
||||||
|
// 如果登录保活
|
||||||
|
if (token) {
|
||||||
|
// 用户信息
|
||||||
|
if (userinfo) store.commit('setState', {
|
||||||
|
key: 'userinfo',
|
||||||
|
value: userinfo
|
||||||
|
})
|
||||||
|
|
||||||
|
// 腾讯im登录
|
||||||
|
util.getUserinfo().then(rs => {
|
||||||
|
util.loginTencent(userinfo)
|
||||||
|
})
|
||||||
|
} else {
|
||||||
|
// 如果未登录,跳转到登录页面
|
||||||
|
uni.redirectTo({
|
||||||
|
url: '/pages/login/login'
|
||||||
|
});
|
||||||
|
}
|
||||||
|
},
|
||||||
|
onShow() { },
|
||||||
|
onHide() { }
|
||||||
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style lang="scss">
|
<style lang="scss">
|
||||||
/*每个页面公共css */
|
/*每个页面公共css */
|
||||||
@import "./common/css/style.scss";
|
@import "./common/css/style.scss";
|
||||||
</style>
|
</style>
|
|
@ -16,12 +16,25 @@ const login = {
|
||||||
},
|
},
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 用户密码登录接口
|
* 客服登录接口
|
||||||
* @param {Object} param
|
* @param {Object} param
|
||||||
*/
|
*/
|
||||||
userLoginByPassword(param) {
|
userLoginByPassword(param) {
|
||||||
return util.request({
|
return util.request({
|
||||||
url: '/user/login',
|
url: '/user/customerService/login',
|
||||||
|
query: param.query,
|
||||||
|
load: true,
|
||||||
|
})
|
||||||
|
},
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 客服退出登录
|
||||||
|
* @param {Object} param
|
||||||
|
*/
|
||||||
|
userLoginOut(param) {
|
||||||
|
return util.request({
|
||||||
|
url: '/user/customerService/logout',
|
||||||
data: param.data,
|
data: param.data,
|
||||||
load: true,
|
load: true,
|
||||||
})
|
})
|
||||||
|
|
|
@ -5,10 +5,7 @@ const config = {
|
||||||
host: 'http://localhost:5173',
|
host: 'http://localhost:5173',
|
||||||
// #endif
|
// #endif
|
||||||
// #ifndef H5
|
// #ifndef H5
|
||||||
host: 'http://91f.xyz:8080',
|
host: 'https://1a4b9ed1.r24.cpolar.top/',
|
||||||
// host: 'http://192.168.0.110:8080',
|
|
||||||
// host: 'http://192.168.0.105:8080',
|
|
||||||
// host: 'http://192.168.0.114:8080',
|
|
||||||
// #endif
|
// #endif
|
||||||
// 支付方式配置
|
// 支付方式配置
|
||||||
payType: {
|
payType: {
|
||||||
|
|
|
@ -5,8 +5,6 @@ import config from '@/common/js/config.js'
|
||||||
// 接口
|
// 接口
|
||||||
import api from '@/api/index.js'
|
import api from '@/api/index.js'
|
||||||
|
|
||||||
const msgType = {}
|
|
||||||
|
|
||||||
// 工具库
|
// 工具库
|
||||||
const util = {
|
const util = {
|
||||||
// 配置参数
|
// 配置参数
|
||||||
|
@ -68,14 +66,14 @@ const util = {
|
||||||
showCancel: obj.showCancel,
|
showCancel: obj.showCancel,
|
||||||
cancelText: obj.cancelText,
|
cancelText: obj.cancelText,
|
||||||
success: res => {
|
success: res => {
|
||||||
obj.success ? obj.success(res) : () => {}
|
obj.success ? obj.success(res) : () => { }
|
||||||
resolve(res)
|
resolve(res)
|
||||||
},
|
},
|
||||||
fail: err => {
|
fail: err => {
|
||||||
obj.fail ? obj.fail(err) : () => {}
|
obj.fail ? obj.fail(err) : () => { }
|
||||||
reject(err)
|
reject(err)
|
||||||
},
|
},
|
||||||
complete: res => {}
|
complete: res => { }
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
@ -135,6 +133,9 @@ const util = {
|
||||||
//
|
//
|
||||||
reject(res)
|
reject(res)
|
||||||
},
|
},
|
||||||
|
complete(rs) {
|
||||||
|
console.log('upload complete', rs)
|
||||||
|
}
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
@ -191,11 +192,11 @@ const util = {
|
||||||
|
|
||||||
if (token) params.header["Authorization"] = `Bearer ${token}`
|
if (token) params.header["Authorization"] = `Bearer ${token}`
|
||||||
|
|
||||||
// console.log('request url', url)
|
console.log('request url', url)
|
||||||
// console.log('request data', params.data)
|
console.log('request data', params.data)
|
||||||
// console.log('request header', params.header)
|
console.log('request header', params.header)
|
||||||
// console.log('params.responseType', url, params.responseType)
|
console.log('params.responseType', url, params.responseType)
|
||||||
// 发起网络请求
|
// 发起网络请求
|
||||||
uni.request({
|
uni.request({
|
||||||
// 请求地址
|
// 请求地址
|
||||||
url: url,
|
url: url,
|
||||||
|
@ -212,7 +213,7 @@ const util = {
|
||||||
responseType: params.responseType || 'text',
|
responseType: params.responseType || 'text',
|
||||||
// 请求成功返回
|
// 请求成功返回
|
||||||
success: res => {
|
success: res => {
|
||||||
console.log('request success', url, res, params.data ? params.data : '')
|
// console.log('request success', url, res, params.data ? params.data : '')
|
||||||
// 关闭加载效果
|
// 关闭加载效果
|
||||||
if (params.load) {
|
if (params.load) {
|
||||||
uni.hideLoading()
|
uni.hideLoading()
|
||||||
|
@ -920,7 +921,7 @@ const util = {
|
||||||
const file_suffix = util.config[{
|
const file_suffix = util.config[{
|
||||||
'file': 'file_suffix',
|
'file': 'file_suffix',
|
||||||
'audio': 'audio_suffix',
|
'audio': 'audio_suffix',
|
||||||
} [type]]
|
}[type]]
|
||||||
let result = ''
|
let result = ''
|
||||||
if (url) result = file_suffix.find(item => item.id === url.split('.').pop().toLowerCase())
|
if (url) result = file_suffix.find(item => item.id === url.split('.').pop().toLowerCase())
|
||||||
return result
|
return result
|
||||||
|
@ -1046,7 +1047,7 @@ const util = {
|
||||||
obj.fail ? obj.fail('no data') : ''
|
obj.fail ? obj.fail('no data') : ''
|
||||||
}
|
}
|
||||||
break
|
break
|
||||||
// app支付
|
// app支付
|
||||||
case "app":
|
case "app":
|
||||||
uni.requestPayment({
|
uni.requestPayment({
|
||||||
provider: "wxpay",
|
provider: "wxpay",
|
||||||
|
@ -1068,7 +1069,7 @@ const util = {
|
||||||
break
|
break
|
||||||
}
|
}
|
||||||
break
|
break
|
||||||
// 支付宝支付
|
// 支付宝支付
|
||||||
case "2":
|
case "2":
|
||||||
switch (obj.method) {
|
switch (obj.method) {
|
||||||
// app支付
|
// app支付
|
||||||
|
@ -1093,7 +1094,7 @@ const util = {
|
||||||
break
|
break
|
||||||
}
|
}
|
||||||
break
|
break
|
||||||
// 钱包支付
|
// 钱包支付
|
||||||
case "4":
|
case "4":
|
||||||
obj.success ? obj.success(rs) : ''
|
obj.success ? obj.success(rs) : ''
|
||||||
result_goto('success')
|
result_goto('success')
|
||||||
|
@ -1165,7 +1166,7 @@ const util = {
|
||||||
util.alert("您拒绝了授权");
|
util.alert("您拒绝了授权");
|
||||||
|
|
||||||
// 失败
|
// 失败
|
||||||
obj.fail ? obj.fail(res) : (res) => {};
|
obj.fail ? obj.fail(res) : (res) => { };
|
||||||
},
|
},
|
||||||
complete() {
|
complete() {
|
||||||
// 结束
|
// 结束
|
||||||
|
@ -1365,11 +1366,11 @@ const util = {
|
||||||
return new Promise((resolve, reject) => {
|
return new Promise((resolve, reject) => {
|
||||||
// 是否在微信小程序限制范围内
|
// 是否在微信小程序限制范围内
|
||||||
if (!['scope.userInfo', 'scope.userLocation', 'scope.userLocationBackground',
|
if (!['scope.userInfo', 'scope.userLocation', 'scope.userLocationBackground',
|
||||||
'scope.address',
|
'scope.address',
|
||||||
'scope.record', 'scope.writePhotosAlbum', 'scope.camera',
|
'scope.record', 'scope.writePhotosAlbum', 'scope.camera',
|
||||||
'scope.invoice',
|
'scope.invoice',
|
||||||
'scope.invoiceTitle', 'scope.werun'
|
'scope.invoiceTitle', 'scope.werun'
|
||||||
].includes(obj.scope)) {
|
].includes(obj.scope)) {
|
||||||
resolve({
|
resolve({
|
||||||
msg: '不在限制范围内',
|
msg: '不在限制范围内',
|
||||||
})
|
})
|
||||||
|
@ -1425,7 +1426,7 @@ const util = {
|
||||||
uni.$emit('login')
|
uni.$emit('login')
|
||||||
|
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
uni.switchTab({
|
uni.reLaunch({
|
||||||
url: '/pages/index/index'
|
url: '/pages/index/index'
|
||||||
})
|
})
|
||||||
}, 500)
|
}, 500)
|
||||||
|
@ -1729,7 +1730,7 @@ const util = {
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
showToastAndRedirect(title, icon = 'none', fun = () => {}) {
|
showToastAndRedirect(title, icon = 'none', fun = () => { }) {
|
||||||
uni.showToast({
|
uni.showToast({
|
||||||
title,
|
title,
|
||||||
icon,
|
icon,
|
||||||
|
|
|
@ -3,12 +3,14 @@ import App from './App'
|
||||||
import store from '@/store';
|
import store from '@/store';
|
||||||
//
|
//
|
||||||
import Vuex from 'vuex'
|
import Vuex from 'vuex'
|
||||||
|
// 通用方法
|
||||||
|
import util from '@/common/js/util';
|
||||||
|
|
||||||
import TIM from '@tencentcloud/chat';
|
import TIM from '@tencentcloud/chat';
|
||||||
|
|
||||||
const chat = TencentCloudChat.create({
|
// const chat = TencentCloudChat.create({
|
||||||
SDKAppID: 0,
|
// SDKAppID: 0,
|
||||||
})
|
// })
|
||||||
|
|
||||||
// 集成聊天
|
// 集成聊天
|
||||||
uni.$TIM = TIM
|
uni.$TIM = TIM
|
||||||
|
|
|
@ -24,7 +24,7 @@
|
||||||
"style": {
|
"style": {
|
||||||
"navigationBarTitleText": ""
|
"navigationBarTitleText": ""
|
||||||
}
|
}
|
||||||
},
|
}
|
||||||
],
|
],
|
||||||
|
|
||||||
"globalStyle": {
|
"globalStyle": {
|
||||||
|
|
|
@ -33,6 +33,12 @@
|
||||||
}
|
}
|
||||||
])
|
])
|
||||||
|
|
||||||
|
|
||||||
|
// // 用户信息
|
||||||
|
// const userinfo = computed(() => {
|
||||||
|
// return store.state.userinfo
|
||||||
|
// })
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 去聊天
|
* 去聊天
|
||||||
* @param {Number} item 聊天对象
|
* @param {Number} item 聊天对象
|
||||||
|
@ -75,7 +81,6 @@
|
||||||
<uni-icons type="right" />
|
<uni-icons type="right" />
|
||||||
</view>
|
</view>
|
||||||
|
|
||||||
<!-- -->
|
|
||||||
<view class="list">
|
<view class="list">
|
||||||
<view class="item rows ptb20 plr20" v-for="(item, index) in chatList" :key="index"
|
<view class="item rows ptb20 plr20" v-for="(item, index) in chatList" :key="index"
|
||||||
@click="handleChat(item)">
|
@click="handleChat(item)">
|
||||||
|
|
|
@ -1,88 +1,77 @@
|
||||||
<script setup>
|
<script setup>
|
||||||
/**
|
/**
|
||||||
* 手机号登录
|
* 手机号登录
|
||||||
*/
|
*/
|
||||||
import {
|
import { ref, reactive } from 'vue'
|
||||||
ref,
|
|
||||||
reactive,
|
|
||||||
} from 'vue'
|
|
||||||
|
|
||||||
// api
|
// api
|
||||||
import api from '@/api/index'
|
import api from '@/api/index'
|
||||||
// 工具库
|
// 工具库
|
||||||
import util from '@/common/js/util.js'
|
import util from '@/common/js/util.js'
|
||||||
// 加密
|
// 加密
|
||||||
import CryptoJS from 'crypto-js';
|
import CryptoJS from 'crypto-js';
|
||||||
// 显示密码
|
// 显示密码
|
||||||
const showPwd = ref(false)
|
const showPwd = ref(false)
|
||||||
// 是否阅读
|
// 是否阅读
|
||||||
const read = ref(false)
|
const read = ref(false)
|
||||||
// 表单
|
// 表单
|
||||||
const form = reactive({
|
const form = reactive({
|
||||||
// 设备imei
|
// 手机号
|
||||||
userImei: '',
|
serviceAccount: '',
|
||||||
// 手机号
|
// 密码
|
||||||
phoneNumber: '',
|
password: '',
|
||||||
// 密码
|
})
|
||||||
password: '',
|
|
||||||
|
// 反选阅读
|
||||||
|
function handleRead() {
|
||||||
|
read.value = !read.value
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 查看文章
|
||||||
|
* @param {Object} id
|
||||||
|
*/
|
||||||
|
function article(id) {
|
||||||
|
uni.navigateTo({
|
||||||
|
url: util.setUrl('/pages/index/article', {
|
||||||
|
id,
|
||||||
|
})
|
||||||
})
|
})
|
||||||
|
}
|
||||||
|
|
||||||
// 反选阅读
|
// 登录
|
||||||
function handleRead() {
|
function handleLogin() {
|
||||||
read.value = !read.value
|
const data = {
|
||||||
|
...form
|
||||||
}
|
}
|
||||||
|
// 校验
|
||||||
/**
|
if (!data.serviceAccount) {
|
||||||
* 查看文章
|
util.alert('请输入手机号')
|
||||||
* @param {Object} id
|
|
||||||
*/
|
|
||||||
function article(id) {
|
|
||||||
uni.navigateTo({
|
|
||||||
url: util.setUrl('/pages/index/article', {
|
|
||||||
id,
|
|
||||||
})
|
|
||||||
})
|
|
||||||
}
|
|
||||||
|
|
||||||
// 登录
|
|
||||||
function handleLogin() {
|
|
||||||
const data = {
|
|
||||||
...form
|
|
||||||
}
|
|
||||||
// 校验
|
|
||||||
if (!data.phoneNumber) {
|
|
||||||
util.alert('请输入手机号')
|
|
||||||
return
|
|
||||||
}
|
|
||||||
if (!data.password) {
|
|
||||||
util.alert('请输入密码')
|
|
||||||
return
|
|
||||||
}
|
|
||||||
data.password = CryptoJS.MD5(data.password).toString()
|
|
||||||
// 如果imei为空
|
|
||||||
if (!data.userImei) {
|
|
||||||
const info = uni.getSystemInfoSync()
|
|
||||||
data.userImei = info.deviceId
|
|
||||||
}
|
|
||||||
|
|
||||||
console.log('data', data)
|
|
||||||
return
|
return
|
||||||
|
|
||||||
//
|
|
||||||
api.login.userLoginByPassword({
|
|
||||||
data: data,
|
|
||||||
}).then(rs => {
|
|
||||||
if (rs.code == 200) {
|
|
||||||
//
|
|
||||||
util.finalLogin(rs)
|
|
||||||
return
|
|
||||||
}
|
|
||||||
util.alert({
|
|
||||||
content: rs.msg,
|
|
||||||
showCancel: false,
|
|
||||||
})
|
|
||||||
})
|
|
||||||
}
|
}
|
||||||
|
if (!data.password) {
|
||||||
|
util.alert('请输入密码')
|
||||||
|
return
|
||||||
|
}
|
||||||
|
if (!read.value) {
|
||||||
|
util.alert('请阅读并勾选服务协议》和《隐私政策》')
|
||||||
|
return
|
||||||
|
}
|
||||||
|
data.password = CryptoJS.MD5(data.password).toString()
|
||||||
|
|
||||||
|
api.login.userLoginByPassword({
|
||||||
|
query: data,
|
||||||
|
}).then(rs => {
|
||||||
|
if (rs.code == 200) {
|
||||||
|
util.finalLogin(rs)
|
||||||
|
return
|
||||||
|
}
|
||||||
|
util.alert({
|
||||||
|
content: rs.msg,
|
||||||
|
showCancel: false,
|
||||||
|
})
|
||||||
|
})
|
||||||
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
|
@ -96,7 +85,7 @@
|
||||||
<view class="title mtb30">九亿客服登录</view>
|
<view class="title mtb30">九亿客服登录</view>
|
||||||
|
|
||||||
<view class="inputBox mtb20 ptb10 plr30">
|
<view class="inputBox mtb20 ptb10 plr30">
|
||||||
<input type="text" v-model="form.phoneNumber" placeholder="请输入手机号" />
|
<input type="text" v-model="form.serviceAccount" placeholder="请输入手机号" />
|
||||||
</view>
|
</view>
|
||||||
|
|
||||||
<view class="inputBox rows mtb20 ptb10 plr30">
|
<view class="inputBox rows mtb20 ptb10 plr30">
|
||||||
|
@ -116,7 +105,7 @@
|
||||||
</view>
|
</view>
|
||||||
|
|
||||||
<view class="footer">
|
<view class="footer">
|
||||||
<view class="notice tac c999 f20">
|
<view class="notice fmid tac c999 f20">
|
||||||
<view class="button" @click="handleRead">
|
<view class="button" @click="handleRead">
|
||||||
<uni-icons type="checkbox-filled" size="40rpx" color="#000" v-if="read" />
|
<uni-icons type="checkbox-filled" size="40rpx" color="#000" v-if="read" />
|
||||||
<uni-icons type="circle" size="40rpx" color="#99" v-else />
|
<uni-icons type="circle" size="40rpx" color="#99" v-else />
|
||||||
|
@ -131,19 +120,20 @@
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<style lang="scss">
|
<style lang="scss">
|
||||||
.image {
|
.image {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
//
|
//
|
||||||
.container {
|
.container {
|
||||||
margin-top: 15vh;
|
margin-top: 15vh;
|
||||||
|
|
||||||
// 标志
|
// 标志
|
||||||
.logo {
|
.logo {
|
||||||
width: 200rpx;
|
width: 200rpx;
|
||||||
height: 200rpx;
|
height: 200rpx;
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
</style>
|
</style>
|
|
@ -2,9 +2,9 @@ import {
|
||||||
__commonJS
|
__commonJS
|
||||||
} from "./chunk-TDUMLE5V.js";
|
} from "./chunk-TDUMLE5V.js";
|
||||||
|
|
||||||
// ../../../../document/九亿商城/service/node_modules/@tencentcloud/chat/index.js
|
// ../../../../document/九亿商城/jy/service/node_modules/@tencentcloud/chat/index.js
|
||||||
var require_chat = __commonJS({
|
var require_chat = __commonJS({
|
||||||
"../../../../document/九亿商城/service/node_modules/@tencentcloud/chat/index.js"(exports, module) {
|
"../../../../document/九亿商城/jy/service/node_modules/@tencentcloud/chat/index.js"(exports, module) {
|
||||||
!function(e, t) {
|
!function(e, t) {
|
||||||
"object" == typeof exports && "undefined" != typeof module ? module.exports = t() : "function" == typeof define && define.amd ? define(t) : (e = "undefined" != typeof globalThis ? globalThis : e || self).TencentCloudChat = t();
|
"object" == typeof exports && "undefined" != typeof module ? module.exports = t() : "function" == typeof define && define.amd ? define(t) : (e = "undefined" != typeof globalThis ? globalThis : e || self).TencentCloudChat = t();
|
||||||
}(exports, function() {
|
}(exports, function() {
|
||||||
|
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -1,25 +1,19 @@
|
||||||
{
|
{
|
||||||
"hash": "d7401311",
|
"hash": "a409d935",
|
||||||
"configHash": "b4a96d31",
|
"configHash": "da5c2bdf",
|
||||||
"lockfileHash": "7b6ef450",
|
"lockfileHash": "7b6ef450",
|
||||||
"browserHash": "b758873c",
|
"browserHash": "8066c8cc",
|
||||||
"optimized": {
|
"optimized": {
|
||||||
"crypto-js": {
|
|
||||||
"src": "../../../../../node_modules/crypto-js/index.js",
|
|
||||||
"file": "crypto-js.js",
|
|
||||||
"fileHash": "63888f73",
|
|
||||||
"needsInterop": true
|
|
||||||
},
|
|
||||||
"@tencentcloud/chat/index.es.js": {
|
|
||||||
"src": "../../../../../node_modules/@tencentcloud/chat/index.es.js",
|
|
||||||
"file": "@tencentcloud_chat_index__es__js.js",
|
|
||||||
"fileHash": "1c16a284",
|
|
||||||
"needsInterop": false
|
|
||||||
},
|
|
||||||
"@tencentcloud/chat": {
|
"@tencentcloud/chat": {
|
||||||
"src": "../../../../../node_modules/@tencentcloud/chat/index.js",
|
"src": "../../../../../node_modules/@tencentcloud/chat/index.js",
|
||||||
"file": "@tencentcloud_chat.js",
|
"file": "@tencentcloud_chat.js",
|
||||||
"fileHash": "b4c7d0e4",
|
"fileHash": "0e28df2d",
|
||||||
|
"needsInterop": true
|
||||||
|
},
|
||||||
|
"crypto-js": {
|
||||||
|
"src": "../../../../../node_modules/crypto-js/index.js",
|
||||||
|
"file": "crypto-js.js",
|
||||||
|
"fileHash": "d3e1eda0",
|
||||||
"needsInterop": true
|
"needsInterop": true
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
|
@ -16,9 +16,9 @@ var require_crypto = __commonJS({
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
// ../../../../document/九亿商城/service/node_modules/crypto-js/core.js
|
// ../../../../document/九亿商城/jy/service/node_modules/crypto-js/core.js
|
||||||
var require_core = __commonJS({
|
var require_core = __commonJS({
|
||||||
"../../../../document/九亿商城/service/node_modules/crypto-js/core.js"(exports, module) {
|
"../../../../document/九亿商城/jy/service/node_modules/crypto-js/core.js"(exports, module) {
|
||||||
(function(root, factory) {
|
(function(root, factory) {
|
||||||
if (typeof exports === "object") {
|
if (typeof exports === "object") {
|
||||||
module.exports = exports = factory();
|
module.exports = exports = factory();
|
||||||
|
@ -624,9 +624,9 @@ var require_core = __commonJS({
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
// ../../../../document/九亿商城/service/node_modules/crypto-js/x64-core.js
|
// ../../../../document/九亿商城/jy/service/node_modules/crypto-js/x64-core.js
|
||||||
var require_x64_core = __commonJS({
|
var require_x64_core = __commonJS({
|
||||||
"../../../../document/九亿商城/service/node_modules/crypto-js/x64-core.js"(exports, module) {
|
"../../../../document/九亿商城/jy/service/node_modules/crypto-js/x64-core.js"(exports, module) {
|
||||||
(function(root, factory) {
|
(function(root, factory) {
|
||||||
if (typeof exports === "object") {
|
if (typeof exports === "object") {
|
||||||
module.exports = exports = factory(require_core());
|
module.exports = exports = factory(require_core());
|
||||||
|
@ -881,9 +881,9 @@ var require_x64_core = __commonJS({
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
// ../../../../document/九亿商城/service/node_modules/crypto-js/lib-typedarrays.js
|
// ../../../../document/九亿商城/jy/service/node_modules/crypto-js/lib-typedarrays.js
|
||||||
var require_lib_typedarrays = __commonJS({
|
var require_lib_typedarrays = __commonJS({
|
||||||
"../../../../document/九亿商城/service/node_modules/crypto-js/lib-typedarrays.js"(exports, module) {
|
"../../../../document/九亿商城/jy/service/node_modules/crypto-js/lib-typedarrays.js"(exports, module) {
|
||||||
(function(root, factory) {
|
(function(root, factory) {
|
||||||
if (typeof exports === "object") {
|
if (typeof exports === "object") {
|
||||||
module.exports = exports = factory(require_core());
|
module.exports = exports = factory(require_core());
|
||||||
|
@ -926,9 +926,9 @@ var require_lib_typedarrays = __commonJS({
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
// ../../../../document/九亿商城/service/node_modules/crypto-js/enc-utf16.js
|
// ../../../../document/九亿商城/jy/service/node_modules/crypto-js/enc-utf16.js
|
||||||
var require_enc_utf16 = __commonJS({
|
var require_enc_utf16 = __commonJS({
|
||||||
"../../../../document/九亿商城/service/node_modules/crypto-js/enc-utf16.js"(exports, module) {
|
"../../../../document/九亿商城/jy/service/node_modules/crypto-js/enc-utf16.js"(exports, module) {
|
||||||
(function(root, factory) {
|
(function(root, factory) {
|
||||||
if (typeof exports === "object") {
|
if (typeof exports === "object") {
|
||||||
module.exports = exports = factory(require_core());
|
module.exports = exports = factory(require_core());
|
||||||
|
@ -1044,9 +1044,9 @@ var require_enc_utf16 = __commonJS({
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
// ../../../../document/九亿商城/service/node_modules/crypto-js/enc-base64.js
|
// ../../../../document/九亿商城/jy/service/node_modules/crypto-js/enc-base64.js
|
||||||
var require_enc_base64 = __commonJS({
|
var require_enc_base64 = __commonJS({
|
||||||
"../../../../document/九亿商城/service/node_modules/crypto-js/enc-base64.js"(exports, module) {
|
"../../../../document/九亿商城/jy/service/node_modules/crypto-js/enc-base64.js"(exports, module) {
|
||||||
(function(root, factory) {
|
(function(root, factory) {
|
||||||
if (typeof exports === "object") {
|
if (typeof exports === "object") {
|
||||||
module.exports = exports = factory(require_core());
|
module.exports = exports = factory(require_core());
|
||||||
|
@ -1152,9 +1152,9 @@ var require_enc_base64 = __commonJS({
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
// ../../../../document/九亿商城/service/node_modules/crypto-js/enc-base64url.js
|
// ../../../../document/九亿商城/jy/service/node_modules/crypto-js/enc-base64url.js
|
||||||
var require_enc_base64url = __commonJS({
|
var require_enc_base64url = __commonJS({
|
||||||
"../../../../document/九亿商城/service/node_modules/crypto-js/enc-base64url.js"(exports, module) {
|
"../../../../document/九亿商城/jy/service/node_modules/crypto-js/enc-base64url.js"(exports, module) {
|
||||||
(function(root, factory) {
|
(function(root, factory) {
|
||||||
if (typeof exports === "object") {
|
if (typeof exports === "object") {
|
||||||
module.exports = exports = factory(require_core());
|
module.exports = exports = factory(require_core());
|
||||||
|
@ -1271,9 +1271,9 @@ var require_enc_base64url = __commonJS({
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
// ../../../../document/九亿商城/service/node_modules/crypto-js/md5.js
|
// ../../../../document/九亿商城/jy/service/node_modules/crypto-js/md5.js
|
||||||
var require_md5 = __commonJS({
|
var require_md5 = __commonJS({
|
||||||
"../../../../document/九亿商城/service/node_modules/crypto-js/md5.js"(exports, module) {
|
"../../../../document/九亿商城/jy/service/node_modules/crypto-js/md5.js"(exports, module) {
|
||||||
(function(root, factory) {
|
(function(root, factory) {
|
||||||
if (typeof exports === "object") {
|
if (typeof exports === "object") {
|
||||||
module.exports = exports = factory(require_core());
|
module.exports = exports = factory(require_core());
|
||||||
|
@ -1450,9 +1450,9 @@ var require_md5 = __commonJS({
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
// ../../../../document/九亿商城/service/node_modules/crypto-js/sha1.js
|
// ../../../../document/九亿商城/jy/service/node_modules/crypto-js/sha1.js
|
||||||
var require_sha1 = __commonJS({
|
var require_sha1 = __commonJS({
|
||||||
"../../../../document/九亿商城/service/node_modules/crypto-js/sha1.js"(exports, module) {
|
"../../../../document/九亿商城/jy/service/node_modules/crypto-js/sha1.js"(exports, module) {
|
||||||
(function(root, factory) {
|
(function(root, factory) {
|
||||||
if (typeof exports === "object") {
|
if (typeof exports === "object") {
|
||||||
module.exports = exports = factory(require_core());
|
module.exports = exports = factory(require_core());
|
||||||
|
@ -1541,9 +1541,9 @@ var require_sha1 = __commonJS({
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
// ../../../../document/九亿商城/service/node_modules/crypto-js/sha256.js
|
// ../../../../document/九亿商城/jy/service/node_modules/crypto-js/sha256.js
|
||||||
var require_sha256 = __commonJS({
|
var require_sha256 = __commonJS({
|
||||||
"../../../../document/九亿商城/service/node_modules/crypto-js/sha256.js"(exports, module) {
|
"../../../../document/九亿商城/jy/service/node_modules/crypto-js/sha256.js"(exports, module) {
|
||||||
(function(root, factory) {
|
(function(root, factory) {
|
||||||
if (typeof exports === "object") {
|
if (typeof exports === "object") {
|
||||||
module.exports = exports = factory(require_core());
|
module.exports = exports = factory(require_core());
|
||||||
|
@ -1662,9 +1662,9 @@ var require_sha256 = __commonJS({
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
// ../../../../document/九亿商城/service/node_modules/crypto-js/sha224.js
|
// ../../../../document/九亿商城/jy/service/node_modules/crypto-js/sha224.js
|
||||||
var require_sha224 = __commonJS({
|
var require_sha224 = __commonJS({
|
||||||
"../../../../document/九亿商城/service/node_modules/crypto-js/sha224.js"(exports, module) {
|
"../../../../document/九亿商城/jy/service/node_modules/crypto-js/sha224.js"(exports, module) {
|
||||||
(function(root, factory, undef) {
|
(function(root, factory, undef) {
|
||||||
if (typeof exports === "object") {
|
if (typeof exports === "object") {
|
||||||
module.exports = exports = factory(require_core(), require_sha256());
|
module.exports = exports = factory(require_core(), require_sha256());
|
||||||
|
@ -1707,9 +1707,9 @@ var require_sha224 = __commonJS({
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
// ../../../../document/九亿商城/service/node_modules/crypto-js/sha512.js
|
// ../../../../document/九亿商城/jy/service/node_modules/crypto-js/sha512.js
|
||||||
var require_sha512 = __commonJS({
|
var require_sha512 = __commonJS({
|
||||||
"../../../../document/九亿商城/service/node_modules/crypto-js/sha512.js"(exports, module) {
|
"../../../../document/九亿商城/jy/service/node_modules/crypto-js/sha512.js"(exports, module) {
|
||||||
(function(root, factory, undef) {
|
(function(root, factory, undef) {
|
||||||
if (typeof exports === "object") {
|
if (typeof exports === "object") {
|
||||||
module.exports = exports = factory(require_core(), require_x64_core());
|
module.exports = exports = factory(require_core(), require_x64_core());
|
||||||
|
@ -1989,9 +1989,9 @@ var require_sha512 = __commonJS({
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
// ../../../../document/九亿商城/service/node_modules/crypto-js/sha384.js
|
// ../../../../document/九亿商城/jy/service/node_modules/crypto-js/sha384.js
|
||||||
var require_sha384 = __commonJS({
|
var require_sha384 = __commonJS({
|
||||||
"../../../../document/九亿商城/service/node_modules/crypto-js/sha384.js"(exports, module) {
|
"../../../../document/九亿商城/jy/service/node_modules/crypto-js/sha384.js"(exports, module) {
|
||||||
(function(root, factory, undef) {
|
(function(root, factory, undef) {
|
||||||
if (typeof exports === "object") {
|
if (typeof exports === "object") {
|
||||||
module.exports = exports = factory(require_core(), require_x64_core(), require_sha512());
|
module.exports = exports = factory(require_core(), require_x64_core(), require_sha512());
|
||||||
|
@ -2035,9 +2035,9 @@ var require_sha384 = __commonJS({
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
// ../../../../document/九亿商城/service/node_modules/crypto-js/sha3.js
|
// ../../../../document/九亿商城/jy/service/node_modules/crypto-js/sha3.js
|
||||||
var require_sha3 = __commonJS({
|
var require_sha3 = __commonJS({
|
||||||
"../../../../document/九亿商城/service/node_modules/crypto-js/sha3.js"(exports, module) {
|
"../../../../document/九亿商城/jy/service/node_modules/crypto-js/sha3.js"(exports, module) {
|
||||||
(function(root, factory, undef) {
|
(function(root, factory, undef) {
|
||||||
if (typeof exports === "object") {
|
if (typeof exports === "object") {
|
||||||
module.exports = exports = factory(require_core(), require_x64_core());
|
module.exports = exports = factory(require_core(), require_x64_core());
|
||||||
|
@ -2237,9 +2237,9 @@ var require_sha3 = __commonJS({
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
// ../../../../document/九亿商城/service/node_modules/crypto-js/ripemd160.js
|
// ../../../../document/九亿商城/jy/service/node_modules/crypto-js/ripemd160.js
|
||||||
var require_ripemd160 = __commonJS({
|
var require_ripemd160 = __commonJS({
|
||||||
"../../../../document/九亿商城/service/node_modules/crypto-js/ripemd160.js"(exports, module) {
|
"../../../../document/九亿商城/jy/service/node_modules/crypto-js/ripemd160.js"(exports, module) {
|
||||||
(function(root, factory) {
|
(function(root, factory) {
|
||||||
if (typeof exports === "object") {
|
if (typeof exports === "object") {
|
||||||
module.exports = exports = factory(require_core());
|
module.exports = exports = factory(require_core());
|
||||||
|
@ -2708,9 +2708,9 @@ var require_ripemd160 = __commonJS({
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
// ../../../../document/九亿商城/service/node_modules/crypto-js/hmac.js
|
// ../../../../document/九亿商城/jy/service/node_modules/crypto-js/hmac.js
|
||||||
var require_hmac = __commonJS({
|
var require_hmac = __commonJS({
|
||||||
"../../../../document/九亿商城/service/node_modules/crypto-js/hmac.js"(exports, module) {
|
"../../../../document/九亿商城/jy/service/node_modules/crypto-js/hmac.js"(exports, module) {
|
||||||
(function(root, factory) {
|
(function(root, factory) {
|
||||||
if (typeof exports === "object") {
|
if (typeof exports === "object") {
|
||||||
module.exports = exports = factory(require_core());
|
module.exports = exports = factory(require_core());
|
||||||
|
@ -2815,9 +2815,9 @@ var require_hmac = __commonJS({
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
// ../../../../document/九亿商城/service/node_modules/crypto-js/pbkdf2.js
|
// ../../../../document/九亿商城/jy/service/node_modules/crypto-js/pbkdf2.js
|
||||||
var require_pbkdf2 = __commonJS({
|
var require_pbkdf2 = __commonJS({
|
||||||
"../../../../document/九亿商城/service/node_modules/crypto-js/pbkdf2.js"(exports, module) {
|
"../../../../document/九亿商城/jy/service/node_modules/crypto-js/pbkdf2.js"(exports, module) {
|
||||||
(function(root, factory, undef) {
|
(function(root, factory, undef) {
|
||||||
if (typeof exports === "object") {
|
if (typeof exports === "object") {
|
||||||
module.exports = exports = factory(require_core(), require_sha256(), require_hmac());
|
module.exports = exports = factory(require_core(), require_sha256(), require_hmac());
|
||||||
|
@ -2913,9 +2913,9 @@ var require_pbkdf2 = __commonJS({
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
// ../../../../document/九亿商城/service/node_modules/crypto-js/evpkdf.js
|
// ../../../../document/九亿商城/jy/service/node_modules/crypto-js/evpkdf.js
|
||||||
var require_evpkdf = __commonJS({
|
var require_evpkdf = __commonJS({
|
||||||
"../../../../document/九亿商城/service/node_modules/crypto-js/evpkdf.js"(exports, module) {
|
"../../../../document/九亿商城/jy/service/node_modules/crypto-js/evpkdf.js"(exports, module) {
|
||||||
(function(root, factory, undef) {
|
(function(root, factory, undef) {
|
||||||
if (typeof exports === "object") {
|
if (typeof exports === "object") {
|
||||||
module.exports = exports = factory(require_core(), require_sha1(), require_hmac());
|
module.exports = exports = factory(require_core(), require_sha1(), require_hmac());
|
||||||
|
@ -3004,9 +3004,9 @@ var require_evpkdf = __commonJS({
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
// ../../../../document/九亿商城/service/node_modules/crypto-js/cipher-core.js
|
// ../../../../document/九亿商城/jy/service/node_modules/crypto-js/cipher-core.js
|
||||||
var require_cipher_core = __commonJS({
|
var require_cipher_core = __commonJS({
|
||||||
"../../../../document/九亿商城/service/node_modules/crypto-js/cipher-core.js"(exports, module) {
|
"../../../../document/九亿商城/jy/service/node_modules/crypto-js/cipher-core.js"(exports, module) {
|
||||||
(function(root, factory, undef) {
|
(function(root, factory, undef) {
|
||||||
if (typeof exports === "object") {
|
if (typeof exports === "object") {
|
||||||
module.exports = exports = factory(require_core(), require_evpkdf());
|
module.exports = exports = factory(require_core(), require_evpkdf());
|
||||||
|
@ -3648,9 +3648,9 @@ var require_cipher_core = __commonJS({
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
// ../../../../document/九亿商城/service/node_modules/crypto-js/mode-cfb.js
|
// ../../../../document/九亿商城/jy/service/node_modules/crypto-js/mode-cfb.js
|
||||||
var require_mode_cfb = __commonJS({
|
var require_mode_cfb = __commonJS({
|
||||||
"../../../../document/九亿商城/service/node_modules/crypto-js/mode-cfb.js"(exports, module) {
|
"../../../../document/九亿商城/jy/service/node_modules/crypto-js/mode-cfb.js"(exports, module) {
|
||||||
(function(root, factory, undef) {
|
(function(root, factory, undef) {
|
||||||
if (typeof exports === "object") {
|
if (typeof exports === "object") {
|
||||||
module.exports = exports = factory(require_core(), require_cipher_core());
|
module.exports = exports = factory(require_core(), require_cipher_core());
|
||||||
|
@ -3700,9 +3700,9 @@ var require_mode_cfb = __commonJS({
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
// ../../../../document/九亿商城/service/node_modules/crypto-js/mode-ctr.js
|
// ../../../../document/九亿商城/jy/service/node_modules/crypto-js/mode-ctr.js
|
||||||
var require_mode_ctr = __commonJS({
|
var require_mode_ctr = __commonJS({
|
||||||
"../../../../document/九亿商城/service/node_modules/crypto-js/mode-ctr.js"(exports, module) {
|
"../../../../document/九亿商城/jy/service/node_modules/crypto-js/mode-ctr.js"(exports, module) {
|
||||||
(function(root, factory, undef) {
|
(function(root, factory, undef) {
|
||||||
if (typeof exports === "object") {
|
if (typeof exports === "object") {
|
||||||
module.exports = exports = factory(require_core(), require_cipher_core());
|
module.exports = exports = factory(require_core(), require_cipher_core());
|
||||||
|
@ -3740,9 +3740,9 @@ var require_mode_ctr = __commonJS({
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
// ../../../../document/九亿商城/service/node_modules/crypto-js/mode-ctr-gladman.js
|
// ../../../../document/九亿商城/jy/service/node_modules/crypto-js/mode-ctr-gladman.js
|
||||||
var require_mode_ctr_gladman = __commonJS({
|
var require_mode_ctr_gladman = __commonJS({
|
||||||
"../../../../document/九亿商城/service/node_modules/crypto-js/mode-ctr-gladman.js"(exports, module) {
|
"../../../../document/九亿商城/jy/service/node_modules/crypto-js/mode-ctr-gladman.js"(exports, module) {
|
||||||
(function(root, factory, undef) {
|
(function(root, factory, undef) {
|
||||||
if (typeof exports === "object") {
|
if (typeof exports === "object") {
|
||||||
module.exports = exports = factory(require_core(), require_cipher_core());
|
module.exports = exports = factory(require_core(), require_cipher_core());
|
||||||
|
@ -3815,9 +3815,9 @@ var require_mode_ctr_gladman = __commonJS({
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
// ../../../../document/九亿商城/service/node_modules/crypto-js/mode-ofb.js
|
// ../../../../document/九亿商城/jy/service/node_modules/crypto-js/mode-ofb.js
|
||||||
var require_mode_ofb = __commonJS({
|
var require_mode_ofb = __commonJS({
|
||||||
"../../../../document/九亿商城/service/node_modules/crypto-js/mode-ofb.js"(exports, module) {
|
"../../../../document/九亿商城/jy/service/node_modules/crypto-js/mode-ofb.js"(exports, module) {
|
||||||
(function(root, factory, undef) {
|
(function(root, factory, undef) {
|
||||||
if (typeof exports === "object") {
|
if (typeof exports === "object") {
|
||||||
module.exports = exports = factory(require_core(), require_cipher_core());
|
module.exports = exports = factory(require_core(), require_cipher_core());
|
||||||
|
@ -3853,9 +3853,9 @@ var require_mode_ofb = __commonJS({
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
// ../../../../document/九亿商城/service/node_modules/crypto-js/mode-ecb.js
|
// ../../../../document/九亿商城/jy/service/node_modules/crypto-js/mode-ecb.js
|
||||||
var require_mode_ecb = __commonJS({
|
var require_mode_ecb = __commonJS({
|
||||||
"../../../../document/九亿商城/service/node_modules/crypto-js/mode-ecb.js"(exports, module) {
|
"../../../../document/九亿商城/jy/service/node_modules/crypto-js/mode-ecb.js"(exports, module) {
|
||||||
(function(root, factory, undef) {
|
(function(root, factory, undef) {
|
||||||
if (typeof exports === "object") {
|
if (typeof exports === "object") {
|
||||||
module.exports = exports = factory(require_core(), require_cipher_core());
|
module.exports = exports = factory(require_core(), require_cipher_core());
|
||||||
|
@ -3884,9 +3884,9 @@ var require_mode_ecb = __commonJS({
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
// ../../../../document/九亿商城/service/node_modules/crypto-js/pad-ansix923.js
|
// ../../../../document/九亿商城/jy/service/node_modules/crypto-js/pad-ansix923.js
|
||||||
var require_pad_ansix923 = __commonJS({
|
var require_pad_ansix923 = __commonJS({
|
||||||
"../../../../document/九亿商城/service/node_modules/crypto-js/pad-ansix923.js"(exports, module) {
|
"../../../../document/九亿商城/jy/service/node_modules/crypto-js/pad-ansix923.js"(exports, module) {
|
||||||
(function(root, factory, undef) {
|
(function(root, factory, undef) {
|
||||||
if (typeof exports === "object") {
|
if (typeof exports === "object") {
|
||||||
module.exports = exports = factory(require_core(), require_cipher_core());
|
module.exports = exports = factory(require_core(), require_cipher_core());
|
||||||
|
@ -3916,9 +3916,9 @@ var require_pad_ansix923 = __commonJS({
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
// ../../../../document/九亿商城/service/node_modules/crypto-js/pad-iso10126.js
|
// ../../../../document/九亿商城/jy/service/node_modules/crypto-js/pad-iso10126.js
|
||||||
var require_pad_iso10126 = __commonJS({
|
var require_pad_iso10126 = __commonJS({
|
||||||
"../../../../document/九亿商城/service/node_modules/crypto-js/pad-iso10126.js"(exports, module) {
|
"../../../../document/九亿商城/jy/service/node_modules/crypto-js/pad-iso10126.js"(exports, module) {
|
||||||
(function(root, factory, undef) {
|
(function(root, factory, undef) {
|
||||||
if (typeof exports === "object") {
|
if (typeof exports === "object") {
|
||||||
module.exports = exports = factory(require_core(), require_cipher_core());
|
module.exports = exports = factory(require_core(), require_cipher_core());
|
||||||
|
@ -3944,9 +3944,9 @@ var require_pad_iso10126 = __commonJS({
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
// ../../../../document/九亿商城/service/node_modules/crypto-js/pad-iso97971.js
|
// ../../../../document/九亿商城/jy/service/node_modules/crypto-js/pad-iso97971.js
|
||||||
var require_pad_iso97971 = __commonJS({
|
var require_pad_iso97971 = __commonJS({
|
||||||
"../../../../document/九亿商城/service/node_modules/crypto-js/pad-iso97971.js"(exports, module) {
|
"../../../../document/九亿商城/jy/service/node_modules/crypto-js/pad-iso97971.js"(exports, module) {
|
||||||
(function(root, factory, undef) {
|
(function(root, factory, undef) {
|
||||||
if (typeof exports === "object") {
|
if (typeof exports === "object") {
|
||||||
module.exports = exports = factory(require_core(), require_cipher_core());
|
module.exports = exports = factory(require_core(), require_cipher_core());
|
||||||
|
@ -3971,9 +3971,9 @@ var require_pad_iso97971 = __commonJS({
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
// ../../../../document/九亿商城/service/node_modules/crypto-js/pad-zeropadding.js
|
// ../../../../document/九亿商城/jy/service/node_modules/crypto-js/pad-zeropadding.js
|
||||||
var require_pad_zeropadding = __commonJS({
|
var require_pad_zeropadding = __commonJS({
|
||||||
"../../../../document/九亿商城/service/node_modules/crypto-js/pad-zeropadding.js"(exports, module) {
|
"../../../../document/九亿商城/jy/service/node_modules/crypto-js/pad-zeropadding.js"(exports, module) {
|
||||||
(function(root, factory, undef) {
|
(function(root, factory, undef) {
|
||||||
if (typeof exports === "object") {
|
if (typeof exports === "object") {
|
||||||
module.exports = exports = factory(require_core(), require_cipher_core());
|
module.exports = exports = factory(require_core(), require_cipher_core());
|
||||||
|
@ -4005,9 +4005,9 @@ var require_pad_zeropadding = __commonJS({
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
// ../../../../document/九亿商城/service/node_modules/crypto-js/pad-nopadding.js
|
// ../../../../document/九亿商城/jy/service/node_modules/crypto-js/pad-nopadding.js
|
||||||
var require_pad_nopadding = __commonJS({
|
var require_pad_nopadding = __commonJS({
|
||||||
"../../../../document/九亿商城/service/node_modules/crypto-js/pad-nopadding.js"(exports, module) {
|
"../../../../document/九亿商城/jy/service/node_modules/crypto-js/pad-nopadding.js"(exports, module) {
|
||||||
(function(root, factory, undef) {
|
(function(root, factory, undef) {
|
||||||
if (typeof exports === "object") {
|
if (typeof exports === "object") {
|
||||||
module.exports = exports = factory(require_core(), require_cipher_core());
|
module.exports = exports = factory(require_core(), require_cipher_core());
|
||||||
|
@ -4028,9 +4028,9 @@ var require_pad_nopadding = __commonJS({
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
// ../../../../document/九亿商城/service/node_modules/crypto-js/format-hex.js
|
// ../../../../document/九亿商城/jy/service/node_modules/crypto-js/format-hex.js
|
||||||
var require_format_hex = __commonJS({
|
var require_format_hex = __commonJS({
|
||||||
"../../../../document/九亿商城/service/node_modules/crypto-js/format-hex.js"(exports, module) {
|
"../../../../document/九亿商城/jy/service/node_modules/crypto-js/format-hex.js"(exports, module) {
|
||||||
(function(root, factory, undef) {
|
(function(root, factory, undef) {
|
||||||
if (typeof exports === "object") {
|
if (typeof exports === "object") {
|
||||||
module.exports = exports = factory(require_core(), require_cipher_core());
|
module.exports = exports = factory(require_core(), require_cipher_core());
|
||||||
|
@ -4088,9 +4088,9 @@ var require_format_hex = __commonJS({
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
// ../../../../document/九亿商城/service/node_modules/crypto-js/aes.js
|
// ../../../../document/九亿商城/jy/service/node_modules/crypto-js/aes.js
|
||||||
var require_aes = __commonJS({
|
var require_aes = __commonJS({
|
||||||
"../../../../document/九亿商城/service/node_modules/crypto-js/aes.js"(exports, module) {
|
"../../../../document/九亿商城/jy/service/node_modules/crypto-js/aes.js"(exports, module) {
|
||||||
(function(root, factory, undef) {
|
(function(root, factory, undef) {
|
||||||
if (typeof exports === "object") {
|
if (typeof exports === "object") {
|
||||||
module.exports = exports = factory(require_core(), require_enc_base64(), require_md5(), require_evpkdf(), require_cipher_core());
|
module.exports = exports = factory(require_core(), require_enc_base64(), require_md5(), require_evpkdf(), require_cipher_core());
|
||||||
|
@ -4242,9 +4242,9 @@ var require_aes = __commonJS({
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
// ../../../../document/九亿商城/service/node_modules/crypto-js/tripledes.js
|
// ../../../../document/九亿商城/jy/service/node_modules/crypto-js/tripledes.js
|
||||||
var require_tripledes = __commonJS({
|
var require_tripledes = __commonJS({
|
||||||
"../../../../document/九亿商城/service/node_modules/crypto-js/tripledes.js"(exports, module) {
|
"../../../../document/九亿商城/jy/service/node_modules/crypto-js/tripledes.js"(exports, module) {
|
||||||
(function(root, factory, undef) {
|
(function(root, factory, undef) {
|
||||||
if (typeof exports === "object") {
|
if (typeof exports === "object") {
|
||||||
module.exports = exports = factory(require_core(), require_enc_base64(), require_md5(), require_evpkdf(), require_cipher_core());
|
module.exports = exports = factory(require_core(), require_enc_base64(), require_md5(), require_evpkdf(), require_cipher_core());
|
||||||
|
@ -5023,9 +5023,9 @@ var require_tripledes = __commonJS({
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
// ../../../../document/九亿商城/service/node_modules/crypto-js/rc4.js
|
// ../../../../document/九亿商城/jy/service/node_modules/crypto-js/rc4.js
|
||||||
var require_rc4 = __commonJS({
|
var require_rc4 = __commonJS({
|
||||||
"../../../../document/九亿商城/service/node_modules/crypto-js/rc4.js"(exports, module) {
|
"../../../../document/九亿商城/jy/service/node_modules/crypto-js/rc4.js"(exports, module) {
|
||||||
(function(root, factory, undef) {
|
(function(root, factory, undef) {
|
||||||
if (typeof exports === "object") {
|
if (typeof exports === "object") {
|
||||||
module.exports = exports = factory(require_core(), require_enc_base64(), require_md5(), require_evpkdf(), require_cipher_core());
|
module.exports = exports = factory(require_core(), require_enc_base64(), require_md5(), require_evpkdf(), require_cipher_core());
|
||||||
|
@ -5106,9 +5106,9 @@ var require_rc4 = __commonJS({
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
// ../../../../document/九亿商城/service/node_modules/crypto-js/rabbit.js
|
// ../../../../document/九亿商城/jy/service/node_modules/crypto-js/rabbit.js
|
||||||
var require_rabbit = __commonJS({
|
var require_rabbit = __commonJS({
|
||||||
"../../../../document/九亿商城/service/node_modules/crypto-js/rabbit.js"(exports, module) {
|
"../../../../document/九亿商城/jy/service/node_modules/crypto-js/rabbit.js"(exports, module) {
|
||||||
(function(root, factory, undef) {
|
(function(root, factory, undef) {
|
||||||
if (typeof exports === "object") {
|
if (typeof exports === "object") {
|
||||||
module.exports = exports = factory(require_core(), require_enc_base64(), require_md5(), require_evpkdf(), require_cipher_core());
|
module.exports = exports = factory(require_core(), require_enc_base64(), require_md5(), require_evpkdf(), require_cipher_core());
|
||||||
|
@ -5235,9 +5235,9 @@ var require_rabbit = __commonJS({
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
// ../../../../document/九亿商城/service/node_modules/crypto-js/rabbit-legacy.js
|
// ../../../../document/九亿商城/jy/service/node_modules/crypto-js/rabbit-legacy.js
|
||||||
var require_rabbit_legacy = __commonJS({
|
var require_rabbit_legacy = __commonJS({
|
||||||
"../../../../document/九亿商城/service/node_modules/crypto-js/rabbit-legacy.js"(exports, module) {
|
"../../../../document/九亿商城/jy/service/node_modules/crypto-js/rabbit-legacy.js"(exports, module) {
|
||||||
(function(root, factory, undef) {
|
(function(root, factory, undef) {
|
||||||
if (typeof exports === "object") {
|
if (typeof exports === "object") {
|
||||||
module.exports = exports = factory(require_core(), require_enc_base64(), require_md5(), require_evpkdf(), require_cipher_core());
|
module.exports = exports = factory(require_core(), require_enc_base64(), require_md5(), require_evpkdf(), require_cipher_core());
|
||||||
|
@ -5361,9 +5361,9 @@ var require_rabbit_legacy = __commonJS({
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
// ../../../../document/九亿商城/service/node_modules/crypto-js/blowfish.js
|
// ../../../../document/九亿商城/jy/service/node_modules/crypto-js/blowfish.js
|
||||||
var require_blowfish = __commonJS({
|
var require_blowfish = __commonJS({
|
||||||
"../../../../document/九亿商城/service/node_modules/crypto-js/blowfish.js"(exports, module) {
|
"../../../../document/九亿商城/jy/service/node_modules/crypto-js/blowfish.js"(exports, module) {
|
||||||
(function(root, factory, undef) {
|
(function(root, factory, undef) {
|
||||||
if (typeof exports === "object") {
|
if (typeof exports === "object") {
|
||||||
module.exports = exports = factory(require_core(), require_enc_base64(), require_md5(), require_evpkdf(), require_cipher_core());
|
module.exports = exports = factory(require_core(), require_enc_base64(), require_md5(), require_evpkdf(), require_cipher_core());
|
||||||
|
@ -6550,9 +6550,9 @@ var require_blowfish = __commonJS({
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
// ../../../../document/九亿商城/service/node_modules/crypto-js/index.js
|
// ../../../../document/九亿商城/jy/service/node_modules/crypto-js/index.js
|
||||||
var require_crypto_js = __commonJS({
|
var require_crypto_js = __commonJS({
|
||||||
"../../../../document/九亿商城/service/node_modules/crypto-js/index.js"(exports, module) {
|
"../../../../document/九亿商城/jy/service/node_modules/crypto-js/index.js"(exports, module) {
|
||||||
(function(root, factory, undef) {
|
(function(root, factory, undef) {
|
||||||
if (typeof exports === "object") {
|
if (typeof exports === "object") {
|
||||||
module.exports = exports = factory(require_core(), require_x64_core(), require_lib_typedarrays(), require_enc_utf16(), require_enc_base64(), require_enc_base64url(), require_md5(), require_sha1(), require_sha256(), require_sha224(), require_sha512(), require_sha384(), require_sha3(), require_ripemd160(), require_hmac(), require_pbkdf2(), require_evpkdf(), require_cipher_core(), require_mode_cfb(), require_mode_ctr(), require_mode_ctr_gladman(), require_mode_ofb(), require_mode_ecb(), require_pad_ansix923(), require_pad_iso10126(), require_pad_iso97971(), require_pad_zeropadding(), require_pad_nopadding(), require_format_hex(), require_aes(), require_tripledes(), require_rc4(), require_rabbit(), require_rabbit_legacy(), require_blowfish());
|
module.exports = exports = factory(require_core(), require_x64_core(), require_lib_typedarrays(), require_enc_utf16(), require_enc_base64(), require_enc_base64url(), require_md5(), require_sha1(), require_sha256(), require_sha224(), require_sha512(), require_sha384(), require_sha3(), require_ripemd160(), require_hmac(), require_pbkdf2(), require_evpkdf(), require_cipher_core(), require_mode_cfb(), require_mode_ctr(), require_mode_ctr_gladman(), require_mode_ofb(), require_mode_ecb(), require_pad_ansix923(), require_pad_iso10126(), require_pad_iso97971(), require_pad_zeropadding(), require_pad_nopadding(), require_format_hex(), require_aes(), require_tripledes(), require_rc4(), require_rabbit(), require_rabbit_legacy(), require_blowfish());
|
||||||
|
|
|
@ -0,0 +1,41 @@
|
||||||
|
import {
|
||||||
|
defineConfig
|
||||||
|
} from 'vite';
|
||||||
|
import uni from '@dcloudio/vite-plugin-uni';
|
||||||
|
|
||||||
|
// let target = 'http://91f.xyz:8080'
|
||||||
|
let target = 'http://1a4b9ed1.r24.cpolar.top'
|
||||||
|
|
||||||
|
export default defineConfig({
|
||||||
|
plugins: [uni()],
|
||||||
|
server: {
|
||||||
|
host: "0.0.0.0",
|
||||||
|
port: 5173,
|
||||||
|
proxy: {
|
||||||
|
"/system": {
|
||||||
|
target,
|
||||||
|
changeOrigin: true,
|
||||||
|
},
|
||||||
|
"/shopify": {
|
||||||
|
target,
|
||||||
|
changeOrigin: true,
|
||||||
|
},
|
||||||
|
"/user": {
|
||||||
|
target,
|
||||||
|
changeOrigin: true,
|
||||||
|
},
|
||||||
|
"/coreplay": {
|
||||||
|
target,
|
||||||
|
changeOrigin: true,
|
||||||
|
},
|
||||||
|
"/file": {
|
||||||
|
target,
|
||||||
|
changeOrigin: true,
|
||||||
|
},
|
||||||
|
"/video": {
|
||||||
|
target,
|
||||||
|
changeOrigin: true,
|
||||||
|
},
|
||||||
|
}
|
||||||
|
}
|
||||||
|
})
|
Loading…
Reference in New Issue