index.vue 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808
  1. <template>
  2. <view :style="colorStyle">
  3. <form @submit="formSubmit">
  4. <view class='addAddress'>
  5. <view class='list'>
  6. <view class='item acea-row row-between-wrapper'>
  7. <view class='name'>主标题</view>
  8. <input type='text' placeholder='请填写主标题' name='mainTitle' :value="grouponReqData.mainTitle"
  9. placeholder-class='placeholder'></input>
  10. </view>
  11. <view class='item acea-row row-between-wrapper'>
  12. <view class='name'>副标题</view>
  13. <input type='text' placeholder='请填写副标题' name="subTitle" :value='grouponReqData.subTitle'
  14. placeholder-class='placeholder'></input>
  15. </view>
  16. </view>
  17. <view class="list" style="margin-top:50rpx;">
  18. <view class="title">
  19. 团购商品
  20. </view>
  21. <view class='item acea-row row-between-wrapper'>
  22. <view class='name'>团购时间</view>
  23. <view @click="show1 = true">
  24. <uni-datetime-picker @change="confirmDate1" v-model="datetimerange1" type="datetimerange"
  25. rangeSeparator="至">
  26. <input placeholder='请选择团购时间' disabled :value='grouponDateTime' placeholder-class='placeholder'></input>
  27. </uni-datetime-picker>
  28. </view>
  29. </view>
  30. <view class='item acea-row row-between-wrapper'>
  31. <view class='name'>提货时间</view>
  32. <view @click="show2 = true">
  33. <uni-datetime-picker @change="confirmDate2" v-model="datetimerange2" type="datetimerange"
  34. rangeSeparator="至">
  35. <input placeholder='请选择提货时间' disabled :value='takeDateTime' placeholder-class='placeholder'></input>
  36. </uni-datetime-picker>
  37. </view>
  38. <!-- <u-datetime-picker @confirm="dateConfirmDate2()" :show="show2" v-model="value1"
  39. mode="datetimerange"></u-datetime-picker> -->
  40. </view>
  41. <view class='item acea-row row-between-wrapper'>
  42. <view class='name'>自提点</view>
  43. <view @click="openSelfTakeTable()">
  44. <input type='text' placeholder='请选择提自提点' disabled v-model="ztd"
  45. placeholder-class='placeholder'></input>
  46. </view>
  47. </view>
  48. </view>
  49. <view class="list select-list" v-if="selectGoodList.length > 0">
  50. <view class="title">
  51. 团购商品
  52. </view>
  53. <view class="all-products-body" v-for="(itemn, indexn) in selectGoodList" :key="indexn">
  54. <view class="all-products-item">
  55. <image :src='itemn.goodsCover' v-if="itemn.goodsCover"></image>
  56. <image src="/static/images/sort-img.png" v-else></image>
  57. <view class="all-products-item-content">
  58. <view class="all-products-item-content-t">
  59. {{ itemn.goodsName }}
  60. </view>
  61. <view class="all-products-item-content-b">
  62. <view style="display:flex; flex-grow: 1;">
  63. <text class="red"> ¥{{ itemn.discountPrice }}</text>
  64. </view>
  65. <view @click="delItem(indexn)" class="count">
  66. <image
  67. src="http://www.gzzzyd.com/groupon/home_slices/错误@2x.png"
  68. mode="scaleToFill"
  69. />
  70. </view>
  71. <view>
  72. </view>
  73. </view>
  74. </view>
  75. </view>
  76. </view>
  77. </view>
  78. <button class="button_1 flex-col justify-center" @click="addGood">
  79. <text class="text_15">添加商品</text>
  80. </button>
  81. <button class='keepBnt' form-type="submit">保存并提交</button>
  82. </view>
  83. </form>
  84. <!-- #ifdef MP -->
  85. <!-- <authorize @onLoadFun="onLoadFun" :isAuto="isAuto" :isShowAuth="isShowAuth" @authColse="authColse"></authorize> -->
  86. <!-- #endif -->
  87. <!-- #ifndef MP -->
  88. <home></home>
  89. <!-- #endif -->
  90. <u-popup :show="addGoodPopupShow" @close="close" @open="">
  91. <view>
  92. <view class="XPng flex-row justify-end">
  93. <view class="image-box " @click="close">
  94. <image src="/static/images/X.png" ></image>
  95. </view>
  96. </view>
  97. <publish_good_list ref="publish_good_list" ></publish_good_list>
  98. </view>
  99. </u-popup>
  100. <u-popup :show="selfTakeShow" @close="selfTakeShow = false">
  101. <view class="box_3 flex-col">
  102. <view class="flex-row justify-between">
  103. <text class="icon_2" @click="closeFalse()">取消</text>
  104. <text class="icon_2" @click="closeTrue()">确定</text>
  105. </view>
  106. <text class="text_25">选择自提点</text>
  107. <scroll-view scroll-y="true" class="scroll-y">
  108. <view class="list_1 flex-col">
  109. <view @click="clickSelfTake(item,index)"
  110. class="list-items_1 flex-row"
  111. v-for="(item, index) in selfTakeList"
  112. :key="index">
  113. <view class="flex-col justify-center">
  114. <view v-if="item.addressTrue" class="image-view">
  115. <image class="image" src="/static/images/v.png"></image>
  116. </view>
  117. <view v-else class="image-view " >
  118. <image class="image" src="/static/images/o.png"></image>
  119. </view>
  120. </view>
  121. <view class="dataGroup">
  122. <view class="group_14 flex-row justify-between">
  123. <view class="flex-col">
  124. <text class="text_26" >{{item.name}}</text>
  125. <text class="text_27" >{{item.address}}</text>
  126. </view>
  127. <view class="flex-row justify-between">
  128. <text class="text-group_9" >距您{{item.distanceDesc}}</text>
  129. <image class="icon_3"
  130. src="http://www.gzzzyd.com/groupon/order_details/距离@2x.png"/>
  131. </view>
  132. </view>
  133. <view class="group_15 flex-row">
  134. <view class="tag_1 flex-col">
  135. <text class="text_28">营业时间: {{item.busStartTimeDesc}}-{{item.busEndTimeDesc}}</text>
  136. </view>
  137. </view>
  138. </view>
  139. </view>
  140. </view>
  141. </scroll-view>
  142. </view>
  143. </u-popup>
  144. </view>
  145. </template>
  146. <script>
  147. import { publishGroupon, getAllSelfTake } from '@/api/groupon.js';
  148. import {
  149. toLogin
  150. } from '@/libs/login.js';
  151. import {
  152. mapGetters
  153. } from "vuex";
  154. // #ifdef MP
  155. import authorize from '@/components/Authorize';
  156. // #endif
  157. import home from '@/components/home';
  158. import publish_good_list from '../publish_good_list/index.vue';
  159. import colors from '@/mixins/color.js';
  160. import {forEach} from "../../../uni_modules/uview-ui/libs/luch-request/utils";
  161. export default {
  162. components: {
  163. // #ifdef MP
  164. authorize,
  165. // #endif
  166. home,
  167. publish_good_list
  168. },
  169. mixins: [colors],
  170. data () {
  171. return {
  172. ztd:'',
  173. selfTakeShow:false,
  174. grouponDateTime: '',
  175. takeDateTime: '',
  176. datetimerange1: '',
  177. datetimerange2: '',
  178. grouponReqData: {
  179. mainTitle: '',
  180. subTitle: '',
  181. grouponStartTime: '',
  182. grouponEndTime: '',
  183. takeStartTime: '',
  184. takeEndTime: '',
  185. selfTakeIds: [],
  186. goodsIds: []
  187. },
  188. grouponTimeRange: [],
  189. takeTimeRange: [],
  190. array: [],
  191. show1: false,
  192. show2: false,
  193. showZTD: false,
  194. addGoodPopupShow: false,
  195. id: 0, //地址id
  196. district: [],
  197. multiArray: [],
  198. multiIndex: [0, 0, 0],
  199. cityId: 0,
  200. news: '',
  201. noCoupon: 0,
  202. selectGoodList: [],
  203. selfTakeList: [],
  204. addressIds:[]
  205. };
  206. },
  207. computed: mapGetters(['isLogin']),
  208. watch: {
  209. isLogin: {
  210. handler: function (newV, oldV) {
  211. if (newV) {
  212. this.getUserAddress();
  213. }
  214. },
  215. deep: true
  216. }
  217. },
  218. onLoad (options) {
  219. if (this.isLogin) {
  220. this.id = options.id || 0;
  221. uni.setNavigationBarTitle({
  222. title: '发布团购'
  223. })
  224. // this.getUserAddress();
  225. // this.getCityList();
  226. } else {
  227. toLogin();
  228. }
  229. },
  230. methods: {
  231. closeFalse(){
  232. this.selfTakeShow = false;
  233. },
  234. closeTrue(){
  235. this.selfTakeShow = false;
  236. let _ztd=''
  237. console.log(this.grouponReqData.selfTakeIds)
  238. this.selfTakeList.forEach(e =>{
  239. this.grouponReqData.selfTakeIds.forEach(ee =>{
  240. if (e.id === ee){
  241. if (_ztd){
  242. _ztd=_ztd +','+e.name
  243. }else {
  244. _ztd=e.name
  245. }
  246. }
  247. })
  248. })
  249. this.ztd = _ztd
  250. console.log(this.ztd)
  251. },
  252. clickSelfTake(item,index){
  253. item.addressTrue = !item.addressTrue;
  254. this.$set(this.selfTakeList,index,item)
  255. if (this.grouponReqData.selfTakeIds.indexOf(item.id) === -1){
  256. this.grouponReqData.selfTakeIds.push(item.id)
  257. }else {
  258. this.grouponReqData.selfTakeIds = this.grouponReqData.selfTakeIds.filter(iter => iter !== item.id)
  259. }
  260. },
  261. confirmDate1 (value) {
  262. let start = value[0];
  263. let end = value[1];
  264. this.grouponReqData.grouponStartTime = start;
  265. this.grouponReqData.grouponEndTime = end;
  266. this.grouponDateTime = start.substr(5, 2) + "/" + start.substr(8, 2) + " " + start.substr(11, 5) + " 至 "
  267. + end.substr(5, 2) + "/" + end.substr(8, 2) + " " + end.substr(11, 5);
  268. },
  269. confirmDate2 (value) {
  270. let start = value[0];
  271. let end = value[1];
  272. this.grouponReqData.takeStartTime = start;
  273. this.grouponReqData.takeEndTime = end;
  274. this.takeDateTime = start.substr(5, 2) + "/" + start.substr(8, 2) + " " + start.substr(11, 5) + " 至 "
  275. + end.substr(5, 2) + "/" + end.substr(8, 2) + " " + end.substr(11, 5);
  276. },
  277. selectDatetime () {
  278. this.$refs.mySon.show();
  279. },
  280. openSelfTakeTable () {
  281. this.grouponReqData.selfTakeIds = []
  282. getAllSelfTake({
  283. current: 1,
  284. size: 50
  285. }).then(res => {
  286. this.selfTakeShow = true;
  287. console.log(res.data);
  288. this.selfTakeList=res.data.records;
  289. console.log(this.selfTakeList);
  290. })
  291. },
  292. delItem (index) {
  293. this.selectGoodList.splice(index, 1)
  294. },
  295. getSelectData (data) {
  296. console.log("getSelectData ", data)
  297. this.selectGoodList = data
  298. console.log(this.selectGoodList);
  299. },
  300. open () {
  301. // console.log('open');
  302. },
  303. close () {
  304. this.addGoodPopupShow = false
  305. this.selectGoodList =this.$refs.publish_good_list.returnVGoods();
  306. console.log('close',this.selectGoodList);
  307. },
  308. addGood () {
  309. this.addGoodPopupShow = true
  310. },
  311. bindPickerChange: function (e) {
  312. this.index = e.detail.value;
  313. },
  314. dateConfirm (value) {
  315. console.log('dateConfirm! ', value)
  316. this.userAddress.date = value.value
  317. this.show1 = false
  318. },
  319. dateConfirmDate2 (value) {
  320. this.userAddress.date2 = value.value
  321. this.show2 = false
  322. },
  323. confirmZTD (value) {
  324. console.log(value)
  325. this.ztd = value.value[0].name;
  326. this.grouponReqData.selfTakeIds.push(value.value[0].id)
  327. this.showZTD = false
  328. },
  329. // #ifdef APP-PLUS
  330. // 获取选择的地区
  331. handleGetRegion (region) {
  332. this.region = region
  333. },
  334. // #endif
  335. onConfirm (val) {
  336. this.region = val.checkArr[0] + '-' + val.checkArr[1] + '-' + val.checkArr[2];
  337. },
  338. /**
  339. * 发布团购
  340. */
  341. formSubmit: function (e) {
  342. let that = this,
  343. value = e.detail.value;
  344. if (!value.mainTitle.trim()) {
  345. return that.$util.Tips({
  346. title: that.$t(`请填写主标题`)
  347. });
  348. }
  349. that.grouponReqData.mainTitle = value.mainTitle;
  350. if (!value.subTitle.trim()) {
  351. return that.$util.Tips({
  352. title: that.$t(`请填写副标题`)
  353. });
  354. }
  355. that.grouponReqData.subTitle = value.subTitle;
  356. if (!that.grouponReqData.grouponStartTime.trim() || !that.grouponReqData.grouponEndTime.trim()) {
  357. return that.$util.Tips({
  358. title: that.$t(`请选择团购时间`)
  359. });
  360. }
  361. if (!that.grouponReqData.takeStartTime.trim() || !that.grouponReqData.takeEndTime.trim()) {
  362. return that.$util.Tips({
  363. title: that.$t(`请选择取货时间`)
  364. });
  365. }
  366. if (that.grouponReqData.selfTakeIds.length < 1) {
  367. return that.$util.Tips({
  368. title: that.$t(`请选择自提点`)
  369. });
  370. }
  371. if (this.selectGoodList.length < 1) {
  372. return that.$util.Tips({
  373. title: that.$t(`请添加商品`)
  374. });
  375. }
  376. let goodsIds = [];
  377. this.selectGoodList.forEach(e => {
  378. goodsIds.push(e.id);
  379. that.grouponReqData.goodsIds = goodsIds;
  380. })
  381. uni.showLoading({
  382. title: that.$t(`发布中`),
  383. mask: true
  384. })
  385. let resSuccess = false;
  386. publishGroupon(that.grouponReqData).then(res => {
  387. that.$util.Tips({
  388. title: that.$t(`提交成功`),
  389. icon: 'success'
  390. });
  391. resSuccess = true
  392. }).catch(err => {
  393. return that.$util.Tips({
  394. title: err
  395. });
  396. })
  397. },
  398. }
  399. }
  400. </script>
  401. <style scoped lang="scss">
  402. @import "/static/css/common.css";
  403. .XPng{
  404. padding: 20rpx 0;
  405. }
  406. .image-box{
  407. width: 34rpx;
  408. height: 34rpx;
  409. margin-right: 30rpx;
  410. }
  411. .image-box image{
  412. width: 34rpx;
  413. height: 34rpx;
  414. }
  415. .fontcolor {
  416. color: var(--view-theme);
  417. }
  418. .addAddress .list {
  419. background-color: #fff;
  420. padding-top: 10rpx;
  421. .title {
  422. margin: 30rpx;
  423. height: 44rpx;
  424. font-size: 32rpx;
  425. font-weight: bolder;
  426. color: #111111;
  427. line-height: 44rpx;
  428. }
  429. }
  430. .addAddress .list .item {
  431. padding: 30rpx;
  432. border-top: 1rpx solid #eee;
  433. }
  434. .addAddress .list .item .name {
  435. width: 195rpx;
  436. font-size: 30rpx;
  437. color: #333;
  438. }
  439. .addAddress .list .item .address {
  440. // width: 412rpx;
  441. flex: 1;
  442. margin-left: 20rpx;
  443. }
  444. .addAddress .list .item input {
  445. width: 475rpx;
  446. font-size: 30rpx;
  447. }
  448. .addAddress .list .item .placeholder {
  449. color: #ccc;
  450. }
  451. .addAddress .list .item picker {
  452. width: 475rpx;
  453. }
  454. .addAddress .list .item picker .picker {
  455. width: 410rpx;
  456. font-size: 30rpx;
  457. }
  458. .addAddress .list .item picker .iconfont {
  459. font-size: 43rpx;
  460. }
  461. .addAddress .default {
  462. padding: 0 30rpx;
  463. height: 90rpx;
  464. background-color: #fff;
  465. margin-top: 23rpx;
  466. }
  467. .addAddress .default checkbox {
  468. margin-right: 15rpx;
  469. }
  470. .addAddress .keepBnt {
  471. width: 90%;
  472. height: 84rpx;
  473. background: #B42A3E;
  474. border-radius: 8rpx;
  475. margin: 30rpx auto;
  476. font-size: 28rpx;
  477. font-weight: 400;
  478. color: #FFFFFF;
  479. line-height: 84rpx;
  480. }
  481. .addAddress .wechatAddress {
  482. width: 690rpx;
  483. height: 86rpx;
  484. border-radius: 50rpx;
  485. text-align: center;
  486. line-height: 86rpx;
  487. margin: 0 auto;
  488. font-size: 32rpx;
  489. color: var(--view-theme);
  490. border: 1px solid var(--view-theme);
  491. }
  492. .button_1 {
  493. width: 90%;
  494. height: 84rpx;
  495. background: #FFFFFF;
  496. border-radius: 8rpx;
  497. border: 2rpx solid #B42A3E;
  498. margin: 30rpx auto;
  499. font-size: 28rpx;
  500. font-weight: 400;
  501. color: #B42A3E;
  502. line-height: 84rpx;
  503. }
  504. .text_15 {
  505. overflow-wrap: break-word;
  506. color: rgba(180, 42, 62, 1);
  507. font-size: 14px;
  508. font-weight: NaN;
  509. text-align: center;
  510. white-space: nowrap;
  511. line-height: 20px;
  512. }
  513. .acea-row-item {
  514. display: flex;
  515. width: 100% !important;
  516. flex-direction: row;
  517. .picture {
  518. width: 120rpx;
  519. height: 120rpx;
  520. border-radius: 50%;
  521. image {
  522. width: 100%;
  523. height: 100%;
  524. border-radius: 50%;
  525. }
  526. }
  527. .p-r {
  528. flex-direction: column;
  529. flex-grow: 1;
  530. max-width: calc(100% - 120rpx);
  531. display: flex;
  532. justify-content: space-between;
  533. .acea-row-item-bArea {
  534. width: 100%;
  535. display: flex;
  536. justify-content: space-between;
  537. .goodsname {
  538. flex-grow: 1;
  539. }
  540. .selde {
  541. width: 80rpx;
  542. }
  543. }
  544. }
  545. }
  546. .all-products-body {
  547. background: white;
  548. padding-left: 30px;
  549. .all-products-item {
  550. display: flex;
  551. margin-bottom: 20rpx;
  552. image {
  553. margin: auto;
  554. width: 128rpx;
  555. height: 128rpx;
  556. margin-right: 20rpx;
  557. border: 2rpx solid #FFFFFF;
  558. }
  559. .all-products-item-content {
  560. display: flex;
  561. flex-direction: column;
  562. width: calc(100% - 128rpx);
  563. .all-products-item-content-t {
  564. flex: 1;
  565. font-size: 24rpx;
  566. font-weight: 400;
  567. margin-right: 30rpx;
  568. color: #333333;
  569. line-height: 40rpx;
  570. }
  571. .all-products-item-content-b {
  572. flex: 1;
  573. font-size: 28rpx;
  574. font-weight: 500;
  575. line-height: 80rpx;
  576. display: flex;
  577. justify-content: space-between;
  578. image {
  579. margin: 0;
  580. width: 36rpx;
  581. height: 36rpx;
  582. }
  583. .red {
  584. display: block;
  585. font-size: 28rpx;
  586. font-weight: 500;
  587. color: #B22338 !important;
  588. margin-right: 10rpx;
  589. }
  590. .line-thr {
  591. display: block;
  592. font-size: 28rpx;
  593. font-weight: 400;
  594. color: #999999;
  595. text-decoration: line-through;
  596. }
  597. .count {
  598. font-size: 24rpx;
  599. font-weight: 400;
  600. color: #999999;
  601. margin-right: 30rpx;
  602. }
  603. }
  604. }
  605. }
  606. }
  607. .scroll-y{
  608. height: 600rpx;
  609. }
  610. .box_3 {
  611. background-color: rgba(250, 250, 250, 1);
  612. border-radius: 4px 4px 0px 0px;
  613. padding: 16rpx 16rpx 40rpx 16rpx;
  614. }
  615. .icon_2 {
  616. font-size: 32rpx;
  617. font-weight: 500;
  618. }
  619. .text_25 {
  620. overflow-wrap: break-word;
  621. color: rgba(17, 17, 17, 1);
  622. font-size: 32rpx;
  623. font-family: PingFangSC-Medium;
  624. font-weight: 500;
  625. text-align: left;
  626. white-space: nowrap;
  627. line-height: 44rpx;
  628. margin: 0 278rpx 0 264rpx;
  629. }
  630. .list_1 {
  631. height: 602rpx;
  632. margin: 24rpx 16rpx 0 0;
  633. }
  634. .list-items_1 {
  635. background-color: rgba(255, 255, 255, 1);
  636. border-radius: 4px;
  637. margin-bottom: 16rpx;
  638. padding: 24rpx 24rpx 24rpx 24rpx;
  639. }
  640. .group_14 {
  641. width: 638rpx;
  642. }
  643. .text_26 {
  644. overflow-wrap: break-word;
  645. color: rgba(17, 17, 17, 1);
  646. font-size: 28rpx;
  647. font-weight: NaN;
  648. text-align: left;
  649. white-space: nowrap;
  650. line-height: 40rpx;
  651. margin-right: 184rpx;
  652. }
  653. .text_27 {
  654. overflow-wrap: break-word;
  655. color: rgba(153, 153, 153, 1);
  656. font-size: 24rpx;
  657. font-weight: NaN;
  658. text-align: left;
  659. white-space: nowrap;
  660. line-height: 34rpx;
  661. margin-top: 16rpx;
  662. }
  663. .text-group_9 {
  664. overflow-wrap: break-word;
  665. color: rgba(102, 102, 102, 1);
  666. font-size: 20rpx;
  667. font-weight: NaN;
  668. text-align: left;
  669. white-space: nowrap;
  670. line-height: 36rpx;
  671. }
  672. .icon_3 {
  673. width: 34rpx;
  674. height: 34rpx;
  675. margin-left: 10rpx;
  676. /*margin: 4rpx 0 4rpx 4rpx;*/
  677. }
  678. .group_15 {
  679. margin: 8rpx 390rpx 0 0;
  680. }
  681. .tag_1 {
  682. background-color: rgba(255, 247, 248, 1);
  683. border-radius: 4px;
  684. padding: 8rpx 24rpx 8rpx 26rpx;
  685. }
  686. .text_28 {
  687. overflow-wrap: break-word;
  688. color: rgba(153, 153, 153, 1);
  689. font-size: 20rpx;
  690. font-weight: NaN;
  691. text-align: left;
  692. white-space: nowrap;
  693. line-height: 28rpx;
  694. }
  695. .image-view{
  696. width: 32rpx;
  697. height: 32rpx;
  698. .image{
  699. width: 28rpx;
  700. height: 28rpx;
  701. }
  702. }
  703. .dataGroup{
  704. margin-left: 20rpx;
  705. }
  706. </style>