main
123456 2 weeks ago
parent ce96d1fa57
commit d3656eb65d
  1. 27
      main.js
  2. 1
      pages/index/index.vue
  3. 17
      pages/pipei/shipin/detail.nvue
  4. 119
      pages/users/chat/index.vue
  5. 4
      pages/users/chengshi/index.vue
  6. 7
      pages/xiaoxi/dashan.vue
  7. 6
      pages/xiaoxi/index.vue
  8. 2
      pages/xiaoxi/xitong.vue
  9. 1
      uni_modules/c-svga/components/c-svga/c-svga.vue
  10. 2
      uni_modules/c-svga/components/c-svga/js/render.js
  11. 34
      unpackage/dist/dev/app-plus/app-service.js
  12. 37
      unpackage/dist/dev/app-plus/app-view.js
  13. 4
      unpackage/dist/dev/app-plus/pages/pipei/shipin/detail.js

@ -29,6 +29,7 @@ uni.$on("playAudio",res=>{
})
//socket
let isChat = false;
let timer = null;
uni.$on("openSocket",function(res){
uni.connectSocket({
@ -45,9 +46,35 @@ uni.$on("openSocket",function(res){
uni.$on("watchSocket",res=>{
uni.onSocketMessage(function (res) {
const obj = res.data?JSON.parse(res.data):{};
// 获取当前页面的实例
const pages = getCurrentPages();
// 获取当前页面的实例
const currentPage = pages[pages.length - 1];
// 获取页面路由信息
const route = currentPage.route;
// 打印路由信息
console.log('当前页面路由是:' + route);
console.log(obj)
if(obj.topic == 'heart_beat'){
if(obj.hasMsg == 1){
uni.showTabBarRedDot({
index: 3
})
}else{
uni.hideTabBarRedDot({
index: 3
})
}
}
if(route == 'pages/users/chat/index'){
uni.$emit("toChatObj",res)
return ;
}
if(obj.topic == 'message'){
uni.showTabBarRedDot({
index: 3
})
if(obj.type>=8){
if(uni.getStorageSync("userInfo").id == obj.sellerId){
if(obj.type == 12){

@ -365,7 +365,6 @@
},
getLocation() {
const that = this;
console.log(111)
uni.getLocation({
type: 'gcj02',
success(res1) {

@ -230,10 +230,13 @@
if(obj.type == 20){
if(uni.getStorageSync("userInfo").id == obj.sellerId){
that.toJieshou();
this.isOpenSocket = false;
}
if(that.type == 1 || that.type == 3){
that.isOpenSocket = true;
}else{
this.isOpenSocket = false;
that.isOpenSocket = false;
}
console.log("that.type",that.type)
}
}
})
@ -397,6 +400,7 @@
this.sellerStreamId = res.data.sellerStreamId;
this.roomId = res.data.roomId;
console.log("loginRoom11",res.data)
this.engine = await ZegoExpressEngine.createEngineWithProfile(profile);
this.engine.enableCamera(this.isShexiang)
// 创建美颜环境
@ -510,7 +514,14 @@
const that = this;
console.log("toTuiliu",this.sellerStreamId)
that.engine.startPlayingStream(this.sellerStreamId);
if(that.type == 1 || that.type == 3){
console.log(111)
that.isOpenSocket = true;
}else{
console.log(2222)
that.isOpenSocket = false;
}
console.log("that.type",that.type)
ZegoExpressEngine.instance().on("playerStateUpdate", (streamID, state, errorCode, extendedData) => {
/** 调用拉流接口成功后,当拉流器状态发生变更,如出现网络中断导致推流异常等情况,SDK在重试拉流的同时,会通过该回调通知 */
console.log("playerStateUpdate",streamID)
@ -580,7 +591,7 @@
position: fixed;
right: 20rpx;
top: 120rpx;
z-index: 212;
z-index: 22;
}
}
&-bd{

@ -181,8 +181,9 @@
<video style="width: 680rpx;" v-if="videoUrl" :src="videoUrl" object-fit="contain"></video>
</u-popup>
<!-- svga播放 -->
<!-- <view class="sli" v-for="(a,i) in svgaSrcList" :key="i">{{a}}</view> -->
<c-svga ref="cSvgaRef" :style="{'width': (isSvga == false?1:winWidth)+'px', 'height': (isSvga==false?1:winHeight)+'px', 'position': 'fixed','top':'0', 'left': 0,'z-index': '999', 'overflow': 'hidden'}" :canvasId='canvasId' :src="svgaSrc" :loops='1' @finished='onFinished'></c-svga>
<c-svga ref="cSvgaRef"
:style="{'width': (isSvga == false?1:winWidth)+'px', 'height': (isSvga==false?1:winHeight)+'px', 'position': 'fixed','top':'0', 'left': 0,'z-index': '999', 'overflow': 'hidden'}"
:canvasId='canvasId' :src="svgaSrc" :auto-play="true" :loops='1' @loaded="onLoaded" @finished='onFinished'></c-svga>
</view>
</template>
@ -261,9 +262,14 @@
that.watchSocket();
},
methods: {
onLoaded() {
// console.log("")
// this.$refs.cSvgaRef.call("startAnimation")
},
onFinished() {
this.isSvga = false
console.log("播放完了")
this.svgaSrc = ""
// console.log("")
},
toToggle1() {
this.isPlay1 = !this.isPlay1
@ -322,21 +328,30 @@
if(uni.getStorageSync("userInfo").id == obj.sellerId){
that.page = 1;
that.getChatList();
that
}
if(uni.getStorageSync("userInfo").id == obj.userId){
that.page = 1;
that.getChatList();
}
if(obj.type == 5){
console.log(obj.svgaSrc)
if(obj.svgaSrc){
that.svgaSrc = obj.svgaSrc;
if(that.svgaSrc == obj.svgaSrc){
console.log(11122,that.svgaSrc == obj.svgaSrc,that.svgaSrc,obj.svgaSrc)
that.isSvga = true;
that.$refs.cSvgaRef.call("clear");
that.$refs.cSvgaRef.call("startAnimation")
}else{
console.log(22222,that.svgaSrc == obj.svgaSrc,that.svgaSrc, obj.svgaSrc)
that.isSvga = true;
that.svgaSrc = obj.svgaSrc;
}
// that.$refs.cSvgaRef.call("clear");
// that.$refs.cSvgaRef.call("startAnimation")
}
}
}
if(uni.getStorageSync("userInfo").id == obj.userId){
that.page = 1;
that.getChatList();
}
}
if(obj.type>= 8){
if(uni.getStorageSync("userInfo").id == obj.sellerId){
if(obj.type == 10){
@ -346,6 +361,36 @@
})
},500)
}
if(obj.type == 18){
if(obj.userMsgVoice == 1){
uni.$emit("playAudio")
}
if(obj.userMsgShock == 1){
uni.vibrateLong({
complete: function (res) {
console.log('success',res);
}
});
}
uni.navigateTo({
url: "/pages/pipei/shipin/detail?type=3&id="+obj.userId+'&fid='+obj.sellerId
})
}
if(obj.type == 19){
if(obj.userMsgVoice == 1){
uni.$emit("playAudio")
}
if(obj.userMsgShock == 1){
uni.vibrateLong({
complete: function (res) {
console.log('success',res);
}
});
}
uni.navigateTo({
url: "/pages/pipei/shipin/detail?type=4&id="+obj.userId+'&fid='+obj.sellerId
})
}
}
}
}
@ -415,15 +460,7 @@
page: 1
})
if(code == 200){
if(data.total >0){
data.list.map(a=>{
if(a.specialEffects){
this.svgaSrcList.push(a.specialEffects)
}
})
}
this.giftList = data.list;
console.log(this.svgaSrcList)
this.giftListNum = Math.ceil(data.total/8)
}
},
@ -711,13 +748,11 @@
if(that.giftList && that.giftList.length > 0){
svgaSrc = that.giftList[that.tabIndex].specialEffects
}
console.log(that.svgaSrc)
console.log(svgaSrc)
that.$refs.cSvgaRef.call("clear");
that.svgaSrc = svgaSrc
that.isSvga = true;
that.$refs.cSvgaRef.call("startAnimation")
return ;
// console.log(that.svgaSrc)
// console.log(svgaSrc)
// that.svgaSrc = svgaSrc
// that.isSvga = true;
// return ;
const { code, data } = await this.$api.chat({
userId: uni.getStorageSync("userInfo").id,
sellerId: that.id,
@ -727,8 +762,22 @@
})
if(code == 200){
let svgaSrc = null
if(type==5){
if(that.giftList && that.giftList.length > 0){
svgaSrc = that.giftList[that.tabIndex].specialEffects
svgaSrc = that.giftList[that.tabIndex].specialEffects;
that.svgaSrc = svgaSrc
that.isSvga = true;
// if(that.svgaSrc == svgaSrc){
// console.log(33333,that.svgaSrc == svgaSrc,that.svgaSrc, svgaSrc)
// that.isSvga = true;
// that.$refs.cSvgaRef.call("startAnimation")
// }else{
// console.log(4444,that.svgaSrc == svgaSrc,that.svgaSrc, svgaSrc)
// that.svgaSrc = svgaSrc
// that.isSvga = true;
// }
}
that.giftGiving();
}
uni.sendSocketMessage({data:JSON.stringify({
"userId": uni.getStorageSync("userInfo").id,
@ -739,17 +788,9 @@
svgaSrc: svgaSrc?svgaSrc:'',
"topic":"message"
})})
if(type==5){
if(svgaSrc){
that.svgaSrc = svgaSrc
that.isSvga = true;
that.$refs.cSvgaRef.call("clear");
that.$refs.cSvgaRef.call("startAnimation")
}
that.giftGiving();
}else{
that.socialConsumption(type);
}
that.isOpen = false;
that.isBiaoqing = false;
that.show1 = false;
@ -793,7 +834,7 @@
size: true,
scrollOffset: true
}, data => {
console.log("wrapper",data)
// console.log("wrapper",data)
that.wrapperScrollHeight = data.scrollHeight*6
}).exec()
// ;
@ -980,7 +1021,7 @@
})
},
inputValue(e) {
console.log(e)
// console.log(e)
},
},
destroyed() {

@ -6,7 +6,7 @@
</view>
<u-popup v-model="show" mode="center" border-radius="20" :mask-close-able="true" zIndex="21">
<view class="hezuo">
<view class="title">合作信息<image src="@/static/cha.png"></image></view>
<view class="title">合作信息<image @click="show=false" src="@/static/cha.png"></image></view>
<view class="content">
<view class="item">
<view class="a"><text>*</text>姓名</view>
@ -124,7 +124,7 @@ page{
background-color: #fff;
}
.qingshaonian{
padding: 0 25rpx;
padding: 0 25rpx 180rpx;
overflow: hidden;
.hezuo{
width: 670rpx;

@ -6,7 +6,12 @@
<view class="pic"><image :src="a.faceImage"></image><view class="num" v-if="a.noReadCount">{{a.noReadCount<=99?a.noReadCount:"+99"}}</view></view>
<view class="info">
<view class="name">{{a.nickname}}<text>{{a.createTime}}</text></view>
<view class="desc">{{a.message}}</view>
<view class="desc" v-if="a.type==3" v-html="a.message"></view>
<view class="desc" v-if="a.type==1">你有一条新的语音</view>
<view class="desc" v-if="a.type==2">你有一条新的视频</view>
<view class="desc" v-if="a.type==4">你有一张新的图片</view>
<view class="desc" v-if="a.type==5">你有一个新的礼物</view>
<view class="desc" v-if="a.type==6" v-html="a.message"></view>
</view>
</view>
</u-swipe-action>

@ -67,6 +67,7 @@
return {
tabIndex: 0,
current: 0,
total: 0,
list:[{'name': '消息'},{'name': '好友'}],
activeStyle:{'fontSize': '35rpx'},
frindList: [],
@ -167,7 +168,7 @@
type: this.type
})
if(code == 200){
this.frindList = data
this.frindList = data;
}
},
openPage(url) {
@ -189,6 +190,9 @@
uni.showToast({
title: "清除成功"
})
uni.hideTabBarRedDot({
index: 3
})
that.getList();
that.dashaCount();
}

@ -4,7 +4,7 @@
<view class="date">{{a.createTime}}</view>
<view class="content">
<view class="title">{{a.noticeTitle}}</view>
<view class="desc">{{a.noticeContent}}</view>
<view class="desc" v-html="a.noticeContent"></view>
<!-- <image mode="widthFix" v-if="i == 5" src="@/static/pic.jpg"></image> -->
</view>
</view>

@ -89,7 +89,6 @@
}
},
svgaData(){
console.log(this.src)
return {
myCanvasId: this.myCanvasId,
width: this.width,

@ -42,7 +42,7 @@ export default {
}else{
data=that.pdata
}
console.log(data)
// console.log(data)
if(!data.src){
console.error('缺少src');
return

File diff suppressed because one or more lines are too long

@ -2848,6 +2848,9 @@ var render = function () {
style: _vm._$g(119, "s"),
attrs: { _i: 119 },
on: {
loaded: function ($event) {
return _vm.$handleViewEvent($event)
},
finished: function ($event) {
return _vm.$handleViewEvent($event)
},
@ -4819,7 +4822,7 @@ module.exports = exports;
"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony import */ var _c_svga_vue_vue_type_template_id_0f303cc9_scoped_true_filter_modules_eyJzdmdhIjp7InR5cGUiOiJyZW5kZXJqcyIsImNvbnRlbnQiOiIiLCJzdGFydCI6NTQzNiwiYXR0cnMiOnsibGFuZyI6ImpzIiwibW9kdWxlIjoic3ZnYSJ9LCJlbmQiOjU1MjJ9fQ_3D_3D___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./c-svga.vue?vue&type=template&id=0f303cc9&scoped=true&filter-modules=eyJzdmdhIjp7InR5cGUiOiJyZW5kZXJqcyIsImNvbnRlbnQiOiIiLCJzdGFydCI6NTQzNiwiYXR0cnMiOnsibGFuZyI6ImpzIiwibW9kdWxlIjoic3ZnYSJ9LCJlbmQiOjU1MjJ9fQ%3D%3D& */ 82);
/* harmony import */ var _c_svga_vue_vue_type_template_id_0f303cc9_scoped_true_filter_modules_eyJzdmdhIjp7InR5cGUiOiJyZW5kZXJqcyIsImNvbnRlbnQiOiIiLCJzdGFydCI6NTQwOSwiYXR0cnMiOnsibGFuZyI6ImpzIiwibW9kdWxlIjoic3ZnYSJ9LCJlbmQiOjU0OTV9fQ_3D_3D___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./c-svga.vue?vue&type=template&id=0f303cc9&scoped=true&filter-modules=eyJzdmdhIjp7InR5cGUiOiJyZW5kZXJqcyIsImNvbnRlbnQiOiIiLCJzdGFydCI6NTQwOSwiYXR0cnMiOnsibGFuZyI6ImpzIiwibW9kdWxlIjoic3ZnYSJ9LCJlbmQiOjU0OTV9fQ%3D%3D& */ 82);
/* harmony import */ var _c_svga_vue_vue_type_renderjs_lang_js_module_svga___WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./c-svga.vue?vue&type=renderjs&lang=js&module=svga& */ 84);
/* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _c_svga_vue_vue_type_renderjs_lang_js_module_svga___WEBPACK_IMPORTED_MODULE_1__) if(["default"].indexOf(__WEBPACK_IMPORT_KEY__) < 0) (function(key) { __webpack_require__.d(__webpack_exports__, key, function() { return _c_svga_vue_vue_type_renderjs_lang_js_module_svga___WEBPACK_IMPORTED_MODULE_1__[key]; }) }(__WEBPACK_IMPORT_KEY__));
/* harmony import */ var _c_svga_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./c-svga.vue?vue&type=script&lang=js& */ 103);
@ -4839,14 +4842,14 @@ _c_svga_vue_vue_type_renderjs_lang_js_module_svga___WEBPACK_IMPORTED_MODULE_1__[
var component = Object(_ruanjian_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_4__["default"])(
_c_svga_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_2__["default"],
_c_svga_vue_vue_type_template_id_0f303cc9_scoped_true_filter_modules_eyJzdmdhIjp7InR5cGUiOiJyZW5kZXJqcyIsImNvbnRlbnQiOiIiLCJzdGFydCI6NTQzNiwiYXR0cnMiOnsibGFuZyI6ImpzIiwibW9kdWxlIjoic3ZnYSJ9LCJlbmQiOjU1MjJ9fQ_3D_3D___WEBPACK_IMPORTED_MODULE_0__["render"],
_c_svga_vue_vue_type_template_id_0f303cc9_scoped_true_filter_modules_eyJzdmdhIjp7InR5cGUiOiJyZW5kZXJqcyIsImNvbnRlbnQiOiIiLCJzdGFydCI6NTQzNiwiYXR0cnMiOnsibGFuZyI6ImpzIiwibW9kdWxlIjoic3ZnYSJ9LCJlbmQiOjU1MjJ9fQ_3D_3D___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"],
_c_svga_vue_vue_type_template_id_0f303cc9_scoped_true_filter_modules_eyJzdmdhIjp7InR5cGUiOiJyZW5kZXJqcyIsImNvbnRlbnQiOiIiLCJzdGFydCI6NTQwOSwiYXR0cnMiOnsibGFuZyI6ImpzIiwibW9kdWxlIjoic3ZnYSJ9LCJlbmQiOjU0OTV9fQ_3D_3D___WEBPACK_IMPORTED_MODULE_0__["render"],
_c_svga_vue_vue_type_template_id_0f303cc9_scoped_true_filter_modules_eyJzdmdhIjp7InR5cGUiOiJyZW5kZXJqcyIsImNvbnRlbnQiOiIiLCJzdGFydCI6NTQwOSwiYXR0cnMiOnsibGFuZyI6ImpzIiwibW9kdWxlIjoic3ZnYSJ9LCJlbmQiOjU0OTV9fQ_3D_3D___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"],
false,
null,
"0f303cc9",
null,
false,
_c_svga_vue_vue_type_template_id_0f303cc9_scoped_true_filter_modules_eyJzdmdhIjp7InR5cGUiOiJyZW5kZXJqcyIsImNvbnRlbnQiOiIiLCJzdGFydCI6NTQzNiwiYXR0cnMiOnsibGFuZyI6ImpzIiwibW9kdWxlIjoic3ZnYSJ9LCJlbmQiOjU1MjJ9fQ_3D_3D___WEBPACK_IMPORTED_MODULE_0__["components"],
_c_svga_vue_vue_type_template_id_0f303cc9_scoped_true_filter_modules_eyJzdmdhIjp7InR5cGUiOiJyZW5kZXJqcyIsImNvbnRlbnQiOiIiLCJzdGFydCI6NTQwOSwiYXR0cnMiOnsibGFuZyI6ImpzIiwibW9kdWxlIjoic3ZnYSJ9LCJlbmQiOjU0OTV9fQ_3D_3D___WEBPACK_IMPORTED_MODULE_0__["components"],
_c_svga_vue_vue_type_renderjs_lang_js_module_svga___WEBPACK_IMPORTED_MODULE_1__["default"]
)
@ -4856,28 +4859,28 @@ component.options.__file = "uni_modules/c-svga/components/c-svga/c-svga.vue"
/***/ }),
/* 82 */
/*!*********************************************************************************************************************************************************************************************************************************************************************************************************!*\
!*** D://2024-09-06 ()/chunwan/uni_modules/c-svga/components/c-svga/c-svga.vue?vue&type=template&id=0f303cc9&scoped=true&filter-modules=eyJzdmdhIjp7InR5cGUiOiJyZW5kZXJqcyIsImNvbnRlbnQiOiIiLCJzdGFydCI6NTQzNiwiYXR0cnMiOnsibGFuZyI6ImpzIiwibW9kdWxlIjoic3ZnYSJ9LCJlbmQiOjU1MjJ9fQ%3D%3D& ***!
!*** D://2024-09-06 ()/chunwan/uni_modules/c-svga/components/c-svga/c-svga.vue?vue&type=template&id=0f303cc9&scoped=true&filter-modules=eyJzdmdhIjp7InR5cGUiOiJyZW5kZXJqcyIsImNvbnRlbnQiOiIiLCJzdGFydCI6NTQwOSwiYXR0cnMiOnsibGFuZyI6ImpzIiwibW9kdWxlIjoic3ZnYSJ9LCJlbmQiOjU0OTV9fQ%3D%3D& ***!
\*********************************************************************************************************************************************************************************************************************************************************************************************************/
/*! exports provided: render, staticRenderFns, recyclableRender, components */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony import */ var _ruanjian_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_ruanjian_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_17_0_ruanjian_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_filter_modules_template_js_ruanjian_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_ruanjian_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_ruanjian_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_style_js_c_svga_vue_vue_type_template_id_0f303cc9_scoped_true_filter_modules_eyJzdmdhIjp7InR5cGUiOiJyZW5kZXJqcyIsImNvbnRlbnQiOiIiLCJzdGFydCI6NTQzNiwiYXR0cnMiOnsibGFuZyI6ImpzIiwibW9kdWxlIjoic3ZnYSJ9LCJlbmQiOjU1MjJ9fQ_3D_3D___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../../../ruanjian/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../../../../ruanjian/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--17-0!../../../../../../../ruanjian/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/filter-modules-template.js!../../../../../../../ruanjian/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!../../../../../../../ruanjian/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!../../../../../../../ruanjian/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/view/style.js!./c-svga.vue?vue&type=template&id=0f303cc9&scoped=true&filter-modules=eyJzdmdhIjp7InR5cGUiOiJyZW5kZXJqcyIsImNvbnRlbnQiOiIiLCJzdGFydCI6NTQzNiwiYXR0cnMiOnsibGFuZyI6ImpzIiwibW9kdWxlIjoic3ZnYSJ9LCJlbmQiOjU1MjJ9fQ%3D%3D& */ 83);
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "render", function() { return _ruanjian_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_ruanjian_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_17_0_ruanjian_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_filter_modules_template_js_ruanjian_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_ruanjian_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_ruanjian_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_style_js_c_svga_vue_vue_type_template_id_0f303cc9_scoped_true_filter_modules_eyJzdmdhIjp7InR5cGUiOiJyZW5kZXJqcyIsImNvbnRlbnQiOiIiLCJzdGFydCI6NTQzNiwiYXR0cnMiOnsibGFuZyI6ImpzIiwibW9kdWxlIjoic3ZnYSJ9LCJlbmQiOjU1MjJ9fQ_3D_3D___WEBPACK_IMPORTED_MODULE_0__["render"]; });
/* harmony import */ var _ruanjian_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_ruanjian_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_17_0_ruanjian_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_filter_modules_template_js_ruanjian_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_ruanjian_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_ruanjian_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_style_js_c_svga_vue_vue_type_template_id_0f303cc9_scoped_true_filter_modules_eyJzdmdhIjp7InR5cGUiOiJyZW5kZXJqcyIsImNvbnRlbnQiOiIiLCJzdGFydCI6NTQwOSwiYXR0cnMiOnsibGFuZyI6ImpzIiwibW9kdWxlIjoic3ZnYSJ9LCJlbmQiOjU0OTV9fQ_3D_3D___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../../../ruanjian/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../../../../ruanjian/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--17-0!../../../../../../../ruanjian/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/filter-modules-template.js!../../../../../../../ruanjian/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!../../../../../../../ruanjian/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!../../../../../../../ruanjian/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/view/style.js!./c-svga.vue?vue&type=template&id=0f303cc9&scoped=true&filter-modules=eyJzdmdhIjp7InR5cGUiOiJyZW5kZXJqcyIsImNvbnRlbnQiOiIiLCJzdGFydCI6NTQwOSwiYXR0cnMiOnsibGFuZyI6ImpzIiwibW9kdWxlIjoic3ZnYSJ9LCJlbmQiOjU0OTV9fQ%3D%3D& */ 83);
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "render", function() { return _ruanjian_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_ruanjian_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_17_0_ruanjian_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_filter_modules_template_js_ruanjian_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_ruanjian_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_ruanjian_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_style_js_c_svga_vue_vue_type_template_id_0f303cc9_scoped_true_filter_modules_eyJzdmdhIjp7InR5cGUiOiJyZW5kZXJqcyIsImNvbnRlbnQiOiIiLCJzdGFydCI6NTQwOSwiYXR0cnMiOnsibGFuZyI6ImpzIiwibW9kdWxlIjoic3ZnYSJ9LCJlbmQiOjU0OTV9fQ_3D_3D___WEBPACK_IMPORTED_MODULE_0__["render"]; });
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "staticRenderFns", function() { return _ruanjian_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_ruanjian_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_17_0_ruanjian_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_filter_modules_template_js_ruanjian_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_ruanjian_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_ruanjian_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_style_js_c_svga_vue_vue_type_template_id_0f303cc9_scoped_true_filter_modules_eyJzdmdhIjp7InR5cGUiOiJyZW5kZXJqcyIsImNvbnRlbnQiOiIiLCJzdGFydCI6NTQzNiwiYXR0cnMiOnsibGFuZyI6ImpzIiwibW9kdWxlIjoic3ZnYSJ9LCJlbmQiOjU1MjJ9fQ_3D_3D___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"]; });
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "staticRenderFns", function() { return _ruanjian_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_ruanjian_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_17_0_ruanjian_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_filter_modules_template_js_ruanjian_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_ruanjian_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_ruanjian_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_style_js_c_svga_vue_vue_type_template_id_0f303cc9_scoped_true_filter_modules_eyJzdmdhIjp7InR5cGUiOiJyZW5kZXJqcyIsImNvbnRlbnQiOiIiLCJzdGFydCI6NTQwOSwiYXR0cnMiOnsibGFuZyI6ImpzIiwibW9kdWxlIjoic3ZnYSJ9LCJlbmQiOjU0OTV9fQ_3D_3D___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"]; });
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "recyclableRender", function() { return _ruanjian_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_ruanjian_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_17_0_ruanjian_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_filter_modules_template_js_ruanjian_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_ruanjian_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_ruanjian_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_style_js_c_svga_vue_vue_type_template_id_0f303cc9_scoped_true_filter_modules_eyJzdmdhIjp7InR5cGUiOiJyZW5kZXJqcyIsImNvbnRlbnQiOiIiLCJzdGFydCI6NTQzNiwiYXR0cnMiOnsibGFuZyI6ImpzIiwibW9kdWxlIjoic3ZnYSJ9LCJlbmQiOjU1MjJ9fQ_3D_3D___WEBPACK_IMPORTED_MODULE_0__["recyclableRender"]; });
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "recyclableRender", function() { return _ruanjian_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_ruanjian_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_17_0_ruanjian_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_filter_modules_template_js_ruanjian_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_ruanjian_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_ruanjian_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_style_js_c_svga_vue_vue_type_template_id_0f303cc9_scoped_true_filter_modules_eyJzdmdhIjp7InR5cGUiOiJyZW5kZXJqcyIsImNvbnRlbnQiOiIiLCJzdGFydCI6NTQwOSwiYXR0cnMiOnsibGFuZyI6ImpzIiwibW9kdWxlIjoic3ZnYSJ9LCJlbmQiOjU0OTV9fQ_3D_3D___WEBPACK_IMPORTED_MODULE_0__["recyclableRender"]; });
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "components", function() { return _ruanjian_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_ruanjian_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_17_0_ruanjian_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_filter_modules_template_js_ruanjian_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_ruanjian_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_ruanjian_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_style_js_c_svga_vue_vue_type_template_id_0f303cc9_scoped_true_filter_modules_eyJzdmdhIjp7InR5cGUiOiJyZW5kZXJqcyIsImNvbnRlbnQiOiIiLCJzdGFydCI6NTQzNiwiYXR0cnMiOnsibGFuZyI6ImpzIiwibW9kdWxlIjoic3ZnYSJ9LCJlbmQiOjU1MjJ9fQ_3D_3D___WEBPACK_IMPORTED_MODULE_0__["components"]; });
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "components", function() { return _ruanjian_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_ruanjian_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_17_0_ruanjian_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_filter_modules_template_js_ruanjian_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_ruanjian_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_ruanjian_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_style_js_c_svga_vue_vue_type_template_id_0f303cc9_scoped_true_filter_modules_eyJzdmdhIjp7InR5cGUiOiJyZW5kZXJqcyIsImNvbnRlbnQiOiIiLCJzdGFydCI6NTQwOSwiYXR0cnMiOnsibGFuZyI6ImpzIiwibW9kdWxlIjoic3ZnYSJ9LCJlbmQiOjU0OTV9fQ_3D_3D___WEBPACK_IMPORTED_MODULE_0__["components"]; });
/***/ }),
/* 83 */
/*!*******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
!*** ./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--17-0!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/filter-modules-template.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/view/style.js!D://2024-09-06 ()/chunwan/uni_modules/c-svga/components/c-svga/c-svga.vue?vue&type=template&id=0f303cc9&scoped=true&filter-modules=eyJzdmdhIjp7InR5cGUiOiJyZW5kZXJqcyIsImNvbnRlbnQiOiIiLCJzdGFydCI6NTQzNiwiYXR0cnMiOnsibGFuZyI6ImpzIiwibW9kdWxlIjoic3ZnYSJ9LCJlbmQiOjU1MjJ9fQ%3D%3D& ***!
!*** ./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--17-0!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/filter-modules-template.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/view/style.js!D://2024-09-06 ()/chunwan/uni_modules/c-svga/components/c-svga/c-svga.vue?vue&type=template&id=0f303cc9&scoped=true&filter-modules=eyJzdmdhIjp7InR5cGUiOiJyZW5kZXJqcyIsImNvbnRlbnQiOiIiLCJzdGFydCI6NTQwOSwiYXR0cnMiOnsibGFuZyI6ImpzIiwibW9kdWxlIjoic3ZnYSJ9LCJlbmQiOjU0OTV9fQ%3D%3D& ***!
\*******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
/*! exports provided: render, staticRenderFns, recyclableRender, components */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
@ -5038,14 +5041,14 @@ var _default = {
} else {
data = that.pdata;
}
__f__("log", data, " at uni_modules/c-svga/components/c-svga/js/render.js:45");
// console.log(data)
if (data.src) {
_context.next = 5;
_context.next = 4;
break;
}
__f__("error", '缺少src', " at uni_modules/c-svga/components/c-svga/js/render.js:47");
return _context.abrupt("return");
case 5:
case 4:
if (!that.player) {
player = new _svgaplayerweb.default.Player('#' + data.myCanvasId);
parser = new _svgaplayerweb.default.Parser();
@ -5061,9 +5064,9 @@ var _default = {
// console.log(await getfile(data.src));
// return
_context.t0 = parser;
_context.next = 12;
_context.next = 11;
return (0, _getfile.default)(data.src);
case 12:
case 11:
_context.t1 = _context.sent;
_context.t2 = function (videoItem) {
player.setVideoItem(videoItem);
@ -5111,7 +5114,7 @@ var _default = {
}
that.player = player;
that.parser = parser;
case 20:
case 19:
case "end":
return _context.stop();
}

File diff suppressed because one or more lines are too long
Loading…
Cancel
Save