memberIndex.vue 55 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975
  1. <template>
  2. <view class="containers column hb flex-1 hidden">
  3. <view class="headbox">
  4. <view style="padding: 10px 10px 0 10px;" class="mb20">
  5. <view>
  6. <u-subsection class="subsection" :list="list" :current="current" bgColor="#e7f1fe" activeColor="#1677ff" :fontSize="15" :bold="false" @change="sectionChange"></u-subsection>
  7. </view>
  8. <!-- <view style="width: 70%;">
  9. <u-subsection class="subsection" :list="list" :current="current" bgColor="#e7f1fe" activeColor="#1677ff"
  10. :fontSize="15" :bold="false" @change="sectionChange" ></u-subsection>
  11. </view> -->
  12. <view style="margin-top: 10px;" class="justify-between align-center" v-if="!viewload">
  13. <u-search placeholder="搜索微信名称、手机、标签" v-model="keyword" :showAction="false" height="30px" @search='searchKeyword'></u-search>
  14. <view v-if="current!==0" class="fs24 ml20" @click="blackSel()">{{!isShowSelectAll?'批量管理':'取消批量'}}</view>
  15. </view>
  16. <view class="x-bc" v-if="current==0">
  17. <u-tabs :list="list2" :current='currentType' :lineWidth="40" lineColor="#1677ff" :activeStyle="activeStyle" :inactiveStyle="inactiveStyle" @click="clickTypeTab"></u-tabs>
  18. <view class="participate-order x-f">
  19. <image :src="imgPath+'/app/images/order_icon2.png'" mode="aspectFill" v-if="searchTypeIndex == 0 || searchTypeIndex == 2"></image>
  20. <image :src="imgPath+'/app/images/order_icon.png'" mode="aspectFill" v-else></image>
  21. <picker @change="bindPickerChange" :value="searchTypeIndex" :range="typeArray">
  22. {{typeoption[searchTypeIndex]}}
  23. </picker>
  24. </view>
  25. </view>
  26. <view class="tagbox x-bc" v-if="current==0">
  27. <view class="tagbox-left x-f">
  28. <!-- <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> -->
  29. <view v-if="showCompanytag.length<=0" style="color: #888;" class="ml30">请点击筛选,选择标签</view>
  30. <view class="tagbox-list x-f">
  31. <view class="tagbox-item x-f" v-for="(item,index) in showCompanytag" :key='item.tagId' :class="item.checked?'checked-bg':''">
  32. {{item.tagName}}
  33. </view>
  34. </view>
  35. </view>
  36. <view class="tagbox-right x-f" @click="openPop('tag')">筛选<u-icon name="arrow-down" color="#1677ff" size="12"></u-icon></view>
  37. </view>
  38. </view>
  39. <view v-if="current==0&&!viewload">
  40. <dropdownPanel :filterData='filterData' @onClick="getactNav" :itemname='itemname' @onChange="onChange" @confirm="confirm" @reset="reset" :ispopshow='ispopshow' :top="tops">
  41. <view v-if="filterData[searchbarNav].type == 'userStatus'">
  42. <view class="boxnav x-bc">
  43. <view class="boxnav-item" v-for="(item,index) in filterData[searchbarNav].option" :key="index">
  44. <view class="boxnav-item-info one-t"
  45. :class="userStatusIndex == index ? 'boxnav-active':''" @click="handleParamItem('userStatus',index,item.id)">{{item.label}}</view>
  46. </view>
  47. </view>
  48. </view>
  49. <view v-if="filterData[searchbarNav].type == 'registerTime'">
  50. <view class="boxnav x-bc ">
  51. <view class="boxnav-item" style="width: 25%;" v-for="(item,index) in filterData[searchbarNav].option" :key="index">
  52. <view class="boxnav-item-info one-t" :class="registerTimeIndex == index ? 'boxnav-active':''" @click="handleParamItem('registerTime',index)">{{item.label}}</view>
  53. </view>
  54. <view class="boxnav-item x-ac" style="width: 100%;" v-show="registerTimeIndex == 4">
  55. <view class="calendar-day x-c" @click="$refs.calendar.open()">
  56. <u-icon name="calendar" color="#999" size="20"></u-icon>{{queryParam.startTime || '选择日期'}}
  57. </view>
  58. <view class="calendar-day x-c" @click="$refs.calendar.open()">
  59. <u-icon name="calendar" color="#999" size="20"></u-icon>{{queryParam.endTime || '选择日期'}}
  60. </view>
  61. </view>
  62. </view>
  63. </view>
  64. <view v-if="filterData[searchbarNav].type == 'watchStatus'">
  65. <view class="boxnav x-bc">
  66. <view class="boxnav-item" v-for="(item,index) in filterData[searchbarNav].option" :key="index">
  67. <view class="boxnav-item-info one-t" :class="watchStatusIndex == index ? 'boxnav-active':''" @click="handleParamItem('watchStatus',index)">{{item.label}}</view>
  68. </view>
  69. </view>
  70. </view>
  71. <view v-if="filterData[searchbarNav].type == 'courseStatus'">
  72. <view class="boxnav x-bc">
  73. <view class="boxnav-item" v-for="(item,index) in filterData[searchbarNav].option" :key="index">
  74. <view class="boxnav-item-info one-t" :class="courseStatusIndex == index ? 'boxnav-active':''" @click="handleParamItem('courseStatus',index)">{{item.label}}</view>
  75. </view>
  76. </view>
  77. </view>
  78. <view v-if="filterData[searchbarNav].type == 'project'">
  79. <view class="boxnav x-bc">
  80. <view class="boxnav-item" v-for="(item,index) in filterData[searchbarNav].option" :key="index">
  81. <view class="boxnav-item-info one-t" :class="projectStatusIndex == index ? 'boxnav-active':''" @click="handleParamItem('project',index,item.id)">{{item.label}}</view>
  82. </view>
  83. </view>
  84. </view>
  85. </dropdownPanel>
  86. </view>
  87. </view>
  88. <view class="">
  89. <uni-calendar ref="calendar" :clear-date="true" :date="date" :insert="false" :lunar="false"
  90. :startDate="$u.timeFormat(new Date().getTime() - (3600 * 24 * 365 * 1000), 'yyyy-mm-dd')" :range='true'
  91. @confirm="confirmCalendar" :endDate="$u.timeFormat(new Date().getTime(), 'yyyy-mm-dd')" />
  92. </view>
  93. <view class="">
  94. <!-- 搜索选择弹窗/标签筛选 -->
  95. <u-popup :show="showPop" :round="12" @close="closePop" class="model" :zIndex="10076" style="flex: 0;">
  96. <view class="popbox">
  97. <view class="popbox-head">
  98. <u-icon class="close-circle" name="close-circle" color="#ccc" size="24"
  99. @click="closePop"></u-icon>
  100. {{popTitle}}
  101. </view>
  102. <view class="popbox-body">
  103. <view class="radiobox" v-show="popTitle == '搜索选择'">
  104. <label class="radiobox-item x-bc mbline" v-for="(item, index) in array" :key="item.value"
  105. @click="bindTypeChange(index)">
  106. <view>{{item.name}}</view>
  107. <radio :value="item.value" :checked="index === typeIndex"
  108. style="transform:scale(0.75)" />
  109. </label>
  110. </view>
  111. <!-- <input placeholder="请输入标签 多个标签用 , 隔开" /> -->
  112. <view class="mb20" v-if="current==0">
  113. <u-search placeholder="请输入标签 多个标签用 , 隔开" v-model="tagkeywords" :showAction="false" height="30px" @search='getcompanyTag'></u-search>
  114. </view>
  115. <scroll-view scroll-y="true" class="hb" :refresher-enabled="isEnableds" :refresher-triggered="triggereds" refresher-background="rgba(0,0,0,0)" @refresherrefresh="pullDownRefreshs" @refresherrestore="triggereds = false"
  116. :upper-threshold="100" :lower-threshold="100" @refresherabort="triggereds = false"
  117. @scrolltolower="reachBottoms">
  118. <view class="tagbox-list x-f">
  119. <view class="tagbox-item x-f tag-active" v-if="companytag.length<=0">暂无标签</view>
  120. <view class="mlr10 mb10" v-for="(item,index) in companytag" :key='item.tagId'>
  121. <u-tag :text="item.tagName" :plain="!item.checked" :name="index" @click="chooseTag(index)"></u-tag>
  122. </view>
  123. </view>
  124. <view class="center fs24 mt20">
  125. <text class="mr20" @click="getTagpage('last')">上一页</text>
  126. <text class="base-color-red">{{pagetag.pageNum}}/{{pagetag.pages}}</text>
  127. <text class="ml20" @click="getTagpage('next')">下一页</text>
  128. </view>
  129. </scroll-view>
  130. </view>
  131. <view class="popbox-footer x-bc">
  132. <button class="popbox-footer-btn" @click="resetPop" v-show="popTitle == '标签筛选'">重置</button>
  133. <button class="popbox-footer-btn" @click="closePop" v-show="popTitle == '搜索选择'">取消</button>
  134. <button class="popbox-footer-btn con-btn" @click="confirmPop">确定</button>
  135. </view>
  136. </view>
  137. </u-popup>
  138. </view>
  139. <view class="userbox column hb hidden flex-1">
  140. <!-- <mescroll-body bottom="0" ref="mescrollRef" @init="mescrollInit" :down="downOption" :up="upOption" @down="downCallback" @up="upCallback"> -->
  141. <view class="userlist column hb hidden flex-1">
  142. <vipUserItem :viplist='userList' :isShowSelectAll="isShowSelectAll" @changeItem="changeItem" @getuserId='singleChange' @getlableId='singleChangeLable' @change='changesinglevip' @getuserIds='singleDelete' @pullDownRefresh="getfsuserListdata('refresh')"
  143. @changelistname="getfsuserListdata('more')" @reachBottom="getfsuserListdata()" @changePageOptions="e=>pageOptions=e" :pageOptions="pageOptions" :status="status"
  144. @changeStatus="e=>status=e" class="pb2 hb" />
  145. <view class="justify-between base-bg-f foot-select pb40" v-if="isShowSelectAll">
  146. <view class="align-center justify-between" v-if="isShowSelectAll">
  147. <u-checkbox-group @change="selectAll">
  148. <u-checkbox :checked="isSelectAll" shape="circle" activeColor="#FF6C47" :name="true" label="全选" labelColor="#333" /><text class="fs24 base-color-9 ml12">已选 {{selectedCount}}
  149. 个</text>
  150. </u-checkbox-group>
  151. </view>
  152. <view class="justify-center ">
  153. <button class="base-bg-red radius100 colorf h62 fs28 lh62 mlr10" @click="changeProhibit" v-if="current==0">禁用</button>
  154. <button class="base-bg-red radius100 colorf h62 fs28 lh62 mlr10" @click="changeblack" v-else>取消禁用</button>
  155. <button class="base-bg-blue radius100 colorf h62 fs28 lh62" @click="changetagall" v-if="current==0">改标签</button>
  156. <!-- <button class="base-bg-f radius100 base-color-red h62 ml10 fs28 lh60"
  157. style="border: #ef4c50 solid 2rpx;"
  158. @click="changevipuser" v-if="current==0">更换归属</button> -->
  159. </view>
  160. </view>
  161. </view>
  162. <!-- </mescroll-body> -->
  163. </view>
  164. <!-- <u-picker :show="showTagSelect" :columns="companytag" keyName="tag" @cancel='showTagSelect=false'
  165. @confirm='singleChangeLable' ></u-picker> -->
  166. <view>
  167. <u-popup :show="projectbox" :round="12" @close="projectbox = false" :zIndex="10074" style="flex: 0;">
  168. <view class="pb120">
  169. <view class="center bold fs32 mt30">选择项目</view>
  170. <view class="p20 justify-start mb60" style="flex-wrap: wrap">
  171. <view class="plr16 ptb8 u-border mlr10 radius8 " :class="projectId==item.dictValue?'probgsel':'probg'"
  172. v-for="(item,index) in projectList" :key="index" @click="selproject(item)">
  173. {{item.dictLabel}}
  174. </view>
  175. </view>
  176. <view class="quedingpro" @click="submitPro">确定</view>
  177. </view>
  178. </u-popup>
  179. <u-popup :show="showTagSelect" @close='closetagselect' :closeOnClickOverlay='true' mode="bottom"
  180. style="z-index: 999;">
  181. <view class=" w100 bgf pb120" style="width: 100%;">
  182. <view class="plr28 ptb16 justify-between" style="flex-direction: row-reverse">
  183. <u-icon class="" name="close-circle" color="#ccc" size="24" @click="closetagselect"></u-icon>
  184. </view>
  185. <view class="mb20">
  186. <u-search placeholder="请输入标签 多个标签用 , 隔开" v-model="tagchangekeywords" :showAction="false"
  187. height="30px" @search='getcompanyTags'></u-search>
  188. </view>
  189. <scroll-view scroll-y="true" class="hb" :refresher-enabled="isEnableds"
  190. :refresher-triggered="triggeredsA" refresher-background="rgba(0,0,0,0)"
  191. @refresherrefresh="pullDownRefreshsA" @refresherrestore="triggeredsA = false"
  192. :upper-threshold="100" :lower-threshold="100" @refresherabort="triggeredsA = false">
  193. <view class="justify-start p32 wrap">
  194. <view class="mlr10 mt10 " v-for="(item,index) in changetag" :key='item.tagId'>
  195. <u-tag :text="item.tag" :plain="!item.checked" :name="index"
  196. @click="choosechangeTag"></u-tag>
  197. </view>
  198. </view>
  199. <view class="center fs24 mt20">
  200. <text class="mr20" @click="getTagpageS('last')">上一页</text>
  201. <text class="base-color-red">{{pagetagA.pageNum}}/{{pagetagA.pages}}</text>
  202. <text class="ml20" @click="getTagpageS('next')">下一页</text>
  203. </view>
  204. </scroll-view>
  205. <view class="justify-between p32 " :class="isShowSelectAll?'pb120':''">
  206. <view class="changetagbtn base-bg-f8" @click="showTagSelect=!showTagSelect">取消</view>
  207. <view class="changetagbtn colorf base-bg-blue" @click="suretagchangeAll">确定</view>
  208. </view>
  209. </view>
  210. </u-popup>
  211. </view>
  212. <view class="invite-member" :style="{right:vipInviteshow?'-72rpx':'20rpx'}">
  213. <image :src="imgPath+'/app/images/invite-member-icon.png'" mode="aspectFill" @click="vipInvite"
  214. style="position: relative;" class="intimg"> </image>
  215. <image :src="imgPath+'/app/image/tc_close_icon.png'" class="falseimg" @click="showinimg"></image>
  216. </view>
  217. <view class="">
  218. <!-- 邀请弹窗 -->
  219. <u-popup :show="invitePop" :round="12" @close="invitePop = false" :zIndex="10074" style="flex: 0;">
  220. <view class="popbox">
  221. <view class="popbox-head">
  222. <u-icon class="close-circle" name="close-circle" color="#ccc" size="24"
  223. @click="invitePop = false"></u-icon>
  224. 分享方式
  225. </view>
  226. <view class="popbox-body">
  227. <view class="choosetitle x-bc">
  228. <view>选择标签</view>
  229. <view v-if="sharetaglist" style="color:#1677ff" @click="addtag(0)">{{zhanshitag}}</view>
  230. <view class="x-f" style="color:#1677ff;" v-else @click="addtag(0)">
  231. <u-icon name="plus" color="#1677ff" size="14" style="margin-right: 5px;"></u-icon>添加标签
  232. </view>
  233. </view>
  234. <view class="invitetip">选择标签,当会员注册成功后,即可自动打标签</view>
  235. <!-- <view class="tagbox-list x-f" style="margin-top: 10px;margin-left: 0px;">
  236. <view class="tagbox-item x-f" @click="chooseTag">未打标签</view>
  237. <view class="tagbox-item x-f tag-active">未打标签</view>
  238. </view> -->
  239. <!--#ifdef MP-WEIXIN-->
  240. <view class="justify-center" style="margin-top: 10px;">
  241. <!--#endif-->
  242. <!--#ifdef H5-->
  243. <view class="justify-center" style="margin-top: 10px;">
  244. <!--#endif-->
  245. <!-- <view class="x-bc " style="margin-top: 30px;"> -->
  246. <!--#ifdef MP-WEIXIN-->
  247. <view class="sharePop-item y-f " style="text-align: center;">
  248. <!--#endif-->
  249. <!--#ifdef H5-->
  250. <view class="sharePop-item y-f card-share" @click="shareimg"
  251. style="text-align: center;">
  252. <!--#endif-->
  253. <image :src="imgPath+'/app/images/card_icon.png'" mode="aspectFill"
  254. style="width: 80rpx; height: 80rpx;margin-top: 20rpx;">
  255. </image>
  256. <view style="font-weight: bold;margin-bottom: 4px;"
  257. v-if="imgname=='医建宝'">生成卡片</view>
  258. <view style="font-size: 12px;color: #888;"
  259. v-if="imgname=='医建宝'">指导分享轻松转发</view>
  260. <!-- #ifdef MP-WEIXIN -->
  261. <button open-type="share" class="share" v-if="imgname=='医建宝'">分享卡片</button>
  262. <!-- #endif -->
  263. <!-- <view class='u-border radius100 plr20 ptb10' @click="copyPageLink"
  264. v-if="imgname!=='医建宝'">复制页面地址</view> -->
  265. <!-- <view class='u-border radius100 plr20 ptb10' @click="copyPageLink"
  266. >复制页面地址</view> -->
  267. </view>
  268. <!--#ifdef H5-->
  269. <view class="sharePop-item y-f " @click="buildimg" style="text-align: center;">
  270. <image :src="imgPath+'/app/images/poster_icon.png'" mode="aspectFill"></image>
  271. <view style="font-weight: bold;margin-bottom: 4px;">生成海报</view>
  272. <view style="font-size: 12px;color: #888;">保存海报美观宣传</view>
  273. </view>
  274. <view class="sharePop-item y-f " @click="copyLink" style="text-align: center;">
  275. <image :src="imgPath+'/app/images/link_icon.png'" mode="aspectFill"></image>
  276. <view style="font-weight: bold;margin-bottom: 4px;">复制链接</view>
  277. <view style="font-size: 12px;color: #888; ">生成链接一键复制</view>
  278. </view>
  279. <!--#endif-->
  280. </view>
  281. </view>
  282. </view>
  283. </u-popup>
  284. <!-- 设置链接有效时长弹窗 -->
  285. <u-modal :show="setTimeShow" content='content' class="model" @confirm="confirmTime">
  286. <view class="setTimebox">
  287. <view class="timetip">不传默认以系统参数为准</view>
  288. <view class="x-f">
  289. <text style="margin-right: 20px;">链接有效时长(分钟)</text>
  290. <u-input fontSize="14px" placeholder="链接有效时长" border="none" v-model="time"
  291. maxlength="5"></u-input>
  292. </view>
  293. </view>
  294. </u-modal>
  295. <!-- 长按保存海报 -->
  296. <u-popup :show="setImg" @close="closeimg" :round="12">
  297. <view class="w100 h500 center">
  298. <image :src="codeLink.url" mode="aspectFill"></image>
  299. </view>
  300. <view class="justify-around mb40">
  301. <view class="column justify-center align-center" @click="downimg">
  302. <image :src="imgPath+'/app/image/downicon.png'" class="w80 h80"></image>
  303. <view class="mt10">长按图片保存</view>
  304. </view>
  305. </view>
  306. </u-popup>
  307. <!-- 卡片分享引导 -->
  308. <u-overlay :show="showzhidao" @click="showzhidao = false" style="z-index: 9999;">
  309. <view class="point-box">
  310. <view class="imgshe">
  311. <image :src="imgPath+'/app/image/point.png'" class="w300 h300"></image>
  312. </view>
  313. <view class="column colorf fs32 xu-box fs40
  314. align-center justify-center">
  315. <view class="justify-center">点击右上角
  316. <image :src="imgPath+'/app/image/wxmore.png'" class="w50 h50 mlr10"></image>
  317. </view>
  318. <view class="mt20">选择 “转发给朋友”</view>
  319. <view style="color: #cbcbcb;" class="fs28 mt40">点击任意位置关闭弹窗</view>
  320. </view>
  321. </view>
  322. </u-overlay>
  323. <!-- 更改归属 -->
  324. <u-picker :show="showcol" :columns="columns" @cancel='showcol=!showcol' @confirm='receiveA'
  325. keyName="nickName"></u-picker>
  326. <u-loading-page :loading="viewload" iconSize="32" loadingColor="#3c9cff" fontSize="20"
  327. :loading-text="loadingtext"></u-loading-page>
  328. </view>
  329. </view>
  330. </template>
  331. <script>
  332. import {
  333. getfsuserList,
  334. getcompanyTaglist,
  335. Addblacklist,
  336. changeLable,
  337. getvipNum,
  338. changevipUser,
  339. getgroupList,
  340. becomeVipuser,
  341. becomeVipuserImg,
  342. getusersales,
  343. removebalcklist,
  344. getallTags,
  345. getprojectlist,
  346. copyuniLink,
  347. getlinkCode
  348. } from "@/api/manageCompany.js";
  349. import vipUserItem from "../components/vipUserItem.vue"
  350. import dropdownPanel from "../components/dropdownPanel.vue"
  351. // import wx from 'weixin-js-sdk'
  352. export default {
  353. components: {
  354. vipUserItem,
  355. dropdownPanel,
  356. },
  357. data() {
  358. return {
  359. viewload: true,
  360. loadingtext: "数据加载中...",
  361. showcol: false,
  362. setImg: false,
  363. columns: [],
  364. showTagSelect: false,
  365. list: [{
  366. name: '会员(0)',
  367. }, {
  368. name: '小黑屋(0)'
  369. },
  370. {
  371. name: '黑名单(0)'
  372. }
  373. ],
  374. userList: [],
  375. current: 0,
  376. keyword: "",
  377. companytag: [],
  378. showCompanytag: [],
  379. selectedList: [], //已经选中标签列表
  380. list2: [{
  381. name: '全部',
  382. }, {
  383. name: '今日新增',
  384. }, {
  385. name: '今日完播'
  386. }, {
  387. name: '未看过课'
  388. }],
  389. currentType: 0,
  390. activeStyle: {
  391. color: '#1677ff',
  392. fontSize: '14px',
  393. fontWeight: 'bold'
  394. },
  395. inactiveStyle: {
  396. fontSize: '14px'
  397. },
  398. searchTypeIndex: 0,
  399. typeArrays: ['连续缺课天数多到少', '连续缺课天数少到多', '按注册时间晚到早', '会员姓名0-9-A-Z'],
  400. typeArray: ['按注册时间晚到早', '会员姓名0-9-A-Z'],
  401. typeoption: ['注册时间', '会员姓名'],
  402. array: [{
  403. value: '0',
  404. name: '关联搜索',
  405. },
  406. {
  407. value: '1',
  408. name: '精准搜索'
  409. }
  410. ],
  411. typeIndex: 0,
  412. popTitle: '搜索选择',
  413. showPop: false,
  414. filterData: [{
  415. name: '销售',
  416. value: 0,
  417. type: 'userStatus',
  418. option: [{
  419. label: '全部',
  420. id: ''
  421. }, ]
  422. },
  423. {
  424. name: '注册',
  425. value: 1,
  426. type: 'registerTime',
  427. option: [{
  428. label: '全部',
  429. }, {
  430. label: '今天',
  431. }, {
  432. label: '昨天',
  433. }, {
  434. label: '近7天',
  435. }, {
  436. label: '自定义',
  437. }]
  438. }, {
  439. name: '看课',
  440. value: 2,
  441. type: 'watchStatus',
  442. option: [{
  443. label: '全部',
  444. }, {
  445. label: '未看过课',
  446. }, {
  447. label: '正常看课',
  448. }, {
  449. label: '停止看课',
  450. }]
  451. },
  452. {
  453. name: '缺课',
  454. value: 3,
  455. type: 'courseStatus',
  456. option: [{
  457. label: '全部',
  458. }, {
  459. label: '已缺课',
  460. }, {
  461. label: '未缺课',
  462. }]
  463. },
  464. {
  465. name: '项目',
  466. value: 4,
  467. type: 'project',
  468. option: [{
  469. label: '全部',
  470. id: ''
  471. }]
  472. },
  473. {
  474. name: '批量',
  475. value: 5,
  476. type: 'piliang',
  477. special: true,
  478. stopPrevent: true
  479. }
  480. ],
  481. searchbarNav: 0,
  482. userStatusIndex: 0,
  483. registerTimeIndex: 0,
  484. watchStatusIndex: 0,
  485. courseStatusIndex: 0,
  486. projectStatusIndex: 0,
  487. selprojectId: '',
  488. showCalendar: false,
  489. date: '',
  490. mode: 'range',
  491. queryParam: {
  492. typeIndex: 0,
  493. startTime: '',
  494. endTime: ''
  495. },
  496. mescroll: null,
  497. downOption: {
  498. use: true,
  499. auto: false
  500. },
  501. upOption: {
  502. onScroll: false,
  503. use: true, // 是否启用上拉加载; 默认true
  504. auto: true,
  505. page: {
  506. pae: 0, // 当前页码,默认0,回调之前会加1,即callback(page)会从1开始
  507. size: 10 // 每页数据的数量,默认10
  508. },
  509. noMoreSize: 10, // 配置列表的总数量要大于等于5条才显示'-- END --'的提示
  510. textNoMore: "已经到底了",
  511. empty: {
  512. icon: 'https://cos.his.cdwjyyh.com/fs/20240423/cf4a86b913a04341bb44e34bb4d37aa2.png',
  513. tip: '暂无数据'
  514. }
  515. },
  516. dataList: [],
  517. invitePop: false,
  518. setTimeShow: false,
  519. time: "",
  520. user: {},
  521. idx: [],
  522. todayday: uni.$u.timeFormat(new Date(), 'yyyy-mm-dd'),
  523. startTime: '',
  524. endTime: '',
  525. isShowSelectAll: false, //是否显示全选
  526. isSelectAll: false, //是否全选
  527. ispopshow: false,
  528. selectidAll: [],
  529. changetag: [],
  530. selectidtag: '',
  531. itemname: '',
  532. userid: '',
  533. groupid: [],
  534. pageOptions: {
  535. pageNum: 1,
  536. pageSize: 8,
  537. },
  538. status: 'loadmore',
  539. sharetag: 1,
  540. sharetaglist: [],
  541. codeLink: [],
  542. zhanshitag: '',
  543. copyLinks: '',
  544. showzhidao: false,
  545. imgs: this.$store.state.imgpath + '/app/image/logoshare.png',
  546. currentIsBlack: 1,
  547. tagpageNum: 1,
  548. tagpageSize: 16,
  549. triggereds: false,
  550. statusA: 'loadmore',
  551. isEnableds: true,
  552. pagetag: [],
  553. tagkeywords: '',
  554. salesid: '',
  555. tagchangekeywords: '',
  556. tagpageNums: 1,
  557. tagpageSizes: 16,
  558. triggeredsA: false,
  559. statusAs: 'loadmore',
  560. isEnabledsA: true,
  561. pagetagA: [],
  562. tops: '464rpx',
  563. showInvite: false,
  564. vipInviteshow: false,
  565. projectbox:false,
  566. projectList:{},
  567. projectId:'',
  568. projectCode:''
  569. }
  570. },
  571. // onLoad() {
  572. // // #ifdef MP-WEIXIN
  573. // uni.showShareMenu({
  574. // withShareTicket: true,
  575. // menus: ['shareAppMessage']
  576. // });
  577. // // #endif
  578. // },
  579. mounted() {
  580. this.getsalelist()
  581. this.user = uni.getStorageSync("companyUserInfo") ? JSON.parse(uni.getStorageSync("companyUserInfo")) : {},
  582. this.getvipListnum()
  583. this.userList = []
  584. this.getfsuserListdata()
  585. this.getprojectlistsA()
  586. },
  587. onShow() {
  588. // #ifdef H5
  589. this.getjssdklist()
  590. // #endif
  591. },
  592. // 这个是分享聊天
  593. // onShareAppMessage() {
  594. // return {
  595. // title:this.$store.state.logoname+'小程序的'+this.user.userName + '邀请您成为会员!',
  596. // path: '/pages/user/users/becomeVIP?companyId=' +
  597. // this.user.companyId + '&companyUserId=' + this.user.userId + '&tagids=' + this.sharetaglist,
  598. // imageUrl: this.imgs,
  599. // }
  600. // },
  601. computed: {
  602. selectedCount() {
  603. return this.userList.filter(item => item.checked).length;
  604. },
  605. imgPath() {
  606. return this.$store.state.imgpath
  607. },
  608. imgname() {
  609. return this.$store.state.logoname
  610. },
  611. },
  612. methods: {
  613. getlinkCodes(){
  614. getlinkCode().then(res=>{
  615. if(res.code){
  616. this.projectCode=res.code
  617. console.log(this.projectCode)
  618. setTimeout(()=>{
  619. this.setlnk()
  620. },100)
  621. }
  622. })
  623. },
  624. setlnk(){
  625. let params={
  626. companyId: this.user.companyId,
  627. companyUserId: this.user.userId,
  628. tagids: this.sharetaglist,
  629. projectCode: this.projectCode,
  630. projectId: this.projectId,
  631. }
  632. const pages = '/pages_course/becomeVIP?becomeVip='+JSON.stringify(params)
  633. console.log(pages)
  634. const data={
  635. // appid:'wx503cf8ab31f83dd4',
  636. appid:this.appid,//医健宝
  637. linkStr:pages
  638. }
  639. copyuniLink(data).then(res=>{
  640. if(res.code==200){
  641. uni.hideLoading();
  642. setTimeout(() => {
  643. uni.setClipboardData({
  644. data:res.data,
  645. success: () => {
  646. uni.showToast({
  647. title: '链接已复制',
  648. icon: 'none',
  649. duration: 2000
  650. });
  651. },
  652. fail: () => {
  653. uni.showToast({
  654. title: '复制失败',
  655. icon: 'none'
  656. });
  657. }
  658. });
  659. }, 200)
  660. }else{
  661. uni.hideLoading();
  662. uni.showToast({
  663. title: res.msg,
  664. icon: 'none'
  665. });
  666. }
  667. })
  668. },
  669. copyPageLink(){
  670. uni.showLoading({
  671. title: "处理中..."
  672. });
  673. this.getlinkCodes()
  674. },
  675. submitPro() {
  676. if (this.projectId == '') {
  677. uni.showToast({
  678. title: '请选择项目',
  679. icon: 'none',
  680. duration: 1000
  681. });
  682. return
  683. }
  684. this.projectbox = false
  685. this.invitePop = true
  686. const pages = '/pages_course/becomeVIP?companyId=' +this.user.companyId
  687. +"&projectId=" +this.projectId+ '&companyUserId=' + this.user.userId + '&tagids=' + this.sharetaglist
  688. this.$emit('childEvent', pages);
  689. },
  690. selproject(item) {
  691. this.projectId = item.dictValue
  692. },
  693. getprojectlistsA() {
  694. const oldlist = this.filterData[4].option
  695. const data = {
  696. key: 'sys_course_project'
  697. }
  698. getprojectlist(data).then(res => {
  699. if (res.code == 200) {
  700. const list = res.data
  701. this.filterData[4].option = oldlist.concat(list.map(item => {
  702. return {
  703. id: item.dictValue,
  704. label: item.dictLabel
  705. };
  706. }));
  707. console.log('1212121212', this.filterData[4].option)
  708. } else {
  709. uni.showToast({
  710. title: res.msg,
  711. icon: 'none',
  712. });
  713. }
  714. })
  715. },
  716. getprojectlists() {
  717. const data = {
  718. key: 'sys_course_project'
  719. }
  720. getprojectlist(data).then(res => {
  721. // this.projectList=res.data
  722. this.projectList = res.data.map(item => {
  723. return {
  724. ...item,
  725. checked: false,
  726. }
  727. })
  728. console.log(this.projectList)
  729. })
  730. },
  731. sharecard() {
  732. console.log(11)
  733. },
  734. changetagall() {
  735. this.showTagSelect = !this.showTagSelect
  736. this.tagchangekeywords = ''
  737. this.selectidtag = ''
  738. this.showInvite = false
  739. this.sharetag = 1
  740. this.getalltagtaglist()
  741. },
  742. getTagpageS(type) {
  743. if (type == 'last') {
  744. if (this.tagpageNums >= 2) {
  745. this.tagpageNums--
  746. this.getalltagtaglist()
  747. } else {
  748. uni.showToast({
  749. title: '已经是第一页',
  750. icon: 'none',
  751. duration: 1000
  752. });
  753. }
  754. } else {
  755. if (this.tagpageNums < this.pagetagA.pages) {
  756. this.tagpageNums++
  757. this.getalltagtaglist()
  758. } else {
  759. uni.showToast({
  760. title: '已经是最后一页',
  761. icon: 'none',
  762. duration: 1000
  763. });
  764. }
  765. }
  766. },
  767. getcompanyTags(value) {
  768. this.tagchangekeywords = value
  769. this.getalltagtaglist()
  770. },
  771. singleDelete(data) {
  772. this.pageOptions.pageNum = 1
  773. this.$emit('update:parentValue', '新值');
  774. this.userList = []
  775. this.selectidAll[0] = data
  776. this.changeblack()
  777. },
  778. changeblack() {
  779. // console.log(this.selectidAll[0])
  780. //取消禁用
  781. if (this.selectidAll.length < 1) {
  782. uni.showToast({
  783. icon: 'none',
  784. title: '所选列表为空'
  785. })
  786. return
  787. }
  788. removebalcklist(this.selectidAll).then(res => {
  789. if (res.code == 200) {
  790. this.pageOptions.pageNum = 1
  791. // console.log(this.pageOptions.pageNum)
  792. this.getfsuserListdata('refresh')
  793. // 创建一个在**秒后执行的定时器
  794. const timer = setTimeout(function() {
  795. uni.showToast({
  796. icon: 'none',
  797. title: '取消禁用成功'
  798. })
  799. }, 200);
  800. this.getvipListnum()
  801. this.isShowSelectAll = false
  802. this.isSelectAll = false
  803. } else {
  804. uni.showToast({
  805. icon: 'none',
  806. title: res.msg
  807. })
  808. }
  809. })
  810. },
  811. blackSel() {
  812. this.isShowSelectAll = !this.isShowSelectAll
  813. // if (data.value == 4) {
  814. // this.itemname = data.name
  815. // this.isShowSelectAll = !this.isShowSelectAll
  816. // } else {
  817. // this.isShowSelectAll = false
  818. // }
  819. },
  820. getsalelist() {
  821. const oldlist = this.filterData[0].option
  822. getusersales().then(res => {
  823. if (res.code == 200) {
  824. const list = res.data
  825. this.filterData[0].option = oldlist.concat(list.map(item => {
  826. return {
  827. id: item.userId,
  828. label: item.nickName
  829. };
  830. }));
  831. // this.filterData[0].option=list.map(item => {
  832. // return {
  833. // id: item.userId,
  834. // label: item.nickName
  835. // };
  836. // })
  837. } else {
  838. uni.showToast({
  839. title: res.msg,
  840. icon: 'none',
  841. });
  842. }
  843. })
  844. },
  845. getTagpage(type) {
  846. if (type == 'last') {
  847. if (this.tagpageNum >= 2) {
  848. this.tagpageNum--
  849. this.getcompanyTag()
  850. } else {
  851. uni.showToast({
  852. title: '已经是第一页',
  853. icon: 'none',
  854. duration: 1000
  855. });
  856. }
  857. } else {
  858. if (this.tagpageNum < this.pagetag.pages) {
  859. this.tagpageNum++
  860. this.getcompanyTag()
  861. } else {
  862. uni.showToast({
  863. title: '已经是最后一页',
  864. icon: 'none',
  865. duration: 1000
  866. });
  867. }
  868. }
  869. },
  870. //标签展示下拉
  871. pullDownRefreshs() {
  872. // 下拉
  873. this.triggereds = true; //下拉了状态为true
  874. setTimeout(() => {
  875. this.triggereds = false;
  876. uni.stopPullDownRefresh()
  877. this.tagpageNum = 1;
  878. this.getcompanyTag('refresh') //触底 不穿执行else
  879. // 请求接口里面需要判断是不是最后一页 是最后一页 status赋值为‘loadmore’没有更多了
  880. // 请求接口
  881. }, 1000)
  882. },
  883. getjssdklist() {
  884. const param = {
  885. url: window.location.href
  886. }
  887. getSDK(param).then(res => {
  888. wx.config({
  889. appId: res.data.appId, // 必填,公众号的唯一标识
  890. timestamp: res.data.timestamp, // 必填,生成签名的时间戳
  891. nonceStr: res.data.nonceStr, // 必填,生成签名的随机串
  892. signature: res.data.signature, // 必填,签名
  893. jsApiList: ["updateAppMessageShareData"] // 必填,需要使用的JS接口列表
  894. });
  895. })
  896. },
  897. shareimg() {
  898. //分享好友
  899. this.getlink()
  900. let self = this
  901. // 配置--你到时候把配置全局 --就是这些东西 调接口拿
  902. wx.ready(function() { //需在用户可能点击分享按钮前就先调用
  903. wx.updateAppMessageShareData({
  904. title: self.user.userName + "邀请您成为会员", // 分享标题
  905. desc: self.user.deptName, // 分享描述
  906. link: self.copyLinks,
  907. imgUrl: self.codeLink.url || self.imgs, // 分享图标
  908. success: function(res) {
  909. self.showzhidao = true
  910. self.setImg = false
  911. self.showShare = false
  912. // 设置成功
  913. uni.showToast({
  914. title: '卡片已生成',
  915. icon: 'none',
  916. duration: 1000
  917. });
  918. },
  919. fail: function(err) {
  920. console.log(err);
  921. uni.showToast({
  922. title: '卡片生成失败,请重试',
  923. icon: 'none',
  924. duration: 2000
  925. })
  926. }
  927. })
  928. });
  929. },
  930. downimg() {},
  931. closeimg() {
  932. this.setImg = false
  933. this.invitePop = false
  934. },
  935. buildimg() {
  936. this.setImg = !this.setImg
  937. this.getshareimg()
  938. },
  939. addtag(add) {
  940. this.sharetag = add
  941. this.showTagSelect = !this.showTagSelect
  942. this.invitePop = !this.invitePop
  943. this.showInvite = true
  944. this.getalltagtaglist()
  945. },
  946. changevipuser() {
  947. this.showcol = !this.showcol
  948. this.getgrouplist()
  949. },
  950. getgrouplist() {
  951. //获取群管列表
  952. getgroupList().then(res => {
  953. if (res.code == 200) {
  954. this.columns = [res.data]
  955. // console.log(this.columns)
  956. } else {
  957. uni.showToast({
  958. icon: 'none',
  959. title: res.msg
  960. })
  961. }
  962. })
  963. },
  964. changeall() {
  965. //更换全部会员
  966. console.log(1)
  967. const param = {
  968. companyId: this.user.companyId,
  969. companyUserId: this.userid,
  970. userId: this.groupid
  971. }
  972. changevipUser(param).then(res => {
  973. if (res.code == 200) {
  974. uni.showToast({
  975. icon: 'none',
  976. title: '更换会员归属成功'
  977. })
  978. } else {
  979. uni.showToast({
  980. icon: 'none',
  981. title: res.msg
  982. })
  983. }
  984. })
  985. },
  986. receiveA(e) {
  987. console.log(e)
  988. this.userid = e.value[0].userId
  989. if (this.isShowSelectAll == true) {
  990. this.groupid = this.selectidAll
  991. this.changeall()
  992. this.showcol = !this.showcol
  993. setTimeout(() => {
  994. this.getfsuserListdata()
  995. }, 200)
  996. } else {
  997. this.changeall()
  998. this.showcol = !this.showcol
  999. this.getfsuserListdata()
  1000. }
  1001. this.isSelectAll = false
  1002. },
  1003. getvipListnum() {
  1004. getvipNum().then(res => {
  1005. if (res.code == 200) {
  1006. this.list[0].name = "会员" + '(' + res.data.number + ')'
  1007. this.list[1].name = "小黑屋" + '(' + res.data.smallBlackNum + ')'
  1008. this.list[2].name = "黑名单" + '(' + res.data.blackNum + ')'
  1009. } else {
  1010. uni.showToast({
  1011. icon: 'none',
  1012. title: res.msg
  1013. })
  1014. }
  1015. })
  1016. },
  1017. getactNav(data) {
  1018. if (data.value == 5) {
  1019. this.itemname = data.name
  1020. this.isShowSelectAll = !this.isShowSelectAll
  1021. } else {
  1022. this.isShowSelectAll = false
  1023. }
  1024. },
  1025. closetagselect() {
  1026. this.showTagSelect = !this.showTagSelect
  1027. },
  1028. suretagchangeAll() {
  1029. if (this.sharetag == 0) {
  1030. this.sharetaglist = this.changetag.filter(item => item.checked).map(v => v.tagId).join(',')
  1031. this.showTagSelect = !this.showTagSelect
  1032. this.zhanshitag = this.changetag.filter(item => item.checked).map(v => v.tag).join(',')
  1033. // console.log(this.sharetaglist)
  1034. const pages = '/pages_course/becomeVIP?companyId=' +this.user.companyId
  1035. +"&projectId=" +this.projectId+ '&companyUserId=' + this.user.userId + '&tagids=' + this.sharetaglist
  1036. this.$emit('childEvent', pages);
  1037. console.log(pages)
  1038. } else {
  1039. //多选改标签确认按钮
  1040. this.showTagSelect = !this.showTagSelect
  1041. if (this.selectidAll.length == 0) {
  1042. uni.showToast({
  1043. icon: 'none',
  1044. title: '未选中用户'
  1045. })
  1046. return
  1047. }
  1048. this.selectidtag = this.changetag.filter(item => item.checked).map(v => v.tagId)
  1049. this.changeLabelmore()
  1050. }
  1051. if (this.showInvite) {
  1052. this.invitePop = true
  1053. }
  1054. },
  1055. singleChangeLable(data) {
  1056. this.showTagSelect = !this.showTagSelect
  1057. this.selectidAll[0] = data
  1058. this.tagchangekeywords = ''
  1059. this.selectidtag = []
  1060. this.sharetag = 1
  1061. this.showInvite = false
  1062. this.getalltagtaglist()
  1063. },
  1064. getalltagtaglist(type) {
  1065. //获取公司标签列表
  1066. const data = {
  1067. pageNum: this.tagpageNums,
  1068. pageSize: this.tagpageSizes,
  1069. keyword: this.tagchangekeywords
  1070. }
  1071. getallTags(data).then(res => {
  1072. if (res.code == 200) {
  1073. const dataList = res.data.list.map(item => {
  1074. return {
  1075. ...item,
  1076. checked: false,
  1077. }
  1078. })
  1079. if (type == 'refresh') {
  1080. this.changetag = dataList
  1081. } else {
  1082. this.changetag = dataList
  1083. }
  1084. if (res.data.isLastPage) {
  1085. this.statusAs = 'nomore'
  1086. } else {
  1087. this.statusAs = 'loadmore'
  1088. }
  1089. this.pagetagA = res.data
  1090. } else {
  1091. uni.showToast({
  1092. icon: 'none',
  1093. title: res.msg
  1094. })
  1095. }
  1096. })
  1097. },
  1098. changesinglevip(data) {
  1099. this.showcol = !this.showcol
  1100. // console.log(data)
  1101. this.groupid[0] = data
  1102. this.getgrouplist()
  1103. },
  1104. changeLabelmore() {
  1105. //改标签选择按钮
  1106. const params = {
  1107. tagIds: this.selectidtag,
  1108. userCompanyUserIds: this.selectidAll
  1109. }
  1110. changeLable(params).then(res => {
  1111. if (res.code == 200) {
  1112. this.userList = []
  1113. this.getfsuserListdata('refresh')
  1114. const timer = setTimeout(function() {
  1115. uni.showToast({
  1116. icon: 'none',
  1117. title: '标签更改成功'
  1118. })
  1119. }, 500);
  1120. this.isSelectAll = false
  1121. this.selectedCount = 0
  1122. } else {
  1123. uni.showToast({
  1124. icon: 'none',
  1125. title: res.msg
  1126. })
  1127. }
  1128. })
  1129. },
  1130. changeOwnership() {
  1131. //更换归属(经销商功能)
  1132. },
  1133. getcompanyTag(type) {
  1134. this.companytag = []
  1135. this.tagkeywords = this.tagkeywords.replace(/,/g, ',')
  1136. const data = {
  1137. pageNum: this.tagpageNum,
  1138. pageSize: this.tagpageSize,
  1139. keyword: this.tagkeywords
  1140. }
  1141. getcompanyTaglist(data).then(res => {
  1142. if (res.code == 200) {
  1143. // this.showCompanytag = res.data.list
  1144. const dataList = res.data.list.map(item => {
  1145. return {
  1146. ...item,
  1147. checked: false,
  1148. }
  1149. })
  1150. if (type == 'refresh') {
  1151. this.companytag = dataList
  1152. } else {
  1153. this.companytag = [...this.companytag, ...dataList]
  1154. }
  1155. if (res.data.isLastPage) {
  1156. this.statusA = 'nomore'
  1157. } else {
  1158. this.statusA = 'loadmore'
  1159. }
  1160. this.pagetag = res.data
  1161. } else {
  1162. uni.showToast({
  1163. icon: 'none',
  1164. title: res.msg
  1165. })
  1166. }
  1167. })
  1168. },
  1169. getfsuserListdata(type) {
  1170. // this.userList=[]
  1171. const param = {
  1172. userId: this.user.userId,
  1173. tabValue: this.currentType,
  1174. registerStartTime: this.startTime, //注册开始
  1175. registerEndTime: this.endTime, //注册结束
  1176. watchCourseType: this.watchStatusIndex,
  1177. missCourseStatus: this.courseStatusIndex,
  1178. projectId: this.selprojectId,
  1179. keyword: this.keyword,
  1180. tagIds: this.idx,
  1181. status: this.currentIsBlack,
  1182. companyUserId: this.salesid,
  1183. continueMissCourseSort: this.searchTypeIndex,
  1184. ...this.pageOptions
  1185. }
  1186. getfsuserList(param).then(res => {
  1187. if (res.code == 200) {
  1188. this.viewload = false
  1189. let dataList = res.data.list.map(item => {
  1190. return {
  1191. ...item,
  1192. checked: false,
  1193. }
  1194. })
  1195. if (type == 'refresh') {
  1196. this.userList = dataList
  1197. } else if (type == 'more') {
  1198. this.userList = dataList
  1199. } else {
  1200. this.userList = [...this.userList, ...dataList]
  1201. }
  1202. if (res.data.isLastPage) {
  1203. this.status = 'nomore'
  1204. } else {
  1205. this.status = 'loadmore'
  1206. }
  1207. } else {
  1208. uni.showToast({
  1209. icon: 'none',
  1210. title: res.msg
  1211. })
  1212. }
  1213. })
  1214. },
  1215. onChange(index) {
  1216. if (index == 5) return
  1217. this.searchbarNav = index
  1218. },
  1219. searchKeyword(value) {
  1220. this.keyword = value
  1221. this.userList = []
  1222. this.pageOptions.pageNum = 1
  1223. this.getfsuserListdata()
  1224. },
  1225. singleChange(data) {
  1226. this.userList = []
  1227. this.selectidAll[0] = data
  1228. this.changeProhibit()
  1229. },
  1230. changeProhibit() {
  1231. //批量禁用选择按钮
  1232. if (this.selectidAll.length < 1) {
  1233. uni.showToast({
  1234. icon: 'none',
  1235. title: '所选列表为空'
  1236. })
  1237. return
  1238. }
  1239. Addblacklist(this.selectidAll).then(res => {
  1240. if (res.code == 200) {
  1241. this.pageOptions.pageNum = 1
  1242. this.getfsuserListdata('refresh')
  1243. // 创建一个在**秒后执行的定时器
  1244. const timer = setTimeout(function() {
  1245. uni.showToast({
  1246. icon: 'none',
  1247. title: '禁用成功'
  1248. })
  1249. }, 200);
  1250. this.getvipListnum()
  1251. // this.isShowSelectAll = false
  1252. this.isSelectAll = false
  1253. } else {
  1254. uni.showToast({
  1255. icon: 'none',
  1256. title: res.msg
  1257. })
  1258. }
  1259. })
  1260. },
  1261. // 全选
  1262. selectAll() {
  1263. // 先设置全选
  1264. this.isSelectAll = !this.isSelectAll
  1265. // 然后设置列表 checked没得this不会报错吗 这是返回新数组
  1266. console.log(this.isSelectAll)
  1267. this.userList = this.userList.map(item => {
  1268. // 每一项的 checked为 全选的状态
  1269. return {
  1270. ...item,
  1271. checked: this.isSelectAll
  1272. }
  1273. })
  1274. this.selectidAll = this.userList.filter(item => item.checked).map(item => item.userCompanyUserId)
  1275. console.log(this.isSelectAll)
  1276. },
  1277. // 单选 /反选
  1278. changeItem(i) {
  1279. let arr = {
  1280. ...this.userList[i],
  1281. checked: !this.userList[i].checked
  1282. }
  1283. this.$set(this.userList, i, arr)
  1284. this.selectidAll = this.userList.filter(item => item.checked).map(item => item.userCompanyUserId)
  1285. console.log(this.selectidAll)
  1286. this.isSelectAll = this.userList.every(item => item.checked)
  1287. if (this.isSelectAll) {
  1288. this.userList = this.userList.map(item => {
  1289. return {
  1290. ...item,
  1291. checked: this.isSelectAll
  1292. }
  1293. })
  1294. }
  1295. this.selectidAll = this.userList.filter(item => item.checked).map(item => item.userCompanyUserId)
  1296. },
  1297. reset() {
  1298. //重置时间选择等筛选
  1299. const type = this.filterData[this.searchbarNav].type
  1300. console.log(this.registerTimeIndex)
  1301. if (type == 'registerTime') {
  1302. this.registerTimeIndex = ''
  1303. this.endTime = ''
  1304. this.startTime = ''
  1305. this.getfsuserListdata('refresh')
  1306. // console.log(this.getfsuserListdata())
  1307. } else if (type == 'watchStatus') {
  1308. this.watchStatusIndex = 0
  1309. this.getfsuserListdata('refresh')
  1310. } else if (type == 'userStatus') {
  1311. this.userStatusIndex = 0
  1312. this.salesid = ''
  1313. this.getfsuserListdata('refresh')
  1314. } else if (type == 'courseStatus') {
  1315. this.courseStatusIndex = 0
  1316. this.getfsuserListdata('refresh')
  1317. } else if (type == 'project') {
  1318. this.selprojectId = ''
  1319. this.projectStatusIndex = 0
  1320. this.getfsuserListdata("refresh")
  1321. } else {
  1322. }
  1323. },
  1324. confirm(e) {
  1325. this.pageOptions.pageNum = 1
  1326. this.userList = []
  1327. const type = this.filterData[this.searchbarNav].type
  1328. const value = this.registerTimeIndex
  1329. if (type == 'registerTime') {
  1330. if (value == 0) {
  1331. this.startTime = ''
  1332. this.endTime = ''
  1333. this.getfsuserListdata('refresh')
  1334. } else if (value == 1) {
  1335. this.startTime = this.todayday + ' 00:00:00'
  1336. this.endTime = this.todayday + ' 23:59:59'
  1337. this.getfsuserListdata('refresh')
  1338. } else if (value == 2) {
  1339. let yesterday = new Date();
  1340. yesterday.setDate(yesterday.getDate() - 1);
  1341. this.startTime = uni.$u.timeFormat(yesterday, 'yyyy-mm-dd') + ' 00:00:00'
  1342. this.endTime = uni.$u.timeFormat(yesterday, 'yyyy-mm-dd') + ' 23:59:59'
  1343. this.getfsuserListdata('refresh')
  1344. } else if (value == 3) {
  1345. let yesterday = new Date();
  1346. yesterday.setDate(yesterday.getDate() - 6);
  1347. this.startTime = uni.$u.timeFormat(yesterday, 'yyyy-mm-dd') + ' 00:00:00'
  1348. this.endTime = this.todayday + ' 23:59:59'
  1349. this.getfsuserListdata('refresh')
  1350. } else {
  1351. this.getfsuserListdata('refresh')
  1352. }
  1353. } else if (type == 'watchStatus') {
  1354. // this.watchStatusIndex=value
  1355. this.getfsuserListdata()
  1356. // console.log(this.filterData)
  1357. } else if (type == 'userStatus') {
  1358. if (this.userStatusIndex == 0) {
  1359. this.salesid = ''
  1360. this.getfsuserListdata('refresh')
  1361. } else {
  1362. this.getfsuserListdata('refresh')
  1363. }
  1364. // console.log(this.userStatusIndex)
  1365. } else if (type == 'courseStatus') {
  1366. this.getfsuserListdata('refresh')
  1367. console.log(this.courseStatusIndex)
  1368. } else if (type == 'project') {
  1369. if (this.projectStatusIndex == 0) {
  1370. this.selprojectId = ''
  1371. this.getfsuserListdata('refresh')
  1372. } else {
  1373. this.getfsuserListdata('refresh')
  1374. }
  1375. console.log(this.projectStatusIndex)
  1376. }
  1377. // this.mescroll.resetUpScroll()
  1378. },
  1379. handleParamItem(type, index, id) {
  1380. if (type == 'registerTime') {
  1381. this.registerTimeIndex = index
  1382. } else if (type == 'watchStatus') {
  1383. this.watchStatusIndex = index
  1384. // console.log('watchStatus',index)
  1385. } else if (type == 'userStatus') {
  1386. this.userStatusIndex = index
  1387. this.salesid = id
  1388. console.log(this.salesid)
  1389. } else if (type == 'courseStatus') {
  1390. this.courseStatusIndex = index
  1391. } else if (type == 'project') {
  1392. this.selprojectId = id
  1393. this.projectStatusIndex = index
  1394. } else {
  1395. this.ispopshow = false
  1396. }
  1397. },
  1398. sectionChange(index) {
  1399. this.current = index;
  1400. this.currentType = 0
  1401. this.startTime = '' //注册开始
  1402. this.endTime = '' //注册结束
  1403. this.watchStatusIndex = 0
  1404. this.salesid = ''
  1405. this.courseStatusIndex = 0
  1406. this.selprojectId = ''
  1407. this.keyword = ''
  1408. this.idx = []
  1409. this.pageOptions.pageNum = 1
  1410. this.isShowSelectAll = false
  1411. this.userList = []
  1412. if (index == 0) {
  1413. // 0小黑屋 1正常 2拉黑
  1414. this.currentIsBlack = 1
  1415. this.getfsuserListdata("refresh")
  1416. } else if (index == 1) {
  1417. this.currentIsBlack = 0
  1418. this.getfsuserListdata("refresh")
  1419. } else {
  1420. this.currentIsBlack = 2
  1421. this.getfsuserListdata("refresh")
  1422. }
  1423. this.isSelectAll=false
  1424. this.getvipListnum()
  1425. },
  1426. clickTypeTab(e) {
  1427. this.currentType = e.index
  1428. this.userList = []
  1429. // 在这里更新
  1430. this.pageOptions.pageNum = 1
  1431. this.getfsuserListdata()
  1432. },
  1433. bindPickerChange(e) {
  1434. console.log('picker发送选择改变,携带值为', e.detail.value)
  1435. this.userList = []
  1436. this.searchTypeIndex = e.detail.value
  1437. this.getfsuserListdata()
  1438. },
  1439. openPop(type) {
  1440. this.popTitle = type == 'search' ? '搜索选择' : type == 'tag' ? '标签筛选' : ''
  1441. this.typeIndex = this.queryParam.typeIndex
  1442. this.showPop = true
  1443. if (type == 'tag') {
  1444. this.getcompanyTag()
  1445. }
  1446. },
  1447. closePop() {
  1448. this.showPop = false
  1449. },
  1450. resetPop(i) {
  1451. this.idx = []
  1452. this.tagkeywords = ''
  1453. this.tagpageNum = 1
  1454. this.showCompanytag = []
  1455. this.companytag.forEach(tag => {
  1456. tag.checked = false; // 将所有标签的show属性重置为true
  1457. });
  1458. this.showPop = false
  1459. this.$nextTick(() => {
  1460. this.getcompanyTag()
  1461. this.getfsuserListdata()
  1462. })
  1463. },
  1464. closeCalendar() {
  1465. this.showCalendar = false
  1466. },
  1467. confirmCalendar(e) {
  1468. // this.startTime = e[0]
  1469. // this.endTime = e[e.length-1]
  1470. this.showCalendar = false
  1471. this.queryParam.startTime = e.range.after
  1472. this.queryParam.endTime = e.range.before
  1473. this.endTime = e.range.before + ' 23:59:59'
  1474. this.startTime = e.range.after + ' 00:00:00'
  1475. console.log(e)
  1476. // this.getCount()
  1477. },
  1478. bindTypeChange(i) {
  1479. this.typeIndex = i
  1480. },
  1481. confirmPop() {
  1482. this.queryParam.typeIndex = this.typeIndex
  1483. this.showPop = false
  1484. this.showCompanytag = this.companytag.filter(item => item.checked)
  1485. this.idx = this.showCompanytag.map(v => v.tagId)
  1486. //filtter(过滤) 筛选所有checked==true的 然后map返回每一项的id
  1487. if (this.idx.length == 0) {
  1488. this.showCompanytag = this.companytag
  1489. }
  1490. this.$nextTick(() => {
  1491. this.getfsuserListdata("refresh")
  1492. })
  1493. },
  1494. chooseTag(i) {
  1495. this.companytag[i].checked = !this.companytag[i].checked
  1496. },
  1497. choosechangeTag(i) {
  1498. this.changetag[i].checked = !this.changetag[i].checked
  1499. },
  1500. vipInvite() {
  1501. if (!this.vipInviteshow) {
  1502. // this.invitePop = true
  1503. // this.getlink('preload')
  1504. // this.getjssdklist()
  1505. this.getprojectlists()
  1506. // this.invitePop = true
  1507. this.projectId=''
  1508. this.projectbox=true
  1509. this.sharetaglist = null
  1510. } else {
  1511. this.vipInviteshow = false
  1512. }
  1513. },
  1514. showinimg() {
  1515. this.vipInviteshow = true
  1516. },
  1517. copyLink() {
  1518. this.setTimeShow = true
  1519. },
  1520. confirmTime() {
  1521. this.setTimeShow = false
  1522. this.showShare = false
  1523. console.log(this.showInvite)
  1524. this.getshareLink()
  1525. },
  1526. getshareimg() {
  1527. //生成海报
  1528. this.getlink()
  1529. this.codeLink = ''
  1530. uni.showLoading({
  1531. title: '正在生成中...'
  1532. })
  1533. const url = window.location.href.split('#')[0]
  1534. const param = {
  1535. companyId: this.user.companyId,
  1536. companyUserId: this.user.userId,
  1537. realLink: url + '#/pages/user/users/becomeVIP' + '?companyId=' +
  1538. this.user.companyId + '&companyUserId=' + this.user.userId + '&tagids=' + this.sharetaglist,
  1539. tagIds: this.sharetaglist,
  1540. }
  1541. becomeVipuserImg(param).then(res => {
  1542. if (res.code == 200) {
  1543. this.codeLink = res.posterImage
  1544. console.log(res)
  1545. } else {
  1546. uni.showToast({
  1547. title: res.msg,
  1548. icon: 'none',
  1549. duration: 2000
  1550. });
  1551. }
  1552. })
  1553. },
  1554. getlink(type) {
  1555. //生成链接
  1556. const param = {
  1557. companyId: this.user.companyId,
  1558. companyUserId: this.user.userId,
  1559. tagids: this.sharetaglist,
  1560. limitTime: this.time
  1561. }
  1562. const url = window.location.href.split('#')[0]
  1563. // console.log(url)
  1564. this.copyLinks = url + '#/pages/user/users/becomeVIP' + '?companyId=' +
  1565. this.user.companyId + '&companyUserId=' + this.user.userId + '&tagids=' + this.sharetaglist
  1566. },
  1567. getshareLink() {
  1568. //生成链接
  1569. this.copyLinks = []
  1570. const param = {
  1571. code: '',
  1572. companyId: this.user.companyId,
  1573. companyUserId: this.user.userId,
  1574. tagids: this.sharetaglist,
  1575. limitTime: this.time
  1576. }
  1577. const url = window.location.href.split('#')[0]
  1578. console.log(url)
  1579. this.copyLinks = url + '#/pages/user/users/becomeVIP' + '?companyId=' +
  1580. this.user.companyId + '&companyUserId=' + this.user.userId + '&tagids=' + this.sharetaglist
  1581. console.log(this.copyLinks)
  1582. setTimeout(() => {
  1583. uni.setClipboardData({
  1584. data: String(this.copyLinks),
  1585. success: () => {
  1586. uni.showToast({
  1587. title: '复制成功',
  1588. icon: 'none',
  1589. duration: 2000
  1590. });
  1591. setTimeout(() => {
  1592. this.invitePop = false
  1593. }, 200)
  1594. },
  1595. })
  1596. }, 100)
  1597. },
  1598. mescrollInit(mescroll) {
  1599. this.mescroll = mescroll;
  1600. },
  1601. /*下拉刷新的回调 */
  1602. downCallback(mescroll) {
  1603. mescroll.resetUpScroll()
  1604. },
  1605. upCallback(page) {
  1606. //联网加载数据
  1607. var that = this;
  1608. var data = {
  1609. courseId: this.courseId,
  1610. status: '',
  1611. pageNum: page.num,
  1612. pageSize: page.size
  1613. };
  1614. uni.showLoading({
  1615. title: "加载中..."
  1616. })
  1617. },
  1618. }
  1619. }
  1620. </script>
  1621. <style lang="scss" scoped>
  1622. .probg{
  1623. color: #666;
  1624. }
  1625. .probgsel{
  1626. background-color: #1677ff;
  1627. color: #fff;
  1628. border: none;
  1629. }
  1630. .quedingpro{
  1631. background-color: #1677ff;
  1632. color: #fff;
  1633. border-radius: 80rpx;
  1634. height: 80rpx;
  1635. line-height: 80rpx;
  1636. width: 60%;
  1637. margin: 0 auto;
  1638. margin-top: 40rpx;
  1639. text-align: center;
  1640. }
  1641. .card-share {
  1642. position: relative;
  1643. }
  1644. .share {
  1645. display: inline-block;
  1646. position: absolute;
  1647. bottom: 0;
  1648. left: 0;
  1649. width: 100%;
  1650. height: 55%;
  1651. opacity: 0;
  1652. }
  1653. .imgshe {
  1654. display: flex;
  1655. flex-direction: row-reverse
  1656. }
  1657. .point-box {
  1658. height: 100%;
  1659. width: 100%;
  1660. .xu-box {
  1661. border: #f5f5f5 4rpx dashed;
  1662. padding: 20rpx 20rpx;
  1663. }
  1664. }
  1665. .codeimg {
  1666. position: absolute;
  1667. z-index: 9999;
  1668. left: 40rpx;
  1669. top: 40rpx;
  1670. }
  1671. #codeurl {
  1672. position: relative;
  1673. }
  1674. .checked-bg {
  1675. border: 1px solid #1677ff !important;
  1676. color: #1677ff !important;
  1677. background-color: #e7f1fe !important;
  1678. }
  1679. .changetagbtn {
  1680. width: 45%;
  1681. height: 80rpx;
  1682. border-radius: 50rpx;
  1683. text-align: center;
  1684. line-height: 80rpx;
  1685. }
  1686. ::v-deep {
  1687. .foot-select {
  1688. width:calc(100% - 40rpx) ;
  1689. padding: 20rpx 20rpx;
  1690. padding-bottom: 60rpx;
  1691. z-index: 10000 !important;
  1692. position: fixed;
  1693. bottom: 0;
  1694. margin-left: -24rpx !important;
  1695. }
  1696. }
  1697. ::v-deep {
  1698. .model .u-fade-enter-active {
  1699. z-index: 10075 !important;
  1700. }
  1701. }
  1702. ::v-deep {
  1703. .uni-calendar__mask {
  1704. z-index: 11000 !important;
  1705. }
  1706. .uni-calendar__content {
  1707. z-index: 12000 !important;
  1708. }
  1709. }
  1710. .containers {
  1711. font-family: PingFang SC, PingFang SC;
  1712. font-weight: 400;
  1713. font-size: 14px;
  1714. color: #222222;
  1715. height: 100%;
  1716. overflow: hidden;
  1717. }
  1718. .boxnav {
  1719. flex-wrap: wrap;
  1720. padding: 0 0 0 10px;
  1721. &-item {
  1722. width: 50%;
  1723. overflow: hidden;
  1724. }
  1725. &-item-info {
  1726. border: 1px solid #f5f5f5;
  1727. text-align: center;
  1728. color: #222;
  1729. background-color: #f5f5f5;
  1730. border-radius: 3px;
  1731. padding: 5px;
  1732. margin: 0 10px 10px 0;
  1733. }
  1734. &-active {
  1735. border: 1px solid #1677ff !important;
  1736. color: #1677ff !important;
  1737. background-color: #e7f1fe !important;
  1738. }
  1739. }
  1740. .calendar-day {
  1741. font-family: PingFang SC, PingFang SC;
  1742. font-weight: 400;
  1743. font-size: 12px;
  1744. color: #999;
  1745. flex: 1;
  1746. min-height: 30px;
  1747. background-color: #f5f5f5;
  1748. border-radius: 4px;
  1749. margin: 0 10px 10px 0;
  1750. }
  1751. .setTimebox {
  1752. font-family: PingFang SC, PingFang SC;
  1753. font-weight: 400;
  1754. font-size: 14px;
  1755. width: fit-content;
  1756. height: fit-content;
  1757. }
  1758. .timetip {
  1759. font-family: PingFang SC, PingFang SC;
  1760. font-weight: 400;
  1761. font-size: 14px;
  1762. color: #2979ff;
  1763. text-align: center;
  1764. margin-bottom: 5px;
  1765. }
  1766. .popbox {
  1767. background-color: #fff;
  1768. border-radius: 12px;
  1769. font-family: PingFang SC, PingFang SC;
  1770. font-weight: 400;
  1771. font-size: 14px;
  1772. color: #333;
  1773. padding-bottom: 120rpx;
  1774. &-head {
  1775. padding: 15px;
  1776. font-weight: bold;
  1777. font-size: 15px;
  1778. text-align: center;
  1779. position: relative;
  1780. }
  1781. .close-circle {
  1782. position: absolute;
  1783. right: 10px;
  1784. top: 50%;
  1785. transform: translateY(-50%);
  1786. }
  1787. &-body {
  1788. padding: 10px 10px;
  1789. }
  1790. .radiobox {
  1791. &-item {
  1792. padding: 10px 0;
  1793. border-bottom: 1px solid #f5f5f5;
  1794. &:last-child {
  1795. border-bottom: none;
  1796. }
  1797. }
  1798. }
  1799. &-footer {
  1800. padding: 15px 0;
  1801. }
  1802. &-footer-btn {
  1803. flex: 1;
  1804. height: 44px;
  1805. line-height: 44px;
  1806. margin: 0 10px;
  1807. border-radius: 50px;
  1808. border: none;
  1809. font-family: PingFang SC, PingFang SC;
  1810. font-weight: 400;
  1811. font-size: 14px;
  1812. color: #333;
  1813. &::after {
  1814. border: none;
  1815. }
  1816. }
  1817. .con-btn {
  1818. background-color: #1677ff;
  1819. color: #fff;
  1820. }
  1821. .choosetitle {
  1822. font-family: PingFang SC, PingFang SC;
  1823. font-weight: 400;
  1824. font-size: 15px;
  1825. color: #333;
  1826. }
  1827. .invitetip {
  1828. margin-top: 10px;
  1829. background-color: #ebf5fb;
  1830. color: #1677ff;
  1831. padding: 5px 10px;
  1832. border-radius: 5px;
  1833. }
  1834. .sharePop-item {
  1835. padding: 0 10px;
  1836. box-sizing: border-box;
  1837. font-family: PingFang SC, PingFang SC;
  1838. font-weight: 400;
  1839. font-size: 14px;
  1840. display: inline-flex !important;
  1841. image {
  1842. height: 48px;
  1843. width: 48px;
  1844. margin-bottom: 10px;
  1845. }
  1846. }
  1847. }
  1848. .headbox {
  1849. background-color: #fff;
  1850. .subsection {
  1851. height: 45px;
  1852. padding: 4px;
  1853. }
  1854. .participate-order {
  1855. font-size: 12px;
  1856. image {
  1857. width: 15px;
  1858. height: 15px;
  1859. }
  1860. }
  1861. }
  1862. .tag-active {
  1863. background-color: #ffeceb !important;
  1864. color: #f93e3e !important;
  1865. border: 1px solid #f93e3e !important;
  1866. }
  1867. .tagbox {
  1868. padding-top: 10rpx;
  1869. font-size: 12px;
  1870. color: #1677ff;
  1871. &-list {
  1872. margin: 0 0 -6px 6px;
  1873. flex-wrap: wrap;
  1874. }
  1875. &-item {
  1876. height: 26px;
  1877. padding: 0 8px;
  1878. margin: 0 6px 6px 0;
  1879. border-radius: 4px;
  1880. background-color: #f5f5f5;
  1881. color: #999;
  1882. border: 1px solid #f5f5f5;
  1883. box-sizing: border-box;
  1884. font-size: 12px;
  1885. }
  1886. }
  1887. .invite-member {
  1888. height: 55px;
  1889. width: 50px;
  1890. position: fixed;
  1891. bottom: 110px;
  1892. right: 10px;
  1893. cursor: pointer;
  1894. .intimg {
  1895. width: 50px;
  1896. height: 55px;
  1897. }
  1898. }
  1899. .invite-members {
  1900. right: -68rpx;
  1901. }
  1902. .falseimg {
  1903. position: absolute;
  1904. width: 30rpx;
  1905. height: 30rpx;
  1906. top: 0rpx;
  1907. right: -8rpx;
  1908. }
  1909. .userlist {
  1910. padding: 24rpx;
  1911. }
  1912. </style>