1 |
- {"version":3,"sources":["uni-app:///main.js","webpack:///D:/Code2024/sulibao-mini/pages/mine/coll.vue?11c1","webpack:///D:/Code2024/sulibao-mini/pages/mine/coll.vue?f31a","webpack:///D:/Code2024/sulibao-mini/pages/mine/coll.vue?4573","webpack:///D:/Code2024/sulibao-mini/pages/mine/coll.vue?e123","uni-app:///pages/mine/coll.vue","webpack:///D:/Code2024/sulibao-mini/pages/mine/coll.vue?7f9d"],"names":["wx","__webpack_require_UNI_MP_PLUGIN__","__webpack_require__","createPage","Page","renderjs","component","options","__file","components","tnNavBar","uvSticky","tnTabsSwiper","tnTag","basicTable","tnGrid","tnGridItem","tnEmpty","uniPopup","uniPopupDialog","tnPopup","e","message","indexOf","console","error","render","_vm","this","_h","$createElement","g4","_self","_c","content","length","l2","__map","item","index","$orig","__get_orig","g0","shareExt","g1","imgList","l0","image_item","image_index","g2","g3","l1","fileDetailList","file","__i0__","m0","isImage","fileName","f0","_f","createTime2","$mp","data","Object","assign","$root","recyclableRender","staticRenderFns","_withStripped","list","current","showEmpty","curItem","showSheet","showContact","curContact","columns","fieldName","fieldDesc","wxFontSize","filters","formatDate","yesterday","today","getMinutes","getDate","onLoad","onShow","uni","url","methods","goBack","change","loadData","that","request","userNo","bisType","newList","cList","dialogConfirm","id","title","icon","delColl","showCancel","confirmText","success","showImg","urls","clickLink","filePath","showMenu","fail","hideSheet","showActionSheet","linkTel","params","fkBisNo","type","company","companyNo","showTel","phoneNumber"],"mappings":"0IAAA,MAGA,aACA,YAFAA,EAAGC,kCAAoCC,EAGvCC,EAAWC,a,gFCLX,oIACIC,EADJ,QASIC,EAAY,qBACd,aACA,YACA,sBACA,EACA,KACA,WACA,MACA,EACA,gBACAD,GAGFC,EAAUC,QAAQC,OAAS,sBACZ,aAAAF,E,0CCvBf,uQ,iCCAA,IAAIG,EAAJ,0LACA,IACEA,EAAa,CACXC,SAAU,WACR,OAAO,8GAITC,SAAU,WACR,OAAO,wHAITC,aAAc,WACZ,OAAO,sHAITC,MAAO,WACL,OAAO,sGAITC,WAAY,WACV,OAAO,kEAITC,OAAQ,WACN,OAAO,oEAITC,WAAY,WACV,OAAO,kHAITC,QAAS,WACP,OAAO,sEAITC,SAAU,WACR,OAAO,oFAITC,eAAgB,WACd,OAAO,sIAITC,QAAS,WACP,OAAO,2GAKX,MAAOC,GACP,IAC+C,IAA7CA,EAAEC,QAAQC,QAAQ,wBACa,IAA/BF,EAAEC,QAAQC,QAAQ,QAWlB,MAAMF,EATNG,QAAQC,MAAMJ,EAAEC,SAChBE,QAAQC,MAAM,mBACdD,QAAQC,MACN,uFAEFD,QAAQC,MACN,mDAMN,IAAIC,EAAS,WACX,IAAIC,EAAMC,KACNC,EAAKF,EAAIG,eAETC,GADKJ,EAAIK,MAAMC,GACVN,EAAIO,QAAQC,QACjBC,EAAKT,EAAIU,MAAMV,EAAIO,SAAS,SAAUI,EAAMC,GAC9C,IAAIC,EAAQb,EAAIc,WAAWH,GACvBI,EAAKJ,EAAKK,UAAYL,EAAKK,SAASR,OAAS,EAC7CS,EAAKN,EAAKO,QAAU,CAAC,EAAG,EAAG,GAAGtB,QAAQe,EAAKO,QAAQV,QAAU,KAC7DW,EACFR,EAAKO,UAAkB,GAAPD,EACZjB,EAAIU,MAAMC,EAAKO,SAAS,SAAUE,EAAYC,GAC5C,IAAIR,EAAQb,EAAIc,WAAWM,GACvBE,EAAKX,EAAKO,QAAQV,OAClBe,EAA6B,IAAxBZ,EAAKO,QAAQV,QAAwC,IAAxBG,EAAKO,QAAQV,OACnD,MAAO,CACLK,MAAOA,EACPS,GAAIA,EACJC,GAAIA,MAGR,KACFC,EAAKxB,EAAIU,MAAMC,EAAKc,gBAAgB,SAAUC,EAAMC,GACtD,IAAId,EAAQb,EAAIc,WAAWY,GACvBE,EAAK5B,EAAI6B,QAAQH,EAAKI,UAC1B,MAAO,CACLjB,MAAOA,EACPe,GAAIA,MAGJG,EAAK/B,EAAIgC,GAAG,aAAPhC,CAAqBW,EAAKsB,aACnC,MAAO,CACLpB,MAAOA,EACPE,GAAIA,EACJE,GAAIA,EACJE,GAAIA,EACJK,GAAIA,EACJO,GAAIA,MAGR/B,EAAIkC,IAAIC,KAAOC,OAAOC,OACpB,GACA,CACEC,MAAO,CACLlC,GAAIA,EACJK,GAAIA,MAKR8B,GAAmB,EACnBC,EAAkB,GACtBzC,EAAO0C,eAAgB,G,iCChIvB,yHAAyzB,eAAG,G,6HC6N5zB,eACA,Q,EAGA,CACAN,gBACA,OACAO,OACA,iBACA,CACA,kBAEAC,UACAC,aACArC,WACAsC,WACAC,aACAC,eACAC,cACAC,UACAC,qBACAC,kBAEA,CACAD,qBACAC,kBAEA,CACAD,qBACAC,mBAGAC,gBAGAC,SACAC,uBACA,eACA,kBACA,WACA,cAGA,OAFAC,yBAEA,2EACAC,YACA,kDACAC,sCAEA,gEACAC,uBACA,kDACAD,sCAGA,uEACAA,wCAKAE,kBACA,yBACA,qEAEAC,kBACA,+BAKA,OAHAC,cACAC,4BAEA,EAEA,iBAEAC,SACAC,kBACA,wBAEA,WACAH,iBAGAA,cACAC,4BAIAG,mBACA,eACA,iBAEApC,oBACA,oDACA,mCACA,sBAEAqC,oBACA,WACAC,aACAC,sCACAC,kCACAC,+BAEA,kBACA,iBACA,iBAEA,IADA,SACA,mBACA,kBACAC,6BACAA,0CACAA,yBACA,sDACA,qDACAA,4DAIAC,sBAGAL,YAEA,eAIA,OAHAN,cACAC,4BAEA,EAGA,YACAK,eAEAA,mBAOAM,yBACA,mBACA,OACAL,kCACAM,YACAL,oCACA,kBACA,WACAR,aACAc,eAEAR,cAEAN,aACAc,YACAC,kBAMAC,oBACA,eACA,YAEA,iCACAC,cACAC,iBACAC,oBACA,WACAb,sBAMAc,sBAEA,IADA,SACA,mBACAC,oBAIArB,gBACAqB,OACAvC,aAIAwC,wBAIAtB,gBACAC,MACAsB,oCACAJ,oBACA,iBACAnB,gBACAuB,WACAC,YACAL,oBACAnF,uBAEAyF,gBACAzB,cACAC,yHAUAyB,qBACA,gBACA,mBAEAC,4BACA,WAEA,GADA3F,gBACA,gBAKA,OAFA,gBACA,mBACA,EAJA,eAOA,kBACAsE,kBAGAsB,mBAEA,+BAOA,OANA5B,aACAc,cAEAd,cACAC,4BAEA,EAEA,WACA,KACA4B,gCACAC,wBACArB,6BACAsB,SACAC,0BACAC,8BACAzB,oCAEAD,yDACA,WACAD,iBACAA,uCACAA,qDACAA,uDAEAA,iBACAN,aACAc,YACAC,mBAKAmB,oBACAlC,iBACAmC,mBAIA,c,6EClfA,yHAA4hD,eAAG,G","file":"pages/mine/coll.js","sourcesContent":["import 'uni-pages';\n// @ts-ignore\nwx.__webpack_require_UNI_MP_PLUGIN__ = __webpack_require__;\nimport Vue from 'vue'\nimport Page from './pages/mine/coll.vue'\ncreatePage(Page)","import { render, staticRenderFns, recyclableRender, components } from \"./coll.vue?vue&type=template&id=8597d202&scoped=true&\"\nvar renderjs\nimport script from \"./coll.vue?vue&type=script&lang=js&\"\nexport * from \"./coll.vue?vue&type=script&lang=js&\"\nimport style0 from \"./coll.vue?vue&type=style&index=0&id=8597d202&lang=scss&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../self software/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"8597d202\",\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"pages/mine/coll.vue\"\nexport default component.exports","export * from \"-!../../../../self software/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../self software/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--17-0!../../../../self software/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!../../../../self software/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!../../../../self software/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../self software/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./coll.vue?vue&type=template&id=8597d202&scoped=true&\"","var components\ntry {\n components = {\n tnNavBar: function () {\n return import(\n /* webpackChunkName: \"tuniao-ui/components/tn-nav-bar/tn-nav-bar\" */ \"@/tuniao-ui/components/tn-nav-bar/tn-nav-bar.vue\"\n )\n },\n uvSticky: function () {\n return import(\n /* webpackChunkName: \"uni_modules/uv-sticky/components/uv-sticky/uv-sticky\" */ \"@/uni_modules/uv-sticky/components/uv-sticky/uv-sticky.vue\"\n )\n },\n tnTabsSwiper: function () {\n return import(\n /* webpackChunkName: \"tuniao-ui/components/tn-tabs-swiper/tn-tabs-swiper\" */ \"@/tuniao-ui/components/tn-tabs-swiper/tn-tabs-swiper.vue\"\n )\n },\n tnTag: function () {\n return import(\n /* webpackChunkName: \"tuniao-ui/components/tn-tag/tn-tag\" */ \"@/tuniao-ui/components/tn-tag/tn-tag.vue\"\n )\n },\n basicTable: function () {\n return import(\n /* webpackChunkName: \"components/basic-table/basic-table\" */ \"@/components/basic-table/basic-table.vue\"\n )\n },\n tnGrid: function () {\n return import(\n /* webpackChunkName: \"tuniao-ui/components/tn-grid/tn-grid\" */ \"@/tuniao-ui/components/tn-grid/tn-grid.vue\"\n )\n },\n tnGridItem: function () {\n return import(\n /* webpackChunkName: \"tuniao-ui/components/tn-grid-item/tn-grid-item\" */ \"@/tuniao-ui/components/tn-grid-item/tn-grid-item.vue\"\n )\n },\n tnEmpty: function () {\n return import(\n /* webpackChunkName: \"tuniao-ui/components/tn-empty/tn-empty\" */ \"@/tuniao-ui/components/tn-empty/tn-empty.vue\"\n )\n },\n uniPopup: function () {\n return import(\n /* webpackChunkName: \"uni_modules/uni-popup/components/uni-popup/uni-popup\" */ \"@/uni_modules/uni-popup/components/uni-popup/uni-popup.vue\"\n )\n },\n uniPopupDialog: function () {\n return import(\n /* webpackChunkName: \"uni_modules/uni-popup/components/uni-popup-dialog/uni-popup-dialog\" */ \"@/uni_modules/uni-popup/components/uni-popup-dialog/uni-popup-dialog.vue\"\n )\n },\n tnPopup: function () {\n return import(\n /* webpackChunkName: \"tuniao-ui/components/tn-popup/tn-popup\" */ \"@/tuniao-ui/components/tn-popup/tn-popup.vue\"\n )\n },\n }\n} catch (e) {\n if (\n e.message.indexOf(\"Cannot find module\") !== -1 &&\n e.message.indexOf(\".vue\") !== -1\n ) {\n console.error(e.message)\n console.error(\"1. 排查组件名称拼写是否正确\")\n console.error(\n \"2. 排查组件是否符合 easycom 规范,文档:https://uniapp.dcloud.net.cn/collocation/pages?id=easycom\"\n )\n console.error(\n \"3. 若组件不符合 easycom 规范,需手动引入,并在 components 中注册该组件\"\n )\n } else {\n throw e\n }\n}\nvar render = function () {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n var g4 = _vm.content.length\n var l2 = _vm.__map(_vm.content, function (item, index) {\n var $orig = _vm.__get_orig(item)\n var g0 = item.shareExt && item.shareExt.length > 0\n var g1 = item.imgList ? [1, 2, 4].indexOf(item.imgList.length) : null\n var l0 =\n item.imgList && g1 != -1\n ? _vm.__map(item.imgList, function (image_item, image_index) {\n var $orig = _vm.__get_orig(image_item)\n var g2 = item.imgList.length\n var g3 = item.imgList.length === 2 || item.imgList.length === 4\n return {\n $orig: $orig,\n g2: g2,\n g3: g3,\n }\n })\n : null\n var l1 = _vm.__map(item.fileDetailList, function (file, __i0__) {\n var $orig = _vm.__get_orig(file)\n var m0 = _vm.isImage(file.fileName)\n return {\n $orig: $orig,\n m0: m0,\n }\n })\n var f0 = _vm._f(\"formatDate\")(item.createTime2)\n return {\n $orig: $orig,\n g0: g0,\n g1: g1,\n l0: l0,\n l1: l1,\n f0: f0,\n }\n })\n _vm.$mp.data = Object.assign(\n {},\n {\n $root: {\n g4: g4,\n l2: l2,\n },\n }\n )\n}\nvar recyclableRender = false\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns, recyclableRender, components }","import mod from \"-!../../../../self software/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../self software/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--13-1!../../../../self software/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../self software/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../self software/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./coll.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../self software/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../self software/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--13-1!../../../../self software/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../self software/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../self software/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./coll.vue?vue&type=script&lang=js&\"","<template>\r\n\t<view>\r\n\t\t<tn-nav-bar fixed customBack>\r\n\t\t\t<view slot=\"back\" class='tn-custom-nav-bar__back' @click=\"goBack\">\r\n\t\t\t\t<text class='icon tn-icon-left'></text>\r\n\r\n\t\t\t</view>\r\n\t\t\t<view slot=\"default\">\r\n\t\t\t\t<text :style=\"{fontSize:(wxFontSize)+'px'}\">我的收藏</text>\r\n\t\t\t</view>\r\n\t\t</tn-nav-bar>\r\n\r\n\t\t<view :style=\"{paddingTop: vuex_custom_bar_height + 'px'}\">\r\n\t\t\t<uv-sticky :offsetTop=\"vuex_custom_bar_height + 'px'\" bgColor=\"#ffffff\">\r\n\t\t\t<tn-tabs-swiper :list=\"list\" :isScroll=\"false\" :fontSize=\"(wxFontSize+12)\" :barWidth=\"wxFontSize+50\" :current=\"current\" name=\"tab-name\" @change=\"change\" style=\"border-bottom: 1rpx solid #f1f1f1cc;\"></tn-tabs-swiper>\r\n\t\t\t</uv-sticky>\r\n\t\t\r\n\r\n\t\t\t<view>\r\n\t\t\t\t<!-- 图文信息 -->\r\n\t\t\t\t<block v-for=\"(item,index) in content\" :key=\"index\">\r\n\t\t\t\t\t<view class=\"blogger__item\">\r\n\t\t\t\t\t\t<view class=\"blogger__author tn-flex tn-flex-row-between tn-flex-col-center\">\r\n\t\t\t\t\t\t\t<view class=\"justify__author__info\" @click=\"tn('')\">\r\n\t\t\t\t\t\t\t\t<view class=\"tn-flex tn-flex-row-center\">\r\n\t\t\t\t\t\t\t\t\t<view class=\"tn-flex tn-flex-row-center tn-flex-col-center\">\r\n\t\t\t\t\t\t\t\t\t\t<!-- <view class=\"\">\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t<tn-avatar class=\"\" shape=\"circle\" :src=\"item.userAvatar\" size=\"lg\">\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t</tn-avatar>\r\n\t\t\t\t\t\t\t\t\t\t\t\t</view> -->\r\n\t\t\t\t\t\t\t\t\t\t<view class=\"tn-padding-right tn-text-ellipsis\">\r\n\t\t\t\t\t\t\t\t\t\t\t<view class=\"tn-padding-right tn-text-bold tn-text-lg\" :style=\"{fontSize:(wxFontSize)+'px'}\">\r\n\t\t\t\t\t\t\t\t\t\t\t\t{{ item.company||(item.contactNickName||item.contactPerson) }}\r\n\t\t\t\t\t\t\t\t\t\t\t</view>\r\n\r\n\t\t\t\t\t\t\t\t\t\t</view>\r\n\t\t\t\t\t\t\t\t\t</view>\r\n\t\t\t\t\t\t\t\t</view>\r\n\t\t\t\t\t\t\t</view>\r\n\t\t\t\t\t\t\t<view v-if=\"item.validDate&¤t==0\"\r\n\t\t\t\t\t\t\t\tclass=\"blogger__author__btn justify-content-item tn-flex-col-center tn-flex-row-center\">\r\n\t\t\t\t\t\t\t\t<text class=\"\" style=\"background: #3F51B542;font-size: 12px;\r\n\t\t\t\tpadding: 8px;\r\n\t\t\t\tcolor: #0000FF;\r\n\t\t\t\tborder-radius: 24px;\r\n\t\t\t\tborder-top-right-radius: 0;\" :style=\"{fontSize:(wxFontSize-6)+'px'}\">{{item.validDate}}</text>\r\n\t\t\t\t\t\t\t</view>\r\n\t\t\t\t\t\t</view>\r\n\r\n\t\t\t\t\t\t<view\r\n\t\t\t\t\t\t\tclass=\"blogger__desc tn-margin-top-sm tn-margin-bottom-sm tn-text-justify tn-flex-col-center tn-flex-row-left\"\r\n\t\t\t\t\t\t\t >\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t<!-- 不用限制长度了,因为发布的时候限制长度了-->\r\n\t\t\t\t\t\t\t<tn-tag margin=\"-4px 4px 0 0\" backgroundColor=\"#3a96d733\" v-if=\"item.brand\" fontColor=\"#3a96d7\" shape=\"circle\" :fontSize=\"wxFontSize+11\">{{ item.brand }}</tn-tag>\r\n\t\t\t\t\t\t\t \r\n\t\t\t\t\t\t\t<tn-tag margin=\"-4px 4px 0 0\" backgroundColor=\"#3a96d733\" v-if=\"!item.company\"\r\n\t\t\t\t\t\t\t\tfontColor=\"#3a96d7\" shape=\"circle\" :fontSize=\"wxFontSize+11\">个人</tn-tag> \t\t\t\t\r\n\t\t\t\t\t\t\t<text\r\n\t\t\t\t\t\t\t\tclass=\"blogger__desc__content tn-flex-1 tn-text-justify tn-text-df\" :style=\"{fontSize:(wxFontSize-2)+'px'}\">{{ item.content }}</text>\r\n\t\t\t\t\t\t</view>\r\n\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t<!-- 内容太多疲劳了-->\r\n\t\t\t\t\t<view v-if=\"item.shareExt&&item.shareExt.length>0\" class=\"blogger__content\"\r\n\t\t\t\t\t\t:id=\"`blogger__content--${index}`\">\r\n\t\t\t\t\t\r\n\t\t\t\t\t\t<basic-table header-row-class-name=\"basic-table-header\" :columns=\"columns\" :border=\"true\" :fontSize=\"(wxFontSize-3)\"\r\n\t\t\t\t\t\t\t:stripe=\"true\" :data=\"item.shareExt\">\r\n\t\t\t\t\t\r\n\t\t\t\t\t\t</basic-table>\r\n\t\t\t\t\t</view>\r\n\t\t\t\t\t\r\n\r\n\t\t\t\t\t\t<block v-if=\"item.imgList\">\r\n\t\t\t\t\t\t\t<view v-if=\"[1,2,4].indexOf(item.imgList.length) != -1\" class=\"tn-padding-top-xs\"\r\n\t\t\t\t\t\t\t\t@click=\"tn('')\">\r\n\t\t\t\t\t\t\t\t<image v-for=\"(image_item,image_index) in item.imgList\" :key=\"image_index\"\r\n\t\t\t\t\t\t\t\t\tclass=\"blogger__main-image\" :class=\"{\r\n\t\t\t\t 'blogger__main-image--1 tn-margin-bottom-sm': item.imgList.length === 1,\r\n\t\t\t\t 'blogger__main-image--2 tn-margin-right-sm tn-margin-bottom-sm': item.imgList.length === 2 || item.imgList.length === 4\r\n\t\t\t\t }\" :src=\"image_item.ftpUrl\" mode=\"aspectFill\" @click=\"showImg(item.imgList,image_index)\"></image>\r\n\t\t\t\t\t\t\t</view>\r\n\t\t\t\t\t\t\t<view v-else class=\"tn-padding-top-xs\" @click=\"tn('')\">\r\n\t\t\t\t\t\t\t\t<tn-grid hoverClass=\"none\" :col=\"3\">\r\n\t\t\t\t\t\t\t\t\t<block v-for=\"(image_item,image_index) in item.imgList\" :key=\"image_index\">\r\n\t\t\t\t\t\t\t\t\t\t<!-- #ifndef MP-WEIXIN -->\r\n\t\t\t\t\t\t\t\t\t\t<tn-grid-item style=\"width: 30%;margin: 10rpx;\">\r\n\t\t\t\t\t\t\t\t\t\t\t<image class=\"blogger__main-image blogger__main-image--3\"\r\n\t\t\t\t\t\t\t\t\t\t\t\t:src=\"image_item.ftpUrl\" mode=\"aspectFill\" @click=\"showImg(item.imgList,image_index)\"></image>\r\n\t\t\t\t\t\t\t\t\t\t</tn-grid-item>\r\n\t\t\t\t\t\t\t\t\t\t<!-- #endif-->\r\n\t\t\t\t\t\t\t\t\t\t<!-- #ifdef MP-WEIXIN -->\r\n\t\t\t\t\t\t\t\t\t\t<tn-grid-item style=\"width: 30%;margin: 10rpx;\">\r\n\t\t\t\t\t\t\t\t\t\t\t<image class=\"blogger__main-image blogger__main-image--3\"\r\naspectFill\t\t:src=\"image_item.ftpUrl\" mode=\"aspectFill\" @click=\"showImg(item.imgList,image_index)\"></image>\r\n\t\t\t\t\t\t\t\t\t\t</tn-grid-item>\r\n\t\t\t\t\t\t\t\t\t\t<!-- #endif-->\r\n\t\t\t\t\t\t\t\t\t</block>\r\n\t\t\t\t\t\t\t\t</tn-grid>\r\n\t\t\t\t\t\t\t</view>\r\n\t\t\t\t\t\t</block>\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\t<view v-for=\"file in item.fileDetailList\" :key=\"file.id\" v-if=\"!isImage(file.fileName)\">\r\n\t\t\t\t\t\t\t<view>\r\n\t\t\t\t\t\t\t\t<text class=\"tn-icon-link\" :style=\"{fontSize:(wxFontSize-4)+'px'}\"></text>\r\n\t\t\t\t\t\t\t\t<view style=\"display: inline;margin-left:8px\" @click=\"clickLink(file.ftpUrl,file.fileName)\" :style=\"{fontSize:(wxFontSize-3)+'px'}\">\r\n\t\t\t\t\t\t\t\t\t{{file.fileName}}\r\n\t\t\t\t\t\t\t\t</view>\r\n\r\n\t\t\t\t\t\t\t</view>\r\n\t\t\t\t\t\t</view>\r\n\r\n\r\n\t\t\t\t\t\t<view class=\"tn-flex tn-flex-row-between tn-flex-col-center tn-margin-top-xs\">\r\n\t\t\t\t\t\t\t<view class=\"justify-content-item tn-color-gray tn-text-center\">\r\n\t\t\t\t\t\t\t\t<view class=\"tn-padding-right tn-padding-top-xs tn-color-gray\" :style=\"{fontSize:(wxFontSize-3)+'px'}\">\r\n\t\t\t\t\t\t\t\t\t{{ item.createTime2|formatDate }}\r\n\t\t\t\t\t\t\t\t</view>\r\n\r\n\t\t\t\t\t\t\t</view>\r\n\t\t\t\t\t\t\t<view class=\"justify-content-item tn-flex tn-flex-col-center\" style=\"position: relative;\">\r\n\t\t\t\t\t\t\t\t<button type=\"warn\" plain=\"true\" style=\"height: 26px;line-height: 26px\" size=\"mini\" @click=\"delColl(item)\"><text style=\"font-size: 18px;\" class=\"tn-icon-delete\"></text></button>\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t<text class=\"tn-icon-more-vertical tn-color-gray tn-text-bold tn-text-xxl\"\r\n\t\t\t\t\t\t\t\t\t@click=\"showActionSheet(item)\" style=\"margin-left: 12px;\"></text>\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t <view v-if=\"curItem.id==item.id&&showSheet\" style=\"position: absolute;\r\n\t\t\t\t\t\t\t\t\tbackground: #ddd;\r\n\t\t\t\t\t\t\t\t\tdisplay: block;\r\n\t\t\t\t\t\t\t\t\tright: 10px;\r\n\t\t\t\t\t\t\t\t\ttop: 30px;border-radius: 16px;z-index: 900;border-top-right-radius: 0\">\r\n\t\t\t\t\t\t\t\t\t<text class=\"tn-icon-close\" style=\"float: right;padding:8px;color:#333\" @click=\"hideSheet()\"></text>\r\n\t\t\t\t\t\t\t\t\t<view class=\"content\" style=\"padding: 24px 36px;font-size: 16px;line-height: 24px; width: calc(100vw - 52px); border-radius: 16px;\r\n\t border-top-right-radius: 0;\"\r\n\t\t\t\t\t\t\t\t\t\t\t\t\tv-if=\"!showContact\">\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t<button @click=\"linkTel()\" style=\"border-radius:30px;color:#fff;background-color: #1d60b1;\"><text\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tclass=\"tn-icon-service\" style=\"margin-right: 12px;\"></text> {{current==0?'联系需方':'联系供方'}}</button>\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t<!-- <view>联系我们帮助对接</view> -->\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t<!-- <button v-if=\"!collStatus\" @click=\"addColl\"\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tstyle=\"margin-top:10px;border-radius:30px;color:#3a96d7;background-color: #d3e3fd;\"><text\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tclass=\"tn-icon-star\" style=\"margin-right: 12px;\"></text>\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t收 藏</button>\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t<button v-if=\"collStatus\" @click=\"delColl\"\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tstyle=\"margin-top:10px;border-radius:30px;color:#3a96d7;background-color: #d3e3fd;\"><text\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tclass=\"tn-icon-star-fill\" style=\"margin-right: 12px;\"></text> 取消收藏</button> -->\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t<button open-type=\"share\"\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tstyle=\"margin-top:10px;border-radius:30px;\" type=\"default\" plain=\"true\"><text\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tclass=\"tn-icon-send\" style=\"margin-right: 12px;\"></text>\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t转 发</button>\r\n\t\t\t\t\t\t\t\t\t\t\t\t</view>\r\n\t\t\t\t\t\t\t\t\t\t\t\t<view class=\"content bg-content\" style=\"padding: 50px 36px;padding-bottom: 32px;font-size: 16px;width: calc(100vw - 52px);line-height: 24px;border-radius: 16px;border-top-right-radius: 0;\"\r\n\t\t\t\t\t\t\t\t\t\t\t\t\tv-if=\"showContact\">\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t<view><text style=\"font-size: 20px;font-weight: bold;\" v-if=\"curContact.company\">{{curContact.company}}</text></view>\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<view style=\"margin-top:20px;\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t font-weight: bold;\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t font-size: 20px;\"><text class=\"tn-icon-my-formal\"></text><text style=\"margin-left: 6px;\">{{curContact.contactPerson}}</text> </view>\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<view style=\"font-size: 20px;font-weight: bold;margin-top:20px\" @click=\"showTel(curContact.contactMethod)\"><text class=\"tn-icon-tel\"></text>\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t<text style=\"margin-left: 4px;\">{{curContact.contactMethod}}</text> </view>\r\n\t\t\t\t\t\t\t\t\t\t\t\t</view>\r\n\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t</view>\r\n\t\t\t\t\t\t\t\t \r\n\t\t\t\t\t\t\t</view>\r\n\t\t\t\t\t\t</view>\r\n\t\t\t\t\t</view>\r\n\r\n\t\t\t\t\t<!-- 边距间隔 -->\r\n\t\t\t\t\t<view class=\"tn-strip-bottom\" v-if=\"index != content.length - 1\"></view>\r\n\t\t\t\t</block>\r\n\t\t\t</view>\r\n\r\n\t\t\t<view v-if=\"showEmpty\" style=\"margin-top: 32vh;\">\r\n\t\t\t\t<tn-empty mode=\"data\"></tn-empty>\r\n\t\t\t</view>\r\n\r\n\t\t</view>\r\n\r\n\n\t\t<!-- 提示窗示例 -->\n\t\t<uni-popup ref=\"alertDialog\" type=\"dialog\">\n\t\t\t<uni-popup-dialog type=\"info\" cancelText=\"关闭\" confirmText=\"确认\" title=\" \" content=\"确定取消收藏吗?\" @confirm=\"dialogConfirm\"\n\t\t\t\t@close=\"dialogClose\"></uni-popup-dialog>\n\t\t</uni-popup>\r\n\t\t\n\t <tn-popup v-model=\"showSheet2\" mode=\"center\" closeBtn=\"true\" borderRadius=\"16\">\r\n\t\t\t<view class=\"content\" style=\"padding: 24px 36px;font-size: 16px;line-height: 24px; width: 320px;\"\r\n\t\t\t\tv-if=\"!showContact\">\r\n\t\t\t\t\r\n\t\t\t\t<button @click=\"linkTel()\" style=\"border-radius:30px;color:#fff;background-color: #1d60b1;\"><text\r\n\t\t\t\t\t\tclass=\"tn-icon-service\" style=\"margin-right: 12px;\"></text> {{current==0?'联系需方':'联系供方'}}</button>\r\n\t\t\t\t<!-- <view>联系我们帮助对接</view> -->\r\n\t\t\t\t<!-- <button v-if=\"!collStatus\" @click=\"addColl\"\r\n\t\t\t\t\tstyle=\"margin-top:10px;border-radius:30px;color:#3a96d7;background-color: #d3e3fd;\"><text\r\n\t\t\t\t\t\tclass=\"tn-icon-star\" style=\"margin-right: 12px;\"></text>\r\n\t\t\t\t\t收 藏</button>\r\n\t\t\t\t<button v-if=\"collStatus\" @click=\"delColl\"\r\n\t\t\t\t\tstyle=\"margin-top:10px;border-radius:30px;color:#3a96d7;background-color: #d3e3fd;\"><text\r\n\t\t\t\t\t\tclass=\"tn-icon-star-fill\" style=\"margin-right: 12px;\"></text> 取消收藏</button> -->\r\n\t\t\t\t<button open-type=\"share\"\r\n\t\t\t\t\tstyle=\"margin-top:10px;border-radius:30px;\" type=\"default\" plain=\"true\"><text\r\n\t\t\t\t\t\tclass=\"tn-icon-send\" style=\"margin-right: 12px;\"></text>\r\n\t\t\t\t\t转 发</button>\r\n\t\t\t</view>\r\n\t\t\t<view class=\"content bg-content\" style=\"padding: 50px 36px;padding-bottom: 32px;font-size: 16px;width:320px;line-height: 24px;\"\r\n\t\t\t\t\t\t\tv-if=\"showContact\">\r\n\t\t\t\t\t\t\t<view><text style=\"font-size: 20px;font-weight: bold;\" v-if=\"curContact.company\">{{curContact.company}}</text></view>\r\n\t\t\t\t\t\t\t<view style=\"margin-top:20px;\r\n\t\t\t font-weight: bold;\r\n\t\t\t font-size: 20px;\"><text class=\"tn-icon-my-formal\"></text><text style=\"margin-left: 6px;\">{{curContact.contactPerson}}</text> </view>\r\n\t\t\t\t\t\t\t<view style=\"font-size: 20px;font-weight: bold;margin-top:20px\" @click=\"showTel(curContact.contactMethod)\"><text class=\"tn-icon-tel\"></text>\r\n\t\t\t<text style=\"margin-left: 4px;\">{{curContact.contactMethod}}</text> </view>\r\n\t\t\t\t\t\t</view>\r\n\t\t</tn-popup>\r\n\r\n\r\n\t</view>\r\n</template>\r\n\r\n<script>\r\n\timport request from '../../utils/request'\r\nimport {\r\n \tuniShowModal\r\n } from '../../utils/uni_api'\r\n\texport default {\r\n\t\tdata() {\r\n\t\t\treturn {\r\n\t\t\t\tlist: [{\r\n\t\t\t\t\t'tab-name': '需求'\r\n\t\t\t\t}, {\r\n\t\t\t\t\t'tab-name': '供应'\r\n\t\t\t\t}],\r\n\t\t\t\tcurrent: 0,\r\n\t\t\t\tshowEmpty: false,\r\n\t\t\t\tcontent: [],\r\n\t\t\t\tcurItem:{},\r\n\t\t\t\tshowSheet:false,\r\n\t\t\t\tshowContact:false,\r\n\t\t\t\tcurContact:{},\r\n\t\t\t\tcolumns: [{\r\n\t\t\t\t\tfieldName: 'prodName',\r\n\t\t\t\t\tfieldDesc: '产品名称',\r\n\t\t\t\t\r\n\t\t\t\t}, {\r\n\t\t\t\t\tfieldName: 'prodSpec',\r\n\t\t\t\t\tfieldDesc: '规格型号',\r\n\t\t\t\t\r\n\t\t\t\t}, {\r\n\t\t\t\t\tfieldName: 'prodDesc',\r\n\t\t\t\t\tfieldDesc: '产品介绍',\r\n\t\t\t\t\r\n\t\t\t\t}],\r\n\t\t\t\twxFontSize:17\r\n\t\t\t}\r\n\t\t},\r\n\t\tfilters: {\r\n\t\t\tformatDate(value) {\r\n\t\t\t\tif (!value) return '';\r\n\t\t\t\tconst date = new Date(value);\r\n\t\t\t\tconst today = new Date();\r\n\t\t\t\tconst yesterday = new Date(today); // 昨天的日期\r\n\t\t\t\tyesterday.setDate(yesterday.getDate() - 1); // 将昨天的日期设置为前一天\r\n\r\n\t\t\t\tif (date.getFullYear() == today.getFullYear() && date.getMonth() == today.getMonth() && date.getDate() ==\r\n\t\t\t\t\ttoday.getDate()) {\r\n\t\t\t\t\treturn '今天 ' + (date.getHours() > 9 ? '' : '0') + date.getHours() + ':' + (date\r\n\t\t\t\t\t\t.getMinutes() > 9 ? '' : '0') + date.getMinutes(); // 根据需要格式化日期\r\n\t\t\t\t}\r\n\t\t\t\tif (date.getFullYear() == yesterday.getFullYear() && date.getMonth() == yesterday.getMonth() && date\r\n\t\t\t\t\t.getDate() == yesterday.getDate()) {\r\n\t\t\t\t\treturn '昨天 ' + (date.getHours() > 9 ? '' : '0') + date.getHours() + ':' + (date\r\n\t\t\t\t\t\t.getMinutes() > 9 ? '' : '0') + date.getMinutes(); // 根据需要格式化日期\r\n\t\t\t\t}\r\n\r\n\t\t\t\treturn date.toLocaleDateString() + ' ' + (date.getHours() > 9 ? '' : '0') + date.getHours() + ':' + (date\r\n\t\t\t\t\t.getMinutes() > 9 ? '' : '0') + date.getMinutes(); // 根据需要格式化日期\r\n\t\t\t},\r\n\r\n\r\n\t\t},\r\n\t\tonLoad(){\r\n\t\t\tconst appBaseInfo = wx.getAppBaseInfo();\r\n\t\t\tthis.wxFontSize = uni.getStorageSync('fontSize')||appBaseInfo.fontSizeSetting||17;\r\n\t\t},\r\n\t\tonShow() {\r\n\t\t\tif(!uni.getStorageSync('userNo')){\r\n\t\t\t\t//去登录\r\n\t\t\t\tuni.navigateTo({\r\n\t\t\t\t url: '/pages/login/login',\r\n\t\t\t\t});\r\n\t\t\t\treturn false;\r\n\t\t\t}\r\n\t\t\tthis.loadData();\r\n\t\t},\r\n\t\tmethods: {\r\n\t\t\tgoBack() {\r\n\t\t\t\tconst pages = getCurrentPages()\r\n\t\t\t\t// 有可返回的页面则直接返回,uni.navigateBack 默认返回失败之后会自动刷新页面 ,无法继续返回\r\n\t\t\t\tif (pages.length > 1) {\r\n\t\t\t\t\tuni.navigateBack()\r\n\t\t\t\t\treturn;\r\n\t\t\t\t}else{\r\n\t\t\t\t\tuni.navigateTo({\r\n\t\t\t\t\t\turl: '/pages/index/index'\r\n\t\t\t\t\t})\r\n\t\t\t\t}\r\n\t\t\t},\r\n\t\t\tchange(index) {\r\n\t\t\t\tthis.current = index;\r\n\t\t\t\tthis.loadData();\r\n\t\t\t},\r\n\t\t\tisImage(fileName) {\r\n\t\t\t\tconst imageExtensions = ['jpg', 'jpeg', 'png', 'gif', 'bmp', 'webp', 'ico']\r\n\t\t\t\tconst extension = fileName.split('.').pop().toLowerCase();\r\n\t\t\t\treturn imageExtensions.includes(extension);\r\n\t\t\t},\r\n\t\t\tloadData() {\r\n\t\t\t\tlet that = this;\r\n\t\t\t\tthat.content = [];\r\n\t\t\t\trequest.post('/slbCollect/show/my', {\r\n\t\t\t\t\tuserNo: uni.getStorageSync('userNo'),\r\n\t\t\t\t\tbisType: that.current == 1 ? '2' : '1',\r\n\r\n\t\t\t\t}).then(res => {\r\n\t\t\t\t\tlet newList = res.list || [];\r\n\t\t\t\t\tif (res&&res.success) {\r\n\t\t\t\t\t\tlet cList = [];\r\n\t\t\t\t\t\tfor (let i = 0; i < newList.length; i++) {\r\n\t\t\t\t\t\t\tif (newList[i].fkBisMap) {\r\n\t\t\t\t\t\t\t\tnewList[i].fkBisMap.collId = newList[i].id;\r\n\t\t\t\t\t\t\t\tnewList[i].fkBisMap.createTime2 = newList[i].createTime;\r\n\t\t\t\t\t\t\t\tnewList[i].fkBisMap.imgList = [];\r\n\t\t\t\t\t\t\t\tfor (let j = 0; j < newList[i].fkBisMap.fileDetailList.length; j++) {\r\n\t\t\t\t\t\t\t\t\tif (that.isImage(newList[i].fkBisMap.fileDetailList[j].fileName)) {\r\n\t\t\t\t\t\t\t\t\t\tnewList[i].fkBisMap.imgList.push(newList[i].fkBisMap.fileDetailList[j]);\r\n\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t}\r\n\r\n\t\t\t\t\t\t\t\tcList.push(newList[i].fkBisMap);\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\tthat.content = cList;\r\n\t\t\t\t\t}\r\n\t\t\t\t\tif(res._redirect){\r\n\t\t\t\t\t\tuni.navigateTo({\r\n\t\t\t\t\t\t url: '/pages/login/login',\r\n\t\t\t\t\t\t});\r\n\t\t\t\t\t\treturn false;\r\n\t\t\t\t\t}\r\n\r\n\t\t\t\t\tif (newList.length == 0) {\r\n\t\t\t\t\t\tthat.showEmpty = true;\r\n\t\t\t\t\t} else {\r\n\t\t\t\t\t\tthat.showEmpty = false;\r\n\t\t\t\t\t}\r\n\r\n\r\n\t\t\t\t})\r\n\t\t\t},\r\n\t\t\t\r\n\t\t\tdialogConfirm(){\r\n\t\t\t\tlet item = this.curItem;\r\n\t\t\t\tlet that = this;\r\n\t\t\t\trequest.post('/slbCollect/del', {\r\n\t\t\t\t\tid: item.collId,\r\n\t\t\t\t\tuserNo: uni.getStorageSync('userNo'),\r\n\t\t\t\t}).then(res => {\r\n\t\t\t\t\tif (res.success) {\r\n\t\t\t\t\t\tuni.showToast({\r\n\t\t\t\t\t\t\ttitle: '取消成功'\r\n\t\t\t\t\t\t})\r\n\t\t\t\t\t\tthat.loadData();\r\n\t\t\t\t\t} else {\r\n\t\t\t\t\t\tuni.showToast({\r\n\t\t\t\t\t\t\ttitle: res.msg,\r\n\t\t\t\t\t\t\ticon: 'none'\r\n\t\t\t\t\t\t})\r\n\t\t\t\t\t}\r\n\t\t\t\t})\r\n\t\t\t},\r\n\t\t\t\r\n\t\t\tdelColl(item) {\r\n\t\t\t\tthis.curItem = item;\r\n\t\t\t\tlet that = this;\r\n\t\t\t\t// this.$refs.alertDialog.open()\r\n\t\t\t\tuniShowModal('确定取消收藏吗?', '', {\r\n\t\t\t\t\tshowCancel: true,\r\n\t\t\t\t\tconfirmText:'确定',\r\n\t\t\t\t\tsuccess: (res) => {\r\n\t\t\t\t\t\tif(res.confirm){\r\n\t\t\t\t\t\t\tthat.dialogConfirm(); \r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\t\t\t\t})\r\n\t\t\t\t\r\n\t\t\t},\r\n\t\t\tshowImg(items, index) {\r\n\t\t\t\tlet urls = [];\r\n\t\t\t\tfor (let i = 0; i < items.length; i++) {\r\n\t\t\t\t\turls.push(items[i].ftpUrl);\r\n\t\t\t\t}\r\n\r\n\t\t\t\t// 预览图片\r\n\t\t\t\tuni.previewImage({\r\n\t\t\t\t\turls: urls,\r\n\t\t\t\t\tcurrent: index,\r\n\r\n\t\t\t\t});\r\n\t\t\t},\r\n\t\t\tclickLink(url,fileName) {\r\n\t\t\t\t// uni.navigateTo({\r\n\t\t\t\t// \turl:'/pages/webview/web-view?url='+encodeURIComponent('https://slb-m.lx-device.com/webview?title='+fileName+'&url='+ url),\r\n\t\t\t\t// })\r\n\t\t\t\tuni.downloadFile({\r\n\t\t\t\t url: url,\r\n\t\t\t\t filePath: wx.env.USER_DATA_PATH + \"/\" + fileName,\r\n\t\t\t\t success: function (res) {\r\n\t\t\t\t const filePath = res.filePath\r\n\t\t\t\t uni.openDocument({\r\n\t\t\t\t filePath: filePath,\r\n\t\t\t\t\t showMenu: true,\r\n\t\t\t\t success: function (res) {\r\n\t\t\t\t console.log('打开文档成功')\r\n\t\t\t\t },\r\n\t\t\t\t\t fail: function(){\r\n\t\t\t\t\t\t uni.navigateTo({\r\n\t\t\t\t\t\t \turl:'/pages/webview/web-view?url='+encodeURIComponent('https://slb-m.lx-device.com/webview?title='+fileName+'&url='+ url),\r\n\t\t\t\t\t\t })\r\n\t\t\t\t\t }\r\n\t\t\t\t })\r\n\t\t\t\t }\r\n\t\t\t\t})\r\n\t\t\t\t// uni.navigateTo({\r\n\t\t\t\t// \turl:'/pages/webview/web-view?url='+url,\r\n\t\t\t\t// })\r\n\t\t\t},\r\n\t\t\thideSheet(){\r\n\t\t\t\tthis.curItem = {};\r\n\t\t\t\tthis.showSheet = false;\r\n\t\t\t},\r\n\t\t\tshowActionSheet(item) {\r\n\t\t\t\tlet that = this;\r\n\t\t\t\tconsole.warn(item);\r\n\t\t\t\tif(!this.curItem.id){\r\n\t\t\t\t\tthis.curItem = item;\r\n\t\t\t\t}else{\r\n\t\t\t\t\tthis.curItem = {}\r\n\t\t\t\t\tthis.showSheet = false;\r\n\t\t\t\t\treturn false;\r\n\t\t\t\t}\r\n\t\t\t\t\r\n\t\t\t\tthis.showSheet = true;\r\n\t\t\t\tthat.showContact = false;\r\n\r\n\t\t\t},\r\n\t\t\tlinkTel() {\r\n\t\t\t\r\n\t\t\t\tif (!uni.getStorageSync('userNo')) {\r\n\t\t\t\t\tuni.showToast({\r\n\t\t\t\t\t\ttitle: '请登录'\r\n\t\t\t\t\t})\r\n\t\t\t\t\tuni.navigateTo({\r\n\t\t\t\t\t\turl: '/pages/login/login'\r\n\t\t\t\t\t})\r\n\t\t\t\t\treturn false;\r\n\t\t\t\t}\r\n\t\t\t\tlet that = this;\r\n\t\t\t\tlet params = {};\r\n\t\t\t\tparams.slbBisContact = JSON.stringify({\r\n\t\t\t\t\tfkBisNo: that.curItem.bisNo,\r\n\t\t\t\t\tbisType: that.current==0?'1':'2',\r\n\t\t\t\t\ttype: '1',\r\n\t\t\t\t\tcompany: that.curItem.company,\r\n\t\t\t\t\tcompanyNo: that.curItem.companyNo,\r\n\t\t\t\t\tuserNo: uni.getStorageSync('userNo'),\r\n\t\t\t\t});\r\n\t\t\t\trequest.post('/slbBisContact/add', params).then(res => {\r\n\t\t\t\t\tif (res.success) {\r\n\t\t\t\t\t\tthat.showContact = true;\r\n\t\t\t\t\t\tthat.curContact.company = that.curItem.company;\r\n\t\t\t\t\t\tthat.curContact.contactMethod = res.resultMap.contactMethod;\r\n\t\t\t\t\t\tthat.curContact.contactPerson = res.resultMap.contactPerson;\r\n\t\t\t\t\t} else {\r\n\t\t\t\t\t\tthat.showContact = false;\r\n\t\t\t\t\t\tuni.showToast({\r\n\t\t\t\t\t\t\ttitle: res.msg,\r\n\t\t\t\t\t\t\ticon: 'none'\r\n\t\t\t\t\t\t})\r\n\t\t\t\t\t}\r\n\t\t\t\t})\r\n\t\t\t},\r\n\t\t\tshowTel(tel){\r\n\t\t\t\tuni.makePhoneCall({\r\n\t\t\t\t phoneNumber: tel,\r\n\t\t\t\t});\r\n\t\t\t},\r\n\t\t}\r\n\t}\r\n</script>\r\n\r\n<style lang=\"scss\" scoped>\r\n\t/* 胶囊*/\r\n\t.tn-custom-nav-bar__back {\r\n\t\twidth: 60%;\r\n\t\theight: 100%;\r\n\t\tposition: relative;\r\n\t\tdisplay: flex;\r\n\t\tjustify-content: space-evenly;\r\n\t\talign-items: center;\r\n\t\tbox-sizing: border-box;\r\n\t\t// background-color: rgba(0, 0, 0, 0.15);\r\n\t\tborder-radius: 1000rpx;\r\n\t\tborder: 1rpx solid rgba(255, 255, 255, 0.5);\r\n\t\t// color: #FFFFFF;\r\n\t\tfont-size: 18px;\r\n\r\n\t\t.icon {\r\n\t\t\tdisplay: block;\r\n\t\t\tflex: 1;\r\n\t\t\tmargin: auto;\r\n\t\t\ttext-align: center;\r\n\t\t}\r\n\r\n\t\t&:before {\r\n\t\t\tcontent: \" \";\r\n\t\t\twidth: 1rpx;\r\n\t\t\theight: 110%;\r\n\t\t\tposition: absolute;\r\n\t\t\ttop: 22.5%;\r\n\t\t\tleft: 0;\r\n\t\t\tright: 0;\r\n\t\t\tmargin: auto;\r\n\t\t\ttransform: scale(0.5);\r\n\t\t\ttransform-origin: 0 0;\r\n\t\t\tpointer-events: none;\r\n\t\t\tbox-sizing: border-box;\r\n\t\t\topacity: 0.7;\r\n\t\t\tbackground-color: #FFFFFF;\r\n\t\t}\r\n\t}\r\n\r\n\r\n\t/* 文章内容 start*/\r\n\t.blogger {\r\n\t\t&__item {\r\n\t\t\tpadding: 30rpx;\r\n\t\t}\r\n\r\n\t\t&__author {\r\n\t\t\t&__btn {\r\n\t\t\t\tmargin-right: -12rpx;\r\n\t\t\t\topacity: 0.5;\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\t&__desc {\r\n\t\t\tline-height: 30rpx;\r\n\r\n\t\t\t&__label {\r\n\r\n\t\t\t\tcolor: #1D2541;\r\n\t\t\t\tbackground-color: #F3F2F7;\r\n\t\t\t\tborder-radius: 10rpx;\r\n\t\t\t\tfont-size: 22rpx;\r\n\r\n\t\t\t\tpadding: 5rpx 15rpx;\r\n\t\t\t\tmargin: 5rpx 18rpx 0 0;\r\n\r\n\t\t\t\t&--prefix {\r\n\t\t\t\t\tfont-size: 24rpx;\r\n\t\t\t\t\tcolor: #1D2541;\r\n\t\t\t\t\tpadding-right: 10rpx;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\r\n\t\t\t&__content {\r\n\t\t\t\tline-height: 50rpx;\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\t&__content {\r\n\t\t\tmargin-top: 18rpx;\r\n\t\t\tpadding-right: 18rpx;\r\n\r\n\t\t\t&__data {\r\n\t\t\t\tline-height: 46rpx;\r\n\t\t\t\ttext-align: justify;\r\n\t\t\t\toverflow: hidden;\r\n\t\t\t\ttransition: all 0.25s ease-in-out;\r\n\r\n\t\t\t}\r\n\r\n\t\t\t&__status {\r\n\t\t\t\tmargin-top: 10rpx;\r\n\t\t\t\tfont-size: 26rpx;\r\n\t\t\t\tcolor: #82B2FF;\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\t&__main-image {\r\n\t\t\tborder: 1rpx solid #F8F7F8;\r\n\t\t\tborder-radius: 16rpx;\r\n\r\n\t\t\t&--1 {\r\n\t\t\t\tmax-width: 80%;\r\n\t\t\t\tmax-height: 300rpx;\r\n\t\t\t}\r\n\r\n\t\t\t&--2 {\r\n\t\t\t\tmax-width: 260rpx;\r\n\t\t\t\tmax-height: 260rpx;\r\n\t\t\t}\r\n\r\n\t\t\t&--3 {\r\n\t\t\t\theight: 212rpx;\r\n\t\t\t\twidth: 100%;\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\t&__count-icon {\r\n\t\t\tfont-size: 40rpx;\r\n\t\t\tpadding-right: 5rpx;\r\n\t\t}\r\n\r\n\t\t&__ad {\r\n\t\t\twidth: 100%;\r\n\t\t\theight: 500rpx;\r\n\t\t\ttransform: translate3d(0px, 0px, 0px) !important;\r\n\r\n\t\t\t::v-deep .uni-swiper-slide-frame {\r\n\t\t\t\ttransform: translate3d(0px, 0px, 0px) !important;\r\n\t\t\t}\r\n\r\n\t\t\t.uni-swiper-slide-frame {\r\n\t\t\t\ttransform: translate3d(0px, 0px, 0px) !important;\r\n\t\t\t}\r\n\r\n\t\t\t&__item {\r\n\t\t\t\tposition: absolute;\r\n\t\t\t\twidth: 100%;\r\n\t\t\t\theight: 100%;\r\n\t\t\t\ttransform-origin: left center;\r\n\t\t\t\ttransform: translate3d(100%, 0px, 0px) scale(1) !important;\r\n\t\t\t\ttransition: transform 0.25s ease-in-out;\r\n\t\t\t\tz-index: 1;\r\n\r\n\t\t\t\t&--0 {\r\n\t\t\t\t\ttransform: translate3d(0%, 0px, 0px) scale(1) !important;\r\n\t\t\t\t\tz-index: 4;\r\n\t\t\t\t}\r\n\r\n\t\t\t\t&--1 {\r\n\t\t\t\t\ttransform: translate3d(13%, 0px, 0px) scale(0.9) !important;\r\n\t\t\t\t\tz-index: 3;\r\n\t\t\t\t}\r\n\r\n\t\t\t\t&--2 {\r\n\t\t\t\t\ttransform: translate3d(26%, 0px, 0px) scale(0.8) !important;\r\n\t\t\t\t\tz-index: 2;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\r\n\t\t\t&__content {\r\n\t\t\t\tborder-radius: 40rpx;\r\n\t\t\t\twidth: 640rpx;\r\n\t\t\t\theight: 500rpx;\r\n\t\t\t\toverflow: hidden;\r\n\t\t\t}\r\n\r\n\t\t\t&__image {\r\n\t\t\t\twidth: 100%;\r\n\t\t\t\theight: 100%;\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n\r\n\t/* 文章内容 end*/\r\n\t/* 间隔线 start*/\r\n\t.tn-strip-bottom {\r\n\t\twidth: 100%;\r\n\t\tborder-bottom: 20rpx solid rgba(241, 241, 241, 0.8);\r\n\t}\r\n\t.bg-content{\r\n\t\tcolor: #fff;\r\n\t\tbackground-image: url(./../../static/bg.png);\r\n\t\tbackground-size: cover;\r\n\t}\r\n\t/* 间隔线 end*/\r\n</style>","import mod from \"-!../../../../self software/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../self software/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../self software/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../self software/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../self software/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../self software/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../self software/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../self software/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../self software/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./coll.vue?vue&type=style&index=0&id=8597d202&lang=scss&scoped=true&\"; export default mod; export * from \"-!../../../../self software/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../self software/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../self software/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../self software/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../self software/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../self software/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../self software/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../self software/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../self software/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./coll.vue?vue&type=style&index=0&id=8597d202&lang=scss&scoped=true&\""],"sourceRoot":""}
|