index.vue 37 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402
  1. <template>
  2. <view class="container column">
  3. <view class="headbox">
  4. <view style="padding: 10px 10px 0 10px;" class="mb20">
  5. <u-subsection class="subsection" :list="list" :current="current" bgColor="#e7f1fe" activeColor="#1677ff"
  6. :fontSize="15" :bold="false" @change="sectionChange"></u-subsection>
  7. <view style="margin-top: 10px;" v-if="current==0">
  8. <u-search placeholder="会员ID、昵称、姓名、手机" v-model="keyword" :showAction="false" height="30px"
  9. @search='searchKeyword'></u-search>
  10. </view>
  11. <view class="x-bc" v-if="current==0">
  12. <u-tabs :list="list2" :current='currentType' :lineWidth="40" lineColor="#1677ff"
  13. :activeStyle="activeStyle" :inactiveStyle="inactiveStyle" @click="clickTypeTab"></u-tabs>
  14. <!-- <view class="participate-order x-f">
  15. <image src="@/static/images/order_icon2.png" mode="aspectFill"
  16. v-if="searchTypeIndex == 0 || searchTypeIndex == 2"></image>
  17. <image src="@/static/images/order_icon.png" mode="aspectFill" v-else></image>
  18. <picker @change="bindPickerChange" :value="searchTypeIndex" :range="typeArray">
  19. {{typeoption[searchTypeIndex]}}
  20. </picker>
  21. </view> -->
  22. </view>
  23. <view class="tagbox x-bc" v-if="current==0">
  24. <view class="tagbox-left x-f">
  25. <!-- <view class="x-f" @click="openPop('search')">{{array[queryParam.typeIndex].name}}<u-icon name="arrow-down-fill" color="#2979ff" size="11" style="margin: 0 3px;"></u-icon></view> -->
  26. <view class="tagbox-list x-f">
  27. <view class="tagbox-item x-f" v-for="(item,index) in showCompanytag" :key='item.tagId'
  28. :class="item.checked?'checked-bg':''">
  29. {{item.tag}}
  30. </view>
  31. </view>
  32. </view>
  33. <view class="tagbox-right x-f" @click="openPop('tag')">筛选<u-icon name="arrow-down" color="#1677ff"
  34. size="12"></u-icon></view>
  35. </view>
  36. </view>
  37. <view v-if="current==0">
  38. <dropdownPanel :filterData='filterData' @onClick="getactNav" :itemname='itemname' @onChange="onChange"
  39. @confirm="confirm" @reset="reset" :ispopshow='ispopshow'>
  40. <view v-if="filterData[searchbarNav].type == 'registerTime'">
  41. <view class="boxnav x-bc ">
  42. <view class="boxnav-item" style="width: 25%;"
  43. v-for="(item,index) in filterData[searchbarNav].option" :key="index">
  44. <view class="boxnav-item-info one-t"
  45. :class="registerTimeIndex == index ? 'boxnav-active':''"
  46. @click="handleParamItem('registerTime',index)">{{item.label}}</view>
  47. </view>
  48. <view class="boxnav-item x-ac" style="width: 100%;" v-show="registerTimeIndex == 4">
  49. <view class="calendar-day x-c" @click="$refs.calendar.open()">
  50. <u-icon name="calendar" color="#999"
  51. size="20"></u-icon>{{queryParam.startTime || '选择日期'}}
  52. </view>
  53. <view class="calendar-day x-c" @click="$refs.calendar.open()">
  54. <u-icon name="calendar" color="#999"
  55. size="20"></u-icon>{{queryParam.endTime || '选择日期'}}
  56. </view>
  57. </view>
  58. </view>
  59. </view>
  60. <view v-if="filterData[searchbarNav].type == 'watchStatus'">
  61. <view class="boxnav x-bc">
  62. <view class="boxnav-item" v-for="(item,index) in filterData[searchbarNav].option"
  63. :key="index">
  64. <view class="boxnav-item-info one-t"
  65. :class="watchStatusIndex == index ? 'boxnav-active':''"
  66. @click="handleParamItem('watchStatus',index)">{{item.label}}</view>
  67. </view>
  68. </view>
  69. </view>
  70. <view v-if="filterData[searchbarNav].type == 'nowatchStatus'">
  71. <view class="boxnav x-bc">
  72. <view class="boxnav-item" v-for="(item,index) in filterData[searchbarNav].option"
  73. :key="index">
  74. <view class="boxnav-item-info one-t"
  75. :class="nowatchStatusIndex == index ? 'boxnav-active':''"
  76. @click="handleParamItem('nowatchStatus',index)">{{item.label}}</view>
  77. </view>
  78. </view>
  79. </view>
  80. </dropdownPanel>
  81. </view>
  82. </view>
  83. <uni-calendar ref="calendar" :clear-date="true" :date="date" :insert="false" :lunar="false"
  84. :startDate="$u.timeFormat(new Date().getTime() - (3600 * 24 * 365 * 1000), 'yyyy-mm-dd')" :range='true'
  85. @confirm="confirmCalendar" :endDate="$u.timeFormat(new Date().getTime(), 'yyyy-mm-dd')" />
  86. <!-- 搜索选择弹窗/标签筛选 -->
  87. <u-popup :show="showPop" :round="12" @close="closePop" class="model" :zIndex="10076" style="flex: 0;">
  88. <view class="popbox">
  89. <view class="popbox-head">
  90. <u-icon class="close-circle" name="close-circle" color="#ccc" size="24" @click="closePop"></u-icon>
  91. {{popTitle}}
  92. </view>
  93. <view class="popbox-body">
  94. <view class="radiobox" v-show="popTitle == '搜索选择'">
  95. <label class="radiobox-item x-bc mbline" v-for="(item, index) in array" :key="item.value"
  96. @click="bindTypeChange(index)">
  97. <view>{{item.name}}</view>
  98. <radio :value="item.value" :checked="index === typeIndex" style="transform:scale(0.75)" />
  99. </label>
  100. </view>
  101. <view class="tagbox-list x-f">
  102. <!-- <view class="tagbox-item x-f tag-active" @click="chooseTag">未打标签</view> -->
  103. <view class="mlr10 " v-for="(item,index) in companytag" :key='item.tagId'>
  104. <u-tag :text="item.tag" :plain="!item.checked" :name="index"
  105. @click="chooseTag(index)"></u-tag>
  106. </view>
  107. </view>
  108. </view>
  109. <view class="popbox-footer x-bc">
  110. <button class="popbox-footer-btn" @click="resetPop" v-show="popTitle == '标签筛选'">重置</button>
  111. <button class="popbox-footer-btn" @click="closePop" v-show="popTitle == '搜索选择'">取消</button>
  112. <button class="popbox-footer-btn con-btn" @click="confirmPop">确定</button>
  113. </view>
  114. </view>
  115. </u-popup>
  116. <view class="userbox column hb hidden">
  117. <!-- <mescroll-body bottom="0" ref="mescrollRef" @init="mescrollInit" :down="downOption" :up="upOption" @down="downCallback" @up="upCallback"> -->
  118. <view class="userlist column hb hidden">
  119. <!-- <dropDownList /> -->
  120. <vipUserItem :viplist='userList' :isShowSelectAll="isShowSelectAll" @changeItem="changeItem"
  121. @getuserId='singleChange' @getlableId='singleChangeLable' @change='changesinglevip'
  122. @pullDownRefresh="current==0?getfsuserListdata('refresh'):getbalckList('refresh')"
  123. @reachBottom="current==0?getfsuserListdata('more'):getbalckList('more')"
  124. @changePageOptions="e=>pageOptions=e" :pageOptions="pageOptions" :status="status"
  125. @changeStatus="e=>status=e" />
  126. <u-empty mode="list" icon="http://cdn.uviewui.com/uview/empty/car.png" v-if="userList.length==0">
  127. </u-empty>
  128. <view class="justify-between base-bg-f foot-select" v-if="isShowSelectAll">
  129. <view class="align-center justify-between" v-if="isShowSelectAll">
  130. <u-checkbox-group @change="selectAll">
  131. <u-checkbox :checked="isSelectAll" shape="circle" activeColor="#FF6C47" :name="true"
  132. label="全选" labelColor="#333" /><text class="fs24 base-color-9 ml12">已选 {{selectedCount}}
  133. 个</text>
  134. </u-checkbox-group>
  135. </view>
  136. <view class="justify-center ">
  137. <button class="base-bg-red radius100 colorf h62 fs28 lh62 mlr10"
  138. @click="changeProhibit">禁用</button>
  139. <button class="base-bg-blue radius100 colorf h62 fs28 lh62"
  140. @click="showTagSelect=!showTagSelect">改标签</button>
  141. <button class="base-bg-f radius100 base-color-red h62 ml10 fs28 lh60"
  142. style="border: #ef4c50 solid 2rpx;" v-if="user.userType==0"
  143. @click="changevipuser">更换归属</button>
  144. </view>
  145. </view>
  146. </view>
  147. <!-- </mescroll-body> -->
  148. </view>
  149. <!-- <u-picker :show="showTagSelect" :columns="companytag" keyName="tag" @cancel='showTagSelect=false'
  150. @confirm='singleChangeLable' ></u-picker> -->
  151. <u-popup :show="showTagSelect" @close='closetagselect' :closeOnClickOverlay='true'
  152. mode="bottom" style="z-index: 99999;">
  153. <view class=" w100 bgf">
  154. <view class="plr28 ptb16 justify-between" style="flex-direction: row-reverse">
  155. <u-icon class="" name="close-circle" color="#ccc" size="24" @click="closetagselect"></u-icon>
  156. </view>
  157. <view class="justify-start p32">
  158. <view class="mlr10 " v-for="(item,index) in changetag" :key='item.tagId'>
  159. <u-tag :text="item.tag" :plain="!item.checked" :name="index" @click="choosechangeTag"></u-tag>
  160. </view>
  161. </view>
  162. <view class="justify-between p32">
  163. <view class="changetagbtn base-bg-f8" @click="showTagSelect=!showTagSelect">取消</view>
  164. <view class="changetagbtn colorf base-bg-blue" @click="suretagchangeAll">确定</view>
  165. </view>
  166. </view>
  167. </u-popup>
  168. <image class="invite-member" src="@/static/images/invite-member-icon.png" mode="aspectFill" @click="vipInvite"
  169. v-if='!isShowSelectAll && user.userType==1'>
  170. </image>
  171. <!-- 邀请弹窗 -->
  172. <u-popup :show="invitePop" :round="12" @close="invitePop = false" :zIndex="10074" style="flex: 0;">
  173. <view class="popbox">
  174. <view class="popbox-head">
  175. <u-icon class="close-circle" name="close-circle" color="#ccc" size="24"
  176. @click="invitePop = false"></u-icon>
  177. 分享方式
  178. </view>
  179. <view class="popbox-body">
  180. <view class="choosetitle x-bc">
  181. <view>选择标签</view>
  182. <view v-if="sharetaglist" style="color:#1677ff"
  183. @click="addtag(0)">{{zhanshitag}}</view>
  184. <view class="x-f" style="color:#1677ff;"v-else
  185. @click="addtag(0)">
  186. <u-icon name="plus" color="#1677ff" size="14"
  187. style="margin-right: 5px;"></u-icon>添加标签
  188. </view>
  189. </view>
  190. <view class="invitetip">选择标签,当会员注册成功后,即可自动打标签</view>
  191. <!-- <view class="tagbox-list x-f" style="margin-top: 10px;margin-left: 0px;">
  192. <view class="tagbox-item x-f" @click="chooseTag">未打标签</view>
  193. <view class="tagbox-item x-f tag-active">未打标签</view>
  194. </view> -->
  195. <view class="x-bc" style="margin-top: 30px;">
  196. <view class="sharePop-item y-f" @click="buildimg">
  197. <image src="@/static/images/poster_icon.png" mode="aspectFill"></image>
  198. <view style="font-weight: bold;margin-bottom: 4px;">生成海报</view>
  199. <view style="font-size: 12px;color: #888;">保存海报美观宣传</view>
  200. </view>
  201. <view class="sharePop-item y-f" @click="copyLink">
  202. <image src="@/static/images/link_icon.png" mode="aspectFill"></image>
  203. <view style="font-weight: bold;margin-bottom: 4px;">复制链接</view>
  204. <view style="font-size: 12px;color: #888;">生成链接一键复制</view>
  205. </view>
  206. </view>
  207. </view>
  208. </view>
  209. </u-popup>
  210. <!-- 设置链接有效时长弹窗 -->
  211. <u-modal :show="setTimeShow" content='content' class="model" @confirm="confirmTime">
  212. <view class="setTimebox">
  213. <view class="timetip">不传默认以系统参数为准</view>
  214. <view class="x-f">
  215. <text style="margin-right: 20px;">链接有效时长(分钟)</text>
  216. <u-input fontSize="14px" placeholder="链接有效时长" border="none" v-model="time" maxlength="5"></u-input>
  217. </view>
  218. </view>
  219. </u-modal>
  220. <u-popup :show="setImg" @close="closeimg" :round="12">
  221. <view class="w100 h500">
  222. <image :src="codeLink.url" class="codeimg w660" mode="widthFix"></image>
  223. </view>
  224. <view class="justify-around mtb40">
  225. <view class="column justify-center align-center" @click="shareimg">
  226. <image src='@/static/image/wechat.png' class="w80 h80"></image>
  227. <view class="mt10">微信好友</view>
  228. </view>
  229. <view class="column justify-center align-center" @click="downimg">
  230. <image src='@/static/image/downicon.png' class="w80 h80"></image>
  231. <view class="mt10">长按图片保存</view>
  232. </view>
  233. </view>
  234. </u-popup>
  235. <u-overlay :show="showzhidao" @click="showzhidao = false" style="z-index: 9999;">
  236. <view class="point-box">
  237. <view class="imgshe" >
  238. <image src='@/static/image/point.png' class="w300 h300"></image>
  239. </view>
  240. <view class="column colorf fs32 xu-box fs40
  241. align-center justify-center">
  242. <view class="justify-center">点击右上角
  243. <image src="../../../static/image/wxmore.png"
  244. class="w50 h50 mlr10"></image>
  245. </view>
  246. <view class="mt20">选择 “转发给朋友”</view>
  247. </view>
  248. </view>
  249. </u-overlay>
  250. <!-- 更改归属 -->
  251. <u-picker :show="showcol" :columns="columns" @cancel='showcol=!showcol' @confirm='receiveA'
  252. keyName="nickName"></u-picker>
  253. </view>
  254. </template>
  255. <script>
  256. import {
  257. getfsuserList,
  258. getcompanyTaglist,
  259. Addblacklist,
  260. changeLable,
  261. getBlackvipNumber,
  262. getBlackvipList,
  263. getvipNum,
  264. changevipUser,
  265. getgroupList,
  266. becomeVipuser,
  267. becomeVipuserImg,
  268. getSDK
  269. } from "@/api/courseManage.js";
  270. import MescrollMixin from "@/uni_modules/mescroll-uni/components/mescroll-uni/mescroll-mixins.js";
  271. import vipUserItem from "../components/vipUserItem.vue"
  272. import dropDownList from "./dropDownList.vue"
  273. import dropdownPanel from "../components/dropdownPanel.vue"
  274. import {
  275. data
  276. } from "../../../uni_modules/uview-ui/libs/mixin/mixin";
  277. import html2canvas from 'html2canvas'
  278. import wx from 'weixin-js-sdk'
  279. export default {
  280. mixins: [MescrollMixin],
  281. components: {
  282. vipUserItem,
  283. dropdownPanel,
  284. dropDownList
  285. },
  286. data() {
  287. return {
  288. showcol: false,
  289. setImg:false,
  290. columns: [],
  291. showTagSelect: false,
  292. list: [{
  293. name: '会员(0)',
  294. }, {
  295. name: '小黑屋(0)'
  296. }],
  297. userList: [],
  298. current: 0,
  299. keyword: "",
  300. companytag: [],
  301. showCompanytag: [],
  302. selectedList: [], //已经选中标签列表
  303. list2: [{
  304. name: '全部',
  305. }, {
  306. name: '今日新增',
  307. }, {
  308. name: '今日完播'
  309. }, {
  310. name: '未看过课'
  311. }],
  312. currentType: 0,
  313. activeStyle: {
  314. color: '#1677ff',
  315. fontSize: '14px',
  316. fontWeight: 'bold'
  317. },
  318. inactiveStyle: {
  319. fontSize: '14px'
  320. },
  321. searchTypeIndex: 0,
  322. typeArray: ['连续缺课天数多到少', '连续缺课天数少到多', '按注册时间晚到早', '会员姓名0-9-A-Z'],
  323. typeoption: ['连续缺课', '连续缺课', '注册时间', '会员姓名'],
  324. array: [{
  325. value: '0',
  326. name: '关联搜索',
  327. },
  328. {
  329. value: '1',
  330. name: '精准搜索'
  331. }
  332. ],
  333. typeIndex: 0,
  334. popTitle: '搜索选择',
  335. showPop: false,
  336. filterData: [{
  337. name: '注册时间',
  338. value: 0,
  339. type: 'registerTime',
  340. option: [{
  341. label: '全部',
  342. }, {
  343. label: '今天',
  344. }, {
  345. label: '昨天',
  346. }, {
  347. label: '近7天',
  348. }, {
  349. label: '自定义',
  350. }]
  351. }, {
  352. name: '看课状态',
  353. value: 1,
  354. type: 'watchStatus',
  355. option: [{
  356. label: '全部',
  357. }, {
  358. label: '未看过课',
  359. }, {
  360. label: '正常看课',
  361. }, {
  362. label: '停止看课',
  363. }]
  364. },
  365. {
  366. name: '批量',
  367. value: 3,
  368. type: 'piliang',
  369. special: true,
  370. stopPrevent: true
  371. }
  372. ],
  373. searchbarNav: 0,
  374. registerTimeIndex: 0,
  375. watchStatusIndex: 0,
  376. watchStatusIndex: 0,
  377. showCalendar: false,
  378. date: '',
  379. mode: 'range',
  380. queryParam: {
  381. typeIndex: 0,
  382. startTime: '',
  383. endTime: ''
  384. },
  385. mescroll: null,
  386. downOption: {
  387. use: true,
  388. auto: false
  389. },
  390. upOption: {
  391. onScroll: false,
  392. use: true, // 是否启用上拉加载; 默认true
  393. auto: true,
  394. page: {
  395. pae: 0, // 当前页码,默认0,回调之前会加1,即callback(page)会从1开始
  396. size: 10 // 每页数据的数量,默认10
  397. },
  398. noMoreSize: 10, // 配置列表的总数量要大于等于5条才显示'-- END --'的提示
  399. textNoMore: "已经到底了",
  400. empty: {
  401. icon: 'https://cos.his.cdwjyyh.com/fs/20240423/cf4a86b913a04341bb44e34bb4d37aa2.png',
  402. tip: '暂无数据'
  403. }
  404. },
  405. dataList: [],
  406. invitePop: false,
  407. setTimeShow: false,
  408. time: "",
  409. user: {},
  410. idx: [],
  411. todayday: uni.$u.timeFormat(new Date(), 'yyyy-mm-dd'),
  412. startTime: '',
  413. endTime: '',
  414. isShowSelectAll: false, //是否显示全选
  415. isSelectAll: false, //是否全选
  416. ispopshow: false,
  417. selectidAll: [],
  418. changetag: [],
  419. selectidtag: '',
  420. itemname: '',
  421. userid: '',
  422. groupid: [],
  423. pageOptions: {
  424. pageNum: 1,
  425. pageSize: 5,
  426. },
  427. status: 'loadmore',
  428. sharetag:1,
  429. sharetaglist:[],
  430. codeLink: [],
  431. zhanshitag:'',
  432. copyLinks:'',
  433. showzhidao:false
  434. }
  435. },
  436. onLoad() {
  437. uni.setNavigationBarTitle({
  438. title: '数据统计'
  439. });
  440. },
  441. onShow() {
  442. this.getfsuserListdata()
  443. this.getcompanyTag()
  444. this.getblacknum()
  445. },
  446. mounted() {
  447. this.user = uni.getStorageSync("companyUserInfo") ? JSON.parse(uni.getStorageSync("companyUserInfo")) : {}
  448. this.getfsuserListdata()
  449. this.getcompanyTag()
  450. this.getblacknum()
  451. this.getjssdklist()
  452. },
  453. computed: {
  454. selectedCount() {
  455. return this.userList.filter(item => item.checked).length;
  456. },
  457. },
  458. methods: {
  459. getjssdklist() {
  460. const param = {
  461. url: window.location.href
  462. }
  463. getSDK(param).then(res => {
  464. wx.config({
  465. appId: res.data.appId, // 必填,公众号的唯一标识
  466. timestamp: res.data.timestamp, // 必填,生成签名的时间戳
  467. nonceStr: res.data.nonceStr, // 必填,生成签名的随机串
  468. signature: res.data.signature, // 必填,签名
  469. jsApiList: ["updateAppMessageShareData"] // 必填,需要使用的JS接口列表
  470. });
  471. })
  472. },
  473. shareimg(){
  474. //分享好友
  475. let self = this
  476. // 配置--你到时候把配置全局 --就是这些东西 调接口拿
  477. wx.ready(function() { //需在用户可能点击分享按钮前就先调用
  478. wx.updateAppMessageShareData({
  479. title: self.user.userName+"邀请您成为会员", // 分享标题
  480. desc: self.user.deptName, // 分享描述
  481. link:self.copylinks,
  482. // 分享链接,该链接域名或路径必须与当前页面对应的公众 号JS安全域名一致
  483. imgUrl: self.codeLink.url, // 分享图标
  484. success: function(res) {
  485. console.log(self.codeLink.url,'456');
  486. self.showzhidao=true
  487. self.setImg=false
  488. self.showShare=false
  489. // 设置成功
  490. uni.showToast({
  491. title: '海报已生成',
  492. icon: 'none',
  493. duration: 1000
  494. });
  495. },
  496. fail: function(err) {
  497. console.log(err);
  498. uni.showToast({
  499. title: '海报生成失败,请重试',
  500. icon: 'none',
  501. duration: 2000
  502. })
  503. }
  504. })
  505. });
  506. },
  507. downimg(){
  508. },
  509. closeimg(){
  510. this.setImg=false
  511. this.invitePop=false
  512. },
  513. buildimg() {
  514. this.setImg=!this.setImg
  515. this.getshareimg()
  516. },
  517. addtag(add){
  518. this.sharetag=add
  519. this.showTagSelect=!this.showTagSelect
  520. },
  521. changevipuser() {
  522. this.showcol = !this.showcol
  523. this.getgrouplist()
  524. },
  525. getgrouplist() {
  526. //获取群管列表
  527. getgroupList().then(res => {
  528. if (res.code == 200) {
  529. this.columns = [res.data]
  530. console.log(this.columns)
  531. } else {
  532. uni.showToast({
  533. icon: 'none',
  534. title: res.msg
  535. })
  536. }
  537. })
  538. },
  539. changeall() {
  540. //更换全部会员
  541. console.log(1)
  542. const param = {
  543. companyId: this.user.companyId,
  544. companyUserId: this.userid,
  545. userId: this.groupid
  546. }
  547. changevipUser(param).then(res => {
  548. if (res.code == 200) {
  549. uni.showToast({
  550. icon: 'none',
  551. title: '更换会员归属成功'
  552. })
  553. } else {
  554. uni.showToast({
  555. icon: 'none',
  556. title: res.msg
  557. })
  558. }
  559. })
  560. },
  561. receiveA(e) {
  562. console.log(e)
  563. this.userid = e.value[0].userId
  564. if (this.isShowSelectAll == true) {
  565. this.groupid = this.selectidAll
  566. this.changeall()
  567. this.showcol = !this.showcol
  568. setTimeout(() => {
  569. this.getfsuserListdata()
  570. }, 200)
  571. } else {
  572. this.changeall()
  573. this.showcol = !this.showcol
  574. this.getfsuserListdata()
  575. }
  576. this.isSelectAll = false
  577. },
  578. getvipListnum() {
  579. const param = {
  580. companyId: this.user.companyId,
  581. companyUserId: this.user.userId,
  582. queryValue: this.currentType,
  583. regiesterStartTime: this.startTime,
  584. regiesterEndTime: this.endTime,
  585. searchValue: this.keyword,
  586. type: this.user.userType == '00' ? 0 : 1, // 0:经销商/1:群管
  587. watchCourseType: this.watchStatusIndex,
  588. tagIds: this.idx
  589. }
  590. getvipNum(param).then(res => {
  591. if (res.code == 200) {
  592. this.list[0].name = "会员" + '(' + res.data + ')'
  593. } else {
  594. uni.showToast({
  595. icon: 'none',
  596. title: res.msg
  597. })
  598. }
  599. })
  600. },
  601. getactNav(data) {
  602. console.log(data)
  603. if (data.value == 3) {
  604. this.itemname = data.name
  605. this.isShowSelectAll = !this.isShowSelectAll
  606. } else {
  607. this.isShowSelectAll = false
  608. }
  609. },
  610. getblacknum() {
  611. //获取小黑屋数量
  612. const params = {
  613. companyId: this.user.companyId,
  614. companyUserId: this.user.userId,
  615. type: this.user.userType == '00' ? 0 : 1, // 0:经销商/1:群管
  616. }
  617. getBlackvipNumber(params).then(res => {
  618. if (res.code == 200) {
  619. this.list[1].name = "小黑屋" + '(' + res.data + ')'
  620. } else {
  621. uni.showToast({
  622. icon: 'none',
  623. title: res.msg
  624. })
  625. }
  626. })
  627. },
  628. getbalckList(type = "refresh") {
  629. //获取小黑屋用户列表
  630. const params = {
  631. companyId: this.user.companyId,
  632. companyUserId: this.user.userId,
  633. type: this.user.userType == '00' ? 0 : 1, // 0:经销商/1:群管
  634. }
  635. getBlackvipList(params).then(res => {
  636. if (res.code == 200) {
  637. if (type == 'refresh') {
  638. this.userList = res.data.list
  639. } else {
  640. this.userList = [...this.userList, ...res.data.list]
  641. }
  642. if (res.data.isLastPage) {
  643. this.status = 'nomore'
  644. } else {
  645. this.status = 'loadmore'
  646. }
  647. } else {
  648. uni.showToast({
  649. icon: 'none',
  650. title: res.msg
  651. })
  652. }
  653. })
  654. },
  655. closetagselect() {
  656. this.showTagSelect = !this.showTagSelect
  657. },
  658. suretagchangeAll() {
  659. if(this.sharetag==0){
  660. this.sharetaglist = this.changetag.filter(item => item.checked).map(v => v.tagId).join(',')
  661. this.showTagSelect = !this.showTagSelect
  662. this.zhanshitag = this.changetag.filter(item => item.checked).map(v => v.tag).join(',')
  663. console.log(this.sharetaglist)
  664. }else{
  665. //多选改标签确认按钮
  666. this.showTagSelect = !this.showTagSelect
  667. if (this.selectidAll.length == 0) {
  668. uni.showToast({
  669. icon: 'none',
  670. title: '未选中用户'
  671. })
  672. return
  673. }
  674. this.selectidtag = this.changetag.filter(item => item.checked).map(v => v.tagId).join(',')
  675. this.changeLabelmore()
  676. }
  677. },
  678. singleChangeLable(data) {
  679. this.showTagSelect = !this.showTagSelect
  680. this.selectidAll[0] = data
  681. },
  682. changesinglevip(data) {
  683. this.showcol = !this.showcol
  684. console.log(data)
  685. this.groupid[0] = data
  686. this.getgrouplist()
  687. },
  688. changeLabelmore() {
  689. //改标签选择按钮
  690. const params = {
  691. companyId: this.user.companyId,
  692. companyUserId: this.user.userId,
  693. creatTime: '',
  694. createBy: '',
  695. createTime: '',
  696. id: '',
  697. params: {},
  698. remark: '',
  699. searchValue: '',
  700. updateBy: '',
  701. tagIds: this.selectidtag,
  702. updateTime: '',
  703. userId: this.selectidAll
  704. }
  705. changeLable(params).then(res => {
  706. if (res.code == 200) {
  707. this.getfsuserListdata()
  708. const timer = setTimeout(function() {
  709. uni.showToast({
  710. icon: 'none',
  711. title: '标签更改成功'
  712. })
  713. }, 500);
  714. } else {
  715. uni.showToast({
  716. icon: 'none',
  717. title: res.msg
  718. })
  719. }
  720. })
  721. },
  722. changeOwnership() {
  723. //更换归属(经销商功能)
  724. },
  725. getcompanyTag() {
  726. getcompanyTaglist().then(res => {
  727. if (res.code == 200) {
  728. this.showCompanytag = res.data
  729. this.companytag = res.data.map(item => {
  730. return {
  731. ...item,
  732. checked: false,
  733. }
  734. })
  735. this.changetag = this.companytag
  736. } else {
  737. uni.showToast({
  738. icon: 'none',
  739. title: res.msg
  740. })
  741. }
  742. })
  743. },
  744. getfsuserListdata(type = "refresh") {
  745. const param = {
  746. companyId: this.user.companyId,
  747. companyUserId: this.user.userId,
  748. queryValue: this.currentType,
  749. regiesterStartTime: this.startTime,
  750. regiesterEndTime: this.endTime,
  751. searchValue: this.keyword,
  752. type: this.user.userType == '00' ? 0 : 1, // 0:经销商/1:群管
  753. watchCourseType: this.watchStatusIndex,
  754. tagIds: this.idx,
  755. ...this.pageOptions
  756. }
  757. getfsuserList(param).then(res => {
  758. if (res.code == 200) {
  759. let dataList = res.data.list.map(item => {
  760. return {
  761. ...item,
  762. checked: false,
  763. }
  764. })
  765. if (type == 'refresh') {
  766. this.userList = dataList
  767. } else {
  768. this.userList = [...this.userList, ...dataList]
  769. }
  770. if (res.data.isLastPage) {
  771. this.status = 'nomore'
  772. } else {
  773. this.status = 'loadmore'
  774. }
  775. this.list[0].name = "会员" + '(' + res.data.total + ')'
  776. // this.getvipListnum()
  777. } else {
  778. uni.showToast({
  779. icon: 'none',
  780. title: res.msg
  781. })
  782. }
  783. })
  784. },
  785. onChange(index) {
  786. if (index == 2) return
  787. this.searchbarNav = index
  788. },
  789. searchKeyword(value) {
  790. this.keyword = value
  791. this.getfsuserListdata()
  792. },
  793. singleChange(data) {
  794. this.selectidAll[0] = data
  795. this.changeProhibit()
  796. },
  797. changeProhibit() {
  798. //批量禁用选择按钮
  799. const params = {
  800. companyId: this.user.companyId,
  801. companyUserId: this.user.userId,
  802. creatTime: '',
  803. createBy: '',
  804. createTime: '',
  805. id: '',
  806. params: {},
  807. remark: '',
  808. searchValue: '',
  809. updateBy: '',
  810. updateTime: '',
  811. userId: this.selectidAll
  812. }
  813. Addblacklist(params).then(res => {
  814. if (res.code == 200) {
  815. this.getfsuserListdata()
  816. // 创建一个在**秒后执行的定时器
  817. const timer = setTimeout(function() {
  818. uni.showToast({
  819. icon: 'none',
  820. title: '禁用成功'
  821. })
  822. }, 500);
  823. this.getblacknum()
  824. } else {
  825. uni.showToast({
  826. icon: 'none',
  827. title: res.msg
  828. })
  829. }
  830. })
  831. },
  832. // 全选
  833. selectAll() {
  834. // 先设置全选
  835. this.isSelectAll = !this.isSelectAll
  836. // 然后设置列表 checked没得this不会报错吗 这是返回新数组
  837. console.log(this.isSelectAll)
  838. this.userList = this.userList.map(item => {
  839. // 每一项的 checked为 全选的状态
  840. return {
  841. ...item,
  842. checked: this.isSelectAll
  843. }
  844. })
  845. this.selectidAll = this.userList.filter(item => item.checked).map(item => item.userId)
  846. console.log(this.isSelectAll)
  847. },
  848. // 单选 /反选
  849. changeItem(i) {
  850. let arr = {
  851. ...this.userList[i],
  852. checked: !this.userList[i].checked
  853. }
  854. this.$set(this.userList, i, arr)
  855. this.selectidAll = this.userList.filter(item => item.checked).map(item => item.userId)
  856. console.log(this.selectidAll)
  857. this.isSelectAll = this.userList.every(item => item.checked)
  858. if (this.isSelectAll) {
  859. this.userList = this.userList.map(item => {
  860. return {
  861. ...item,
  862. checked: this.isSelectAll
  863. }
  864. })
  865. }
  866. this.selectidAll = this.userList.filter(item => item.checked).map(item => item.userId)
  867. },
  868. reset() {
  869. //重置时间选择等筛选
  870. const type = this.filterData[this.searchbarNav].type
  871. console.log(this.registerTimeIndex)
  872. if (type == 'registerTime') {
  873. this.registerTimeIndex = ''
  874. this.endTime = ''
  875. this.startTime = ''
  876. this.getfsuserListdata()
  877. // console.log(this.getfsuserListdata())
  878. } else if (type == 'watchStatus') {
  879. this.watchStatusIndex = 0
  880. this.getfsuserListdata()
  881. } else {
  882. }
  883. },
  884. confirm(e) {
  885. this.pageOptions.pageNum=1
  886. const type = this.filterData[this.searchbarNav].type
  887. const value = this.registerTimeIndex
  888. if (type == 'registerTime') {
  889. if (value == 0) {
  890. this.startTime = ''
  891. this.endTime = ''
  892. this.getfsuserListdata()
  893. } else if (value == 1) {
  894. this.startTime = this.todayday + ' 00:00:00'
  895. this.endTime = this.todayday + ' 23:59:59'
  896. this.getfsuserListdata()
  897. } else if (value == 2) {
  898. let yesterday = new Date();
  899. yesterday.setDate(yesterday.getDate() - 1);
  900. this.startTime = uni.$u.timeFormat(yesterday, 'yyyy-mm-dd') + ' 00:00:00'
  901. this.endTime = uni.$u.timeFormat(yesterday, 'yyyy-mm-dd') + ' 23:59:59'
  902. this.getfsuserListdata()
  903. } else if (value == 3) {
  904. let yesterday = new Date();
  905. yesterday.setDate(yesterday.getDate() - 6);
  906. this.startTime = uni.$u.timeFormat(yesterday, 'yyyy-mm-dd') + ' 00:00:00'
  907. this.endTime = this.todayday + ' 23:59:59'
  908. this.getfsuserListdata()
  909. } else {
  910. this.getfsuserListdata()
  911. }
  912. } else if (type == 'watchStatus') {
  913. // this.watchStatusIndex=value
  914. this.getfsuserListdata()
  915. console.log(this.watchStatusIndex)
  916. }
  917. // this.mescroll.resetUpScroll()
  918. },
  919. handleParamItem(type, index) {
  920. if (type == 'registerTime') {
  921. this.registerTimeIndex = index
  922. } else if (type == 'watchStatus') {
  923. this.watchStatusIndex = index
  924. console.log(index)
  925. } else {
  926. this.ispopshow = false
  927. }
  928. },
  929. sectionChange(index) {
  930. this.current = index;
  931. if (index == 0) {
  932. this.getfsuserListdata()
  933. // this.getvipListnum()
  934. } else {
  935. this.getbalckList()
  936. this.getblacknum()
  937. }
  938. },
  939. clickTypeTab(e) {
  940. this.currentType = e.index
  941. this.getfsuserListdata()
  942. },
  943. bindPickerChange(e) {
  944. console.log('picker发送选择改变,携带值为', e.detail.value)
  945. this.searchTypeIndex = e.detail.value
  946. },
  947. openPop(type) {
  948. this.popTitle = type == 'search' ? '搜索选择' : type == 'tag' ? '标签筛选' : ''
  949. this.typeIndex = this.queryParam.typeIndex
  950. this.showPop = true
  951. if (type == 'tag') {
  952. }
  953. },
  954. closePop() {
  955. this.showPop = false
  956. },
  957. resetPop(i) {
  958. this.idx = []
  959. this.companytag.forEach(tag => {
  960. tag.checked = false; // 将所有标签的show属性重置为true
  961. });
  962. },
  963. closeCalendar() {
  964. this.showCalendar = false
  965. },
  966. confirmCalendar(e) {
  967. // this.startTime = e[0]
  968. // this.endTime = e[e.length-1]
  969. this.showCalendar = false
  970. this.queryParam.startTime = e.range.after
  971. this.queryParam.endTime = e.range.before
  972. this.endTime = e.range.before + ' 23:59:59'
  973. this.startTime = e.range.after + ' 00:00:00'
  974. console.log(e)
  975. // this.getCount()
  976. },
  977. bindTypeChange(i) {
  978. this.typeIndex = i
  979. },
  980. confirmPop() {
  981. this.queryParam.typeIndex = this.typeIndex
  982. this.showPop = false
  983. this.showCompanytag = this.companytag.filter(item => item.checked)
  984. this.idx = this.showCompanytag.map(v => v.tagId)
  985. //filtter(过滤) 筛选所有checked==true的 然后map返回每一项的id
  986. if (this.idx.length == 0) {
  987. this.showCompanytag = this.companytag
  988. }
  989. this.getfsuserListdata()
  990. },
  991. chooseTag(i) {
  992. this.companytag[i].checked = !this.companytag[i].checked
  993. },
  994. choosechangeTag(i) {
  995. this.changetag[i].checked = !this.changetag[i].checked
  996. },
  997. vipInvite() {
  998. this.invitePop = true
  999. this.sharetaglist=null
  1000. },
  1001. copyLink() {
  1002. this.setTimeShow = true
  1003. },
  1004. confirmTime() {
  1005. this.setTimeShow = false
  1006. this.showShare = false
  1007. this.getshareLink()
  1008. },
  1009. getshareimg(){
  1010. //生成海报
  1011. uni.showLoading({
  1012. title: '正在生成中...'
  1013. })
  1014. const param={
  1015. code:'',
  1016. companyId:this.user.companyId,
  1017. companyUserId:this.user.userId
  1018. }
  1019. becomeVipuserImg(param).then(res=>{
  1020. if(res.code==200){
  1021. this.codeLink=res.data
  1022. this.getlink()
  1023. console.log(res)
  1024. }else{
  1025. uni.showToast({
  1026. title: res.msg,
  1027. icon: 'none',
  1028. duration: 2000
  1029. });
  1030. }
  1031. })
  1032. },
  1033. getlink(){
  1034. //生成链接
  1035. const param={
  1036. code:'',
  1037. companyId:this.user.companyId,
  1038. companyUserId:this.user.userId,
  1039. tagids:this.sharetaglist,
  1040. limitTime:this.time
  1041. }
  1042. becomeVipuser(param).then(res=>{
  1043. if(res.code==200){
  1044. this.copyLinks=res.data
  1045. console.log(this.copyLinks)
  1046. }else{
  1047. }
  1048. })
  1049. },
  1050. getshareLink(){
  1051. //生成链接
  1052. const param={
  1053. code:'',
  1054. companyId:this.user.companyId,
  1055. companyUserId:this.user.userId,
  1056. tagids:this.sharetaglist,
  1057. limitTime:this.time
  1058. }
  1059. becomeVipuser(param).then(res=>{
  1060. if(res.code==200){
  1061. this.copyLinks=res.data
  1062. console.log(this.copyLinks)
  1063. setTimeout(()=>{
  1064. uni.setClipboardData({
  1065. data: String(this.copyLinks),
  1066. success: () => {
  1067. uni.showToast({
  1068. title: '复制成功',
  1069. icon: 'none',
  1070. duration: 2000
  1071. });
  1072. setTimeout(()=>{
  1073. this.invitePop=false
  1074. },200)
  1075. },
  1076. })
  1077. },100)
  1078. }else{
  1079. uni.showToast({
  1080. icon: 'none',
  1081. title: res.msg
  1082. })
  1083. }
  1084. })
  1085. },
  1086. mescrollInit(mescroll) {
  1087. this.mescroll = mescroll;
  1088. },
  1089. /*下拉刷新的回调 */
  1090. downCallback(mescroll) {
  1091. mescroll.resetUpScroll()
  1092. },
  1093. upCallback(page) {
  1094. //联网加载数据
  1095. var that = this;
  1096. var data = {
  1097. courseId: this.courseId,
  1098. status: '',
  1099. pageNum: page.num,
  1100. pageSize: page.size
  1101. };
  1102. uni.showLoading({
  1103. title: "加载中..."
  1104. })
  1105. },
  1106. }
  1107. }
  1108. </script>
  1109. <style lang="scss" scoped>
  1110. .imgshe{
  1111. display: flex;
  1112. flex-direction: row-reverse
  1113. }
  1114. .point-box{
  1115. height: 100%;
  1116. width: 100%;
  1117. .xu-box{
  1118. border: #f5f5f5 4rpx dashed;
  1119. padding: 20rpx 20rpx;
  1120. }
  1121. }
  1122. .codeimg {
  1123. position: absolute;
  1124. z-index: 9999;
  1125. left: 40rpx;
  1126. top: 40rpx;
  1127. }
  1128. #codeurl {
  1129. position: relative;
  1130. }
  1131. .checked-bg {
  1132. border: 1px solid #1677ff !important;
  1133. color: #1677ff !important;
  1134. background-color: #e7f1fe !important;
  1135. }
  1136. .changetagbtn {
  1137. width: 45%;
  1138. height: 80rpx;
  1139. border-radius: 50rpx;
  1140. text-align: center;
  1141. line-height: 80rpx;
  1142. }
  1143. ::v-deep {
  1144. .foot-select {
  1145. width: 100%;
  1146. padding: 20rpx 20rpx;
  1147. z-index: 10000 !important;
  1148. position: fixed;
  1149. bottom: 0;
  1150. margin-left: -24rpx !important;
  1151. }
  1152. }
  1153. ::v-deep {
  1154. .model .u-fade-enter-active {
  1155. z-index: 10075 !important;
  1156. }
  1157. }
  1158. ::v-deep {
  1159. .uni-calendar__mask {
  1160. z-index: 11000 !important;
  1161. }
  1162. .uni-calendar__content {
  1163. z-index: 12000 !important;
  1164. }
  1165. }
  1166. .container {
  1167. font-family: PingFang SC, PingFang SC;
  1168. font-weight: 400;
  1169. font-size: 14px;
  1170. color: #222222;
  1171. height: 100%;
  1172. overflow: hidden;
  1173. }
  1174. .boxnav {
  1175. flex-wrap: wrap;
  1176. padding: 0 0 0 10px;
  1177. &-item {
  1178. width: 50%;
  1179. overflow: hidden;
  1180. }
  1181. &-item-info {
  1182. border: 1px solid #f5f5f5;
  1183. text-align: center;
  1184. color: #222;
  1185. background-color: #f5f5f5;
  1186. border-radius: 3px;
  1187. padding: 5px;
  1188. margin: 0 10px 10px 0;
  1189. }
  1190. &-active {
  1191. border: 1px solid #1677ff !important;
  1192. color: #1677ff !important;
  1193. background-color: #e7f1fe !important;
  1194. }
  1195. }
  1196. .calendar-day {
  1197. font-family: PingFang SC, PingFang SC;
  1198. font-weight: 400;
  1199. font-size: 12px;
  1200. color: #999;
  1201. flex: 1;
  1202. min-height: 30px;
  1203. background-color: #f5f5f5;
  1204. border-radius: 4px;
  1205. margin: 0 10px 10px 0;
  1206. }
  1207. .setTimebox {
  1208. font-family: PingFang SC, PingFang SC;
  1209. font-weight: 400;
  1210. font-size: 14px;
  1211. width: fit-content;
  1212. height: fit-content;
  1213. }
  1214. .timetip {
  1215. font-family: PingFang SC, PingFang SC;
  1216. font-weight: 400;
  1217. font-size: 14px;
  1218. color: #2979ff;
  1219. text-align: center;
  1220. margin-bottom: 5px;
  1221. }
  1222. .popbox {
  1223. background-color: #fff;
  1224. border-radius: 12px;
  1225. font-family: PingFang SC, PingFang SC;
  1226. font-weight: 400;
  1227. font-size: 14px;
  1228. color: #333;
  1229. &-head {
  1230. padding: 15px;
  1231. font-weight: bold;
  1232. font-size: 15px;
  1233. text-align: center;
  1234. position: relative;
  1235. }
  1236. .close-circle {
  1237. position: absolute;
  1238. right: 10px;
  1239. top: 50%;
  1240. transform: translateY(-50%);
  1241. }
  1242. &-body {
  1243. padding: 10px 15px;
  1244. }
  1245. .radiobox {
  1246. &-item {
  1247. padding: 10px 0;
  1248. border-bottom: 1px solid #f5f5f5;
  1249. &:last-child {
  1250. border-bottom: none;
  1251. }
  1252. }
  1253. }
  1254. &-footer {
  1255. padding: 15px 0;
  1256. }
  1257. &-footer-btn {
  1258. flex: 1;
  1259. height: 44px;
  1260. line-height: 44px;
  1261. margin: 0 10px;
  1262. border-radius: 50px;
  1263. border: none;
  1264. font-family: PingFang SC, PingFang SC;
  1265. font-weight: 400;
  1266. font-size: 14px;
  1267. color: #333;
  1268. &::after {
  1269. border: none;
  1270. }
  1271. }
  1272. .con-btn {
  1273. background-color: #1677ff;
  1274. color: #fff;
  1275. }
  1276. .choosetitle {
  1277. font-family: PingFang SC, PingFang SC;
  1278. font-weight: 400;
  1279. font-size: 15px;
  1280. color: #333;
  1281. }
  1282. .invitetip {
  1283. margin-top: 10px;
  1284. background-color: #ebf5fb;
  1285. color: #1677ff;
  1286. padding: 5px 10px;
  1287. border-radius: 5px;
  1288. }
  1289. .sharePop-item {
  1290. padding: 0 10px;
  1291. box-sizing: border-box;
  1292. font-family: PingFang SC, PingFang SC;
  1293. font-weight: 400;
  1294. font-size: 14px;
  1295. display: inline-flex !important;
  1296. image {
  1297. height: 48px;
  1298. width: 48px;
  1299. margin-bottom: 10px;
  1300. }
  1301. }
  1302. }
  1303. .headbox {
  1304. background-color: #fff;
  1305. .subsection {
  1306. height: 45px;
  1307. padding: 4px;
  1308. }
  1309. .participate-order {
  1310. font-size: 12px;
  1311. image {
  1312. width: 15px;
  1313. height: 15px;
  1314. }
  1315. }
  1316. }
  1317. .tag-active {
  1318. background-color: #ffeceb !important;
  1319. color: #f93e3e !important;
  1320. border: 1px solid #f93e3e !important;
  1321. }
  1322. .tagbox {
  1323. padding: 10px 0;
  1324. font-size: 12px;
  1325. color: #1677ff;
  1326. &-list {
  1327. margin: 0 0 -6px 6px;
  1328. flex-wrap: wrap;
  1329. }
  1330. &-item {
  1331. height: 26px;
  1332. padding: 0 8px;
  1333. margin: 0 6px 6px 0;
  1334. border-radius: 4px;
  1335. background-color: #f5f5f5;
  1336. color: #999;
  1337. border: 1px solid #f5f5f5;
  1338. box-sizing: border-box;
  1339. font-size: 12px;
  1340. }
  1341. }
  1342. .invite-member {
  1343. height: 55px;
  1344. width: 50px;
  1345. position: fixed;
  1346. bottom: 80px;
  1347. right: 10px;
  1348. cursor: pointer;
  1349. }
  1350. .userlist {
  1351. padding: 24rpx;
  1352. }
  1353. </style>