index.vue 38 KB

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