orderItemB.vue 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735
  1. <template>
  2. <view style="background-color: whitesmoke;">
  3. <view class="itemV content" v-for="(item,indexo) in orderList">
  4. <view class="contentInRowS">
  5. <text class="timeText">{{item.ddId}}</text>
  6. <text v-if="item.collectPayment==1" class="jiedanBtdf" style="font-size: 24rpx;">{{$t('index.huodaofukan')}}</text>
  7. </view>
  8. <view class="contentColumn">
  9. <view class="contentInRowL">
  10. <text class="titleText" style="margin-left:20rpx;">{{$t('order.peisongfei')}}: {{$formPr(item.freight)}}{{$t('api.huobidanwei')}}</text>
  11. </view>
  12. <view class="contentInRowR">
  13. <text class="priceText" >{{$t('order.dingdanjin')}}: {{$formPr(item.amount)}}{{$t('api.huobidanwei')}}</text>
  14. </view>
  15. </view>
  16. <view v-if="youyouhui(item)" class="contentInRowL" style="margin-left:20rpx;">
  17. <text class="titleText">{{$t('order.youhuijine')}}:</text>
  18. <text class="titleText" style="padding-left: 20rpx;">{{getyhjr(item)}}</text>
  19. </view>
  20. <view v-if="item.pointsReduction>0" class="contentInRowL" style="margin-left:20rpx;">
  21. <text class="titleText">{{$t('jifen.jifendikou')}}:</text>
  22. <text class="titleText" style="padding-left: 20rpx;"> -{{$formPr(item.pointsReduction)}}{{$t('api.huobidanwei')}}</text>
  23. </view>
  24. <view style="width: 100%;margin-top: 20rpx;margin-left: 20rpx;" class="contentInRowL">
  25. <view v-if="item.store" class="contentColumn">
  26. <view>
  27. <text class="quhuodian">{{$t('order.quhuodian')}}</text>
  28. </view>
  29. <view style="margin-top: 20rpx;margin-left: 10rpx;width: 94%;">
  30. <text class="titleText">{{item.store.posName}}</text>
  31. </view>
  32. </view>
  33. </view>
  34. <view style="margin-left: 20rpx;margin-top: 20rpx;" class="contentInRowL">
  35. <view style="width: 100rpx" class="contentColumn">
  36. <text class="shouhuodian">{{$t('order.shouhuodian')}}</text>
  37. </view>
  38. <view style="margin-left: 20rpx;width: 80%;" class="contentColumn">
  39. <view v-if="item.shaddress!=null" @click="openBimg(item.shaddress.annexes)">
  40. <view class="contentInRowL">
  41. <text class="titleText">{{item.shaddress.name}}</text>
  42. <text class="distenText">({{$t('order.juli')}}{{item.jvli}}Km)</text>
  43. </view>
  44. <text class="addrText">{{item.shaddress.address}}</text>
  45. <text class="addrText">{{item.shaddress.area}}</text>
  46. <text v-if="item.remarks!=''" class="noteText">{{item.remarks}}</text>
  47. </view>
  48. <view v-for="(itemf,index) in item.food">
  49. <view class="contentInRowL" style="margin-top: 12rpx;">
  50. <myImage class="spIcon" :mysrc="itemf.image" mymode="scaleToFill" ></myImage>
  51. <view class="contentColumn" style="margin-left: 10rpx;width: 78%;">
  52. <text class="addrText">{{itemf.name}}</text>
  53. <view class="contentInRowS">
  54. <view class="contentInRowL ">
  55. <text class="kouweisku" v-for="sku in itemf.ask">{{sku}}</text>
  56. </view>
  57. <text class="addrText">{{itemf.number}}(份)</text>
  58. </view>
  59. </view>
  60. </view>
  61. </view>
  62. </view>
  63. </view>
  64. <view v-if="youyouhui(item)" class="contentColumnC psfnote">
  65. <text class="addrText" style="color:white;padding: 6rpx;">{{$t('order.qishouyhts')}}</text>
  66. </view>
  67. <view class="contentInRowS" style="width: 90%;margin-top: 20rpx;margin-left: 5%;">
  68. <view class="wanchengT" style="background-color: crimson;" @click="chakantp(item)">{{$t('order.chakantp')}}</view>
  69. <view class="wanchengT" style="background-color: #006AFF;" @click="wancheng(item)">{{$t('order.songda')}}</view>
  70. </view>
  71. <view v-if="item.shaddress!=null" class="contentInRowS" style="align-items: flex-start;">
  72. <view class="contentColumnC" style="margin:20rpx;padding-left: 10rpx;" @click="callPhone(item.shaddress.phone,item.user)">
  73. <uni-icons custom-prefix="custom-icon" color="#006AFF" type="phone-filled" size="28"></uni-icons>
  74. <label class="jiedanText">{{$t('order.lianxi')}}</label>
  75. </view>
  76. <view class="contentColumnC" style="margin:20rpx;padding-right: 10rpx;" @click="gotoNav(item.shaddress)">
  77. <uni-icons custom-prefix="custom-icon" color="#006AFF" type="navigate-filled" size="28"></uni-icons>
  78. <label class="jiedanText">Navigation</label>
  79. </view>
  80. <view v-if="canopenBimg(item.shaddress.annexes)" class="contentColumnC" style="margin:20rpx;padding-left: 10rpx;" @click="openBimg(item.shaddress.annexes)">
  81. <uni-icons custom-prefix="custom-icon" color="#006AFF" type="home" size="28"></uni-icons>
  82. <label class="jiedanText">{{$t('order.menpaizp')}}</label>
  83. </view>
  84. <view class="contentColumnC" style="margin:20rpx;padding-left: 10rpx;" @click="Exchange(item.ddId,item.user)">
  85. <uni-icons custom-prefix="custom-icon" color="#006AFF" type="chatboxes" size="28"></uni-icons>
  86. <label class="jiedanText">{{$t('exchange.xinxi')}}</label>
  87. </view>
  88. <view class="contentColumnC" style="margin:20rpx;padding-left: 10rpx;" @click="imCall(item.ddId,item.user)">
  89. <uni-icons custom-prefix="custom-icon" color="#006AFF" type="phone" size="28"></uni-icons>
  90. <label class="jiedanText">IM Call</label>
  91. </view>
  92. </view>
  93. </view>
  94. <uni-popup style="z-index: 9999;" ref="popqc" type="center" :isMaskClick="true" :safeArea="true">
  95. <view class="contentColumn" style="width:600rpx;background-color: whitesmoke;border-radius: 10rpx;">
  96. <view class="item_list">
  97. <view class="item_content" v-for="(itemi,indexi) in annexList" @click="imagesel(indexi)">
  98. <netImage v-if="itemi!=''" width="180" height="180" bradius="4" :mysrc="itemi" mymode="scaleToFill" ></netImage>
  99. </view>
  100. <view class="item_content" @click="updataImage">
  101. <image class="upimagV" src="/static/imags/shangctp.png" mode="scaleToFill"></image>
  102. </view>
  103. </view>
  104. <view class="contentInRowC">
  105. <text class="actbttext" style="background-color:rosybrown;" @click="quxiaoqc">{{$t('index.quxiao')}}</text>
  106. <text class="actbttext" style="background-color:#006Aff;" @click="querensongda">{{$t('order.songda')}}</text>
  107. </view>
  108. </view>
  109. </uni-popup>
  110. </view>
  111. </template>
  112. <script>
  113. import {
  114. UploadImage,
  115. setorderuzt,
  116. setLocat
  117. } from '@/pages/api/basic';
  118. export default {
  119. name:"orderItem",
  120. props:{
  121. orderList:'',
  122. qsId:'',
  123. },
  124. data() {
  125. return {
  126. isAndroid:true,
  127. annexList:[],
  128. actobj:''
  129. };
  130. },
  131. mounted() {
  132. let systemInfo = uni.getSystemInfoSync();
  133. this.isAndroid = systemInfo.platform.toLowerCase() === 'android';
  134. console.log('mounted------------------')
  135. },
  136. methods:{
  137. canopenBimg(mysrc){
  138. if(!mysrc){
  139. return false;
  140. }
  141. if(mysrc.length<8){
  142. return false;
  143. }
  144. return true;
  145. },
  146. openBimg(mysrc){
  147. if(!mysrc){
  148. return;
  149. }
  150. if(mysrc.length<8){
  151. return;
  152. }
  153. console.log(mysrc);
  154. uni.navigateTo({
  155. url:'/pages/index/BigimageView?mysrc='+mysrc
  156. })
  157. },
  158. youyouhui(obj){
  159. if(obj.mdSalesReduction){
  160. return true;
  161. }
  162. if(obj.mdDiscountAmount){
  163. return true;
  164. }
  165. if(obj.discountAmount){
  166. return true;
  167. }
  168. if(obj.salesReduction){
  169. return true;
  170. }
  171. return false;
  172. },
  173. getyhjr(obj){
  174. var jinr=0;
  175. if(obj.mdSalesReduction){
  176. jinr=obj.mdSalesReduction;
  177. }
  178. if(obj.mdDiscountAmount){
  179. jinr=jinr+obj.mdDiscountAmount;
  180. }
  181. if(obj.discountAmount){
  182. jinr=jinr+obj.discountAmount;
  183. }
  184. if(obj.salesReduction){
  185. jinr=jinr+obj.salesReduction;
  186. }
  187. jinr=parseInt(jinr);
  188. return '-'+this.$formPr(jinr)+this.$t('api.huobidanwei');
  189. },
  190. // candianyw(obj){
  191. // var that = this;
  192. // uni.showModal({
  193. // title: that.$t('api.message'),
  194. // content:that.$t('order.qrcandianyw'),
  195. // confirmText:that.$t('index.queren'),
  196. // cancelText:that.$t('index.quxiao'),
  197. // success: function (res) {
  198. // if (res.confirm) { //这里是点击了确定以后
  199. // that.setorderuzt(obj.id,6);
  200. // } else { //这里是点击了取消以后
  201. // console.log('用户点击取消')
  202. // }
  203. // }
  204. // })
  205. // },
  206. chakantp(obj){
  207. // this.setorderuzt(obj.id,0)
  208. // return;
  209. var data={
  210. id:'',
  211. img:'[]'
  212. }
  213. if(obj.sqImg){
  214. data.img=obj.sqImg;
  215. }
  216. uni.navigateTo({
  217. url:'/pages/index/GoodsImages?obj='+JSON.stringify(data)
  218. })
  219. },
  220. wancheng(obj){
  221. this.actobj=obj;
  222. if(obj.sqImg){
  223. this.annexList=JSON.parse(obj.sqImg);
  224. }
  225. else{
  226. this.annexList=[];
  227. }
  228. if(this.actobj.collectPayment==0){
  229. this.$refs.popqc.open('center');
  230. }
  231. else{
  232. var that = this;
  233. uni.showModal({
  234. title: that.$t('api.message'),
  235. content:that.$t('index.shoukuanwc'),
  236. confirmText:that.$t('index.queren'),
  237. cancelText:that.$t('index.quxiao'),
  238. success: function (res) {
  239. if (res.confirm) { //这里是点击了确定以后
  240. that.$refs.popqc.open('center');
  241. } else { //这里是点击了取消以后
  242. console.log('点击取消')
  243. }
  244. }
  245. })
  246. }
  247. },
  248. querensongda(){
  249. //还要同步上传图片
  250. if(this.annexList.length==0){
  251. uni.showToast({
  252. title:this.$t('order.qingxiansctp'),
  253. icon: 'none',
  254. duration: 2500
  255. })
  256. return;
  257. }
  258. this.$refs.popqc.close();
  259. var data={
  260. id:this.actobj.id,
  261. state:12,
  262. qsImg:JSON.stringify(this.annexList)
  263. }
  264. this.$http.post(`${setorderuzt}`,data,true)
  265. .then(r => {
  266. console.log(r);
  267. this.$emit('ErefleshList');
  268. })
  269. .catch(err => {
  270. console.log(err)
  271. })
  272. },
  273. quxiaoqc(){
  274. this.$refs.popqc.close();
  275. },
  276. imagesel(index){
  277. },
  278. updataImage(){
  279. var that = this;
  280. uni.showModal({
  281. title: that.$t('api.message'),
  282. content:that.$t('order.qingxuanz'),
  283. confirmText:that.$t('order.qupaishe'),
  284. cancelText:that.$t('order.qushangc'),
  285. success: function (res) {
  286. if (res.confirm) { //这里是点击了确定以后
  287. that.getimage(2);
  288. } else { //这里是点击了取消以后
  289. console.log('点击取消')
  290. that.getimage(1)
  291. }
  292. }
  293. })
  294. },
  295. getimage(state){
  296. var sourceType=[];
  297. if(state==1){
  298. sourceType=['album']
  299. }
  300. else{
  301. sourceType=['camera']
  302. }
  303. var that = this;
  304. uni.chooseImage({
  305. count: 1, // 图片数量
  306. sizeType: ['compressed'], //可以指定是原图还是压缩图,默认二者都有
  307. sourceType:sourceType, //从相册选择或者拍照
  308. success: (res) => {
  309. const tempFilePaths = res.tempFilePaths;
  310. uni.uploadFile({
  311. url: that.$baseurl+UploadImage, //上传图片api
  312. filePath: tempFilePaths[0],
  313. name: 'file',
  314. header:{
  315. //"Authorization": userinfo.token
  316. },
  317. success: (res) => {
  318. let group = JSON.parse(res.data);
  319. var l = that.annexList.length;
  320. var temp = that.annexList;
  321. temp.push(group.data);
  322. that.annexList=temp;
  323. }
  324. });
  325. }
  326. });
  327. },
  328. callPhone(telphone,user){
  329. var that = this;
  330. uni.showModal({
  331. title: that.$t('api.message'),
  332. content:that.$t('api.nqdbddh'),
  333. confirmText:that.$t('index.queren'),
  334. cancelText:that.$t('index.quxiao'),
  335. success: function (res) {
  336. if (res.confirm) { //这里是点击了确定以后
  337. console.log('打电话')
  338. plus.device.dial(telphone, false );
  339. } else { //这里是点击了取消以后
  340. console.log('点击取消')
  341. }
  342. }
  343. })
  344. },
  345. imCall(ddid,user){
  346. var data = {
  347. ddId:ddid,
  348. userId:user.userId,
  349. nickName:user.nickName,
  350. avatar:user.avatar,
  351. cid:user.cid
  352. }
  353. uni.setStorageSync('imUser',user);
  354. uni.navigateTo({
  355. url:'/pages/imcall/audioCall?caller=1'
  356. })
  357. },
  358. Exchange(ddid,user){
  359. console.log(ddid,user);
  360. var data = {
  361. ddId:ddid,
  362. userId:user.userId,
  363. nickName:user.nickName,
  364. avatar:user.avatar,
  365. cid:user.cid
  366. }
  367. uni.setStorageSync('imUser',data);
  368. // uni.navigateTo({
  369. // url:'/pages/imcall/ExchangeView?caller=1'
  370. // })
  371. uni.navigateTo({
  372. url:'/pages/imcall/GoeasyExchange?caller=1'
  373. })
  374. },
  375. setorderuzt(rId,state,){
  376. var that = this;
  377. var data;
  378. if(state==3){
  379. data={
  380. id:rId,
  381. state:state,
  382. qsId:this.qsId
  383. }
  384. }
  385. else{
  386. data={
  387. id:rId,
  388. state:state,
  389. // qsId:'',
  390. // diningStatus:0
  391. qsId:this.qsId,
  392. diningStatus:1
  393. }
  394. }
  395. this.$http.post(`${setorderuzt}`,data,true)
  396. .then(r => {
  397. console.log('setorderuzt',r);
  398. this.$emit('ErefleshList');
  399. })
  400. .catch(err => {
  401. console.log(err)
  402. })
  403. },
  404. gotoNav(store){
  405. console.log(store)
  406. var navData={
  407. latitude:parseFloat(store.latitude),
  408. longitude:parseFloat(store.longitude),
  409. address:store.address
  410. }
  411. console.log(navData)
  412. var temp = JSON.stringify(navData);
  413. uni.navigateTo({
  414. url:'/pages/map/mapboxView?navdata='+temp
  415. })
  416. //this.handlePosition(store.latitude,store.longitude,store.address);
  417. },
  418. handlePosition(lat,lon,cityName) {
  419. //如果是Andrios的设备
  420. if (plus.os.name == 'Android') {
  421. console.log('Android')
  422. const hasBaiduMap = plus.runtime.isApplicationExist({
  423. pname: 'com.baidu.BaiduMap',
  424. action: 'baidumap://'
  425. });
  426. const hasAmap = plus.runtime.isApplicationExist({
  427. pname: 'com.autonavi.minimap',
  428. action: 'androidamap://'
  429. });
  430. const hasgoogle = plus.runtime.isApplicationExist({
  431. pname: 'com.google.android.apps.maps',
  432. action: 'comgooglemaps://'
  433. });
  434. //重点是下面的url要根据官方给出的api进行对应,不同的需求对应不同的api
  435. let urlBaiduMap =
  436. 'baidumap://map/direction?region=起点&destination='+lat+','+lon+'&coord_type=wgs84&mode=riding&src=andr.paotuiwang.qishou';
  437. urlBaiduMap = encodeURI(urlBaiduMap)
  438. let urlAmap =
  439. 'androidamap://viewMap?sourceApplication=appname&poiname='+cityName+'&lat='+lat+'&lon='+lon+'&dev=1';
  440. urlAmap = encodeURI(urlAmap)
  441. var buttons=[];
  442. if(hasBaiduMap){
  443. buttons.push({
  444. title: this.$t('user.baiduNav'),
  445. value:urlBaiduMap
  446. })
  447. }
  448. if(hasAmap){
  449. buttons.push({
  450. title: this.$t('user.gaodeNav'),
  451. value:urlAmap
  452. })
  453. }
  454. // if(hasgoogle){
  455. // buttons.push({title: this.$t('user.googleNav')})
  456. // }
  457. if(buttons.length==0){
  458. if(hasgoogle){
  459. var url = 'google.navigation:q=' + lat + ',' + lon; //如果是国外应用,应该优先使用这个,会启动google地图。这个接口不能统一坐标系,进入百度地图时会有偏差
  460. plus.runtime.openURL(url);
  461. return;
  462. }
  463. }
  464. plus.nativeUI.actionSheet({
  465. title: this.$t('user.xuanzedaoh'),
  466. cancel: this.$t('index.quxiao'),
  467. buttons: buttons
  468. }, function(e) {
  469. plus.runtime.openURL(buttons[e.index-1].value);
  470. });
  471. } else {
  472. // iOS上获取本机是否安装了百度高德地图,需要在manifest里配置,在manifest.json文件app-plus->distribute->apple->urlschemewhitelist节点下添加(如urlschemewhitelist:["iosamap","baidumap"])
  473. var url='';
  474. var that = this;
  475. plus.nativeUI.actionSheet({
  476. title: this.$t('user.xuanzedaoh'),
  477. cancel: this.$t('index.quxiao'),
  478. buttons: [{
  479. title: this.$t('user.baiduNav')
  480. },{
  481. title: this.$t('user.gaodeNav')
  482. },{
  483. title: this.$t('user.googleNav')
  484. },{
  485. title: this.$t('user.appleNav')
  486. }]
  487. }, function(e) {
  488. switch (e.index) {
  489. case 1:
  490. url ='baidumap://map/marker?location='+lat+','+lon+'&title='+cityName+'&content='+cityName+'&coord_type=wgs84&src=ios.baidu.openAPIdemo';
  491. break;
  492. case 2:
  493. url ='iosamap://path?sourceApplication=fuxishan_uni_client&dlat='+lat+'&dlon='+lon+'&dname='+cityName+'&dev=1&t=0';
  494. break;
  495. case 3:
  496. url='comgooglemapsurl://?daddr='+ lat + ',' + lon;
  497. break;
  498. case 4:
  499. url = 'http://maps.apple.com/?q=' +cityName + '&ll=' + lat + ',' + lon + '&spn=0.008766,0.019441';
  500. break;
  501. default:
  502. break;
  503. }
  504. if (url!='') {
  505. url = encodeURI(url)
  506. plus.runtime.openURL(url, function(e) {
  507. plus.nativeUI.alert(that.$t('user.weianzhuangapp'));
  508. });
  509. }
  510. })
  511. }
  512. },
  513. },
  514. }
  515. </script>
  516. <style lang="scss">
  517. @import '@/common/common.scss';
  518. @font-face {
  519. font-family: zrht;
  520. src: url('/uni_modules/font/zrht.otf');
  521. }
  522. .itemV{
  523. margin-top: 16rpx;
  524. background-color: white;
  525. }
  526. .psfnote{
  527. width: 92%;
  528. margin-left: 4%;
  529. margin-top: 5rpx;
  530. border-radius: 10rpx;
  531. background-color: crimson;
  532. }
  533. .spIcon{
  534. width: 90rpx;
  535. height: 90rpx;
  536. }
  537. .kouweisku{
  538. color:chocolate;
  539. padding-right: 12rpx;
  540. font-size: 28rpx;
  541. }
  542. .qiangdImg{
  543. width: 120rpx;
  544. height: 120rpx;
  545. }
  546. .quhuodian{
  547. font-size: 26rpx;
  548. padding: 8rpx;
  549. color: royalblue;
  550. border-radius: 16rpx;
  551. border: solid royalblue;
  552. }
  553. .shouhuodian{
  554. font-size: 26rpx;
  555. padding: 8rpx;
  556. color: crimson;
  557. border-radius: 16rpx;
  558. border: solid crimson;
  559. }
  560. .lineimag{
  561. display: flex;
  562. flex-direction: column;
  563. justify-content: space-between;
  564. margin-left: 45rpx;
  565. width: 4rpx;
  566. background-color: lightgray;
  567. height: 100rpx;
  568. margin-top: 4rpx;
  569. margin-bottom: 4rpx;
  570. }
  571. .yuandian{
  572. width: 16rpx;
  573. height: 16rpx;
  574. background-color: lightgray;
  575. border-radius: 8rpx;
  576. margin-left: -8rpx;
  577. }
  578. .timeText{
  579. font-size: 32rpx;
  580. color: #006AFF;
  581. padding-left: 20rpx;
  582. font-weight: bold;
  583. }
  584. .priceText{
  585. font-size: 30rpx;
  586. color: crimson;
  587. padding-right: 20rpx;
  588. }
  589. .titleText{
  590. font-size: 28rpx;
  591. /* font-family: zrht; */
  592. }
  593. .pnametext{
  594. overflow: hidden;
  595. text-overflow: ellipsis;
  596. display: -webkit-box;
  597. -webkit-line-clamp: 1;
  598. -webkit-box-orient: vertical;
  599. }
  600. .distenText{
  601. font-size: 26rpx;
  602. color: darkgray;
  603. padding-left: 20rpx;
  604. }
  605. .addrText{
  606. font-size: 28rpx;
  607. color: dimgray;
  608. }
  609. .stateText{
  610. font-size: 28rpx;
  611. color: darkgray;
  612. padding: 8rpx;
  613. border: solid darkgray;
  614. border-radius: 8rpx;
  615. }
  616. .noteText{
  617. margin-top: 16rpx;
  618. font-size: 28rpx;
  619. color: dimgray;
  620. padding: 8rpx;
  621. background-color: whitesmoke;
  622. border-radius: 8rpx;
  623. }
  624. .connectText{
  625. font-size: 28rpx;
  626. color: black;
  627. padding-left: 8rpx;
  628. padding-right: 8rpx;
  629. padding-top: 2rpx;
  630. padding-bottom: 2rpx;
  631. border: 2rpx solid darkgray;
  632. border-radius: 8rpx;
  633. }
  634. .setImg{
  635. width: 30rpx;
  636. height: 30rpx;
  637. }
  638. .setImgB{
  639. width: 40rpx;
  640. height: 40rpx;
  641. }
  642. .jiedanText{
  643. font-size: 24rpx;
  644. color: black;
  645. }
  646. .jiedanTextS{
  647. font-size: 20rpx;
  648. color: black;
  649. }
  650. .wanchengV{
  651. width: 480rpx;
  652. height: 68rpx;
  653. border-radius: 10rpx;
  654. background-color: crimson;
  655. }
  656. .wanchengT{
  657. padding-left: 20rpx;
  658. padding-right: 20rpx;
  659. line-height: 68rpx;
  660. font-weight: bold;
  661. font-size: 26rpx;
  662. color: white;
  663. border-radius: 10rpx;
  664. text-align: center;
  665. }
  666. .jiedanBtdf{
  667. padding: 10rpx;
  668. color:white;
  669. background-color: #1A1A1A;
  670. border-radius: 8rpx;
  671. box-shadow: 0rpx 0rpx 2rpx 0rpx #1A1A1A;
  672. }
  673. .item_list{
  674. display: flex;
  675. flex-wrap: wrap;
  676. justify-content: flex-start;
  677. .item_content{
  678. width:180rpx;
  679. height:180rpx;
  680. margin: 10rpx;
  681. box-sizing: border-box;
  682. }
  683. }
  684. .upimagV{
  685. width: 180rpx;
  686. height:180rpx;
  687. }
  688. .actbttext{
  689. width: 50%;
  690. line-height: 66rpx;
  691. font-size: 28rpx;
  692. color: white;
  693. text-align: center;
  694. }
  695. </style>