add.vue 37 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406
  1. <template>
  2. <view class="container qualifications" :style="{ paddingBottom: isIphoneX ? '68rpx' : '0' }">
  3. <view class="remarks-content-club" @click="handleClickClunInfo">
  4. <view class="content-club-le">
  5. <view class="club-le-text">
  6. <text class="label">机构名称:</text> <text class="text">{{ clubInfo.name }}</text>
  7. </view>
  8. <view class="club-le-text">
  9. <text class="label">联系人:</text> <text class="text">{{ clubInfo.linkMan }}</text>
  10. <text class="label phone">手机号:</text> <text class="text">{{ clubInfo.contractMobile }}</text>
  11. </view>
  12. <view class="club-le-text">
  13. <text class="label">地址:</text>
  14. <text class="text" v-if="clubInfo.provincialAddress"
  15. >{{ clubInfo.provincialAddress }}{{ clubInfo.address }}</text
  16. >
  17. </view>
  18. </view>
  19. <view class="content-club-ri"> <text class="iconfont icon-xiayibu"></text> </view>
  20. </view>
  21. <view class="remarks-content">
  22. <view class="list-view-title">
  23. <view class="list-view-h1"><text>*</text>沟通情况:</view>
  24. </view>
  25. <view class="remarks-category">
  26. <radio-group @change="radioChange">
  27. <label class="uni-list-cell uni-list-cell-pd" v-for="(item, index) in items" :key="item.value">
  28. <radio
  29. :value="item.value"
  30. style="transform:scale(0.7)"
  31. color="#FF5B00"
  32. :checked="index === current"
  33. />
  34. <label :for="item.value" class="label">
  35. <text>{{ item.name }}</text>
  36. </label>
  37. </label>
  38. </radio-group>
  39. <checkbox-group v-if="current === 0" @change="checkboxChange" style="margin-top: 10rpx;">
  40. <label class="label" v-for="item in checkboItems" :key="item.value">
  41. <checkbox :value="item.value" :checked="item.checked" style="transform:scale(0.7)" color="#FF5B00" />
  42. {{item.name}}
  43. </label>
  44. </checkbox-group>
  45. </view>
  46. <view class="list-view-title">
  47. <view class="list-view-h1"><text>*</text>咨询人:</view>
  48. </view>
  49. <view class="remarks-input">
  50. <input
  51. class="input"
  52. type="text"
  53. v-model="remarksParams.questionMan"
  54. value=""
  55. placeholder="请输入和你聊天的客户姓名"
  56. maxlength="15"
  57. />
  58. </view>
  59. <view class="list-view-title"> <view class="list-view-h1">客户来源:</view> </view>
  60. <view class="list-view-radio">
  61. <picker @change="bindPickerChange(4, $event)" :value="index" :range="sourceActions" range-key="name">
  62. <input
  63. class="input"
  64. type="text"
  65. disabled="false"
  66. v-model="sourceStateText"
  67. value=""
  68. placeholder="请选择"
  69. />
  70. <text class="iconfont icon-xiangyou"></text>
  71. </picker>
  72. </view>
  73. <view class="list-view-title"> <view class="list-view-h1">客户性别:</view> </view>
  74. <view class="list-view-radio">
  75. <picker @change="bindPickerChange(5, $event)" :value="index" :range="genderActions" range-key="name">
  76. <input
  77. class="input"
  78. type="text"
  79. disabled="false"
  80. v-model="genderText"
  81. value=""
  82. placeholder="请选择"
  83. />
  84. <text class="iconfont icon-xiangyou"></text>
  85. </picker>
  86. </view>
  87. <view class="list-view-title"> <view class="list-view-h1">客户年龄:</view> </view>
  88. <view class="list-view-radio">
  89. <picker @change="bindPickerChange(6, $event)" :value="index" :range="ageActions" range-key="name">
  90. <input class="input" type="text" disabled="false" v-model="customerAge" value="" placeholder="请选择" />
  91. <text class="iconfont icon-xiangyou"></text>
  92. </picker>
  93. </view>
  94. <view class="list-view-title"> <view class="list-view-h1">加群情况:</view> </view>
  95. <view class="list-view-radio">
  96. <picker @change="bindPickerChange(7, $event)" :value="index" :range="additiveActions" range-key="name">
  97. <input
  98. class="input"
  99. type="text"
  100. disabled="false"
  101. v-model="additiveText"
  102. value=""
  103. placeholder="请选择"
  104. />
  105. <text class="iconfont icon-xiangyou"></text>
  106. </picker>
  107. </view>
  108. <view class="list-view-title" v-if="current === 0">
  109. <view class="list-view-h1"><text>*</text>咨询类别:</view>
  110. </view>
  111. <view class="remarks-category" v-if="current === 0">
  112. <view
  113. class="checkbox-list"
  114. :class="category.isChecked ? 'checked' : ''"
  115. v-for="(category, index) in categorys"
  116. :key="index"
  117. @click="choiceCategorys(category, index)"
  118. >
  119. <text class="iconfont" :class="category.isChecked ? 'icon-yixuanze' : 'icon-weixuanze'"></text>
  120. {{ category.className }}
  121. </view>
  122. </view>
  123. <!-- <view class="list-view-title"> <view class="list-view-h1">机构类型:</view> </view>
  124. <view class="remarks-input">
  125. <input
  126. class="input"
  127. type="text"
  128. v-model="remarksParams.clubType"
  129. value=""
  130. placeholder="如美甲店,医院"
  131. maxlength="15"
  132. />
  133. </view> -->
  134. <view class="list-view-title"> <view class="list-view-h1">咨询商品:</view> </view>
  135. <view class="tui-remarks-content">
  136. <view class="tui-remarks-goods-input" v-if="handleGoods.length === 0" @click="handleShowGoodPopup">
  137. <view class="input-add"> <text class="iconfont icon-jiahao"></text> </view>
  138. <view class="input-text"> 点击添加客户咨询的商品 </view>
  139. </view>
  140. <view class="tui-remarks-showgoods" v-else>
  141. <view class="tui-remarks-goods" v-for="(pros, index) in handleGoods" :key="index">
  142. <view class="goods-image"> <image :src="pros.image" mode=""></image> </view>
  143. <view class="goods-main">
  144. <view class="name"> {{ pros.name }} </view>
  145. <view class="shop"> 供应商:{{ pros.shopName }} </view>
  146. </view>
  147. </view>
  148. <view class="tui-remarks-btn">
  149. <view class="btn delete" @click="handleClean">删除</view>
  150. <view class="btn update" @click="handleShowGoodPopup">更换</view>
  151. </view>
  152. </view>
  153. </view>
  154. <view class="list-view-title">
  155. <view class="list-view-h1">标签记录:</view>
  156. <view class="list-view-p">
  157. 请总结客户的个人画像和咨询内容,尽量使用简短的描述性词语,杜绝口语化的词语 (优先选择以下展示的标签)
  158. </view>
  159. </view>
  160. <view class="list-view-list-main">
  161. <view class="list-label-list">
  162. <text class="list-label"
  163. :class="item.isChecked ? 'active' : ''"
  164. v-for="(item, index) in labelsList"
  165. :key="index"
  166. @click="handleCheckedLabel(item,index)"
  167. >
  168. {{ item.label }}
  169. </text>
  170. </view>
  171. </view>
  172. <view class="list-view-title">
  173. <view class="list-view-h1">机构静态标签:</view>
  174. <view class="list-view-p"> (若你对客户的静态特点有更多维度进行描述,请手动填) </view>
  175. </view>
  176. <view class="list-view-list-main">
  177. <view class="list-view-list" v-for="(item, index) in staticLabelsList" :key="index">
  178. <view class="list-view-input">
  179. <input
  180. class="input"
  181. type="text"
  182. v-model="item.label"
  183. placeholder="请输入标签,不超过10个汉字"
  184. maxlength="10"
  185. @focus="hideStaticLabelsAction(item, $event)"
  186. @blur="hideStaticLabelsAction(item, $event)"
  187. @input="handleStaticLabelsAction(index, $event)"
  188. />
  189. <view class="list-view-assAction" v-if="item.isAssociation">
  190. <scroll-view class="tui-popup-scroll train" scroll-y="true">
  191. <view
  192. class="ass-list"
  193. v-for="(ass, assIndex) in staticLabelsActionList"
  194. :key="assIndex"
  195. @click="handleSelectStaticLabels(ass.label, item)"
  196. >{{ ass.label }}</view
  197. >
  198. </scroll-view>
  199. </view>
  200. </view>
  201. <view class="list-view-btn">
  202. <text
  203. class="iconfont icon-zengjia"
  204. v-if="staticLabelsList.length < 9 && index === staticLabelsList.length - 1"
  205. @click="handleAddStaticLabels(item, index)"
  206. ></text>
  207. <text
  208. class="iconfont icon-shanchu4"
  209. v-if="staticLabelsList.length > 1 && index != staticLabelsList.length - 1"
  210. @click="handleDelStaticLabels(item, index)"
  211. ></text>
  212. </view>
  213. </view>
  214. </view>
  215. <view class="list-view-title">
  216. <view class="list-view-h1">机构动态标签:</view>
  217. <view class="list-view-p"> (若你对客户的购买诉求有更多维度进行描述,请手动填) </view>
  218. </view>
  219. <view class="list-view-list-main">
  220. <view class="list-view-list" v-for="(item, index) in trendsLabelsList" :key="index">
  221. <view class="list-view-input">
  222. <input
  223. class="input"
  224. type="text"
  225. v-model="item.label"
  226. placeholder="请输入标签,不超过10个汉字"
  227. maxlength="10"
  228. @focus="hideTrendsLabelsAction(item, $event)"
  229. @blur="hideTrendsLabelsAction(item, $event)"
  230. @input="handleTrendsLabelsAction(index, $event)"
  231. />
  232. <view class="list-view-assAction" v-if="item.isAssociation">
  233. <scroll-view class="tui-popup-scroll train" scroll-y="true">
  234. <view
  235. class="ass-list"
  236. v-for="(ass, assIndex) in trendsLabelsActionList"
  237. :key="assIndex"
  238. @click="handleSelectTrendsLabels(ass.label, item)"
  239. >{{ ass.label }}</view
  240. >
  241. </scroll-view>
  242. </view>
  243. </view>
  244. <view class="list-view-btn">
  245. <text
  246. class="iconfont icon-zengjia"
  247. v-if="trendsLabelsList.length < 9 && index === trendsLabelsList.length - 1"
  248. @click="handleAddTrendsLabels(item, index)"
  249. ></text>
  250. <text
  251. class="iconfont icon-shanchu4"
  252. v-if="trendsLabelsList.length > 1 && index != trendsLabelsList.length - 1"
  253. @click="handleDelTrendsLabels(item, index)"
  254. ></text>
  255. </view>
  256. </view>
  257. </view>
  258. <view class="list-view-title">
  259. <view class="list-view-h1">关联报备:</view>
  260. <view class="list-view-p">(若客户咨询的事项不确定采美能不能做,请创建并关联报备向上级反馈)</view>
  261. </view>
  262. <view class="list-view-radio" @click="handleShowReportPopup">
  263. <input
  264. class="input"
  265. type="text"
  266. disabled="false"
  267. v-model="reportText"
  268. value=""
  269. placeholder="请选择报备"
  270. />
  271. <text class="iconfont icon-xiangyou"></text>
  272. </view>
  273. <view class="list-view-title" v-if="current === 0">
  274. <view class="list-view-h1"><text>*</text>价格敏感度:</view>
  275. </view>
  276. <view class="list-view-radio" v-if="current === 0">
  277. <picker @change="bindPickerChange(1, $event)" :value="index" :range="priceActions" range-key="name">
  278. <input
  279. class="input"
  280. type="text"
  281. disabled="false"
  282. v-model="priceFlagText"
  283. value=""
  284. placeholder="请选择"
  285. />
  286. <text class="iconfont icon-xiangyou"></text>
  287. </picker>
  288. </view>
  289. <view class="list-view-title" v-if="current === 0">
  290. <view class="list-view-h1"><text>*</text>意向程度:</view>
  291. </view>
  292. <view class="list-view-radio" v-if="current === 0">
  293. <picker @change="bindPickerChange(2, $event)" :value="index" :range="intenActions" range-key="name">
  294. <input
  295. class="input"
  296. type="text"
  297. disabled="false"
  298. v-model="intenFlagText"
  299. value=""
  300. placeholder="请选择"
  301. />
  302. <text class="iconfont icon-xiangyou"></text>
  303. </picker>
  304. </view>
  305. <view class="list-view-title" v-if="current === 0">
  306. <view class="list-view-h1"><text>*</text>跟进状态:</view>
  307. </view>
  308. <view class="list-view-radio" v-if="current === 0">
  309. <picker @change="bindPickerChange(3, $event)" :value="index" :range="stateActions" range-key="name">
  310. <input
  311. class="input"
  312. type="text"
  313. disabled="false"
  314. v-model="followStateText"
  315. value=""
  316. placeholder="请选择"
  317. />
  318. <text class="iconfont icon-xiangyou"></text>
  319. </picker>
  320. </view>
  321. <view class="list-view-title"> <view class="list-view-h1">额外说明:</view> </view>
  322. <view class="remarks-textarea">
  323. <textarea
  324. class="textarea"
  325. v-model="remarksParams.extra"
  326. value=""
  327. placeholder="请输入其他需要说明的内容"
  328. maxlength="200"
  329. @input="conInput"
  330. />
  331. <text class="limit-text">{{ min }}/{{ max }}</text>
  332. </view>
  333. <view class="list-view-title">
  334. <view class="list-view-h1">上传图片</view>
  335. <view class="list-view-p">(可上传与客户的聊天截图或其他重要图片资料,最多10张)</view>
  336. </view>
  337. <view class="list-view-upload clearfix">
  338. <view class="photo-item" v-for="(image, imageIndex) in remarksParams.imageList" :key="imageIndex">
  339. <image
  340. :src="image"
  341. mode="aspectFill"
  342. @click.stop="previewImg(remarksParams.imageList, imageIndex)"
  343. ></image>
  344. <text
  345. class="iconfont icon-iconfontguanbi"
  346. @click.stop="deletePhotoFn(remarksParams.imageList, imageIndex)"
  347. ></text>
  348. </view>
  349. <view
  350. class="photo-item add"
  351. @click.stop="uploadPhotoFn(remarksParams.imageList)"
  352. v-if="remarksParams.imageList.length < 10 || remarksParams.imageList.length == 0"
  353. >
  354. <text class="iconfont icon-jiahao"></text>
  355. </view>
  356. </view>
  357. <view class="list-view-title">
  358. <view class="list-view-h1">上传文件</view>
  359. <view class="list-view-p">(可上传与客户相关的文件资料,最多10份,支持word,excel,ppt和pdf格式文件)</view>
  360. </view>
  361. <view class="list-view" v-for="(file, fileIndex) in remarksParams.fileList" :key="fileIndex">
  362. <view class="list-view-text">
  363. <view class="input">{{ file.fileName }}</view>
  364. <view class="delbtn" @click.stop="deleteFileFn(remarksParams.fileList, fileIndex)">删除</view>
  365. </view>
  366. </view>
  367. <view class="list-view">
  368. <view class="list-view-file" @click="uploadFile(remarksParams.fileList)">选择文件</view>
  369. </view>
  370. </view>
  371. <view class="remarks-btn" :style="{ paddingBottom: isIphoneX ? '68rpx' : '34rpx' }">
  372. <view class="edit-button" @click="editButtonConfim">确定</view>
  373. </view>
  374. <!-- 商品列表弹窗 -->
  375. <cm-goodspopup
  376. ref="cmgoodspopup"
  377. v-if="isGoodspopup"
  378. :show="isGoodspopup"
  379. @handleChoiceaGoods="handleChoiceaGoodsData"
  380. />
  381. <!-- 机构报备弹窗 -->
  382. <cm-reportpopup
  383. ref="cmreportpopup"
  384. v-if="isReportpopup"
  385. :show="isReportpopup"
  386. :popupType="1"
  387. :reportInfo="reportInfo"
  388. @handleChoiceaReport="handleChoiceaReportData"
  389. />
  390. </view>
  391. </template>
  392. <script>
  393. import { mapState, mapMutations } from 'vuex'
  394. import authorize from '@/common/config/authorize.js'
  395. import { uploadFileImage, uploadFilePdfDocDocxXlsx } from '@/services/public.js'
  396. import cmGoodspopup from '../components/cm-goods-popup'
  397. import cmReportpopup from '../components/cm-report-popup'
  398. import addMixins from './mixins/addMixins.js'
  399. var isPreviewImg
  400. export default {
  401. mixins: [addMixins],
  402. components: {
  403. cmGoodspopup,
  404. cmReportpopup
  405. },
  406. data() {
  407. return {
  408. hideButton: true,
  409. isIphoneX: this.$store.state.isIphoneX,
  410. shopOrderId: 0,
  411. logisticsBatchId: 0,
  412. productActions: [],
  413. remarksParams: {
  414. clubId: 0,
  415. questionMan: '',
  416. clubType: '', //机构类型
  417. extra: '', //额外说明
  418. fileList: [],
  419. imageList: [],
  420. serviceProviderId: 0,
  421. consult: '', // 咨询类别
  422. pinceSensitve: 0, //价格敏感度
  423. satisfied: 0, // 意向程度
  424. followup: 0, // 跟进状态
  425. productId: 0, // 商品Id
  426. reportId: 0 ,// 报备Id
  427. communicationSituation:'', // 沟通情况 0 已沟通 1联系不上
  428. communicationMethods:'', //沟通方式 1:电话 2:微信
  429. customerSource:'',//客户来源 0 网址 1 小程序 2 公众号 3 小红书 4 微博 5 搜狐 6 其他
  430. customerGender:'',// 客户性别 0 男 1 女
  431. customerAge:'',// 客户年龄
  432. groupAddition:'' ,// 加群情况 0 以加群 1 未加群
  433. remarks: null, // 关键词
  434. trendsKeyword:null,// 动态标签
  435. stateKeyword:null // 静态标签
  436. },
  437. min: 0,
  438. max: 200,
  439. handleType: '',
  440. clubUserId: 0,
  441. clubInfo: {},
  442. userInfo: {},
  443. checkedCategorysList: [],
  444. categorys: [],
  445. isConfirmLoding: false,
  446. reportText: '',
  447. checkRemarkIndex: 0,
  448. assActionList: [],
  449. isGoodspopup: false,
  450. isReportpopup: false,
  451. isHashReport: false,
  452. handleGoods: [],
  453. reportInfo: {
  454. clubId: 0,
  455. name: '',
  456. linkMan: ''
  457. }
  458. }
  459. },
  460. onLoad(option) {
  461. console.log(option)
  462. if (option.type == 'edit') {
  463. this.handleType = option.type
  464. this.getPriorKeyword()
  465. this.getUserClubConsults()
  466. this.getUserClubRemarksDetail(option.remarksId)
  467. uni.setNavigationBarTitle({ title: '修改记录' })
  468. } else {
  469. this.clubUserId = option.userId
  470. this.getCulbInfo(option.userId)
  471. this.getHistoryInfo(option.userId)
  472. this.getPriorKeyword()
  473. this.getUserClubConsults()
  474. }
  475. },
  476. methods: {
  477. ...mapMutations(['login']),
  478. async getCulbInfo(userId) {
  479. // 查询机构信息
  480. try{
  481. const userInfos = await this.$api.getStorage()
  482. const res = await this.UserService.OrganizationUpdateModifyInfo({ userId: userId })
  483. const data = res.data
  484. this.clubInfo = data.club
  485. this.userInfo = data.user
  486. this.reportInfo.name = this.clubInfo.name
  487. this.reportInfo.linkMan = this.clubInfo.linkMan
  488. this.remarksParams.clubId = this.reportInfo.clubId = this.clubInfo.clubId
  489. this.remarksParams.serviceProviderId = userInfos.serviceProviderId ? userInfos.serviceProviderId : 0
  490. if (this.handleType != 'edit') {
  491. this.remarksParams.questionMan = this.clubInfo.linkMan
  492. }
  493. }catch(error){
  494. console.log('=============>', error.msg)
  495. }
  496. },
  497. async getUserClubRemarksDetail(remarksId) {
  498. //修改回显资料备注信息
  499. try{
  500. const res = await this.UserService.getUserClubRemarksDetail({ remarksId: remarksId })
  501. const data = res.data
  502. this.clubUserId = data.userId
  503. this.remarksParams.remarksId = data.remarksId
  504. this.remarksParams.communicationSituation = this.current = data.communicationSituation
  505. this.remarksParams.communicationMethods = data.communicationMethods
  506. if(data.communicationMethods === '1,2' || data.communicationMethods === '2,1'){
  507. this.checkboItems = this.checkboItems.map(el => {
  508. el.checked = true
  509. return el
  510. })
  511. }else{
  512. this.checkboItems = this.checkboItems.map(el => {
  513. if (el.value*1 === data.communicationMethods*1) {
  514. el.checked = true
  515. }
  516. return el
  517. })
  518. }
  519. this.remarksParams.extra = data.extra
  520. this.remarksParams.clubType = data.clubType
  521. this.remarksParams.pinceSensitve = data.pinceSensitve
  522. this.remarksParams.customerSource = data.customerSource
  523. this.remarksParams.customerGender = data.customerGender
  524. this.remarksParams.customerAge = this.customerAge = data.customerAge
  525. this.remarksParams.groupAddition = data.groupAddition
  526. this.remarksParams.satisfied = data.satisfied
  527. this.remarksParams.followup = data.followup
  528. this.remarksParams.fileList = data.fileList
  529. this.remarksParams.imageList = data.imageList
  530. this.remarksParams.productId = data.productId
  531. if (this.handleType == 'edit') {
  532. if (data.reportId) {
  533. this.isHashReport = true
  534. this.remarksParams.reportId = data.reportId
  535. }
  536. this.remarksParams.questionMan = data.questionMan
  537. this.remarksParams.consult = data.consult
  538. this.checkedCategorysList = data.consult.split(',').map(i => parseInt(i, 0))
  539. this.categorys = this.categorys.map((el, index) => {
  540. if(this.contains(this.checkedCategorysList,el.id)){
  541. el.isChecked = true
  542. }else{
  543. el.isChecked = false
  544. }
  545. return el
  546. })
  547. }
  548. if (data.productId) {
  549. let pro = {
  550. image: data.mainImage,
  551. name: data.productName,
  552. shopName: data.shopName
  553. }
  554. this.handleGoods.push(pro)
  555. }
  556. if(data.remarks){
  557. this.firstLabelList = data.remarks.map((el, index) => {
  558. return el.label
  559. })
  560. this.labelsList = this.labelsList.map((el, index) => {
  561. if (this.contains(this.firstLabelList, el.label)) {
  562. el.isChecked = true
  563. }
  564. return el
  565. })
  566. }
  567. if(data.stateKeyword){
  568. this.staticLabelsList = data.stateKeyword.map((el, index) => {
  569. el.isAssociation = false
  570. return el
  571. })
  572. }
  573. if(data.trendsKeyword){
  574. this.trendsLabelsList = data.trendsKeyword.map((el, index) => {
  575. el.isAssociation = false
  576. return el
  577. })
  578. }
  579. this.reportText = data.reportText ? data.reportText : ''
  580. this.priceFlagText = this.pinceFilters(data.pinceSensitve)
  581. this.intenFlagText = this.intenActionsFilters(data.satisfied)
  582. this.followStateText = this.followupFilters(data.followup)
  583. this.sourceStateText = this.sourceActionsFilters(data.customerSource)
  584. this.genderText = this.genderActionsFilters(data.customerGender)
  585. this.additiveText = this.additiveActionsFilters(data.groupAddition)
  586. this.getCulbInfo(data.userId)
  587. }catch(error){
  588. this.$util.msg(error.msg, 2000)
  589. }
  590. },
  591. async getHistoryInfo(userId) {
  592. //查询机构历史填写信息
  593. try{
  594. const res = await this.UserService.getHistoryInfo({ userId:userId })
  595. const data = res.data
  596. this.remarksParams.customerSource = data.customerSource
  597. this.remarksParams.customerGender = data.customerGender
  598. this.remarksParams.customerAge = this.customerAge = data.customerAge
  599. this.remarksParams.groupAddition = data.groupAddition
  600. this.sourceStateText = this.sourceActionsFilters(data.customerSource)
  601. this.genderText = this.genderActionsFilters(data.customerGender)
  602. this.additiveText = this.additiveActionsFilters(data.groupAddition)
  603. }catch(error){
  604. console.log('=========>查询机构历史填写信息失败')
  605. }
  606. },
  607. async getPriorKeyword() {
  608. //查询优先展示标签
  609. try{
  610. const res = await this.UserService.getPriorKeyword()
  611. const data = res.data
  612. this.labelsList = data.map((el, index) => {
  613. el.isChecked = false
  614. return el
  615. })
  616. }catch(error){
  617. console.log('=========>获取优先展示标签列表失败')
  618. }
  619. },
  620. async getUserClubConsults() {
  621. //查询咨询类别
  622. try{
  623. const res = await this.UserService.getUserClubConsults()
  624. const data = res.data
  625. this.categorys = data.map((el, index) => {
  626. el.isChecked = false
  627. return el
  628. })
  629. }catch(error){
  630. console.log('=========>获取咨询类别列表失败')
  631. }
  632. },
  633. async editButtonConfim() {
  634. //保存资料备注
  635. if (this.isConfirmLoding) {
  636. return
  637. }
  638. if(this.current === 0){
  639. if (this.remarksParams.questionMan == '') {
  640. this.$util.msg('请输入咨询人姓名', 2000)
  641. return
  642. }
  643. if (this.remarksParams.consult == '') {
  644. this.$util.msg('请选择咨询类别', 2000)
  645. return
  646. }
  647. if (!this.remarksParams.pinceSensitve) {
  648. this.$util.msg('请选择价格敏感度', 2000)
  649. return
  650. }
  651. if (!this.remarksParams.satisfied) {
  652. this.$util.msg('请选择意向程度', 2000)
  653. return
  654. }
  655. if (!this.remarksParams.followup) {
  656. this.$util.msg('请选择跟进状态', 2000)
  657. return
  658. }
  659. }
  660. //统一处理静态标签
  661. let staticLabelsList = []
  662. this.staticLabelsList.forEach( el =>{
  663. if(el.label !== ''){
  664. staticLabelsList.push(el.label)
  665. }
  666. })
  667. console.log('staticLabelsList', staticLabelsList)
  668. //统一处理动态标签
  669. let trendsLabelsList = []
  670. this.trendsLabelsList.forEach( (el) =>{
  671. if(el.label !== ''){
  672. trendsLabelsList.push(el.label)
  673. }
  674. })
  675. console.log('trendsLabelsList', trendsLabelsList)
  676. if(this.firstLabelList.length > 0){
  677. this.remarksParams.remarks = JSON.stringify(this.firstLabelList)
  678. }
  679. if(trendsLabelsList.length > 0){
  680. this.remarksParams.trendsKeyword = JSON.stringify(trendsLabelsList)
  681. }
  682. if(staticLabelsList.length > 0){
  683. this.remarksParams.stateKeyword = JSON.stringify(staticLabelsList)
  684. }
  685. console.log('remarksParams', this.remarksParams)
  686. this.isConfirmLoding = true
  687. this.getUserClubRemarksSave({ params: JSON.stringify(this.remarksParams) })
  688. },
  689. async getUserClubRemarksSave(params){
  690. try{
  691. await this.UserService.getUserClubRemarksSave(params)
  692. this.$util.msg('保存成功', 3000, true, 'success')
  693. this.isConfirmLoding = false
  694. setTimeout(() => {
  695. uni.navigateBack({
  696. delta: 1
  697. })
  698. }, 1000)
  699. }catch(error){
  700. this.$util.msg(error.msg, 2000)
  701. this.isConfirmLoding = false
  702. }
  703. },
  704. choiceCategorys(category, index) {
  705. // 选择类别
  706. category.isChecked = !category.isChecked
  707. if (category.isChecked) {
  708. if (!this.contains(this.checkedCategorysList, category.id)) {
  709. this.checkedCategorysList.push(category.id)
  710. }
  711. } else {
  712. this.checkedCategorysList.splice(this.checkedCategorysList.indexOf(category.id), 1)
  713. }
  714. this.remarksParams.consult = this.checkedCategorysList.join(',')
  715. },
  716. handleShowReportPopup() {
  717. // 显示报备弹窗
  718. if (this.isHashReport) {
  719. this.$util.msg('请取消已有关联后再重新关联报备', 2000)
  720. return
  721. }
  722. this.isReportpopup = true
  723. },
  724. handleShowGoodPopup() {
  725. // 显示添加商品弹窗
  726. this.isGoodspopup = true
  727. },
  728. handleClean() {
  729. //删除选择的商品
  730. this.remarksParams.productId === 0
  731. this.handleGoods = []
  732. },
  733. handleChoiceaGoodsData(data) {
  734. console.log('data', data)
  735. this.handleGoods = []
  736. this.remarksParams.productId = data.productId
  737. this.handleGoods.push(data)
  738. },
  739. handleChoiceaReportData(data) {
  740. console.log('data', data)
  741. this.reportText = data.reportText
  742. this.remarksParams.reportId = data.reportId
  743. },
  744. contains(arr, val) {
  745. // 校验
  746. return arr.some(item => item === val)
  747. },
  748. uploadFile(array) {
  749. //上传资质文件
  750. console.log(array)
  751. uploadFilePdfDocDocxXlsx()
  752. .then(res => {
  753. let data = JSON.parse(res.data).data
  754. let obj = {
  755. fileName: uni.getStorageSync('fileName'),
  756. ossName: data.ossName
  757. }
  758. array.push(obj)
  759. console.log('array', array)
  760. })
  761. .catch(err => {
  762. console.log(err)
  763. })
  764. },
  765. uploadPhotoFn(array) {
  766. //添加图片
  767. uploadFileImage().then(res => {
  768. array.push(JSON.parse(res.data).data)
  769. })
  770. },
  771. deleteFileFn(array, index) {
  772. console.log(array)
  773. //删除文件
  774. this.UploadService.PostFileDelete({
  775. ossName: array[index].ossName
  776. })
  777. .then(res => {
  778. array.splice(index, 1)
  779. })
  780. .catch(error => {
  781. console.log('删除文件异常提示===>', error.msg)
  782. })
  783. },
  784. deletePhotoFn(array, index) {
  785. //删除图片
  786. array.splice(index, 1)
  787. },
  788. previewImg(image, index) {
  789. //顶部商品图片预览
  790. isPreviewImg = true
  791. let previewUrls = image
  792. uni.previewImage({
  793. current: index, //图片索引
  794. urls: previewUrls, //必须是http图片,本地图片无效
  795. longPressActions: ''
  796. })
  797. },
  798. conInput(e) {
  799. //备注文字字数限制
  800. let value = e.detail.value
  801. let len = parseInt(value.length)
  802. if (len > this.max) return
  803. this.min = len
  804. if (this.min == 200) {
  805. this.$util.msg('您输入的字数已达上限', 2000)
  806. }
  807. },
  808. handleClickClunInfo() {
  809. //修改机构资料
  810. if (this.userInfo.userIdentity === 2) {
  811. this.$api.navigateTo(`/pages/seller/login/apply?userID=${this.userInfo.userId}`)
  812. } else if (this.userInfo.userIdentity === 4) {
  813. this.$api.navigateTo(`/pages/seller/login/information?userID=${this.userInfo.userId}`)
  814. }
  815. },
  816. followupFilters(value) {
  817. // 订单来源
  818. const map = {
  819. 1: '跟进中',
  820. 2: '跟进完成',
  821. 3: '已放弃'
  822. }
  823. return map[value]
  824. },
  825. pinceFilters(value) {
  826. // 意向
  827. const map = {
  828. 1: '敏感',
  829. 2: '适中',
  830. 3: '不敏感',
  831. 4: '不明确'
  832. }
  833. return map[value]
  834. },
  835. intenActionsFilters(value) {
  836. // 意向
  837. const map = {
  838. 1: '意向强烈',
  839. 2: '意向一般',
  840. 3: '意向平淡',
  841. 4: '随便看看'
  842. }
  843. return map[value]
  844. },
  845. sourceActionsFilters(value) {
  846. // 客户来源
  847. const map = {
  848. 0: '网站',
  849. 1: '小程序',
  850. 2: '公众号',
  851. 3: '小红书',
  852. 4: '微博',
  853. 5: '搜狐',
  854. 6: '其他'
  855. }
  856. return map[value]
  857. },
  858. genderActionsFilters(value) {
  859. // 客户性别
  860. const map = {
  861. 0: '男',
  862. 1: '女'
  863. }
  864. return map[value]
  865. },
  866. additiveActionsFilters(value) {
  867. // 加群情况
  868. const map = {
  869. 0: '已加群',
  870. 1: '未加群'
  871. }
  872. return map[value]
  873. },
  874. },
  875. onShow() {}
  876. }
  877. </script>
  878. <style lang="scss">
  879. page {
  880. height: auto;
  881. background: #ffffff;
  882. }
  883. .remarks-content-club {
  884. width: 100%;
  885. height: 288rpx;
  886. padding: 24rpx;
  887. box-sizing: border-box;
  888. border-bottom: 20rpx solid #f7f7f7;
  889. .content-club-le {
  890. width: 660rpx;
  891. float: left;
  892. .club-le-text {
  893. width: 100%;
  894. height: 60rpx;
  895. line-height: 60rpx;
  896. font-size: $font-size-28;
  897. color: #333333;
  898. .label {
  899. color: #999999;
  900. &.phone {
  901. margin-left: 48rpx;
  902. }
  903. }
  904. }
  905. }
  906. .content-club-ri {
  907. width: 40rpx;
  908. height: 160rpx;
  909. float: right;
  910. line-height: 160rpx;
  911. text-align: center;
  912. color: #b2b2b2;
  913. }
  914. }
  915. .remarks-content {
  916. width: 100%;
  917. height: auto;
  918. box-sizing: border-box;
  919. padding: 0 24rpx;
  920. padding-bottom: 160rpx;
  921. .list-view-title {
  922. width: 100%;
  923. height: auto;
  924. margin-bottom: 16rpx;
  925. margin-top: 40rpx;
  926. .list-view-h1 {
  927. line-height: 40rpx;
  928. font-size: $font-size-28;
  929. color: #333333;
  930. text-align: left;
  931. text {
  932. color: #ff2a2a;
  933. }
  934. }
  935. .list-view-p {
  936. line-height: 30rpx;
  937. color: #fea785;
  938. font-size: $font-size-20;
  939. }
  940. }
  941. .tui-remarks-content {
  942. width: 100%;
  943. height: auto;
  944. margin-bottom: 24rpx;
  945. .tui-remarks-goods-input {
  946. width: 100%;
  947. height: 180rpx;
  948. box-sizing: border-box;
  949. background-color: #f7f7f7;
  950. padding: 26rpx;
  951. border-radius: 6rpx;
  952. .input-add {
  953. width: 128rpx;
  954. height: 128rpx;
  955. line-height: 128rpx;
  956. float: left;
  957. text-align: center;
  958. box-sizing: border-box;
  959. border: 1px dashed #b2b2b2;
  960. border-radius: 6rpx;
  961. .iconfont {
  962. font-size: 44rpx;
  963. color: #b2b2b2;
  964. }
  965. }
  966. .input-text {
  967. height: 128rpx;
  968. box-sizing: border-box;
  969. padding: 0 32rpx;
  970. line-height: 128rpx;
  971. text-align: left;
  972. font-size: 26rpx;
  973. color: #b2b2b2;
  974. float: left;
  975. }
  976. }
  977. .tui-remarks-showgoods {
  978. width: 100%;
  979. height: 180rpx;
  980. box-sizing: border-box;
  981. .tui-remarks-btn {
  982. width: 90rpx;
  983. height: 180rpx;
  984. float: right;
  985. .btn {
  986. width: 100%;
  987. height: 90rpx;
  988. float: left;
  989. line-height: 90rpx;
  990. text-align: center;
  991. font-size: 26rpx;
  992. &.delete {
  993. color: #f94b4b;
  994. }
  995. &.update {
  996. color: #1890f9;
  997. }
  998. }
  999. }
  1000. .tui-remarks-goods {
  1001. width: 612rpx;
  1002. height: 180rpx;
  1003. box-sizing: border-box;
  1004. background-color: #f7f7f7;
  1005. padding: 26rpx;
  1006. border-radius: 6rpx;
  1007. float: left;
  1008. .goods-image {
  1009. width: 128rpx;
  1010. height: 128rpx;
  1011. float: left;
  1012. image {
  1013. width: 128rpx;
  1014. height: 128rpx;
  1015. display: block;
  1016. border-radius: 4rpx;
  1017. }
  1018. }
  1019. .goods-main {
  1020. width: 432rpx;
  1021. height: 128rpx;
  1022. box-sizing: border-box;
  1023. padding-left: 32rpx;
  1024. float: right;
  1025. .name {
  1026. width: 100%;
  1027. height: 60rpx;
  1028. box-sizing: border-box;
  1029. line-height: 60rpx;
  1030. color: #333333;
  1031. text-overflow: ellipsis;
  1032. overflow: hidden;
  1033. display: -webkit-box;
  1034. -webkit-line-clamp: 1;
  1035. line-clamp: 1;
  1036. -webkit-box-orient: vertical;
  1037. font-size: 26rpx;
  1038. }
  1039. .shop {
  1040. line-height: 60rpx;
  1041. color: #999999;
  1042. font-size: 26rpx;
  1043. text-overflow: ellipsis;
  1044. overflow: hidden;
  1045. display: -webkit-box;
  1046. -webkit-line-clamp: 1;
  1047. line-clamp: 1;
  1048. -webkit-box-orient: vertical;
  1049. }
  1050. }
  1051. }
  1052. }
  1053. }
  1054. .list-view-radio {
  1055. width: 100%;
  1056. height: 90rpx;
  1057. box-sizing: border-box;
  1058. padding: 0 10rpx;
  1059. border: 1px solid #b2b2b2;
  1060. border-radius: 6rpx;
  1061. margin-bottom: 30rpx;
  1062. position: relative;
  1063. &.btn {
  1064. border: none;
  1065. margin-top: 40rpx;
  1066. }
  1067. .input {
  1068. width: 100%;
  1069. height: 90rpx;
  1070. line-height: 90rpx;
  1071. float: left;
  1072. box-sizing: border-box;
  1073. font-size: $font-size-24;
  1074. color: #333333;
  1075. padding: 0 10rpx;
  1076. padding-right: 90rpx;
  1077. }
  1078. .iconfont {
  1079. width: 50rpx;
  1080. height: 90rpx;
  1081. display: block;
  1082. line-height: 90rpx;
  1083. text-align: center;
  1084. font-size: 30rpx;
  1085. color: #999999;
  1086. position: absolute;
  1087. right: 0;
  1088. top: 0;
  1089. }
  1090. }
  1091. .list-view-list-main {
  1092. width: 100%;
  1093. height: auto;
  1094. box-sizing: border-box;
  1095. margin-bottom: 30rpx;
  1096. position: relative;
  1097. .list-label-list{
  1098. width: 100%;
  1099. height: auto;
  1100. box-sizing: border-box;
  1101. .list-label{
  1102. display: inline-block;
  1103. padding: 0 20rpx;
  1104. height: 48rpx;
  1105. line-height: 48rpx;
  1106. background: #F7F7F7;
  1107. text-align: center;
  1108. margin-right: 20rpx;
  1109. margin-bottom: 20rpx;
  1110. font-size: 26rpx;
  1111. color: #666666;
  1112. &.active{
  1113. background: #FEF6F3;
  1114. color: #FF5B00;
  1115. }
  1116. }
  1117. }
  1118. .list-view-list {
  1119. width: 100%;
  1120. height: 90rpx;
  1121. box-sizing: border-box;
  1122. margin-bottom: 30rpx;
  1123. .list-view-input {
  1124. width: 614rpx;
  1125. height: 90rpx;
  1126. float: left;
  1127. position: relative;
  1128. .input {
  1129. width: 614rpx;
  1130. height: 90rpx;
  1131. box-sizing: border-box;
  1132. padding: 0 20rpx;
  1133. border: 1px solid #b2b2b2;
  1134. border-radius: 6rpx;
  1135. font-size: $font-size-24;
  1136. color: #333333;
  1137. }
  1138. .list-view-assAction {
  1139. width: 614rpx;
  1140. min-height: 270rpx;
  1141. box-sizing: border-box;
  1142. padding: 10rpx 0;
  1143. background: rgba(255, 255, 255, 1);
  1144. box-shadow: 0px 2px 20px rgba(0, 0, 0, 0.15);
  1145. border-radius: 6rpx;
  1146. position: absolute;
  1147. top: -288rpx;
  1148. left: 0;
  1149. z-index: 999;
  1150. overflow: hidden;
  1151. .tui-popup-scroll {
  1152. width: 100%;
  1153. height: 270rpx;
  1154. }
  1155. .ass-list {
  1156. width: 100%;
  1157. height: 90rpx;
  1158. box-sizing: border-box;
  1159. padding: 0 24rpx;
  1160. line-height: 90rpx;
  1161. font-size: $font-size-26;
  1162. color: #666666;
  1163. text-align: left;
  1164. border-bottom: 1px solid #e1e1e1;
  1165. &:last-child {
  1166. border-bottom: none;
  1167. }
  1168. }
  1169. }
  1170. }
  1171. .list-view-btn {
  1172. width: 88rpx;
  1173. height: 90rpx;
  1174. float: right;
  1175. text-align: center;
  1176. line-height: 90rpx;
  1177. .icon-zengjia {
  1178. color: #1890f9;
  1179. font-size: $font-size-48;
  1180. }
  1181. .icon-shanchu4 {
  1182. color: #ff5b00;
  1183. font-size: $font-size-48;
  1184. }
  1185. }
  1186. }
  1187. }
  1188. .remarks-category {
  1189. width: 100%;
  1190. float: left;
  1191. margin-bottom: 20rpx;
  1192. .label {
  1193. color: #666666;
  1194. font-size: 28rpx;
  1195. margin-right: 50rpx;
  1196. }
  1197. .checkbox-list {
  1198. height: 60rpx;
  1199. font-size: $font-size-28;
  1200. line-height: 60rpx;
  1201. border-radius: 10rpx;
  1202. margin-right: 20rpx;
  1203. margin-bottom: 10rpx;
  1204. box-sizing: border-box;
  1205. float: left;
  1206. .icon-yixuanze {
  1207. margin-right: 10rpx;
  1208. color: #ff5b00;
  1209. }
  1210. .icon-weixuanze {
  1211. margin-right: 10rpx;
  1212. color: #b2b2b2;
  1213. }
  1214. }
  1215. .item-text {
  1216. display: inline-block;
  1217. font-size: 26rpx;
  1218. color: #333333;
  1219. border-radius: 28rpx;
  1220. line-height: 50rpx;
  1221. }
  1222. }
  1223. .remarks-input {
  1224. width: 100%;
  1225. height: 90rpx;
  1226. padding: 0 16rpx;
  1227. margin: 20rpx 0 0 0;
  1228. border-radius: 6rpx;
  1229. position: relative;
  1230. border: 1px solid #b2b2b2;
  1231. box-sizing: border-box;
  1232. .input {
  1233. width: 100%;
  1234. height: 90rpx;
  1235. line-height: 90rpx;
  1236. font-size: $font-size-26;
  1237. color: $text-color;
  1238. z-index: 1;
  1239. }
  1240. }
  1241. .remarks-textarea {
  1242. width: 100%;
  1243. height: 226rpx;
  1244. padding: 16rpx;
  1245. margin: 20rpx 0 0 0;
  1246. border-radius: 6rpx;
  1247. position: relative;
  1248. border: 1px solid #b2b2b2;
  1249. box-sizing: border-box;
  1250. .textarea {
  1251. width: 100%;
  1252. height: 100%;
  1253. line-height: 36rpx;
  1254. font-size: $font-size-26;
  1255. color: $text-color;
  1256. z-index: 1;
  1257. }
  1258. .limit-text {
  1259. position: absolute;
  1260. right: 20rpx;
  1261. bottom: 16rpx;
  1262. line-height: 44rpx;
  1263. font-size: $font-size-24;
  1264. color: #b2b2b2;
  1265. }
  1266. }
  1267. .list-view {
  1268. width: 100%;
  1269. height: 40rpx;
  1270. margin-top: 20rpx;
  1271. .list-view-file {
  1272. width: 132rpx;
  1273. height: 44rpx;
  1274. line-height: 44rpx;
  1275. font-size: $font-size-20;
  1276. text-align: center;
  1277. color: #ffffff;
  1278. background-color: $color-system;
  1279. border-radius: 8rpx;
  1280. float: left;
  1281. margin-top: 10rpx;
  1282. }
  1283. .list-view-text {
  1284. width: 100%;
  1285. float: left;
  1286. .input {
  1287. width: 560rpx;
  1288. height: 44rpx;
  1289. box-sizing: border-box;
  1290. line-height: 44rpx;
  1291. color: #333333;
  1292. text-overflow: ellipsis;
  1293. overflow: hidden;
  1294. display: -webkit-box;
  1295. -webkit-line-clamp: 1;
  1296. line-clamp: 1;
  1297. -webkit-box-orient: vertical;
  1298. float: left;
  1299. }
  1300. .delbtn {
  1301. width: 96rpx;
  1302. height: 44rpx;
  1303. border-radius: 8rpx;
  1304. background-color: #fff2ec;
  1305. font-size: $font-size-24;
  1306. color: #ff5b00;
  1307. line-height: 44rpx;
  1308. text-align: center;
  1309. float: left;
  1310. }
  1311. }
  1312. }
  1313. .list-view-upload {
  1314. width: 100%;
  1315. height: auto;
  1316. .photo-item {
  1317. display: inline-block;
  1318. width: 112rpx;
  1319. height: 112rpx;
  1320. margin: 10rpx 0;
  1321. margin-right: 25rpx;
  1322. border-radius: 10rpx;
  1323. border: 1px solid #f5f5f5;
  1324. position: relative;
  1325. float: left;
  1326. &.add {
  1327. width: 112rpx;
  1328. height: 112rpx;
  1329. border-color: #b2b2b2;
  1330. text-align: center;
  1331. line-height: 112rpx;
  1332. margin-right: 0rpx;
  1333. .icon-jiahao {
  1334. font-size: $font-size-44;
  1335. color: #b2b2b2;
  1336. font-weight: bold;
  1337. }
  1338. }
  1339. .icon-iconfontguanbi {
  1340. width: 30rpx;
  1341. height: 30rpx;
  1342. border-radius: 50%;
  1343. display: block;
  1344. position: absolute;
  1345. right: -10rpx;
  1346. top: -10rpx;
  1347. background: #f94b4b;
  1348. text-align: center;
  1349. line-height: 30rpx;
  1350. color: #ffffff;
  1351. font-size: $font-size-22;
  1352. }
  1353. image {
  1354. width: 112rpx;
  1355. height: 112rpx;
  1356. border-radius: 10rpx;
  1357. }
  1358. }
  1359. .photo-list {
  1360. width: 100%;
  1361. height: 116rpx;
  1362. overflow: hidden;
  1363. white-space: nowrap;
  1364. display: flex;
  1365. align-items: flex-start;
  1366. }
  1367. }
  1368. }
  1369. .remarks-btn {
  1370. width: 100%;
  1371. padding-top: 20rpx;
  1372. position: fixed;
  1373. bottom: 0;
  1374. left: 0;
  1375. background-color: #ffffff;
  1376. z-index: 99;
  1377. .edit-button-canel {
  1378. width: 100%;
  1379. height: 88rpx;
  1380. line-height: 88rpx;
  1381. text-align: center;
  1382. color: #ff5b00;
  1383. font-size: $font-size-24;
  1384. }
  1385. .edit-button {
  1386. width: 600rpx;
  1387. height: 90rpx;
  1388. background: $btn-confirm;
  1389. line-height: 90rpx;
  1390. text-align: center;
  1391. color: #ffffff;
  1392. font-size: $font-size-30;
  1393. margin: 0 auto;
  1394. border-radius: 45rpx;
  1395. }
  1396. }
  1397. </style>