index.vue 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800
  1. <template>
  2. <view v-if="is_login==1">
  3. <view class="technicalbox">
  4. <view class="tui-mybg-box">
  5. <view class="tui-header-center">
  6. <image :src="technical.touxiang || '/static/images/my/mine_def_touxiang_3x.png'" class="tui-avatar">
  7. </image>
  8. <view class="tui-info">
  9. <view class="tui-nickname">
  10. {{ technical.title }}
  11. </view>
  12. <view class="tui-explain">平台</view>
  13. </view>
  14. <view class="tui-btn-edit">
  15. <!--营业-->
  16. <view class="tui-btn-text">{{ technical.is_business == 1 ? '上班中' : '休息中' }}</view>
  17. <tui-button type="warning" shape="circle" width="92rpx" height="40rpx" :size="22"
  18. @click="business(technical.is_business)">{{ technical.is_business == 1 ? '休息' : '上班' }}
  19. </tui-button>
  20. </view>
  21. </view>
  22. </view>
  23. <view class="tui-content-box">
  24. <view class="tui-box tui-assets-box">
  25. <view class="tui-order-list tui-assets-list">
  26. <view class="tui-order-item">
  27. <view class="tui-assets-num"><text>{{ technical.total_income }}</text></view>
  28. <view class="tui-assets-text">总收入</view>
  29. </view>
  30. <view class="tui-order-item">
  31. <view class="tui-assets-num">
  32. <text>{{ technical.income }}</text>
  33. </view>
  34. <view class="tui-assets-text">本月收入</view>
  35. </view>
  36. <view class="tui-order-item">
  37. <view class="tui-assets-num">
  38. <text>{{ technical.income }}</text>
  39. </view>
  40. <view class="tui-assets-text">可提现</view>
  41. </view>
  42. </view>
  43. </view>
  44. <view class="tui-box tui-order-box" style="margin-top: 20rpx;">
  45. <tui-list-cell :arrow="true" padding="0" unlined :lineLeft="false"
  46. @click="navigateTo('/pagesA/my/admintechnical/order?ptype=2')">
  47. <view class="tui-cell-header">
  48. <view class="tui-cell-title">订单管理</view>
  49. <view class="tui-cell-sub">全部订单</view>
  50. </view>
  51. </tui-list-cell>
  52. <view class="tui-order-list">
  53. <view v-if="technicalconfig.is_pickuporder == 1" class="tui-order-item"
  54. @tap="navigateTo('/pagesA/my/publicOrder/order?identity=technical')">
  55. <view class="tui-icon-box">
  56. <tui-icon name="clock" :size="30" color="#ff1e02"></tui-icon>
  57. </view>
  58. <view class="tui-order-text">任务大厅</view>
  59. </view>
  60. <view class="tui-order-item"
  61. @tap="navigateTo('/pagesA/my/admintechnical/order?currentTab=1&ptype=2')">
  62. <view class="tui-icon-box">
  63. <tui-icon name="signin" :size="30" color="#666666"></tui-icon>
  64. </view>
  65. <view class="tui-order-text">已接单</view>
  66. </view>
  67. <view class="tui-order-item"
  68. @tap="navigateTo('/pagesA/my/admintechnical/order?currentTab=2&ptype=2')">
  69. <view class="tui-icon-box">
  70. <tui-icon name="feedback" :size="30" color="#666666"></tui-icon>
  71. </view>
  72. <view class="tui-order-text">服务中</view>
  73. </view>
  74. <view class="tui-order-item"
  75. @tap="navigateTo('/pagesA/my/admintechnical/order?currentTab=4&ptype=2')">
  76. <view class="tui-icon-box">
  77. <tui-icon name="square-fill" :size="30" color="#666666"></tui-icon>
  78. </view>
  79. <view class="tui-order-text">已完成</view>
  80. </view>
  81. </view>
  82. </view>
  83. <view class="tui-box tui-tool-box">
  84. <tui-list-view>
  85. <tui-list-cell
  86. @tap="navigateTo('/pagesA/my/publicOrder/timescard?identity=technical')" :arrow="true">
  87. <view class="tui-item-box">
  88. <tui-icon name="bankcard" :size="24" color="#5677fc"></tui-icon>
  89. <view class="tui-list-cell_name">次卡订单</view>
  90. </view>
  91. </tui-list-cell>
  92. <tui-list-cell @tap="qrcode" :arrow="true">
  93. <view class="tui-item-box">
  94. <tui-icon name="qrcode" :size="24" color="#5677fc"></tui-icon>
  95. <view class="tui-list-cell_name">我的二维码</view>
  96. </view>
  97. </tui-list-cell>
  98. <tui-list-cell v-if="technical.is_submitaudit != 1"
  99. @tap="navigateTo('/pagesA/my/withdraw/withdraw?mo=technical')" :arrow="true">
  100. <view class="tui-item-box">
  101. <tui-icon name="wealth-fill" :size="24" color="#5677fc"></tui-icon>
  102. <text class="tui-list-cell_name">申请提现</text>
  103. </view>
  104. </tui-list-cell>
  105. <tui-list-cell @tap="navigateTo('/pagesA/my/withdraw/withdrawlog?mo=technical')" :arrow="true">
  106. <view class="tui-item-box">
  107. <tui-icon name="listview" :size="24" color="#5677fc"></tui-icon>
  108. <view class="tui-list-cell_name">提现记录</view>
  109. </view>
  110. </tui-list-cell>
  111. <tui-list-cell v-if="technical.is_submitaudit != 1"
  112. @tap="navigateTo('/pagesA/my/memberbankcard/memberbankcard')" :arrow="true">
  113. <view class="tui-item-box">
  114. <tui-icon name="bankcard-fill" :size="24" color="#5677fc"></tui-icon>
  115. <view class="tui-list-cell_name">提现帐号</view>
  116. </view>
  117. </tui-list-cell>
  118. <tui-list-cell @tap="navigateTo('/pagesA/my/forhelp/forhelp')" :arrow="true">
  119. <view class="tui-item-box">
  120. <tui-icon name="voipphone" :size="24" color="#ff1e02"></tui-icon>
  121. <view class="tui-list-cell_name">紧急求助</view>
  122. </view>
  123. </tui-list-cell>
  124. <!-- #ifdef MP-WEIXIN -->
  125. <tui-list-cell @tap="scancode" :arrow="true">
  126. <view class="tui-item-box">
  127. <tui-icon name="sweep" :size="24" color="#5677fc"></tui-icon>
  128. <view class="tui-list-cell_name">扫码核销</view>
  129. </view>
  130. </tui-list-cell>
  131. <tui-list-cell @tap="navigateTo('/pagesA/my/userInfo/setmpopenid')" :arrow="true">
  132. <view class="tui-item-box">
  133. <tui-icon name="setup" :size="24" color="#5677fc"></tui-icon>
  134. <view class="tui-list-cell_name">绑定公众号通知</view>
  135. </view>
  136. </tui-list-cell>
  137. <!-- #endif -->
  138. <tui-list-cell @tap="navigateTo('/pagesA/my/admintechnical/update')" :arrow="true">
  139. <view class="tui-item-box">
  140. <tui-icon name="setup" :size="24" color="#5677fc"></tui-icon>
  141. <view class="tui-list-cell_name">修改资料</view>
  142. </view>
  143. </tui-list-cell>
  144. <tui-list-cell @tap="navigateTo('/pages/login/logout?ptype=technical')" :arrow="true">
  145. <view class="tui-item-box">
  146. <tui-icon name="setup" :size="24" color="#5677fc"></tui-icon>
  147. <view class="tui-list-cell_name">安全退出</view>
  148. </view>
  149. </tui-list-cell>
  150. </tui-list-view>
  151. </view>
  152. </view>
  153. </view>
  154. <!--=======二维码 start=======-->
  155. <tui-modal custom :show="modalShow" backgroundColor="transparent" padding="0" @cancel="hideModal">
  156. <view class="tui-poster__box" :style="{ marginTop: height + 'px' }">
  157. <image src="/static/images/mall/icon_popup_closed.png" class="tui-close__img" @tap.stop="hideModal">
  158. </image>
  159. <image :src="qrcodeImg" v-if="qrcodeImg" class="tui-poster__img"></image>
  160. <tui-button type="danger" width="460rpx" height="80rpx" shape="circle" @click="savePic">保存图片
  161. </tui-button>
  162. <view class="tui-share__tips">保存二维图片到手机相册后,分享到您的圈子</view>
  163. </view>
  164. </tui-modal>
  165. <!--=======二维码 end=======-->
  166. <tui-tabbar mo='technical' :current="current">
  167. </tui-tabbar>
  168. </view>
  169. </template>
  170. <script>
  171. export default {
  172. components: {},
  173. data() {
  174. return {
  175. isLogin: false,
  176. is_login:0,
  177. top: 0, //标题图标距离顶部距离
  178. opacity: 0,
  179. scrollTop: 0.5,
  180. current: '',
  181. technicalconfig: [],
  182. recommendgoods: [],
  183. module: this.$module,
  184. technical: [],
  185. is_submitaudit: 1,
  186. modalShow: false,
  187. qrcodeImg: ''
  188. };
  189. },
  190. onLoad: function(options) {
  191. let _this = this;
  192. let obj = {};
  193. // #ifdef MP-WEIXIN
  194. obj = wx.getMenuButtonBoundingClientRect();
  195. // #endif
  196. // #ifdef MP-BAIDU
  197. obj = swan.getMenuButtonBoundingClientRect();
  198. // #endif
  199. // #ifdef MP-ALIPAY
  200. my.hideAddToDesktopMenu();
  201. // #endif
  202. uni.getSystemInfo({
  203. success: res => {
  204. this.width = obj.left || res.windowWidth;
  205. this.height = obj.top ? obj.top + obj.height + 8 : res.statusBarHeight + 44;
  206. this.top = obj.top ? obj.top + (obj.height - 32) / 2 : res.statusBarHeight + 6;
  207. this.scrollH = res.windowWidth * 0.6;
  208. }
  209. });
  210. },
  211. onShow() {
  212. let _this = this;
  213. _this.$request.get('admintechnical.check', {
  214. samkey: (new Date()).valueOf()
  215. }).then(res => {
  216. if (res.errno == 0 && res.is_login == 1) {
  217. _this.is_login = res.is_login;
  218. _this.technical = res.data;
  219. //console.log(_this.technical);
  220. _this.technicalconfig = _this.technical.Config;
  221. } else {
  222. uni.showModal({
  223. title: '提示',
  224. content: '请先登录!',
  225. showCancel: false,
  226. //是否显示取消按钮
  227. success: function(res) {
  228. if (res.cancel) { //点击取消,默认隐藏弹框
  229. } else {
  230. uni.reLaunch({
  231. url: "/pages/login/userlogin?ptype=technical",
  232. })
  233. }
  234. }
  235. });
  236. }
  237. });
  238. },
  239. methods: {
  240. //business请求
  241. business() {
  242. let _this = this;
  243. var confirmText = '确定休息吗?';
  244. if (_this.technical.is_business == 0) {
  245. confirmText = '确定上班吗?';
  246. }
  247. uni.showModal({
  248. title: '提示',
  249. content: confirmText,
  250. success: function(res) {
  251. if (res.confirm) {
  252. _this.$request.post('admintechnical.business', {
  253. id: _this.technical.id,
  254. samkey: (new Date()).valueOf()
  255. }).then(res => {
  256. if (res.errno == 0) {
  257. uni.showToast({
  258. title: res.message,
  259. icon: 'none',
  260. duration: 2000
  261. });
  262. _this.technical = res.data;
  263. }
  264. });
  265. } else if (res.cancel) {
  266. console.log('用户点击取消')
  267. }
  268. }
  269. });
  270. },
  271. navigateTo(url) {
  272. uni.navigateTo({
  273. url: url
  274. });
  275. },
  276. initNavigation(e) {
  277. this.opacity = e.opacity;
  278. this.top = e.top;
  279. },
  280. opacityChange(e) {
  281. this.opacity = e.opacity;
  282. },
  283. scancode: function() {
  284. var _this = this;
  285. // 允许从相机和相册扫码
  286. uni.scanCode({
  287. success: function(res) {
  288. if (res.path) {
  289. uni.navigateTo({
  290. url: '/' + res.path
  291. });
  292. }
  293. //console.log('条码类型:' + res.scanType);
  294. //console.log('条码内容:' + res.path);
  295. }
  296. });
  297. },
  298. async qrcode() {
  299. const _this = this;
  300. if (this.qrcodeImg) {
  301. this.modalShow = true;
  302. return;
  303. }
  304. uni.showLoading({
  305. mask: true,
  306. title: '二维生成中...'
  307. });
  308. let qrdata = await _this.$request.post('qrcode.technical', {
  309. id: _this.technical.id,
  310. page: '',
  311. is_hyaline: true,
  312. expireHours: 1
  313. })
  314. //console.log(qrdata);
  315. if (qrdata.errno == 0) {
  316. uni.hideLoading();
  317. this.qrcodeImg = qrdata.data;
  318. setTimeout(() => {
  319. this.modalShow = true;
  320. }, 60);
  321. } else {
  322. uni.hideLoading();
  323. this.tui.toast('生成二维图片失败,请稍后再试');
  324. }
  325. },
  326. hideModal() {
  327. this.modalShow = false;
  328. },
  329. savePic() {
  330. if (this.qrcodeImg) {
  331. // #ifdef H5
  332. uni.previewImage({
  333. urls: [this.qrcodeImg]
  334. });
  335. // #endif
  336. // #ifndef H5
  337. this.sam.saveImage(this.qrcodeImg);
  338. //console.log(this.qrcodeImg);
  339. // #endif
  340. this.hideModal();
  341. }
  342. },
  343. },
  344. onPageScroll(e) {
  345. this.scrollTop = e.scrollTop;
  346. },
  347. onPullDownRefresh() {
  348. setTimeout(() => {
  349. uni.stopPullDownRefresh();
  350. }, 200);
  351. },
  352. onReachBottom: function() {
  353. }
  354. };
  355. </script>
  356. <style>
  357. .technicalbox {
  358. padding-bottom: 80rpx;
  359. }
  360. .tui-set-box {
  361. display: flex;
  362. align-items: center;
  363. justify-content: space-between;
  364. }
  365. .tui-icon-box {
  366. position: relative;
  367. }
  368. .tui-icon-setup {
  369. margin-left: 8rpx;
  370. }
  371. .tui-badge {
  372. position: absolute;
  373. font-size: 24rpx;
  374. height: 32rpx;
  375. min-width: 20rpx;
  376. padding: 0 6rpx;
  377. border-radius: 40rpx;
  378. right: 10rpx;
  379. top: -5rpx;
  380. transform: scale(0.8) translateX(60%);
  381. transform-origin: center center;
  382. display: flex;
  383. align-items: center;
  384. justify-content: center;
  385. z-index: 10;
  386. }
  387. .tui-badge-red {
  388. background: #f74d54;
  389. color: #fff;
  390. }
  391. .tui-badge-white {
  392. background: #fff;
  393. color: #f74d54;
  394. }
  395. .tui-badge-dot {
  396. position: absolute;
  397. height: 12rpx;
  398. width: 12rpx;
  399. border-radius: 50%;
  400. right: -12rpx;
  401. top: 0;
  402. background: #f74d54;
  403. }
  404. .tui-mybg-box {
  405. width: 100%;
  406. height: 264rpx;
  407. position: relative;
  408. /*background-color: #e41f19;*/
  409. }
  410. .tui-my-bg {
  411. width: 100%;
  412. height: 464rpx;
  413. display: block;
  414. }
  415. .tui-header-center {
  416. position: absolute;
  417. width: 100%;
  418. height: 128rpx;
  419. left: 0;
  420. top: 18rpx;
  421. padding: 0 30rpx;
  422. box-sizing: border-box;
  423. display: flex;
  424. align-items: center;
  425. }
  426. .tui-avatar {
  427. flex-shrink: 0;
  428. width: 128rpx;
  429. height: 128rpx;
  430. border-radius: 50%;
  431. display: block;
  432. }
  433. .tui-info {
  434. width: 60%;
  435. padding-left: 30rpx;
  436. }
  437. .tui-nickname {
  438. font-size: 30rpx;
  439. font-weight: 500;
  440. color: #333;
  441. display: flex;
  442. align-items: center;
  443. }
  444. .tui-img-vip {
  445. width: 56rpx;
  446. height: 24rpx;
  447. margin-left: 18rpx;
  448. }
  449. .tui-explain {
  450. width: 80%;
  451. font-size: 24rpx;
  452. font-weight: 400;
  453. color: #333;
  454. opacity: 0.75;
  455. padding-top: 8rpx;
  456. white-space: nowrap;
  457. overflow: hidden;
  458. text-overflow: ellipsis;
  459. }
  460. .tui-btn-edit {
  461. flex-shrink: 0;
  462. padding-right: 22rpx;
  463. }
  464. .tui-header-btm {
  465. width: 100%;
  466. padding: 0 30rpx;
  467. box-sizing: border-box;
  468. position: absolute;
  469. left: 0;
  470. top: 280rpx;
  471. display: flex;
  472. align-items: center;
  473. justify-content: space-between;
  474. color: #fff;
  475. }
  476. .tui-btm-item {
  477. flex: 1;
  478. display: flex;
  479. flex-direction: column;
  480. align-items: center;
  481. justify-content: center;
  482. }
  483. .tui-btm-num {
  484. font-size: 32rpx;
  485. font-weight: 600;
  486. position: relative;
  487. }
  488. .tui-btm-text {
  489. font-size: 24rpx;
  490. opacity: 0.85;
  491. padding-top: 4rpx;
  492. }
  493. .tui-content-box {
  494. width: 100%;
  495. padding: 0 30rpx;
  496. box-sizing: border-box;
  497. position: relative;
  498. top: -100rpx;
  499. z-index: 10;
  500. }
  501. .tui-box {
  502. width: 100%;
  503. background: #fff;
  504. box-shadow: 0 3rpx 20rpx rgba(183, 183, 183, 0.1);
  505. border-radius: 30rpx;
  506. overflow: hidden;
  507. }
  508. .tui-order-box {
  509. height: 208rpx;
  510. }
  511. .tui-cell-header {
  512. width: 100%;
  513. height: 74rpx;
  514. padding: 0 26rpx;
  515. box-sizing: border-box;
  516. display: flex;
  517. align-items: center;
  518. justify-content: space-between;
  519. }
  520. .tui-cell-title {
  521. font-size: 30rpx;
  522. line-height: 30rpx;
  523. font-weight: 600;
  524. color: #333;
  525. }
  526. .tui-cell-sub {
  527. font-size: 26rpx;
  528. font-weight: 400;
  529. color: #999;
  530. padding-right: 28rpx;
  531. }
  532. .tui-order-list {
  533. width: 100%;
  534. height: 134rpx;
  535. padding: 0 30rpx;
  536. box-sizing: border-box;
  537. display: flex;
  538. align-items: center;
  539. justify-content: space-between;
  540. }
  541. .tui-order-item {
  542. flex: 1;
  543. display: flex;
  544. flex-direction: column;
  545. align-items: center;
  546. }
  547. .tui-order-text,
  548. .tui-tool-text {
  549. font-size: 26rpx;
  550. font-weight: 400;
  551. color: #666;
  552. padding-top: 4rpx;
  553. }
  554. .tui-tool-text {
  555. font-size: 24rpx;
  556. }
  557. .tui-order-icon {
  558. width: 56rpx;
  559. height: 56rpx;
  560. display: block;
  561. }
  562. .tui-assets-box {
  563. height: 118rpx;
  564. margin-top: 20rpx;
  565. padding-top: 30rpx;
  566. }
  567. .tui-assets-list {
  568. height: 84rpx;
  569. }
  570. .tui-assets-num {
  571. font-size: 38rpx;
  572. font-weight: 500;
  573. color: #333;
  574. font-weight: bold;
  575. position: relative;
  576. }
  577. .tui-assets-text {
  578. font-size: 24rpx;
  579. font-weight: 400;
  580. color: #666;
  581. padding-top: 6rpx;
  582. }
  583. .tui-tool-box {
  584. margin-top: 20rpx;
  585. }
  586. .tui-flex-wrap {
  587. flex-wrap: wrap;
  588. height: auto;
  589. padding-bottom: 30rpx;
  590. }
  591. .tui-tool-item {
  592. width: 25%;
  593. display: flex;
  594. align-items: center;
  595. justify-content: center;
  596. flex-direction: column;
  597. padding-top: 30rpx;
  598. }
  599. .tui-tool-icon {
  600. width: 64rpx;
  601. height: 64rpx;
  602. display: block;
  603. }
  604. .tui-badge-icon {
  605. width: 66rpx;
  606. height: 30rpx;
  607. position: absolute;
  608. right: 0;
  609. transform: translateX(88%);
  610. top: -15rpx;
  611. }
  612. /*为你推荐*/
  613. .tui-product-list {
  614. display: flex;
  615. justify-content: space-between;
  616. flex-direction: row;
  617. flex-wrap: wrap;
  618. box-sizing: border-box;
  619. }
  620. .tui-product-container {
  621. width: 100%;
  622. display: flex;
  623. flex-direction: row;
  624. flex-wrap: wrap;
  625. }
  626. .tui-pro-item {
  627. background: #fff;
  628. box-sizing: border-box;
  629. overflow: hidden;
  630. border-radius: 12rpx;
  631. width: 48%;
  632. margin-left: 1%;
  633. margin-right: 1%;
  634. margin-bottom: 2%;
  635. }
  636. .tui-pro-img {
  637. width: 100%;
  638. display: block;
  639. }
  640. .tui-pro-content {
  641. display: flex;
  642. flex-direction: column;
  643. justify-content: space-between;
  644. box-sizing: border-box;
  645. padding: 20rpx;
  646. }
  647. .tui-pro-tit {
  648. color: #2e2e2e;
  649. font-size: 26rpx;
  650. word-break: break-all;
  651. overflow: hidden;
  652. text-overflow: ellipsis;
  653. display: -webkit-box;
  654. -webkit-box-orient: vertical;
  655. -webkit-line-clamp: 2;
  656. }
  657. .tui-pro-price {
  658. padding-top: 18rpx;
  659. }
  660. .tui-sale-price {
  661. font-size: 34rpx;
  662. font-weight: 500;
  663. color: #e41f19;
  664. }
  665. .tui-factory-price {
  666. font-size: 24rpx;
  667. color: #a0a0a0;
  668. text-decoration: line-through;
  669. padding-left: 12rpx;
  670. }
  671. .tui-pro-pay {
  672. padding-top: 10rpx;
  673. font-size: 24rpx;
  674. color: #656565;
  675. }
  676. .tui-item-box {
  677. width: 100%;
  678. display: flex;
  679. align-items: center;
  680. }
  681. .tui-list-cell_name {
  682. padding-left: 20rpx;
  683. display: flex;
  684. align-items: center;
  685. justify-content: center;
  686. }
  687. /*二维码modal弹层*/
  688. .tui-poster__box {
  689. width: 100%;
  690. position: relative;
  691. display: flex;
  692. justify-content: center;
  693. align-items: center;
  694. flex-direction: column;
  695. }
  696. .tui-close__img {
  697. width: 48rpx;
  698. height: 48rpx;
  699. position: absolute;
  700. right: 0;
  701. top: -60rpx;
  702. }
  703. .tui-poster__img {
  704. width: 560rpx;
  705. height: 560rpx;
  706. border-radius: 20rpx;
  707. margin-bottom: 40rpx;
  708. }
  709. .tui-share__tips {
  710. font-size: 24rpx;
  711. transform: scale(0.8);
  712. transform-origin: center center;
  713. color: #ffffff;
  714. padding-top: 12rpx;
  715. }
  716. /*上班按钮*/
  717. .tui-btn-edit {
  718. padding-right: 22rpx;
  719. justify-content: space-between;
  720. flex-direction: row;
  721. flex-wrap: wrap;
  722. box-sizing: border-box;
  723. }
  724. .tui-btn-text {
  725. font-size: 24rpx;
  726. text-align: center;
  727. font-weight: 400;
  728. color: #666;
  729. padding-top: 4rpx;
  730. padding-bottom: 8rpx;
  731. }
  732. </style>