publish.vue 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846
  1. <template>
  2. <view class="publish">
  3. <statusBar :item="navBarData"></statusBar>
  4. <view class="" style="background-color: #ffffff;">
  5. <view class="pubTitle">
  6. <input class="title" style="" placeholder="活动标题" v-model="activitytitle" />
  7. </view>
  8. <view class="pubMid">
  9. <view class="mid">
  10. <view class="txt">
  11. <textarea class="txtClass" value="" placeholder="请输入内容" v-model="activityintro" />
  12. </view>
  13. <!-- <uni-file-picker :v-model="imageValue" fileMediatype="image" file-extname="png,jpg,jpeg"
  14. @select="select" @success="success" limit="1"> -->
  15. <!-- 上传图片 -->
  16. <view class="pic" @click="uploadPic">
  17. <view class="picCont">
  18. <image :src="pic" mode="aspectFill"></image>
  19. <view
  20. style="font-size: 24rpx;line-height: 40rpx;font-weight: 400;color: rgba(0, 0, 0, 0.6);">
  21. 添加图片
  22. </view>
  23. <view
  24. style="font-size: 20rpx;line-height: 36rpx;font-weight: 400;color: rgba(0, 0, 0, 0.4);">
  25. (0/1)
  26. </view>
  27. </view>
  28. <view class="pic_show" v-if="imageValue!==''">
  29. <image :src="imageValue" mode="aspectFill"></image>
  30. </view>
  31. </view>
  32. <!-- <view class="pic_show">
  33. <image :src="imageValue" mode="aspectFill"></image>
  34. </view> -->
  35. <!-- </uni-file-picker> -->
  36. <!-- <beUpload @getFile="getFile" :navName="'上传文件'" :accept="accept" :progress="progress"></beUpload> -->
  37. </view>
  38. </view>
  39. <view class="userOptionsBox">
  40. <view class="optionsItemBox">
  41. <picker mode="selector" :range="classifyList" @change="handelclassify">
  42. <view class="optionItem">
  43. <view class="option_left">
  44. <text class="option_text">
  45. 活动分类
  46. </text>
  47. </view>
  48. <view class="option_right">
  49. <view class="input_details">
  50. <view class="details">
  51. <view class="uni-input text">{{classify}}</view>
  52. </view>
  53. <view class="arrow">
  54. <image src="../../static/mine/arrow-right.png" mode="aspectFill"></image>
  55. </view>
  56. </view>
  57. </view>
  58. </view>
  59. </picker>
  60. </view>
  61. </view>
  62. <view class="userOptionsBox">
  63. <view class="optionsItemBox">
  64. <picker mode="selector" :range="recruitmentList" @change="handelRecruitment">
  65. <view class="optionItem">
  66. <view class="option_left">
  67. <text class="option_text">
  68. 招募人数
  69. </text>
  70. </view>
  71. <view class="option_right">
  72. <view class="input_details">
  73. <view class="details">
  74. <view class="uni-input text">{{recruitment}}</view>
  75. </view>
  76. <view class="arrow">
  77. <image src="../../static/mine/arrow-right.png" mode="aspectFill"></image>
  78. </view>
  79. </view>
  80. </view>
  81. </view>
  82. </picker>
  83. </view>
  84. </view>
  85. <view class="userOptionsBox">
  86. <view class="optionsItemBox">
  87. <picker mode="selector" :range="activityformList" @change="handelActivityform">
  88. <view class="optionItem">
  89. <view class="option_left">
  90. <text class="option_text">
  91. 活动形式
  92. </text>
  93. </view>
  94. <view class="option_right">
  95. <view class="input_details">
  96. <view class="details">
  97. <view class="uni-input text">{{activityform}}</view>
  98. </view>
  99. <view class="arrow">
  100. <image src="../../static/mine/arrow-right.png" mode="aspectFill"></image>
  101. </view>
  102. </view>
  103. </view>
  104. </view>
  105. </picker>
  106. </view>
  107. </view>
  108. <view class="userOptionsBox">
  109. <view class="optionsItemBox">
  110. <picker mode="selector" :range="addressList" @change="handeladdress">
  111. <view class="optionItem">
  112. <view class="option_left">
  113. <text class="option_text">
  114. 活动地址
  115. </text>
  116. </view>
  117. <view class="option_right">
  118. <view class="input_details">
  119. <view class="details">
  120. <view class="uni-input text">{{address}}</view>
  121. </view>
  122. <view class="arrow">
  123. <image src="../../static/mine/arrow-right.png" mode="aspectFill"></image>
  124. </view>
  125. </view>
  126. </view>
  127. </view>
  128. </picker>
  129. </view>
  130. </view>
  131. <view class="userOptionsBox">
  132. <view class="optionsItemBox">
  133. <picker mode="date" :value="activityDate" :start="startDate" :end="endDate"
  134. @change="activityDateChange">
  135. <view class="optionItem">
  136. <view class="option_left">
  137. <text class="option_text">
  138. 活动时间
  139. </text>
  140. </view>
  141. <view class="option_right">
  142. <view class="input_details">
  143. <view class="details">
  144. <view class="uni-input text">{{ activityDate }}</view>
  145. </view>
  146. <view class="arrow">
  147. <image src="../../static/mine/arrow-right.png" mode="aspectFill"></image>
  148. </view>
  149. </view>
  150. </view>
  151. </view>
  152. </picker>
  153. </view>
  154. </view>
  155. <view class="userOptionsBox">
  156. <view class="optionsItemBox">
  157. <picker mode="selector" :range="fundsList" @change="handelFunds">
  158. <view class="optionItem">
  159. <view class="option_left">
  160. <text class="option_text">
  161. 活动费用
  162. </text>
  163. </view>
  164. <view class="option_right">
  165. <view class="input_details">
  166. <view class="details">
  167. <view class="uni-input text">{{funds}}</view>
  168. </view>
  169. <view class="arrow">
  170. <image src="../../static/mine/arrow-right.png" mode="aspectFill"></image>
  171. </view>
  172. </view>
  173. </view>
  174. </view>
  175. </picker>
  176. </view>
  177. </view>
  178. <view class="userOptionsBox">
  179. <view class="optionsItemBox">
  180. <picker mode="date" :value="deadlineDate" :start="startDate" :end="endDate"
  181. @change="deadlineDateChange">
  182. <view class="optionItem">
  183. <view class="option_left">
  184. <text class="option_text">
  185. 报名截止
  186. </text>
  187. </view>
  188. <view class="option_right">
  189. <view class="input_details">
  190. <view class="details">
  191. <view class="uni-input text">{{ deadlineDate }}</view>
  192. </view>
  193. <view class="arrow">
  194. <image src="../../static/mine/arrow-right.png" mode="aspectFill"></image>
  195. </view>
  196. </view>
  197. </view>
  198. </view>
  199. </picker>
  200. </view>
  201. </view>
  202. </view>
  203. <view class="" style="height: 10vh;width: 750rpx;position: relative;">
  204. <view class="publish_now">
  205. <button class="btn" @click="submitForm">{{ btntext }}</button>
  206. </view>
  207. </view>
  208. <!-- 弹窗 -->
  209. <view>
  210. <view class="mask" v-show="showPopup" @click="closePopup"></view>
  211. <view class="popup-container" v-show="showPopup">
  212. <view class="popup">
  213. <view class="header">
  214. <text>确认{{ poptext }}</text>
  215. </view>
  216. <view class="footer">
  217. <button class="cancel-btn" @click="closePopup">取消</button>
  218. <button class="confirm-btn" @click="confirm">确认</button>
  219. </view>
  220. </view>
  221. </view>
  222. </view>
  223. <view>
  224. <view class="mask" v-show="showPopupConfirm" @click="closePopup"></view>
  225. <view class="popup-container" style="height: 175px;" v-show="showPopupConfirm">
  226. <view class="popup">
  227. <view class="header" style="margin-top: 15px;">
  228. <image src="http://43.139.158.220:5007/img/static/gou1.png" mode="aspectFill"></image>
  229. <text style="margin-bottom: 24px;">{{ poptext }}成功</text>
  230. </view>
  231. <view class="footer" style="padding-top: 0px;">
  232. <button class="confirm-btn_2" @click="closePopup">确认</button>
  233. </view>
  234. </view>
  235. </view>
  236. </view>
  237. </view>
  238. </template>
  239. <script>
  240. export default {
  241. data() {
  242. const currentDate = this.getDate({
  243. format: true
  244. })
  245. return {
  246. navBarData: {
  247. title: '发布', //导航栏标题
  248. btn: 1 //是否显示返回按钮 0不显示 1 显示
  249. },
  250. showPopup: false,
  251. showPopupConfirm: false,
  252. isFirstShow: true,
  253. //按钮文本
  254. btntext: '立即发布',
  255. // 弹窗文本
  256. poptext: '发布',
  257. //acId
  258. acId: '',
  259. // 标题
  260. activitytitle: '',
  261. // 内容
  262. activityintro: '',
  263. // 图片
  264. pic: '../../static/publish/photo.png',
  265. imageValue: '',
  266. // 分类
  267. classifyList: ['直播活动', '常规教研活动', '专题教研活动'],
  268. classify: '请选择',
  269. // 人数
  270. recruitmentList: Array.from({
  271. length: 100
  272. }, (_, index) => index + 1), //100人
  273. recruitment: '请选择',
  274. // 活动形式
  275. activityformList: ['户外活动', 'xxxx', 'xxxx'],
  276. activityform: '请选择',
  277. // 活动地址
  278. addressList: ['深圳xxxx大学', '深圳xxxx大学', '深圳xxxx大学'],
  279. address: '请选择',
  280. // 活动费用
  281. fundsList: Array.from({
  282. length: 30
  283. }, (_, index) => (index + 1) * 100).map(item => item),
  284. funds: '请选择',
  285. activityDate: currentDate,
  286. deadlineDate: currentDate,
  287. activeList: []
  288. };
  289. },
  290. computed: {
  291. startDate() {
  292. return this.getDate('start');
  293. },
  294. endDate() {
  295. return this.getDate('end');
  296. }
  297. },
  298. methods: {
  299. editPublish() {
  300. const routes = getCurrentPages()
  301. console.log(routes);
  302. if (routes.length == 3) {
  303. const acId = routes[2].options.acId
  304. const type = routes[2].options.ty
  305. if (acId) {
  306. this.navBarData.title = '修改发布'
  307. this.btntext = '修改发布'
  308. this.poptext = '修改'
  309. console.log(acId);
  310. console.log(type);
  311. let data = {
  312. acId: acId,
  313. ty: type
  314. }
  315. this.$request('/selectActivityID', "POST", data).then(res => {
  316. console.log(res[0]);
  317. // this.actItemList = res[0]
  318. const item = res[0][0]
  319. this.acId = item.acId
  320. this.activitytitle = item.acName
  321. this.activityintro = item.brief
  322. this.imageValue = item.pic
  323. this.classify = item.type
  324. this.recruitment = item.pers
  325. this.activityform = item.acshape
  326. this.address = item.address
  327. this.funds = item.cost
  328. this.activityDate = item.begin_at
  329. this.deadlineDate = item.endTime
  330. if (this.classify == 0) {
  331. this.classify = "直播活动"
  332. } else if (this.classify == 1) {
  333. this.classify = "常规教研活动"
  334. } else {
  335. this.classify = "专题教研活动"
  336. }
  337. })
  338. }
  339. }
  340. },
  341. submitForm() {
  342. if (
  343. this.activitytitle.trim() === '' ||
  344. this.activityintro.trim() === '' ||
  345. this.imageValue == '' ||
  346. // this.classify == '请选择' ||
  347. this.recruitment.value === '请选择' ||
  348. // this.activityform.trim() === '请选择' ||
  349. this.address.trim() === '请选择' ||
  350. this.funds === '请选择'
  351. ) {
  352. // 弹出弹框或其他处理逻辑
  353. uni.showToast({
  354. title: '请填写完整的表单内容',
  355. icon: 'none'
  356. });
  357. return;
  358. }
  359. this.showPopup = true; //显示弹窗
  360. },
  361. closePopup() {
  362. // 取消操作
  363. this.showPopup = false;
  364. this.showPopupConfirm = false;
  365. },
  366. confirm() {
  367. // 确认操作
  368. if (this.classify == "直播活动") {
  369. this.classify = 0
  370. } else if (this.classify == "常规教研活动") {
  371. this.classify = 1
  372. } else {
  373. this.classify = 2
  374. }
  375. // 将文本框内容和图片链接存储在一个对象中
  376. const formData = {
  377. // id: this.$store.state.user.openid,
  378. id: this.btntext === '修改发布' ? this.acId : this.$store.state.user.openid,
  379. activitytitle: this.activitytitle,
  380. activityintro: this.activityintro,
  381. img: this.imageValue,
  382. recruitment: this.recruitment,
  383. activityform: this.activityform,
  384. address: this.address,
  385. classify: this.classify,
  386. activityDate: this.activityDate,
  387. deadlineDate: this.deadlineDate,
  388. funds: this.funds
  389. // price: "188",
  390. // count: "6",
  391. };
  392. this.showPopup = false;
  393. this.showPopupConfirm = true
  394. // return console.log(formData);
  395. console.log(this.btntext);
  396. if (this.btntext === '修改发布') {
  397. // formData.acId = this.acId
  398. // console.log(formData);
  399. this.$request('/updateMyPublish', 'POST', formData).then(res => {
  400. console.log(res);
  401. setTimeout(() => {
  402. uni.navigateBack();
  403. }, 500)
  404. })
  405. }else {
  406. this.$request('/insertActive', 'POST', formData).then(res => {
  407. console.log(res.data);
  408. if (res.code == 200) {
  409. setTimeout(() => {
  410. uni.switchTab({
  411. url: "/pages/activityPage/activityPage"
  412. })
  413. }, 500)
  414. }
  415. })
  416. }
  417. },
  418. handelclassify(e) {
  419. this.classify = this.classifyList[e.detail.value]
  420. console.log(this.classify);
  421. },
  422. handelRecruitment(e) {
  423. this.recruitment = this.recruitmentList[e.detail.value]
  424. console.log(this.imageValue);
  425. },
  426. handelActivityform(e) {
  427. this.activityform = this.activityformList[e.detail.value]
  428. },
  429. handeladdress(e) {
  430. this.address = this.addressList[e.detail.value]
  431. },
  432. handelFunds(e) {
  433. this.funds = this.fundsList[e.detail.value]
  434. },
  435. activityDateChange: function(e) {
  436. this.activityDate = e.detail.value
  437. },
  438. deadlineDateChange: function(e) {
  439. this.deadlineDate = e.detail.value
  440. },
  441. getDate(type) {
  442. const date = new Date();
  443. let year = date.getFullYear();
  444. let month = date.getMonth() + 1;
  445. let day = date.getDate();
  446. if (type === 'start') {
  447. year = year - 60;
  448. } else if (type === 'end') {
  449. year = year + 2;
  450. }
  451. month = month > 9 ? month : '0' + month;
  452. day = day > 9 ? day : '0' + day;
  453. return `${year}-${month}-${day}`;
  454. },
  455. // 上传图片
  456. uploadPic() {
  457. uni.chooseImage({
  458. count: 1, // 图片数量
  459. sizeType: ['original', 'compressed'], //可以指定是原图还是压缩图,默认二者都有
  460. sourceType: ['album', 'camera'], //从相册选择或者拍照
  461. success: (res) => {
  462. const tempFilePaths = res.tempFilePaths[0];
  463. console.log(this);
  464. let that = this
  465. const uploadTask = uni.uploadFile({
  466. url: 'http://139.159.246.165:7006/img', // post请求地址
  467. // url: 'https://cxcy.ssti.net.cn/api/UploadFirmFile', // post请求地址
  468. // filePath: tempFilePaths,
  469. filePath: tempFilePaths,
  470. name: 'file', // 待确认
  471. header: {
  472. // 不要写这个不然报错
  473. // 'Content-Type': 'multipart/form-data',
  474. },
  475. success: function(res) {
  476. // console.log(res.data);
  477. that.imageValue = res.data
  478. // let url = JSON.parse(res.data)
  479. // console.log(url.data);
  480. },
  481. fail: function(uploadFileFail) {
  482. console.log('Error:', uploadFileFail.data);
  483. },
  484. complete: () => {
  485. // 接口调用结束的回调函数(调用成功、失败都会执行)
  486. // console.log('Complete:');
  487. }
  488. });
  489. }
  490. });
  491. },
  492. },
  493. onShow() {
  494. if (this.isFirstShow) {
  495. this.editPublish()
  496. this.isFirstShow = false
  497. }
  498. }
  499. }
  500. </script>
  501. <style lang="scss" scoped>
  502. .publish {
  503. .liu {
  504. //留白
  505. width: 750rpx;
  506. height: 68rpx;
  507. position: absolute;
  508. bottom: 0;
  509. background-color: #ffffff;
  510. }
  511. .pubTitle {
  512. width: 750rpx;
  513. height: 96rpx;
  514. padding: 24rpx 30rpx 0 30rpx;
  515. .title {
  516. font-size: 32rpx;
  517. line-height: 48rpx;
  518. font-weight: 500;
  519. }
  520. }
  521. .pubMid {
  522. width: 750rpx;
  523. // height: 504rpx;
  524. padding: 24rpx 30rpx 0 30rpx;
  525. // background-color: #8BBEFF;
  526. .mid {
  527. width: 690rpx;
  528. height: 440rpx;
  529. // background-color: #f2f2f2;
  530. .txt {
  531. width: 690rpx;
  532. height: 192rpx;
  533. .txtClass {
  534. width: 100%;
  535. height: 100%;
  536. font-size: 28rpx;
  537. font-weight: 400;
  538. line-height: 48rpx;
  539. }
  540. }
  541. .pic {
  542. width: 224rpx;
  543. height: 224rpx;
  544. background-color: rgba(242, 242, 242, 1);
  545. display: flex;
  546. position: relative;
  547. justify-content: center;
  548. align-items: center;
  549. .pic_show {
  550. position: absolute;
  551. top: 0;
  552. left: 0;
  553. width: 100%;
  554. height: 100%;
  555. z-index: 10;
  556. background-color: #8BBEFF;
  557. image {
  558. width: 100%;
  559. height: 100%;
  560. }
  561. }
  562. .picCont {
  563. display: flex;
  564. flex-direction: column;
  565. justify-content: center;
  566. align-items: center;
  567. image {
  568. width: 56rpx;
  569. height: 66rpx;
  570. }
  571. }
  572. }
  573. }
  574. }
  575. // background-color: #fff;
  576. height: 100vh;
  577. .textCont {
  578. padding: 16px;
  579. }
  580. .addPhoto {
  581. background-color: #f2f2f2;
  582. width: 224rpx;
  583. height: 224rpx;
  584. display: flex;
  585. color: #616161;
  586. flex-direction: column;
  587. align-items: center;
  588. justify-content: center;
  589. margin-left: 30rpx;
  590. image {
  591. width: 50px;
  592. height: 50px;
  593. // margin-left: 48px;
  594. }
  595. .photo {
  596. color: #000000A3;
  597. // padding-left: 44px;
  598. // font-size: 14px;
  599. }
  600. .num {
  601. color: #919191;
  602. // padding-left: 56px;
  603. // font-size: 14px;
  604. }
  605. }
  606. .userOptionsBox {
  607. width: 750rpx;
  608. height: 96rpx;
  609. display: flex;
  610. justify-content: center;
  611. align-items: center;
  612. .optionsItemBox {
  613. width: 690rpx;
  614. .optionItem {
  615. display: flex;
  616. justify-content: space-between;
  617. align-items: center;
  618. .option_left {
  619. display: flex;
  620. align-items: center;
  621. font-size: 28rpx;
  622. line-height: 48rpx;
  623. font-weight: 400;
  624. }
  625. .option_right {
  626. height: 40rpx;
  627. .input_details {
  628. display: flex;
  629. align-items: center;
  630. .details {
  631. display: flex;
  632. flex-direction: row;
  633. .text {
  634. font-size: 28rpx;
  635. color: rgb(153, 153, 153);
  636. }
  637. }
  638. .arrow {
  639. display: flex;
  640. image {
  641. width: 32rpx;
  642. height: 32rpx;
  643. }
  644. }
  645. }
  646. }
  647. }
  648. }
  649. }
  650. .publish_now {
  651. position: absolute;
  652. // bottom: 100rpx;
  653. display: flex;
  654. width: 750rpx;
  655. justify-content: center;
  656. padding-bottom: 50rpx;
  657. .btn {
  658. width: 432rpx;
  659. height: 88rpx;
  660. line-height: 88rpx;
  661. // background-color: #8BBEFF;
  662. background: rgba(0, 86, 168, 1);
  663. color: #fff;
  664. display: flex;
  665. flex-direction: column;
  666. align-items: center;
  667. margin-top: 20px;
  668. }
  669. }
  670. .mask {
  671. position: fixed;
  672. top: 0;
  673. left: 0;
  674. width: 100%;
  675. height: 100%;
  676. background-color: rgba(0, 0, 0, 0.3);
  677. z-index: 999;
  678. // display: none;
  679. }
  680. .popup-container {
  681. position: fixed;
  682. top: 50%;
  683. left: 50%;
  684. transform: translate(-50%, -50%);
  685. width: 520rpx;
  686. height: 260rpx;
  687. z-index: 1000;
  688. // display: none;
  689. .popup {
  690. width: 100%;
  691. height: 100%;
  692. display: flex;
  693. flex-direction: column;
  694. background-color: #fff;
  695. border-radius: 16rpx;
  696. .header {
  697. flex: 1;
  698. display: flex;
  699. justify-content: center;
  700. align-items: center;
  701. flex-direction: column;
  702. margin-top: 24px;
  703. font-size: 34rpx;
  704. font-weight: 600;
  705. image {
  706. width: 150rpx;
  707. height: 150rpx;
  708. margin-top: 15px;
  709. margin-bottom: 15px;
  710. }
  711. }
  712. .footer {
  713. flex: 1;
  714. display: flex;
  715. justify-content: space-around;
  716. align-items: end;
  717. padding-top: 17px;
  718. .cancel-btn {
  719. width: 259rpx;
  720. height: 100rpx;
  721. background-color: #F7F7F7;
  722. color: #000;
  723. font-size: 34rpx;
  724. text-align: center;
  725. border-radius: 0;
  726. border-bottom-left-radius: 16rpx;
  727. line-height: 50px;
  728. }
  729. .confirm-btn {
  730. width: 259rpx;
  731. height: 100rpx;
  732. background-color: #0081FE;
  733. color: #fff;
  734. font-size: 34rpx;
  735. text-align: center;
  736. border-radius: 0;
  737. border-bottom-right-radius: 16rpx;
  738. line-height: 50px;
  739. }
  740. .confirm-btn_2 {
  741. width: 518rpx;
  742. height: 100rpx;
  743. background-color: #F7F7F7;
  744. color: #000;
  745. font-size: 34rpx;
  746. text-align: center;
  747. border-radius: 0;
  748. border-bottom-left-radius: 16rpx;
  749. border-bottom-right-radius: 16rpx;
  750. line-height: 50px;
  751. }
  752. }
  753. }
  754. }
  755. }
  756. </style>