moment.vue 36 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910
  1. <template name="moment">
  2. <view id="moments">
  3. <view class="home-pic" :style="style">
  4. <view class="home-pic-base">
  5. <view class="top-pic">
  6. <image class="header" :src="item.logo" @tap="test"></image>
  7. </view>
  8. <view class="top-name">{{item.name}}</view>
  9. </view>
  10. </view>
  11. <view style="padding-bottom: 140rpx;">
  12. <view class="moments__post" v-for="(v,k) in fetch.info" :key="k" :id="'post-'+k">
  13. <view class="post-left">
  14. <image class="post_header" :src="v.user.avatar"></image>
  15. </view>
  16. <view class="post_right">
  17. <text class="post-username">{{v.user.username}}</text>
  18. <view class="paragraph">{{v.content}}</view>
  19. <!-- 相册 -->
  20. <view class="thumbnails" v-if="v.pic.length > 0 && v.pic[0]">
  21. <view :class="v.pic.length === 1?'my-gallery':'thumbnail'" v-for="(v1, k1) in v.pic" :key="k1">
  22. <image class="gallery_img" lazy-load mode="aspectFill" :src="v1" :data-src="v1" @tap="Dever.viewPic(v.pic, v1)"></image>
  23. </view>
  24. </view>
  25. <!-- 资料条 -->
  26. <view class="toolbar">
  27. <view class="timestamp">{{v.cdate_string}}</view>
  28. <view class="like" @tap="like(k)">
  29. <image src="@/static/moment/islike.png" style="width: 30px;"></image>
  30. </view>
  31. <view class="comment" @tap="updateComment(v.id)">
  32. <image src="@/static/moment/comment.png" style="width: 30px;"></image>
  33. </view>
  34. </view>
  35. <!-- 赞/评论区 -->
  36. <view class="post-footer">
  37. <view class="footer_content">
  38. <image class="liked" src="@/static/moment/liked.png"></image>
  39. <!--<text class="nickname" v-for="(user,index_like) in post.like" :key="index_like">{{user.username}}</text>-->
  40. </view>
  41. <view v-if="v.child.length" class="footer_content" v-for="(v2, k2) in v.child" :key="k2" @tap="reply(k,k2)">
  42. <text class="comment-nickname">{{v2.user.username}}: <text class="comment-content">{{v2.content}}</text></text>
  43. </view>
  44. </view>
  45. </view>
  46. <!-- 结束 post -->
  47. </view>
  48. </view>
  49. <view class="foot" >
  50. </view>
  51. <view class="uni-loadmore" v-if="showLoadMore">{{loadMoreText}}</view>
  52. <y-Fab :bottom="20" :right="140" @click="publish" bgColor="#0fa5e5" text="发布"></y-Fab>
  53. <block v-if="index == -1">
  54. <y-Fab :bottom="20" :right="20" @click="back" text="返回"></y-Fab>
  55. </block>
  56. <view v-if="showComment">
  57. <dever-publish :title="title" :is_upload="is_upload" @hideModal="hideModal" @getRefresh="getRefresh" :type="publish_type" :type_id="publish_type_id" :api="api" :to_id="to_id" :to_uid="to_uid"></dever-publish>
  58. </view>
  59. </view>
  60. </template>
  61. <script>
  62. import postData from '@/lib/moment/index.post.data.js';//朋友圈数据data
  63. import deverPublish from '@/lib/dever/components/publish.vue';
  64. export default {
  65. name: "moment",
  66. props: {
  67. control : {
  68. type : Object,
  69. value : null
  70. },
  71. item : {
  72. type : Object,
  73. value : null
  74. },
  75. index : 0
  76. },
  77. components: {
  78. deverPublish
  79. },
  80. data() {
  81. return {
  82. user_id: 4,
  83. username: 'Liuxy',
  84. data_index: '',
  85. comment_index: '',
  86. input_placeholder: '评论', //占位内容
  87. focus: false, //是否自动聚焦输入框
  88. is_reply: false, //回复还是评论
  89. showInput: false, //评论输入框
  90. screenHeight: '', //屏幕高度(系统)
  91. platform: '',
  92. windowHeight: '' ,//可用窗口高度(不计入软键盘)
  93. loadMoreText: "加载中...",
  94. showLoadMore: false,
  95. fetch : {
  96. 'info' : [],
  97. },
  98. style : '',
  99. title : '发布新动态',
  100. api : 'app/community/?l=api.addMoment',
  101. type : 3,
  102. type_id : 0,
  103. publish_type : 3,
  104. publish_type_id : 0,
  105. type_id : 0,
  106. to_id : 0,
  107. to_uid : 0,
  108. is_upload : true,
  109. showComment : false,
  110. }
  111. },
  112. mounted() {
  113. this.type_id = this.item.id;
  114. this.style = 'background:url("'+this.item.pic+'");background-size: contain;';
  115. uni.getSystemInfo({ //获取设备信息
  116. success: (res) => {
  117. this.screenHeight = res.screenHeight;
  118. this.platform = res.platform;
  119. }
  120. });
  121. uni.onWindowResize((res) => { //监听窗口尺寸变化,窗口尺寸不包括底部导航栏
  122. if(this.platform === 'ios'){
  123. this.windowHeight = res.size.windowHeight;
  124. this.adjust();
  125. }else{
  126. if (this.screenHeight - res.size.windowHeight > 60 && this.windowHeight <= res.size.windowHeight) {
  127. this.windowHeight = res.size.windowHeight;
  128. this.adjust();
  129. }
  130. }
  131. });
  132. this.getData(1);
  133. },
  134. onHide() {
  135. uni.offWindowResize(); //取消监听窗口尺寸变化
  136. },
  137. onUnload() {
  138. this.max = 0,
  139. this.data = [],
  140. this.loadMoreText = "加载更多",
  141. this.showLoadMore = false;
  142. },
  143. onReachBottom() { //监听上拉触底事件
  144. console.log('onReachBottom');
  145. this.showLoadMore = true;
  146. setTimeout(() => {
  147. //获取数据
  148. if (this.posts.length < 20){//测试数据
  149. this.posts = this.posts.concat(this.posts);
  150. }else{
  151. this.loadMoreText = "暂无更多";
  152. }
  153. }, 1000);
  154. },
  155. onPullDownRefresh() { //监听下拉刷新动作
  156. console.log('onPullDownRefresh');
  157. // 这里获取数据
  158. setTimeout(function() {
  159. //初始化数据
  160. uni.stopPullDownRefresh(); //停止下拉刷新
  161. }, 1000);
  162. },
  163. onNavigationBarButtonTap(e) {//监听标题栏点击事件
  164. if (e.index == 0) {
  165. this.navigateTo('../publish/publish')
  166. }
  167. },
  168. computed:{
  169. },
  170. methods: {
  171. getData : function(page) {
  172. this.Dever.page([page, 'info'], this, 'app/community/?l=api.moment', {type:this.type,type_id:this.type_id});
  173. },
  174. showModal : function() {
  175. this.showComment = true;
  176. },
  177. hideModal : function() {
  178. this.showComment = false;
  179. },
  180. getRefresh : function(cate_id, type, type_id, content) {
  181. this.getData(1);
  182. this.hideModal();
  183. },
  184. publish : function() {
  185. this.publish_type = 3;
  186. this.publish_type_id = this.item.id;
  187. this.to_id = 0;
  188. this.to_uid = 0;
  189. this.is_upload = true;
  190. this.showModal();
  191. },
  192. updateComment : function (type_id, to_id, to_uid) {
  193. this.publish_type = 30;
  194. this.publish_type_id = type_id;
  195. if (to_id) {
  196. this.to_id = to_id;
  197. } else {
  198. this.to_id = 0;
  199. }
  200. if (to_uid) {
  201. this.to_uid = to_uid;
  202. } else {
  203. this.to_uid = 0;
  204. }
  205. this.is_upload = false;
  206. this.showModal();
  207. },
  208. }
  209. }
  210. </script>
  211. <style scoped>
  212. .liked{
  213. /* display: inline-block; */
  214. position: relative;
  215. margin-right: 10upx;
  216. width: 34upx;
  217. height: 34upx;
  218. }
  219. .post-username{
  220. font-size:32upx;
  221. font-weight: 600;
  222. color: #36648B;
  223. }
  224. .gallery_img {
  225. width: 100%;
  226. height: 100%
  227. }
  228. .header {
  229. width: 100%;
  230. height: 100%;
  231. z-index: 10;
  232. border-radius: 40upx;
  233. }
  234. .publish {
  235. position: absolute;
  236. top: 20upx;
  237. right: 20upx;
  238. /* z-index: 9999; */
  239. }
  240. .post_header {
  241. width: 90upx !important;
  242. height: 90upx !important;
  243. border-radius: 10upx;
  244. margin-top: 8upx;
  245. }
  246. #moments {
  247. background: #fff;
  248. }
  249. #moments .home-pic {
  250. width: 100%;
  251. /* margin-top: -150upx; */
  252. position: relative;
  253. height: 500upx;
  254. z-index: 5;
  255. background-size: cover;
  256. margin-bottom: 50upx
  257. }
  258. #moments .home-pic-base {
  259. position: absolute;
  260. /*left: -60upx;*/
  261. bottom: -40upx;
  262. width: 100%;
  263. height: 160upx;
  264. padding: 0 30upx;
  265. }
  266. #moments .home-pic-base .top-pic {
  267. width: 360upx;
  268. height: 360upx;
  269. border-radius: 40upx;
  270. -webkit-transform: scale(0.5);
  271. -ms-transform: scale(0.5);
  272. transform: scale(0.5);
  273. -webkit-transform-origin: 100% 0%;
  274. -ms-transform-origin: 100% 0%;
  275. transform-origin: 100% 0%;
  276. background-color: #ffffff;
  277. float: right
  278. }
  279. #moments .home-pic-base .top-name {
  280. position: absolute;
  281. /* left: 20px; */
  282. right: 240upx;
  283. top: 30upx;
  284. font-size: 32upx;
  285. font-weight: 600;
  286. text-align: right;
  287. color: #ffffff;
  288. overflow: hidden
  289. }
  290. #moments .moments__post {
  291. background: #fff;
  292. display: block;
  293. border-bottom: 1px solid #f2eeee;
  294. padding: 30upx 20upx;
  295. position: relative;
  296. display: -webkit-box;
  297. display: -webkit-flex;
  298. display: flex;
  299. }
  300. #moments .moments__post::before {
  301. content: none
  302. }
  303. #moments .moments__post .post_right {
  304. font-size: 32upx;
  305. display: table-cell;
  306. padding-left: 20upx;
  307. width: 100%;
  308. }
  309. /* #moments .moments__post .post_right .paragraphExtender {
  310. margin: 5px auto;
  311. display: -webkit-box;
  312. display: -webkit-flex;
  313. display: -ms-flexbox;
  314. display: flex
  315. } */
  316. #moments .moments__post .title {
  317. color: #094dcc
  318. }
  319. #moments .moments__post .thumbnails {
  320. width: 100%;
  321. display: flex;
  322. flex-wrap: wrap;
  323. /* display: -webkit-box;
  324. display: -webkit-flex;
  325. display: -ms-flexbox; */
  326. /* -webkit-flex-wrap: wrap;
  327. -ms-flex-wrap: wrap; */
  328. }
  329. #moments .moments__post .thumbnails .thumbnail {
  330. width: 30%;
  331. height: 180upx;
  332. margin: 4upx;
  333. background: #757575;
  334. overflow: hidden;
  335. }
  336. .my-gallery{
  337. width: 250upx;
  338. height: 400upx;
  339. margin: 4upx;
  340. background: #757575;
  341. overflow: hidden
  342. }
  343. #moments .moments__post .toolbar {
  344. position: relative;
  345. top: 10upx;
  346. display: -webkit-box;
  347. display: -webkit-flex;
  348. display: -ms-flexbox;
  349. display: flex;
  350. -webkit-box-align: center;
  351. -webkit-align-items: center;
  352. -ms-flex-align: center;
  353. align-items: center
  354. }
  355. #moments .moments__post .toolbar .timestamp {
  356. color: #757575;
  357. font-size: 22upx;
  358. }
  359. #moments .moments__post .like {
  360. width: auto;
  361. height: auto;
  362. position: absolute;
  363. right: 60upx;
  364. display: flex;
  365. align-items: center;
  366. }
  367. #moments .moments__post .comment {
  368. width: auto;
  369. height: auto;
  370. position: absolute;
  371. right: 0upx;
  372. display: flex;
  373. align-items: center;
  374. }
  375. #moments .moments__post .toolbar image{
  376. padding-left: 20upx;
  377. width: 40upx;
  378. height: 40upx;
  379. }
  380. .post-footer{
  381. margin-top: 30upx;
  382. background-color: #f3f3f5;
  383. width: 100%;
  384. }
  385. #moments .moments__post .footer_content {
  386. padding-left: 10upx;
  387. position: relative;
  388. display: -webkit-box;
  389. display: -webkit-flex;
  390. display: -ms-flexbox;
  391. display: flex;
  392. -webkit-box-align: center;
  393. -webkit-align-items: center;
  394. -ms-flex-align: center;
  395. align-items: center;
  396. -webkit-flex-wrap: wrap;
  397. -ms-flex-wrap: wrap;
  398. flex-wrap: wrap
  399. }
  400. #moments .moments__post .footer_content .nickname {
  401. color: #36648B;
  402. font-size: 24upx
  403. }
  404. #moments .moments__post .footer_content .comment-nickname {
  405. color: #36648B;
  406. font-size: 24upx
  407. }
  408. #moments .moments__post .footer_content .comment-content {
  409. color: #000000;
  410. font-size: 24upx
  411. }
  412. .foot {
  413. position: fixed;
  414. width: 100%;
  415. height: 90upx;
  416. min-height: 90upx;
  417. left: 0upx;
  418. bottom: 0upx;
  419. overflow: hidden;
  420. }
  421. @font-face {
  422. font-family: uniicons;
  423. font-weight: normal;
  424. font-style: normal;
  425. src: url('https://img-cdn-qiniu.dcloud.net.cn/fonts/uni.ttf') format('truetype');
  426. }
  427. /*通用 */
  428. view{
  429. font-size:28upx;
  430. line-height:1.8;
  431. }
  432. progress, checkbox-group{
  433. width: 100%;
  434. }
  435. form {
  436. width: 100%;
  437. }
  438. .uni-flex {
  439. display: flex;
  440. flex-direction: row;
  441. }
  442. .uni-flex-item {
  443. flex: 1;
  444. }
  445. .uni-row {
  446. flex-direction: row;
  447. }
  448. .uni-column {
  449. flex-direction: column;
  450. }
  451. .uni-link{
  452. color:#576B95;
  453. font-size:26upx;
  454. }
  455. .uni-center{
  456. text-align:center;
  457. }
  458. .uni-inline-item{
  459. display: flex;
  460. flex-direction: row;
  461. align-items:center;
  462. }
  463. .uni-inline-item text{
  464. margin-right: 20upx;
  465. }
  466. .uni-inline-item text:last-child{
  467. margin-right: 0upx;
  468. margin-left: 20upx;
  469. }
  470. /* page */
  471. .uni-page-head{
  472. padding:35upx;
  473. text-align: center;
  474. }
  475. .uni-page-head-title {
  476. display: inline-block;
  477. padding: 0 40upx;
  478. font-size: 30upx;
  479. height: 88upx;
  480. line-height: 88upx;
  481. color: #BEBEBE;
  482. box-sizing: border-box;
  483. border-bottom: 2upx solid #D8D8D8;
  484. }
  485. .uni-page-body {
  486. width: 100%;
  487. flex-grow: 1;
  488. overflow-x: hidden;
  489. }
  490. .uni-padding-wrap{
  491. width:690upx;
  492. padding:0 30upx;
  493. }
  494. .uni-word {
  495. text-align: center;
  496. padding:200upx 100upx;
  497. }
  498. .uni-title {
  499. font-size:30upx;
  500. font-weight:500;
  501. padding:20upx 0;
  502. line-height:1.5;
  503. }
  504. .uni-text{
  505. font-size:28upx;
  506. }
  507. .uni-title text{
  508. font-size:24upx;
  509. color:#888;
  510. }
  511. .uni-text-gray{
  512. color: #ccc;
  513. }
  514. .uni-text-small {
  515. font-size:24upx;
  516. }
  517. .uni-common-mb{
  518. margin-bottom:30upx;
  519. }
  520. .uni-common-pb{
  521. padding-bottom:30upx;
  522. }
  523. .uni-common-pl{
  524. padding-left:30upx;
  525. }
  526. .uni-common-mt{
  527. margin-top:30upx;
  528. }
  529. /* 背景色 */
  530. .uni-bg-red{
  531. background:#F76260; color:#FFF;
  532. }
  533. .uni-bg-green{
  534. background:#09BB07; color:#FFF;
  535. }
  536. .uni-bg-blue{
  537. background:#007AFF; color:#FFF;
  538. }
  539. /* 标题 */
  540. .uni-h1 {font-size: 80upx; font-weight:700;}
  541. .uni-h2 {font-size: 60upx; font-weight:700;}
  542. .uni-h3 {font-size: 48upx; font-weight:700;}
  543. .uni-h4 {font-size: 36upx; font-weight:700;}
  544. .uni-h5 {font-size: 28upx; color: #8f8f94;}
  545. .uni-h6 {font-size: 24upx; color: #8f8f94;}
  546. .uni-bold{font-weight:bold;}
  547. /* 文本溢出隐藏 */
  548. .uni-ellipsis {overflow: hidden; white-space: nowrap; text-overflow: ellipsis;}
  549. /* 竖向百分百按钮 */
  550. .uni-btn-v{
  551. padding:10upx 0;
  552. }
  553. .uni-btn-v button{margin:20upx 0;}
  554. /* 表单 */
  555. .uni-form-item{
  556. display:flex;
  557. width:100%;
  558. padding:10upx 0;
  559. }
  560. .uni-form-item .title{
  561. padding:10upx 25upx;
  562. }
  563. .uni-label {
  564. width: 210upx;
  565. word-wrap: break-word;
  566. word-break: break-all;
  567. text-indent:20upx;
  568. }
  569. .uni-input {
  570. height: 50upx;
  571. padding: 15upx 25upx;
  572. line-height:50upx;
  573. font-size:28upx;
  574. background:#FFF;
  575. flex: 1;
  576. }
  577. radio-group, checkbox-group{
  578. width:100%;
  579. }
  580. radio-group label, checkbox-group label{
  581. padding-right:20upx;
  582. }
  583. .uni-form-item .with-fun{
  584. display:flex;
  585. flex-wrap:nowrap;
  586. background:#FFFFFF;
  587. }
  588. .uni-form-item .with-fun .uni-icon{
  589. width:40px;
  590. height:80upx;
  591. line-height:80upx;
  592. flex-shrink:0;
  593. }
  594. /* loadmore */
  595. .uni-loadmore{
  596. height:80upx;
  597. line-height:80upx;
  598. text-align:center;
  599. padding-bottom:30upx;
  600. }
  601. /*数字角标*/
  602. .uni-badge,
  603. .uni-badge-default {
  604. font-family: 'Helvetica Neue', Helvetica, sans-serif;
  605. font-size: 12px;
  606. line-height: 1;
  607. display: inline-block;
  608. padding: 3px 6px;
  609. color: #333;
  610. border-radius: 100px;
  611. background-color: rgba(0, 0, 0, .15);
  612. }
  613. .uni-badge.uni-badge-inverted {
  614. padding: 0 5px 0 0;
  615. color: #929292;
  616. background-color: transparent
  617. }
  618. .uni-badge-primary {
  619. color: #fff;
  620. background-color: #007aff
  621. }
  622. .uni-badge-blue.uni-badge-inverted,
  623. .uni-badge-primary.uni-badge-inverted {
  624. color: #007aff;
  625. background-color: transparent
  626. }
  627. .uni-badge-green,
  628. .uni-badge-success {
  629. color: #fff;
  630. background-color: #4cd964;
  631. }
  632. .uni-badge-green.uni-badge-inverted,
  633. .uni-badge-success.uni-badge-inverted {
  634. color: #4cd964;
  635. background-color: transparent
  636. }
  637. .uni-badge-warning,
  638. .uni-badge-yellow {
  639. color: #fff;
  640. background-color: #f0ad4e
  641. }
  642. .uni-badge-warning.uni-badge-inverted,
  643. .uni-badge-yellow.uni-badge-inverted {
  644. color: #f0ad4e;
  645. background-color: transparent
  646. }
  647. .uni-badge-danger,
  648. .uni-badge-red {
  649. color: #fff;
  650. background-color: #dd524d
  651. }
  652. .uni-badge-danger.uni-badge-inverted,
  653. .uni-badge-red.uni-badge-inverted {
  654. color: #dd524d;
  655. background-color: transparent
  656. }
  657. .uni-badge-purple,
  658. .uni-badge-royal {
  659. color: #fff;
  660. background-color: #8a6de9
  661. }
  662. .uni-badge-purple.uni-badge-inverted,
  663. .uni-badge-royal.uni-badge-inverted {
  664. color: #8a6de9;
  665. background-color: transparent
  666. }
  667. /*折叠面板 */
  668. .uni-collapse-content {
  669. height: 0;
  670. width: 100%;
  671. overflow: hidden;
  672. }
  673. .uni-collapse-content.uni-active {
  674. height: auto;
  675. }
  676. /*卡片视图 */
  677. .uni-card {
  678. background: #fff;
  679. border-radius: 8upx;
  680. margin:20upx 0;
  681. position: relative;
  682. box-shadow: 0 2upx 4upx rgba(0, 0, 0, .3);
  683. }
  684. .uni-card-content {
  685. font-size: 30upx;
  686. }
  687. .uni-card-content.image-view{
  688. width: 100%;
  689. margin: 0;
  690. }
  691. .uni-card-content-inner {
  692. position: relative;
  693. padding: 30upx;
  694. }
  695. .uni-card-footer,
  696. .uni-card-header {
  697. position: relative;
  698. display: flex;
  699. min-height: 50upx;
  700. padding: 20upx 30upx;
  701. justify-content: space-between;
  702. align-items: center;
  703. }
  704. .uni-card-header {
  705. font-size: 36upx;
  706. }
  707. .uni-card-footer {
  708. color: #6d6d72;
  709. }
  710. .uni-card-footer:before,
  711. .uni-card-header:after {
  712. position: absolute;
  713. top: 0;
  714. right: 0;
  715. left: 0;
  716. height: 2upx;
  717. content: '';
  718. -webkit-transform: scaleY(.5);
  719. transform: scaleY(.5);
  720. background-color: #c8c7cc;
  721. }
  722. .uni-card-header:after {
  723. top: auto;
  724. bottom: 0;
  725. }
  726. .uni-card-media {
  727. justify-content: flex-start;
  728. }
  729. .uni-card-media-logo {
  730. height: 84upx;
  731. width: 84upx;
  732. margin-right: 20upx;
  733. }
  734. .uni-card-media-body {
  735. height: 84upx;
  736. display: flex;
  737. flex-direction: column;
  738. justify-content: space-between;
  739. align-items: flex-start;
  740. }
  741. .uni-card-media-text-top {
  742. line-height: 36upx;
  743. font-size: 34upx;
  744. }
  745. .uni-card-media-text-bottom {
  746. line-height: 30upx;
  747. font-size: 28upx;
  748. color: #8f8f94;
  749. }
  750. .uni-card-link {
  751. color: #007AFF;
  752. }
  753. /* 列表 */
  754. .uni-list {
  755. background-color: #FFFFFF;
  756. position: relative;
  757. width: 100%;
  758. display: flex;
  759. flex-direction: column;
  760. }
  761. .uni-list:after {
  762. position: absolute;
  763. z-index: 10;
  764. right: 0;
  765. bottom: 0;
  766. left: 0;
  767. height: 1px;
  768. content: '';
  769. -webkit-transform: scaleY(.5);
  770. transform: scaleY(.5);
  771. background-color: #c8c7cc;
  772. }
  773. .uni-list::before {
  774. position: absolute;
  775. z-index: 10;
  776. right: 0;
  777. top: 0;
  778. left: 0;
  779. height: 1px;
  780. content: '';
  781. -webkit-transform: scaleY(.5);
  782. transform: scaleY(.5);
  783. background-color: #c8c7cc;
  784. }
  785. .uni-list-cell {
  786. position: relative;
  787. display: flex;
  788. flex-direction: row;
  789. justify-content: space-between;
  790. align-items: center;
  791. }
  792. .uni-list-cell-hover {
  793. background-color: #eee;
  794. }
  795. .uni-list-cell-pd {
  796. padding: 22upx 30upx;
  797. }
  798. .uni-list-cell-left {
  799. font-size:28upx;
  800. padding: 0 30upx;
  801. }
  802. .uni-list-cell-db,
  803. .uni-list-cell-right {
  804. flex: 1;
  805. }
  806. .uni-list-cell::after {
  807. position: absolute;
  808. z-index: 3;
  809. right: 0;
  810. bottom: 0;
  811. left: 30upx;
  812. height: 1px;
  813. content: '';
  814. -webkit-transform: scaleY(.5);
  815. transform: scaleY(.5);
  816. background-color: #c8c7cc;
  817. }
  818. .uni-list .uni-list-cell:last-child::after {
  819. height: 0upx;
  820. }
  821. .uni-list-cell-last.uni-list-cell::after {
  822. height: 0upx;
  823. }
  824. .uni-list-cell-divider {
  825. position: relative;
  826. display: flex;
  827. color: #999;
  828. background-color: #f7f7f7;
  829. padding:15upx 20upx;
  830. }
  831. .uni-list-cell-divider::before {
  832. position: absolute;
  833. right: 0;
  834. top: 0;
  835. left: 0;
  836. height: 1px;
  837. content: '';
  838. -webkit-transform: scaleY(.5);
  839. transform: scaleY(.5);
  840. background-color: #c8c7cc;
  841. }
  842. .uni-list-cell-divider::after {
  843. position: absolute;
  844. right: 0;
  845. bottom: 0;
  846. left: 0upx;
  847. height: 1px;
  848. content: '';
  849. -webkit-transform: scaleY(.5);
  850. transform: scaleY(.5);
  851. background-color: #c8c7cc;
  852. }
  853. .uni-list-cell-navigate {
  854. font-size:30upx;
  855. padding: 22upx 30upx;
  856. line-height: 48upx;
  857. position: relative;
  858. display: flex;
  859. box-sizing: border-box;
  860. width: 100%;
  861. flex: 1;
  862. justify-content: space-between;
  863. align-items: center;
  864. }
  865. .uni-list-cell-navigate {
  866. padding-right: 36upx;
  867. }
  868. .uni-navigate-badge {
  869. padding-right: 50upx;
  870. }
  871. .uni-list-cell-navigate.uni-navigate-right:after {
  872. font-family: uniicons;
  873. content: '\e583';
  874. position: absolute;
  875. right: 24upx;
  876. top: 50%;
  877. color: #bbb;
  878. -webkit-transform: translateY(-50%);
  879. transform: translateY(-50%);
  880. }
  881. .uni-list-cell-navigate.uni-navigate-bottom:after {
  882. font-family: uniicons;
  883. content: '\e581';
  884. position: absolute;
  885. right: 24upx;
  886. top: 50%;
  887. color: #bbb;
  888. -webkit-transform: translateY(-50%);
  889. transform: translateY(-50%);
  890. }
  891. .uni-list-cell-navigate.uni-navigate-bottom.uni-active::after {
  892. font-family: uniicons;
  893. content: '\e580';
  894. position: absolute;
  895. right: 24upx;
  896. top: 50%;
  897. color: #bbb;
  898. -webkit-transform: translateY(-50%);
  899. transform: translateY(-50%);
  900. }
  901. .uni-collapse.uni-list-cell {
  902. flex-direction: column;
  903. }
  904. .uni-list-cell-navigate.uni-active {
  905. background: #eee;
  906. }
  907. .uni-list.uni-collapse {
  908. box-sizing: border-box;
  909. height: 0;
  910. overflow: hidden;
  911. }
  912. .uni-collapse .uni-list-cell {
  913. padding-left: 20upx;
  914. }
  915. .uni-collapse .uni-list-cell::after {
  916. left: 52upx;
  917. }
  918. .uni-list.uni-active {
  919. height: auto;
  920. }
  921. /* 三行列表 */
  922. .uni-triplex-row {
  923. display: flex;
  924. flex: 1;
  925. width: 100%;
  926. box-sizing: border-box;
  927. flex-direction: row;
  928. padding: 22upx 30upx;
  929. }
  930. .uni-triplex-right,
  931. .uni-triplex-left {
  932. display: flex;
  933. flex-direction: column;
  934. }
  935. .uni-triplex-left {
  936. width: 84%;
  937. }
  938. .uni-triplex-left .uni-title{
  939. padding:8upx 0;
  940. }
  941. .uni-triplex-left .uni-text, .uni-triplex-left .uni-text-small{color:#999999;}
  942. .uni-triplex-right {
  943. width: 16%;
  944. text-align: right;
  945. }
  946. /* 图文列表 */
  947. .uni-media-list {
  948. padding: 22upx 30upx;
  949. box-sizing: border-box;
  950. display: flex;
  951. width: 100%;
  952. flex-direction: row;
  953. }
  954. .uni-navigate-right.uni-media-list {
  955. padding-right: 74upx;
  956. }
  957. .uni-pull-right {
  958. flex-direction: row-reverse;
  959. }
  960. .uni-pull-right>.uni-media-list-logo {
  961. margin-right: 0upx;
  962. margin-left: 20upx;
  963. }
  964. .uni-media-list-logo {
  965. height: 84upx;
  966. width: 84upx;
  967. margin-right: 20upx;
  968. }
  969. .uni-media-list-logo image {
  970. height: 100%;
  971. width: 100%;
  972. }
  973. .uni-media-list-body {
  974. height: 84upx;
  975. display: flex;
  976. flex: 1;
  977. flex-direction: column;
  978. justify-content: space-between;
  979. align-items: flex-start;
  980. overflow: hidden;
  981. }
  982. .uni-media-list-text-top {
  983. width: 100%;
  984. line-height: 36upx;
  985. font-size: 30upx;
  986. }
  987. .uni-media-list-text-bottom {
  988. width: 100%;
  989. line-height: 30upx;
  990. font-size: 26upx;
  991. color: #8f8f94;
  992. }
  993. /* 九宫格 */
  994. .uni-grid-9 {
  995. background: #f2f2f2;
  996. width: 750upx;
  997. display: flex;
  998. flex-direction: row;
  999. flex-wrap: wrap;
  1000. border-top: 2upx solid #eee;
  1001. }
  1002. .uni-grid-9-item {
  1003. width: 250upx;
  1004. height: 200upx;
  1005. display: flex;
  1006. flex-direction: column;
  1007. align-items: center;
  1008. justify-content: center;
  1009. border-bottom: 2upx solid;
  1010. border-right: 2upx solid;
  1011. border-color: #eee;
  1012. box-sizing: border-box;
  1013. }
  1014. .no-border-right {
  1015. border-right: none;
  1016. }
  1017. .uni-grid-9-image {
  1018. width: 100upx;
  1019. height: 100upx;
  1020. }
  1021. .uni-grid-9-text {
  1022. width: 250upx;
  1023. line-height: 4upx;
  1024. height: 40upx;
  1025. text-align: center;
  1026. font-size: 30upx;
  1027. }
  1028. .uni-grid-9-item-hover {
  1029. background: rgba(0, 0, 0, 0.1);
  1030. }
  1031. /* 上传 */
  1032. .uni-uploader {
  1033. flex: 1;
  1034. flex-direction: column;
  1035. }
  1036. .uni-uploader-head {
  1037. display: flex;
  1038. flex-direction: row;
  1039. justify-content: space-between;
  1040. }
  1041. .uni-uploader-info {
  1042. color: #B2B2B2;
  1043. }
  1044. .uni-uploader-body {
  1045. margin-top: 16upx;
  1046. }
  1047. .uni-uploader__files {
  1048. display: flex;
  1049. flex-direction: row;
  1050. flex-wrap: wrap;
  1051. }
  1052. .uni-uploader__file {
  1053. margin: 10upx;
  1054. width: 210upx;
  1055. height: 210upx;
  1056. }
  1057. .uni-uploader__img {
  1058. display: block;
  1059. width: 210upx;
  1060. height: 210upx;
  1061. }
  1062. .uni-uploader__input-box {
  1063. position: relative;
  1064. margin:10upx;
  1065. width: 208upx;
  1066. height: 208upx;
  1067. border: 2upx solid #D9D9D9;
  1068. }
  1069. .uni-uploader__input-box:before,
  1070. .uni-uploader__input-box:after {
  1071. content: " ";
  1072. position: absolute;
  1073. top: 50%;
  1074. left: 50%;
  1075. -webkit-transform: translate(-50%, -50%);
  1076. transform: translate(-50%, -50%);
  1077. background-color: #D9D9D9;
  1078. }
  1079. .uni-uploader__input-box:before {
  1080. width: 4upx;
  1081. height: 79upx;
  1082. }
  1083. .uni-uploader__input-box:after {
  1084. width: 79upx;
  1085. height: 4upx;
  1086. }
  1087. .uni-uploader__input-box:active {
  1088. border-color: #999999;
  1089. }
  1090. .uni-uploader__input-box:active:before,
  1091. .uni-uploader__input-box:active:after {
  1092. background-color: #999999;
  1093. }
  1094. .uni-uploader__input {
  1095. position: absolute;
  1096. z-index: 1;
  1097. top: 0;
  1098. left: 0;
  1099. width: 100%;
  1100. height: 100%;
  1101. opacity: 0;
  1102. }
  1103. /*问题反馈*/
  1104. .feedback-title {
  1105. display: flex;
  1106. flex-direction: row;
  1107. justify-content: space-between;
  1108. align-items: center;
  1109. padding: 20upx;
  1110. color: #8f8f94;
  1111. font-size: 28upx;
  1112. }
  1113. .feedback-star-view.feedback-title {
  1114. justify-content: flex-start;
  1115. margin: 0;
  1116. }
  1117. .feedback-quick {
  1118. position: relative;
  1119. padding-right: 40upx;
  1120. }
  1121. .feedback-quick:after {
  1122. font-family: uniicons;
  1123. font-size: 40upx;
  1124. content: '\e581';
  1125. position: absolute;
  1126. right: 0;
  1127. top: 50%;
  1128. color: #bbb;
  1129. -webkit-transform: translateY(-50%);
  1130. transform: translateY(-50%);
  1131. }
  1132. .feedback-body {
  1133. background: #fff;
  1134. }
  1135. .feedback-textare {
  1136. height: 200upx;
  1137. font-size: 34upx;
  1138. line-height: 50upx;
  1139. width: 100%;
  1140. box-sizing: border-box;
  1141. padding: 20upx 30upx 0;
  1142. }
  1143. .feedback-input {
  1144. font-size: 34upx;
  1145. height: 50upx;
  1146. min-height: 50upx;
  1147. padding: 15upx 20upx;
  1148. line-height: 50upx;
  1149. }
  1150. .feedback-uploader {
  1151. padding: 22upx 20upx;
  1152. }
  1153. .feedback-star {
  1154. font-family: uniicons;
  1155. font-size: 40upx;
  1156. margin-left: 6upx;
  1157. }
  1158. .feedback-star-view {
  1159. margin-left: 20upx;
  1160. }
  1161. .feedback-star:after {
  1162. content: '\e408';
  1163. }
  1164. .feedback-star.active {
  1165. color: #FFB400;
  1166. }
  1167. .feedback-star.active:after {
  1168. content: '\e438';
  1169. }
  1170. .feedback-submit {
  1171. background: #007AFF;
  1172. color: #FFFFFF;
  1173. margin: 20upx;
  1174. }
  1175. /* input group */
  1176. .uni-input-group {
  1177. position: relative;
  1178. padding: 0;
  1179. border: 0;
  1180. background-color: #fff;
  1181. }
  1182. .uni-input-group:before {
  1183. position: absolute;
  1184. top: 0;
  1185. right: 0;
  1186. left: 0;
  1187. height: 2upx;
  1188. content: '';
  1189. transform: scaleY(.5);
  1190. background-color: #c8c7cc;
  1191. }
  1192. .uni-input-group:after {
  1193. position: absolute;
  1194. right: 0;
  1195. bottom: 0;
  1196. left: 0;
  1197. height: 2upx;
  1198. content: '';
  1199. transform: scaleY(.5);
  1200. background-color: #c8c7cc;
  1201. }
  1202. .uni-input-row {
  1203. position: relative;
  1204. display: flex;
  1205. flex-direction: row;
  1206. font-size:28upx;
  1207. padding: 22upx 30upx;
  1208. justify-content: space-between;
  1209. }
  1210. .uni-input-group .uni-input-row:after {
  1211. position: absolute;
  1212. right: 0;
  1213. bottom: 0;
  1214. left: 30upx;
  1215. height: 2upx;
  1216. content: '';
  1217. transform: scaleY(.5);
  1218. background-color: #c8c7cc;
  1219. }
  1220. .uni-input-row label {
  1221. line-height: 70upx;
  1222. }
  1223. /* textarea */
  1224. .uni-textarea{
  1225. width:100%;
  1226. background:#FFF;
  1227. }
  1228. .uni-textarea textarea{
  1229. width:96%;
  1230. padding:18upx 2%;
  1231. line-height:1.6;
  1232. font-size:28upx;
  1233. height:150upx;
  1234. }
  1235. /* tab bar */
  1236. .uni-tab-bar {
  1237. display: flex;
  1238. flex: 1;
  1239. flex-direction: column;
  1240. overflow: hidden;
  1241. height: 100%;
  1242. }
  1243. .uni-tab-bar .list {
  1244. width: 750upx;
  1245. height: 100%;
  1246. }
  1247. .uni-swiper-tab {
  1248. width: 100%;
  1249. white-space: nowrap;
  1250. line-height: 100upx;
  1251. height: 100upx;
  1252. border-bottom: 1px solid #c8c7cc;
  1253. }
  1254. .swiper-tab-list {
  1255. font-size: 30upx;
  1256. width: 150upx;
  1257. display: inline-block;
  1258. text-align: center;
  1259. color: #555;
  1260. }
  1261. .uni-tab-bar .active {
  1262. color: #007AFF;
  1263. }
  1264. .uni-tab-bar .swiper-box {
  1265. flex: 1;
  1266. width: 100%;
  1267. height: calc(100% - 100upx);
  1268. }
  1269. .uni-tab-bar-loading{
  1270. padding:20upx 0;
  1271. }
  1272. /* steps */
  1273. .uni-steps{padding:20upx 30upx; flex-grow: 1; display:flex; flex-wrap:wrap;}
  1274. .uni-steps view{display:flex; flex-wrap:wrap; float:none;}
  1275. .uni-steps .step{width:31.3%; margin:0 1%; flex-wrap:nowrap;}
  1276. .uni-steps .step-circle{width:50upx; height:50upx; border-radius:50upx; background:#F1F1F3; justify-content:center; line-height:50upx; flex-shrink:0; margin-right:15upx; color:#666; font-size:28upx;}
  1277. .uni-steps .step-content{width:100%; height:22upx; border-bottom:1px solid #F1F2F3;}
  1278. .uni-steps .step-title{line-height:50upx; height:50upx; background:#FFFFFF; width:auto; overflow:hidden; padding-right:8upx;}
  1279. .uni-steps .current .step-circle{background:#00B26A; color:#FFFFFF;}
  1280. .uni-steps .current .step-content{border-color:#00B26A;}
  1281. .uni-steps .current .step-title{color:#00B26A;}
  1282. /* comment */
  1283. .uni-comment{padding:5rpx 0; display: flex; flex-grow:1; flex-direction: column;}
  1284. .uni-comment-list{flex-wrap:nowrap; padding:10rpx 0; margin:10rpx 0; width:100%; display: flex;}
  1285. .uni-comment-face{width:70upx; height:70upx; border-radius:100%; margin-right:20upx; flex-shrink:0; overflow:hidden;}
  1286. .uni-comment-face image{width:100%; border-radius:100%;}
  1287. .uni-comment-body{width:100%;}
  1288. .uni-comment-top{line-height:1.5em; justify-content:space-between;}
  1289. .uni-comment-top text{color:#0A98D5; font-size:24upx;}
  1290. .uni-comment-date{line-height:38upx; flex-direction:row; justify-content:space-between; display:flex !important; flex-grow:1;}
  1291. .uni-comment-date view{color:#666666; font-size:24upx; line-height:38upx;}
  1292. .uni-comment-content{line-height:1.6em; font-size:28upx; padding:8rpx 0;}
  1293. .uni-comment-replay-btn{background:#FFF; font-size:24upx; line-height:28upx; padding:5rpx 20upx; border-radius:30upx; color:#333 !important; margin:0 10upx;}
  1294. /* swiper msg */
  1295. .uni-swiper-msg{width:100%; padding:12rpx 0; flex-wrap:nowrap; display:flex;}
  1296. .uni-swiper-msg-icon{width:50upx; margin-right:20upx;}
  1297. .uni-swiper-msg-icon image{width:100%; flex-shrink:0;}
  1298. .uni-swiper-msg swiper{width:100%; height:50upx;}
  1299. .uni-swiper-msg swiper-item{line-height:50upx;}
  1300. /* product */
  1301. .uni-product-list {
  1302. display: flex;
  1303. width: 100%;
  1304. flex-wrap: wrap;
  1305. flex-direction: row;
  1306. }
  1307. .uni-product {
  1308. padding: 20upx;
  1309. display: flex;
  1310. flex-direction: column;
  1311. }
  1312. .image-view {
  1313. height: 330upx;
  1314. width: 330upx;
  1315. margin:12upx 0;
  1316. }
  1317. .uni-product-image {
  1318. height: 330upx;
  1319. width: 330upx;
  1320. }
  1321. .uni-product-title {
  1322. width: 300upx;
  1323. word-break: break-all;
  1324. display: -webkit-box;
  1325. overflow: hidden;
  1326. line-height:1.5;
  1327. text-overflow: ellipsis;
  1328. -webkit-box-orient: vertical;
  1329. -webkit-line-clamp: 2;
  1330. }
  1331. .uni-product-price {
  1332. margin-top:10upx;
  1333. font-size: 28upx;
  1334. line-height:1.5;
  1335. position: relative;
  1336. }
  1337. .uni-product-price-original {
  1338. color: #e80080;
  1339. }
  1340. .uni-product-price-favour {
  1341. color: #888888;
  1342. text-decoration: line-through;
  1343. margin-left: 10upx;
  1344. }
  1345. .uni-product-tip {
  1346. position: absolute;
  1347. right: 10upx;
  1348. background-color: #ff3333;
  1349. color: #ffffff;
  1350. padding: 0 10upx;
  1351. border-radius: 5upx;
  1352. }
  1353. /* timeline */
  1354. .uni-timeline {
  1355. margin: 35upx 0;
  1356. display: flex;
  1357. flex-direction: column;
  1358. position: relative;
  1359. }
  1360. .uni-timeline-item {
  1361. display: flex;
  1362. flex-direction: row;
  1363. position: relative;
  1364. padding-bottom: 20upx;
  1365. box-sizing: border-box;
  1366. overflow: hidden;
  1367. }
  1368. .uni-timeline-item .uni-timeline-item-keynode {
  1369. width: 160upx;
  1370. flex-shrink: 0;
  1371. box-sizing: border-box;
  1372. padding-right: 20upx;
  1373. text-align: right;
  1374. line-height: 65upx;
  1375. }
  1376. .uni-timeline-item .uni-timeline-item-divider {
  1377. flex-shrink: 0;
  1378. position: relative;
  1379. width: 30upx;
  1380. height: 30upx;
  1381. top: 15upx;
  1382. border-radius: 50%;
  1383. background-color: #bbb;
  1384. }
  1385. .uni-timeline-item-divider::before,
  1386. .uni-timeline-item-divider::after {
  1387. position: absolute;
  1388. left: 15upx;
  1389. width: 1upx;
  1390. height: 100vh;
  1391. content: '';
  1392. background: inherit;
  1393. }
  1394. .uni-timeline-item-divider::before {
  1395. bottom: 100%;
  1396. }
  1397. .uni-timeline-item-divider::after {
  1398. top: 100%;
  1399. }
  1400. .uni-timeline-last-item .uni-timeline-item-divider:after {
  1401. display: none;
  1402. }
  1403. .uni-timeline-first-item .uni-timeline-item-divider:before {
  1404. display: none;
  1405. }
  1406. .uni-timeline-item .uni-timeline-item-content {
  1407. padding-left: 20upx;
  1408. }
  1409. .uni-timeline-last-item .bottom-border::after{
  1410. display: none;
  1411. }
  1412. .uni-timeline-item-content .datetime{
  1413. color: #CCCCCC;
  1414. }
  1415. /* 自定义节点颜色 */
  1416. .uni-timeline-last-item .uni-timeline-item-divider{
  1417. background-color: #1AAD19;
  1418. }
  1419. /* uni-icon */
  1420. .uni-icon {
  1421. font-family: uniicons;
  1422. font-size: 24px;
  1423. font-weight: normal;
  1424. font-style: normal;
  1425. line-height: 1;
  1426. display: inline-block;
  1427. text-decoration: none;
  1428. -webkit-font-smoothing: antialiased;
  1429. }
  1430. .uni-icon.uni-active {
  1431. color: #007aff;
  1432. }
  1433. .uni-icon-contact:before {
  1434. content: '\e100';
  1435. }
  1436. .uni-icon-person:before {
  1437. content: '\e101';
  1438. }
  1439. .uni-icon-personadd:before {
  1440. content: '\e102';
  1441. }
  1442. .uni-icon-contact-filled:before {
  1443. content: '\e130';
  1444. }
  1445. .uni-icon-person-filled:before {
  1446. content: '\e131';
  1447. }
  1448. .uni-icon-personadd-filled:before {
  1449. content: '\e132';
  1450. }
  1451. .uni-icon-phone:before {
  1452. content: '\e200';
  1453. }
  1454. .uni-icon-email:before {
  1455. content: '\e201';
  1456. }
  1457. .uni-icon-chatbubble:before {
  1458. content: '\e202';
  1459. }
  1460. .uni-icon-chatboxes:before {
  1461. content: '\e203';
  1462. }
  1463. .uni-icon-phone-filled:before {
  1464. content: '\e230';
  1465. }
  1466. .uni-icon-email-filled:before {
  1467. content: '\e231';
  1468. }
  1469. .uni-icon-chatbubble-filled:before {
  1470. content: '\e232';
  1471. }
  1472. .uni-icon-chatboxes-filled:before {
  1473. content: '\e233';
  1474. }
  1475. .uni-icon-weibo:before {
  1476. content: '\e260';
  1477. }
  1478. .uni-icon-weixin:before {
  1479. content: '\e261';
  1480. }
  1481. .uni-icon-pengyouquan:before {
  1482. content: '\e262';
  1483. }
  1484. .uni-icon-chat:before {
  1485. content: '\e263';
  1486. }
  1487. .uni-icon-qq:before {
  1488. content: '\e264';
  1489. }
  1490. .uni-icon-videocam:before {
  1491. content: '\e300';
  1492. }
  1493. .uni-icon-camera:before {
  1494. content: '\e301';
  1495. }
  1496. .uni-icon-mic:before {
  1497. content: '\e302';
  1498. }
  1499. .uni-icon-location:before {
  1500. content: '\e303';
  1501. }
  1502. .uni-icon-mic-filled:before,
  1503. .uni-icon-speech:before {
  1504. content: '\e332';
  1505. }
  1506. .uni-icon-location-filled:before {
  1507. content: '\e333';
  1508. }
  1509. .uni-icon-micoff:before {
  1510. content: '\e360';
  1511. }
  1512. .uni-icon-image:before {
  1513. content: '\e363';
  1514. }
  1515. .uni-icon-map:before {
  1516. content: '\e364';
  1517. }
  1518. .uni-icon-compose:before {
  1519. content: '\e400';
  1520. }
  1521. .uni-icon-trash:before {
  1522. content: '\e401';
  1523. }
  1524. .uni-icon-upload:before {
  1525. content: '\e402';
  1526. }
  1527. .uni-icon-download:before {
  1528. content: '\e403';
  1529. }
  1530. .uni-icon-close:before {
  1531. content: '\e404';
  1532. }
  1533. .uni-icon-redo:before {
  1534. content: '\e405';
  1535. }
  1536. .uni-icon-undo:before {
  1537. content: '\e406';
  1538. }
  1539. .uni-icon-refresh:before {
  1540. content: '\e407';
  1541. }
  1542. .uni-icon-star:before {
  1543. content: '\e408';
  1544. }
  1545. .uni-icon-plus:before {
  1546. content: '\e409';
  1547. }
  1548. .uni-icon-minus:before {
  1549. content: '\e410';
  1550. }
  1551. .uni-icon-circle:before,
  1552. .uni-icon-checkbox:before {
  1553. content: '\e411';
  1554. }
  1555. .uni-icon-close-filled:before,
  1556. .uni-icon-clear:before {
  1557. content: '\e434';
  1558. }
  1559. .uni-icon-refresh-filled:before {
  1560. content: '\e437';
  1561. }
  1562. .uni-icon-star-filled:before {
  1563. content: '\e438';
  1564. }
  1565. .uni-icon-plus-filled:before {
  1566. content: '\e439';
  1567. }
  1568. .uni-icon-minus-filled:before {
  1569. content: '\e440';
  1570. }
  1571. .uni-icon-circle-filled:before {
  1572. content: '\e441';
  1573. }
  1574. .uni-icon-checkbox-filled:before {
  1575. content: '\e442';
  1576. }
  1577. .uni-icon-closeempty:before {
  1578. content: '\e460';
  1579. }
  1580. .uni-icon-refreshempty:before {
  1581. content: '\e461';
  1582. }
  1583. .uni-icon-reload:before {
  1584. content: '\e462';
  1585. }
  1586. .uni-icon-starhalf:before {
  1587. content: '\e463';
  1588. }
  1589. .uni-icon-spinner:before {
  1590. content: '\e464';
  1591. }
  1592. .uni-icon-spinner-cycle:before {
  1593. content: '\e465';
  1594. }
  1595. .uni-icon-search:before {
  1596. content: '\e466';
  1597. }
  1598. .uni-icon-plusempty:before {
  1599. content: '\e468';
  1600. }
  1601. .uni-icon-forward:before {
  1602. content: '\e470';
  1603. }
  1604. .uni-icon-back:before,
  1605. .uni-icon-left-nav:before {
  1606. content: '\e471';
  1607. }
  1608. .uni-icon-checkmarkempty:before {
  1609. content: '\e472';
  1610. }
  1611. .uni-icon-home:before {
  1612. content: '\e500';
  1613. }
  1614. .uni-icon-navigate:before {
  1615. content: '\e501';
  1616. }
  1617. .uni-icon-gear:before {
  1618. content: '\e502';
  1619. }
  1620. .uni-icon-paperplane:before {
  1621. content: '\e503';
  1622. }
  1623. .uni-icon-info:before {
  1624. content: '\e504';
  1625. }
  1626. .uni-icon-help:before {
  1627. content: '\e505';
  1628. }
  1629. .uni-icon-locked:before {
  1630. content: '\e506';
  1631. }
  1632. .uni-icon-more:before {
  1633. content: '\e507';
  1634. }
  1635. .uni-icon-flag:before {
  1636. content: '\e508';
  1637. }
  1638. .uni-icon-home-filled:before {
  1639. content: '\e530';
  1640. }
  1641. .uni-icon-gear-filled:before {
  1642. content: '\e532';
  1643. }
  1644. .uni-icon-info-filled:before {
  1645. content: '\e534';
  1646. }
  1647. .uni-icon-help-filled:before {
  1648. content: '\e535';
  1649. }
  1650. .uni-icon-more-filled:before {
  1651. content: '\e537';
  1652. }
  1653. .uni-icon-settings:before {
  1654. content: '\e560';
  1655. }
  1656. .uni-icon-list:before {
  1657. content: '\e562';
  1658. }
  1659. .uni-icon-bars:before {
  1660. content: '\e563';
  1661. }
  1662. .uni-icon-loop:before {
  1663. content: '\e565';
  1664. }
  1665. .uni-icon-paperclip:before {
  1666. content: '\e567';
  1667. }
  1668. .uni-icon-eye:before {
  1669. content: '\e568';
  1670. }
  1671. .uni-icon-arrowup:before {
  1672. content: '\e580';
  1673. }
  1674. .uni-icon-arrowdown:before {
  1675. content: '\e581';
  1676. }
  1677. .uni-icon-arrowleft:before {
  1678. content: '\e582';
  1679. }
  1680. .uni-icon-arrowright:before {
  1681. content: '\e583';
  1682. }
  1683. .uni-icon-arrowthinup:before {
  1684. content: '\e584';
  1685. }
  1686. .uni-icon-arrowthindown:before {
  1687. content: '\e585';
  1688. }
  1689. .uni-icon-arrowthinleft:before {
  1690. content: '\e586';
  1691. }
  1692. .uni-icon-arrowthinright:before {
  1693. content: '\e587';
  1694. }
  1695. .uni-icon-pulldown:before {
  1696. content: '\e588';
  1697. }
  1698. .uni-icon-scan:before {
  1699. content: "\e612";
  1700. }
  1701. </style>