add.vue 37 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390
  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: [], // 关键词
  434. trendsKeyword:[],// 动态标签
  435. stateKeyword:[] // 静态标签
  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.getPriorKeyword()
  464. this.getUserClubConsults()
  465. this.getUserClubRemarksDetail(option.remarksId)
  466. this.handleType = option.type
  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'){
  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) {
  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 (data.consult.includes(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. const remarks = data.remarks.map((el, index) => {
  557. if (!this.contains(this.labelsList, el.label)) {
  558. el.isChecked = true
  559. }
  560. return el
  561. })
  562. console.log('=========>remarks',remarks)
  563. this.firstLabelList = data.remarks.map((el, index) => {
  564. return el.label
  565. })
  566. console.log('=========>firstLabelList',this.firstLabelList)
  567. this.labelsList = [...remarks ,...this.labelsList]
  568. console.log('=========>labelsList',this.labelsList)
  569. this.staticLabelsList = data.stateKeyword.map((el, index) => {
  570. el.isAssociation = false
  571. return el
  572. })
  573. this.trendsLabelsList = data.trendsKeyword.map((el, index) => {
  574. el.isAssociation = false
  575. return el
  576. })
  577. this.reportText = data.reportText ? data.reportText : ''
  578. this.priceFlagText = this.pinceFilters(data.pinceSensitve)
  579. this.intenFlagText = this.intenActionsFilters(data.satisfied)
  580. this.followStateText = this.followupFilters(data.followup)
  581. this.sourceStateText = this.sourceActionsFilters(data.customerSource)
  582. this.genderText = this.genderActionsFilters(data.customerGender)
  583. this.additiveText = this.additiveActionsFilters(data.groupAddition)
  584. this.getCulbInfo(data.userId)
  585. }catch(error){
  586. this.$util.msg(error.msg, 2000)
  587. }
  588. },
  589. async getHistoryInfo(userId) {
  590. //查询机构历史填写信息
  591. try{
  592. const res = await this.UserService.getHistoryInfo({ userId:userId })
  593. const data = res.data
  594. this.remarksParams.customerSource = data.customerSource
  595. this.remarksParams.customerGender = data.customerGender
  596. this.remarksParams.customerAge = this.customerAge = data.customerAge
  597. this.remarksParams.groupAddition = data.groupAddition
  598. this.sourceStateText = this.sourceActionsFilters(data.customerSource)
  599. this.genderText = this.genderActionsFilters(data.customerGender)
  600. this.additiveText = this.additiveActionsFilters(data.groupAddition)
  601. }catch(error){
  602. console.log('=========>查询机构历史填写信息失败')
  603. }
  604. },
  605. async getPriorKeyword() {
  606. //查询优先展示标签
  607. try{
  608. const res = await this.UserService.getPriorKeyword()
  609. const data = res.data
  610. this.labelsList = data.map((el, index) => {
  611. el.isChecked = false
  612. return el
  613. })
  614. }catch(error){
  615. console.log('=========>获取优先展示标签列表失败')
  616. }
  617. },
  618. async getUserClubConsults() {
  619. //查询咨询类别
  620. try{
  621. const res = await this.UserService.getUserClubConsults()
  622. const data = res.data
  623. this.categorys = data.map((el, index) => {
  624. el.isChecked = false
  625. return el
  626. })
  627. }catch(error){
  628. console.log('=========>获取咨询类别列表失败')
  629. }
  630. },
  631. async editButtonConfim() {
  632. //保存资料备注
  633. if (this.isConfirmLoding) {
  634. return
  635. }
  636. if(this.current === 0){
  637. if (this.remarksParams.questionMan == '') {
  638. this.$util.msg('请输入咨询人姓名', 2000)
  639. return
  640. }
  641. if (this.remarksParams.consult == '') {
  642. this.$util.msg('请选择咨询类别', 2000)
  643. return
  644. }
  645. if (!this.remarksParams.pinceSensitve) {
  646. this.$util.msg('请选择价格敏感度', 2000)
  647. return
  648. }
  649. if (!this.remarksParams.satisfied) {
  650. this.$util.msg('请选择意向程度', 2000)
  651. return
  652. }
  653. if (!this.remarksParams.followup) {
  654. this.$util.msg('请选择跟进状态', 2000)
  655. return
  656. }
  657. }
  658. //统一处理静态标签
  659. let staticLabelsList = this.staticLabelsList.map( (el) =>{
  660. return el.label
  661. })
  662. //统一处理动态标签
  663. let trendsLabelsList = this.trendsLabelsList.map( (el) =>{
  664. return el.label
  665. })
  666. this.remarksParams.remarks = JSON.stringify(this.firstLabelList)
  667. this.remarksParams.trendsKeyword = JSON.stringify(trendsLabelsList)
  668. this.remarksParams.stateKeyword = JSON.stringify(staticLabelsList)
  669. console.log('remarksParams', this.remarksParams)
  670. this.isConfirmLoding = true
  671. this.getUserClubRemarksSave({ params: JSON.stringify(this.remarksParams) })
  672. },
  673. async getUserClubRemarksSave(params){
  674. try{
  675. await this.UserService.getUserClubRemarksSave(params)
  676. this.$util.msg('保存成功', 3000, true, 'success')
  677. this.isConfirmLoding = false
  678. setTimeout(() => {
  679. uni.navigateBack({
  680. delta: 1
  681. })
  682. }, 1000)
  683. }catch(error){
  684. this.$util.msg(error.msg, 2000)
  685. this.isConfirmLoding = false
  686. }
  687. },
  688. choiceCategorys(category, index) {
  689. // 选择类别
  690. category.isChecked = !category.isChecked
  691. if (category.isChecked) {
  692. if (!this.contains(this.checkedCategorysList, category.id)) {
  693. this.checkedCategorysList.push(category.id)
  694. }
  695. } else {
  696. this.checkedCategorysList.splice(this.checkedCategorysList.indexOf(category.id), 1)
  697. }
  698. this.remarksParams.consult = this.checkedCategorysList.join(',')
  699. },
  700. handleShowReportPopup() {
  701. // 显示报备弹窗
  702. if (this.isHashReport) {
  703. this.$util.msg('请取消已有关联后再重新关联报备', 2000)
  704. return
  705. }
  706. this.isReportpopup = true
  707. },
  708. handleShowGoodPopup() {
  709. // 显示添加商品弹窗
  710. this.isGoodspopup = true
  711. },
  712. handleClean() {
  713. //删除选择的商品
  714. this.remarksParams.productId === 0
  715. this.handleGoods = []
  716. },
  717. handleChoiceaGoodsData(data) {
  718. console.log('data', data)
  719. this.handleGoods = []
  720. this.remarksParams.productId = data.productId
  721. this.handleGoods.push(data)
  722. },
  723. handleChoiceaReportData(data) {
  724. console.log('data', data)
  725. this.reportText = data.reportText
  726. this.remarksParams.reportId = data.reportId
  727. },
  728. contains(arr, val) {
  729. // 校验
  730. return arr.some(item => item === val)
  731. },
  732. uploadFile(array) {
  733. //上传资质文件
  734. console.log(array)
  735. uploadFilePdfDocDocxXlsx()
  736. .then(res => {
  737. let data = JSON.parse(res.data).data
  738. let obj = {
  739. fileName: uni.getStorageSync('fileName'),
  740. ossName: data.ossName
  741. }
  742. array.push(obj)
  743. console.log('array', array)
  744. })
  745. .catch(err => {
  746. console.log(err)
  747. })
  748. },
  749. uploadPhotoFn(array) {
  750. //添加图片
  751. uploadFileImage().then(res => {
  752. array.push(JSON.parse(res.data).data)
  753. })
  754. },
  755. deleteFileFn(array, index) {
  756. console.log(array)
  757. //删除文件
  758. this.UploadService.PostFileDelete({
  759. ossName: array[index].ossName
  760. })
  761. .then(res => {
  762. array.splice(index, 1)
  763. })
  764. .catch(error => {
  765. console.log('删除文件异常提示===>', error.msg)
  766. })
  767. },
  768. deletePhotoFn(array, index) {
  769. //删除图片
  770. array.splice(index, 1)
  771. },
  772. previewImg(image, index) {
  773. //顶部商品图片预览
  774. isPreviewImg = true
  775. let previewUrls = image
  776. uni.previewImage({
  777. current: index, //图片索引
  778. urls: previewUrls, //必须是http图片,本地图片无效
  779. longPressActions: ''
  780. })
  781. },
  782. conInput(e) {
  783. //备注文字字数限制
  784. let value = e.detail.value
  785. let len = parseInt(value.length)
  786. if (len > this.max) return
  787. this.min = len
  788. if (this.min == 200) {
  789. this.$util.msg('您输入的字数已达上限', 2000)
  790. }
  791. },
  792. handleClickClunInfo() {
  793. //修改机构资料
  794. if (this.userInfo.userIdentity === 2) {
  795. this.$api.navigateTo(`/pages/seller/login/apply?userID=${this.userInfo.userId}`)
  796. } else if (this.userInfo.userIdentity === 4) {
  797. this.$api.navigateTo(`/pages/seller/login/information?userID=${this.userInfo.userId}`)
  798. }
  799. },
  800. followupFilters(value) {
  801. // 订单来源
  802. const map = {
  803. 1: '跟进中',
  804. 2: '跟进完成',
  805. 3: '已放弃'
  806. }
  807. return map[value]
  808. },
  809. pinceFilters(value) {
  810. // 意向
  811. const map = {
  812. 1: '敏感',
  813. 2: '适中',
  814. 3: '不敏感',
  815. 4: '不明确'
  816. }
  817. return map[value]
  818. },
  819. intenActionsFilters(value) {
  820. // 意向
  821. const map = {
  822. 1: '意向强烈',
  823. 2: '意向一般',
  824. 3: '意向平淡',
  825. 4: '随便看看'
  826. }
  827. return map[value]
  828. },
  829. sourceActionsFilters(value) {
  830. // 客户来源
  831. const map = {
  832. 0: '网站',
  833. 1: '小程序',
  834. 2: '公众号',
  835. 3: '小红书',
  836. 4: '微博',
  837. 5: '搜狐',
  838. 6: '其他'
  839. }
  840. return map[value]
  841. },
  842. genderActionsFilters(value) {
  843. // 客户性别
  844. const map = {
  845. 0: '男',
  846. 1: '女'
  847. }
  848. return map[value]
  849. },
  850. additiveActionsFilters(value) {
  851. // 加群情况
  852. const map = {
  853. 0: '已加群',
  854. 1: '未加群'
  855. }
  856. return map[value]
  857. },
  858. },
  859. onShow() {}
  860. }
  861. </script>
  862. <style lang="scss">
  863. page {
  864. height: auto;
  865. background: #ffffff;
  866. }
  867. .remarks-content-club {
  868. width: 100%;
  869. height: 288rpx;
  870. padding: 24rpx;
  871. box-sizing: border-box;
  872. border-bottom: 20rpx solid #f7f7f7;
  873. .content-club-le {
  874. width: 660rpx;
  875. float: left;
  876. .club-le-text {
  877. width: 100%;
  878. height: 60rpx;
  879. line-height: 60rpx;
  880. font-size: $font-size-28;
  881. color: #333333;
  882. .label {
  883. color: #999999;
  884. &.phone {
  885. margin-left: 48rpx;
  886. }
  887. }
  888. }
  889. }
  890. .content-club-ri {
  891. width: 40rpx;
  892. height: 160rpx;
  893. float: right;
  894. line-height: 160rpx;
  895. text-align: center;
  896. color: #b2b2b2;
  897. }
  898. }
  899. .remarks-content {
  900. width: 100%;
  901. height: auto;
  902. box-sizing: border-box;
  903. padding: 0 24rpx;
  904. padding-bottom: 160rpx;
  905. .list-view-title {
  906. width: 100%;
  907. height: auto;
  908. margin-bottom: 16rpx;
  909. margin-top: 40rpx;
  910. .list-view-h1 {
  911. line-height: 40rpx;
  912. font-size: $font-size-28;
  913. color: #333333;
  914. text-align: left;
  915. text {
  916. color: #ff2a2a;
  917. }
  918. }
  919. .list-view-p {
  920. line-height: 30rpx;
  921. color: #fea785;
  922. font-size: $font-size-20;
  923. }
  924. }
  925. .tui-remarks-content {
  926. width: 100%;
  927. height: auto;
  928. margin-bottom: 24rpx;
  929. .tui-remarks-goods-input {
  930. width: 100%;
  931. height: 180rpx;
  932. box-sizing: border-box;
  933. background-color: #f7f7f7;
  934. padding: 26rpx;
  935. border-radius: 6rpx;
  936. .input-add {
  937. width: 128rpx;
  938. height: 128rpx;
  939. line-height: 128rpx;
  940. float: left;
  941. text-align: center;
  942. box-sizing: border-box;
  943. border: 1px dashed #b2b2b2;
  944. border-radius: 6rpx;
  945. .iconfont {
  946. font-size: 44rpx;
  947. color: #b2b2b2;
  948. }
  949. }
  950. .input-text {
  951. height: 128rpx;
  952. box-sizing: border-box;
  953. padding: 0 32rpx;
  954. line-height: 128rpx;
  955. text-align: left;
  956. font-size: 26rpx;
  957. color: #b2b2b2;
  958. float: left;
  959. }
  960. }
  961. .tui-remarks-showgoods {
  962. width: 100%;
  963. height: 180rpx;
  964. box-sizing: border-box;
  965. .tui-remarks-btn {
  966. width: 90rpx;
  967. height: 180rpx;
  968. float: right;
  969. .btn {
  970. width: 100%;
  971. height: 90rpx;
  972. float: left;
  973. line-height: 90rpx;
  974. text-align: center;
  975. font-size: 26rpx;
  976. &.delete {
  977. color: #f94b4b;
  978. }
  979. &.update {
  980. color: #1890f9;
  981. }
  982. }
  983. }
  984. .tui-remarks-goods {
  985. width: 612rpx;
  986. height: 180rpx;
  987. box-sizing: border-box;
  988. background-color: #f7f7f7;
  989. padding: 26rpx;
  990. border-radius: 6rpx;
  991. float: left;
  992. .goods-image {
  993. width: 128rpx;
  994. height: 128rpx;
  995. float: left;
  996. image {
  997. width: 128rpx;
  998. height: 128rpx;
  999. display: block;
  1000. border-radius: 4rpx;
  1001. }
  1002. }
  1003. .goods-main {
  1004. width: 432rpx;
  1005. height: 128rpx;
  1006. box-sizing: border-box;
  1007. padding-left: 32rpx;
  1008. float: right;
  1009. .name {
  1010. width: 100%;
  1011. height: 60rpx;
  1012. box-sizing: border-box;
  1013. line-height: 60rpx;
  1014. color: #333333;
  1015. text-overflow: ellipsis;
  1016. overflow: hidden;
  1017. display: -webkit-box;
  1018. -webkit-line-clamp: 1;
  1019. line-clamp: 1;
  1020. -webkit-box-orient: vertical;
  1021. font-size: 26rpx;
  1022. }
  1023. .shop {
  1024. line-height: 60rpx;
  1025. color: #999999;
  1026. font-size: 26rpx;
  1027. text-overflow: ellipsis;
  1028. overflow: hidden;
  1029. display: -webkit-box;
  1030. -webkit-line-clamp: 1;
  1031. line-clamp: 1;
  1032. -webkit-box-orient: vertical;
  1033. }
  1034. }
  1035. }
  1036. }
  1037. }
  1038. .list-view-radio {
  1039. width: 100%;
  1040. height: 90rpx;
  1041. box-sizing: border-box;
  1042. padding: 0 10rpx;
  1043. border: 1px solid #b2b2b2;
  1044. border-radius: 6rpx;
  1045. margin-bottom: 30rpx;
  1046. position: relative;
  1047. &.btn {
  1048. border: none;
  1049. margin-top: 40rpx;
  1050. }
  1051. .input {
  1052. width: 100%;
  1053. height: 90rpx;
  1054. line-height: 90rpx;
  1055. float: left;
  1056. box-sizing: border-box;
  1057. font-size: $font-size-24;
  1058. color: #333333;
  1059. padding: 0 10rpx;
  1060. padding-right: 90rpx;
  1061. }
  1062. .iconfont {
  1063. width: 50rpx;
  1064. height: 90rpx;
  1065. display: block;
  1066. line-height: 90rpx;
  1067. text-align: center;
  1068. font-size: 30rpx;
  1069. color: #999999;
  1070. position: absolute;
  1071. right: 0;
  1072. top: 0;
  1073. }
  1074. }
  1075. .list-view-list-main {
  1076. width: 100%;
  1077. height: auto;
  1078. box-sizing: border-box;
  1079. margin-bottom: 30rpx;
  1080. position: relative;
  1081. .list-label-list{
  1082. width: 100%;
  1083. height: auto;
  1084. box-sizing: border-box;
  1085. .list-label{
  1086. display: inline-block;
  1087. padding: 0 20rpx;
  1088. height: 48rpx;
  1089. line-height: 48rpx;
  1090. background: #F7F7F7;
  1091. text-align: center;
  1092. margin-right: 20rpx;
  1093. margin-bottom: 20rpx;
  1094. font-size: 26rpx;
  1095. color: #666666;
  1096. &.active{
  1097. background: #FEF6F3;
  1098. color: #FF5B00;
  1099. }
  1100. }
  1101. }
  1102. .list-view-list {
  1103. width: 100%;
  1104. height: 90rpx;
  1105. box-sizing: border-box;
  1106. margin-bottom: 30rpx;
  1107. .list-view-input {
  1108. width: 614rpx;
  1109. height: 90rpx;
  1110. float: left;
  1111. position: relative;
  1112. .input {
  1113. width: 614rpx;
  1114. height: 90rpx;
  1115. box-sizing: border-box;
  1116. padding: 0 20rpx;
  1117. border: 1px solid #b2b2b2;
  1118. border-radius: 6rpx;
  1119. font-size: $font-size-24;
  1120. color: #333333;
  1121. }
  1122. .list-view-assAction {
  1123. width: 614rpx;
  1124. min-height: 270rpx;
  1125. box-sizing: border-box;
  1126. padding: 10rpx 0;
  1127. background: rgba(255, 255, 255, 1);
  1128. box-shadow: 0px 2px 20px rgba(0, 0, 0, 0.15);
  1129. border-radius: 6rpx;
  1130. position: absolute;
  1131. top: -288rpx;
  1132. left: 0;
  1133. z-index: 999;
  1134. overflow: hidden;
  1135. .tui-popup-scroll {
  1136. width: 100%;
  1137. height: 270rpx;
  1138. }
  1139. .ass-list {
  1140. width: 100%;
  1141. height: 90rpx;
  1142. box-sizing: border-box;
  1143. padding: 0 24rpx;
  1144. line-height: 90rpx;
  1145. font-size: $font-size-26;
  1146. color: #666666;
  1147. text-align: left;
  1148. border-bottom: 1px solid #e1e1e1;
  1149. &:last-child {
  1150. border-bottom: none;
  1151. }
  1152. }
  1153. }
  1154. }
  1155. .list-view-btn {
  1156. width: 88rpx;
  1157. height: 90rpx;
  1158. float: right;
  1159. text-align: center;
  1160. line-height: 90rpx;
  1161. .icon-zengjia {
  1162. color: #1890f9;
  1163. font-size: $font-size-48;
  1164. }
  1165. .icon-shanchu4 {
  1166. color: #ff5b00;
  1167. font-size: $font-size-48;
  1168. }
  1169. }
  1170. }
  1171. }
  1172. .remarks-category {
  1173. width: 100%;
  1174. float: left;
  1175. margin-bottom: 20rpx;
  1176. .label {
  1177. color: #666666;
  1178. font-size: 28rpx;
  1179. margin-right: 50rpx;
  1180. }
  1181. .checkbox-list {
  1182. height: 60rpx;
  1183. font-size: $font-size-28;
  1184. line-height: 60rpx;
  1185. border-radius: 10rpx;
  1186. margin-right: 20rpx;
  1187. margin-bottom: 10rpx;
  1188. box-sizing: border-box;
  1189. float: left;
  1190. .icon-yixuanze {
  1191. margin-right: 10rpx;
  1192. color: #ff5b00;
  1193. }
  1194. .icon-weixuanze {
  1195. margin-right: 10rpx;
  1196. color: #b2b2b2;
  1197. }
  1198. }
  1199. .item-text {
  1200. display: inline-block;
  1201. font-size: 26rpx;
  1202. color: #333333;
  1203. border-radius: 28rpx;
  1204. line-height: 50rpx;
  1205. }
  1206. }
  1207. .remarks-input {
  1208. width: 100%;
  1209. height: 90rpx;
  1210. padding: 0 16rpx;
  1211. margin: 20rpx 0 0 0;
  1212. border-radius: 6rpx;
  1213. position: relative;
  1214. border: 1px solid #b2b2b2;
  1215. box-sizing: border-box;
  1216. .input {
  1217. width: 100%;
  1218. height: 90rpx;
  1219. line-height: 90rpx;
  1220. font-size: $font-size-26;
  1221. color: $text-color;
  1222. z-index: 1;
  1223. }
  1224. }
  1225. .remarks-textarea {
  1226. width: 100%;
  1227. height: 226rpx;
  1228. padding: 16rpx;
  1229. margin: 20rpx 0 0 0;
  1230. border-radius: 6rpx;
  1231. position: relative;
  1232. border: 1px solid #b2b2b2;
  1233. box-sizing: border-box;
  1234. .textarea {
  1235. width: 100%;
  1236. height: 100%;
  1237. line-height: 36rpx;
  1238. font-size: $font-size-26;
  1239. color: $text-color;
  1240. z-index: 1;
  1241. }
  1242. .limit-text {
  1243. position: absolute;
  1244. right: 20rpx;
  1245. bottom: 16rpx;
  1246. line-height: 44rpx;
  1247. font-size: $font-size-24;
  1248. color: #b2b2b2;
  1249. }
  1250. }
  1251. .list-view {
  1252. width: 100%;
  1253. height: 40rpx;
  1254. margin-top: 20rpx;
  1255. .list-view-file {
  1256. width: 132rpx;
  1257. height: 44rpx;
  1258. line-height: 44rpx;
  1259. font-size: $font-size-20;
  1260. text-align: center;
  1261. color: #ffffff;
  1262. background-color: $color-system;
  1263. border-radius: 8rpx;
  1264. float: left;
  1265. margin-top: 10rpx;
  1266. }
  1267. .list-view-text {
  1268. width: 100%;
  1269. float: left;
  1270. .input {
  1271. width: 560rpx;
  1272. height: 44rpx;
  1273. box-sizing: border-box;
  1274. line-height: 44rpx;
  1275. color: #333333;
  1276. text-overflow: ellipsis;
  1277. overflow: hidden;
  1278. display: -webkit-box;
  1279. -webkit-line-clamp: 1;
  1280. line-clamp: 1;
  1281. -webkit-box-orient: vertical;
  1282. float: left;
  1283. }
  1284. .delbtn {
  1285. width: 96rpx;
  1286. height: 44rpx;
  1287. border-radius: 8rpx;
  1288. background-color: #fff2ec;
  1289. font-size: $font-size-24;
  1290. color: #ff5b00;
  1291. line-height: 44rpx;
  1292. text-align: center;
  1293. float: left;
  1294. }
  1295. }
  1296. }
  1297. .list-view-upload {
  1298. width: 100%;
  1299. height: auto;
  1300. .photo-item {
  1301. display: inline-block;
  1302. width: 112rpx;
  1303. height: 112rpx;
  1304. margin: 10rpx 0;
  1305. margin-right: 25rpx;
  1306. border-radius: 10rpx;
  1307. border: 1px solid #f5f5f5;
  1308. position: relative;
  1309. float: left;
  1310. &.add {
  1311. width: 112rpx;
  1312. height: 112rpx;
  1313. border-color: #b2b2b2;
  1314. text-align: center;
  1315. line-height: 112rpx;
  1316. margin-right: 0rpx;
  1317. .icon-jiahao {
  1318. font-size: $font-size-44;
  1319. color: #b2b2b2;
  1320. font-weight: bold;
  1321. }
  1322. }
  1323. .icon-iconfontguanbi {
  1324. width: 30rpx;
  1325. height: 30rpx;
  1326. border-radius: 50%;
  1327. display: block;
  1328. position: absolute;
  1329. right: -10rpx;
  1330. top: -10rpx;
  1331. background: #f94b4b;
  1332. text-align: center;
  1333. line-height: 30rpx;
  1334. color: #ffffff;
  1335. font-size: $font-size-22;
  1336. }
  1337. image {
  1338. width: 112rpx;
  1339. height: 112rpx;
  1340. border-radius: 10rpx;
  1341. }
  1342. }
  1343. .photo-list {
  1344. width: 100%;
  1345. height: 116rpx;
  1346. overflow: hidden;
  1347. white-space: nowrap;
  1348. display: flex;
  1349. align-items: flex-start;
  1350. }
  1351. }
  1352. }
  1353. .remarks-btn {
  1354. width: 100%;
  1355. padding-top: 20rpx;
  1356. position: fixed;
  1357. bottom: 0;
  1358. left: 0;
  1359. background-color: #ffffff;
  1360. z-index: 99;
  1361. .edit-button-canel {
  1362. width: 100%;
  1363. height: 88rpx;
  1364. line-height: 88rpx;
  1365. text-align: center;
  1366. color: #ff5b00;
  1367. font-size: $font-size-24;
  1368. }
  1369. .edit-button {
  1370. width: 600rpx;
  1371. height: 90rpx;
  1372. background: $btn-confirm;
  1373. line-height: 90rpx;
  1374. text-align: center;
  1375. color: #ffffff;
  1376. font-size: $font-size-30;
  1377. margin: 0 auto;
  1378. border-radius: 45rpx;
  1379. }
  1380. }
  1381. </style>