MainOrderDetail.vue 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777
  1. <template>
  2. <view class="">
  3. <customNav :shownav="true" :title="i18n('index.orderxq')" titledetl=""></customNav>
  4. <view class="contentColumn " style="background-color: white;margin-top: 40rpx;">
  5. <view class="spaceCtvauto" v-for="(items,indexs) in food">
  6. <view class="contentInRowL">
  7. <netImage style="margin-left: 12rpx;margin-top: 10rpx;" width="60" height="60" bradius="30" :mysrc="items.logo" mymode="scaleToFill"></netImage>
  8. <text>{{items.posName}}</text>
  9. </view>
  10. <view v-for="(item,index) in items.food">
  11. <view class="spnodetail">
  12. <view class="">
  13. <myImage class="spIcon" :mysrc="item.image" mymode="scaleToFill"></myImage>
  14. </view>
  15. <view style="width: 600rpx;">
  16. <view class="actBTV">
  17. <view style="font-size: 30rpx;">{{item.name}}</view>
  18. </view>
  19. <view class="keywordLct" >
  20. <view class="kouweisku" v-for="sku in item.ask">{{sku}}</view>
  21. </view>
  22. <view class="contentInRowS" style="margin-bottom: 8rpx;">
  23. <view style="font-size: 26rpx;color: blueviolet;margin-right: 10rpx;">{{$t('shangpin.shoujia')}}: {{Rdanjia(item.price,item.otherPrice)}}{{$t('locale.huobidw')}}</view>
  24. <view class="viewinrow" >
  25. <image v-if="item.number>0" class="imageRJ" src="/static/meishi/jianh.png" mode="aspectFit" ></image>
  26. <text v-if="item.number>0" class="textR">{{item.number}}</text>
  27. <image class="imageR" src="/static/meishi/jiah.png" mode="aspectFit" ></image>
  28. </view>
  29. </view>
  30. <view v-if="item.beizhu" class="">
  31. <text style="font-size: 30rpx;color:#00A6FF;">{{item.beizhu}}</text>
  32. </view>
  33. </view>
  34. </view>
  35. </view>
  36. </view>
  37. <view v-if="ordertype==0">
  38. <view class="contentColumn spaceCtvauto" >
  39. <text class="textfontB4">{{i18n('index.peisongdizhi')}}</text>
  40. <text class="textfontS1 adrrTextV">{{address}}</text>
  41. </view>
  42. <view class="contentInRowS spaceCtv">
  43. <text class="textfontB4">{{i18n('order.shoujianren')}}</text>
  44. <text class="textfontB5">{{name}}</text>
  45. </view>
  46. <view class="contentInRowS spaceCtv">
  47. <text class="textfontB4">{{i18n('order.lianxidianhua')}}</text>
  48. <text class="textfontB5">{{phone}}</text>
  49. </view>
  50. </view>
  51. <label class="linesp"></label>
  52. <view v-if="ordertype==1">
  53. <view class="contentInRowS spaceCtv">
  54. <text class="ztextfontB3" style="color:fuchsia">{{i18n('order.ziqu')}}</text>
  55. </view>
  56. </view>
  57. <view v-if="ordertype==2">
  58. <view class="contentInRowS spaceCtv">
  59. <text class="ztextfontB3" style="color:fuchsia">{{i18n('shouye.tangshi')}}</text>
  60. </view>
  61. </view>
  62. <label class="linesp"></label>
  63. <view class="contentInRowS spaceCtv">
  64. <text class="textfontB4">{{i18n('index.youhuiq')}}</text>
  65. <text v-if="orderxq.activity" class="textfontB5">{{orderxq.activity.salesName}}</text>
  66. <text v-if="!orderxq.activity" class="textfontB5">{{i18n('index.wkyyouhuiq')}}</text>
  67. </view>
  68. <view class="contentInRowS spaceCtv">
  69. <text class="textfontB4">{{i18n('order.shangpinxj')}}</text>
  70. <text class="textfontB5">{{formPr(spxji)}}{{i18n('locale.huobidw')}}</text>
  71. </view>
  72. <view v-if="ordertype==0" class="contentInRowS spaceCtv">
  73. <text class="textfontB4">{{i18n('order.peisongfei')}}</text>
  74. <text class="textfontB5">{{formPr(peisongfei)}}{{i18n('locale.huobidw')}}</text>
  75. </view>
  76. <!-- <view v-if="orderxq.activity" class="contentInRowS spaceCtv">
  77. <text class="textfontB4">{{i18n('order.youhuijine')}}</text>
  78. <text class="textfontB5">-{{formPr(yhjinr)}}{{i18n('locale.huobidw')}}</text>
  79. </view> -->
  80. <view class="contentInRowS spaceCtvN">
  81. <text class="textfontB4">{{i18n('order.dingdanjin')}}</text>
  82. <text class="textfontB5">{{formPr(amount)}}{{i18n('locale.huobidw')}}</text>
  83. </view>
  84. <label class="linesp"></label>
  85. <view class="contentInRowS spaceCtv">
  86. <text class="textfontB4">{{i18n('order.danhao')}}</text>
  87. <text class="textfontB5">{{ddid}}</text>
  88. </view>
  89. <view class="contentInRowS spaceCtv">
  90. <text class="textfontB4">{{i18n('order.xiadanshijian')}}</text>
  91. <text class="textfontB5">{{cretim}}</text>
  92. </view>
  93. <view v-if="orderxq.remarks&&orderxq.remarks!=''" class="contentInRowL contentV">
  94. <view class="contentColumn">
  95. <text class="textfontB4">{{i18n('order.beizhu')}}:</text>
  96. <text class="pinglun textfontB5">{{orderxq.remarks}}</text>
  97. </view>
  98. </view>
  99. <view style="height: 50rpx;"></view>
  100. </view>
  101. <uni-popup style="z-index: 999;" ref="popzhif" type="center" :isMaskClick="true" :safeArea="true">
  102. <view class="contentColumnC" style="width: 100%;background-color: whitesmoke;">
  103. <view style="height: 40rpx;"></view>
  104. <text>{{i18n('order.zhifufangshi')}}</text>
  105. <text class="zhifbut" style="background-color: deeppink;" @click="huodaofukuan">{{i18n('index.huodaofukan')}}</text>
  106. <view style="height: 40rpx;"></view>
  107. </view>
  108. </uni-popup>
  109. </view>
  110. </template>
  111. <script>
  112. import api from "@/pages/api/api.js"
  113. export default {
  114. data() {
  115. return {
  116. ddid:'',
  117. orderxq:[],
  118. state:0,
  119. stateName:'',
  120. posName:'',
  121. telphone:'',
  122. food:[],
  123. amount:0,
  124. address:'',
  125. name:'',
  126. phone:'',
  127. annexes:'',
  128. Id:'',
  129. cretim:'',
  130. spxji:0,
  131. peisongfei:0,
  132. yhjinr:0,
  133. mendid:'',
  134. ordertype:0,
  135. startFl:0,
  136. upImage:false,
  137. jinduA:0,
  138. jinduB:0,
  139. ordertypename:''
  140. }
  141. },
  142. onLoad(option) {
  143. this.ddid = option.ddid;
  144. this.getParentOrderDetail();
  145. },
  146. onShow() {
  147. // this.getParentOrderDetail();
  148. },
  149. onUnload() {
  150. uni.switchTab({
  151. url:'/pages/OrderList/OrderList'
  152. })
  153. },
  154. methods: {
  155. isshouh(state){
  156. if(state==6||state==7||state==8||state==9){
  157. return true;
  158. }
  159. return false
  160. },
  161. isdaish(state){
  162. if(this.orderxq.type==0){
  163. if(state==12){
  164. return true;
  165. }
  166. }
  167. else{
  168. if(this.orderxq.diningStatus==1){
  169. return true;
  170. }
  171. }
  172. return false
  173. },
  174. formPr(price){
  175. var number = '0';
  176. var type = typeof(price);
  177. if(type=='string'){
  178. number = price
  179. }
  180. if(type=='number'){
  181. number = price.toString(); // 确保输入是字符串
  182. }
  183. const pattern = /(-?\d+)(\d{3})/;
  184. while (pattern.test(number)) {
  185. number = number.replace(pattern, "$1,$2");
  186. }
  187. return number;
  188. },
  189. arraytoStr(arry){
  190. var str='';
  191. if(arry.length>0){
  192. for(var i=0;i<arry.length;i++){
  193. str=str+arry[i]+'; ';
  194. }
  195. }
  196. return str;
  197. },
  198. i18n(str){
  199. var rstr = getApp().globalData.$t(str);
  200. return rstr;
  201. },
  202. Rdanjia(price,othprice){
  203. if(!othprice){
  204. othprice=0;
  205. }
  206. return this.$formPr((parseFloat(price)+parseFloat(othprice)));
  207. },
  208. getParentOrderDetail(){
  209. api('getParentOrderDetail',{
  210. ddId:this.ddid
  211. },res=>{
  212. console.log('1---------1:',res);
  213. if(res.data.code==200){
  214. this.orderxq=res.data.data;
  215. this.dowithddxq();
  216. }
  217. },failc=>{
  218. //console.log('getadvertis----',failc)
  219. })
  220. },
  221. dowithddxq(){
  222. this.food=this.orderxq.items;
  223. for(var i=0;i<this.food.length;i++){
  224. var fitem = JSON.parse(this.food[i].food);
  225. if(fitem){
  226. this.food[i].food = fitem;
  227. }
  228. }
  229. if(this.orderxq.shAddress){
  230. this.orderxq.shAddress=JSON.parse(this.orderxq.shAddress);
  231. console.log(this.orderxq.shAddress)
  232. this.address=this.orderxq.shAddress.address;
  233. this.name=this.orderxq.shAddress.name;
  234. this.phone=this.orderxq.shAddress.phone;
  235. }
  236. this.dowithOrderstate();
  237. },
  238. dowithOrderstate(){
  239. if(this.orderxq.type==0){
  240. this.ordertype = 0;
  241. this.ordertypename=this.i18n('order.peisong');
  242. }
  243. else if(this.orderxq.type==1){
  244. this.ordertype = 1;
  245. this.ordertypename=this.i18n('order.ziqu');
  246. if(this.state==3||this.state==4){
  247. this.stateName = this.i18n('order.daiqucan');
  248. }
  249. }
  250. else{
  251. this.ordertype = 2;
  252. this.ordertypename=this.i18n('shouye.tangshi');
  253. if(this.state==3||this.state==4){
  254. this.stateName = this.i18n('order.daiqucan');
  255. }
  256. }
  257. this.spxji = 0;
  258. for(var i=0;i<this.food.length;i++){
  259. var item = this.food[i];
  260. var yidongjine=item.foodAmount;
  261. this.spxji = this.spxji+yidongjine;
  262. }
  263. this.peisongfei = 0;
  264. for(var i=0;i<this.food.length;i++){
  265. var item = this.food[i];
  266. this.peisongfei =this.peisongfei+ item.freight;
  267. }
  268. if(this.ordertype==0){
  269. this.amount = this.peisongfei+this.spxji;
  270. }
  271. else{
  272. this.amount = this.spxji;
  273. }
  274. this.cretim = this.orderxq.createTime;
  275. },
  276. callPhone(){
  277. var that = this;
  278. uni.showModal({
  279. cancelText:that.i18n('order.quxiao'),
  280. confirmText:that.i18n('comp.queren'),
  281. title: that.i18n('api.message'),
  282. content:that.i18n('api.nqdbddh'),
  283. success: function (res) {
  284. if (res.confirm) { //这里是点击了确定以后
  285. console.log(that.mendianMs.telphone)
  286. plus.device.dial(that.mendianMs.telphone, false );
  287. } else { //这里是点击了取消以后
  288. console.log('点击取消')
  289. }
  290. }
  291. })
  292. },
  293. phoneCall(){
  294. var that = this;
  295. uni.showModal({
  296. cancelText:that.i18n('order.quxiao'),
  297. confirmText:that.i18n('comp.queren'),
  298. title: that.i18n('api.message'),
  299. content:that.i18n('api.nqdbddh'),
  300. success: function (res) {
  301. if (res.confirm) { //这里是点击了确定以后
  302. console.log(that.orderxq.qsuser.phone)
  303. plus.device.dial(that.orderxq.qsuser.phone, false );
  304. } else { //这里是点击了取消以后
  305. console.log('点击取消')
  306. }
  307. }
  308. })
  309. },
  310. choosebt(index){
  311. switch(index){
  312. case 1://去支付
  313. {
  314. this.$refs.popzhif.open('bottom');
  315. //this.zffsS=true;
  316. }
  317. break;
  318. case 2://修改订单
  319. break;
  320. case 3://取消订单
  321. var that = this;
  322. uni.showModal({
  323. cancelText:that.i18n('order.quxiao'),
  324. confirmText:that.i18n('comp.queren'),
  325. title: that.i18n('api.message'),
  326. content: that.i18n('order.shifouqx')+that.ddid+'?',
  327. success: function (res) {
  328. if (res.confirm) { //这里是点击了确定以后
  329. that.setorderuzt(10,that.Id);
  330. } else { //这里是点击了取消以后
  331. console.log('用户点击取消')
  332. }
  333. }
  334. })
  335. break;
  336. case 4://发表评论
  337. //this.setorderuzt(3,this.Id);
  338. uni.navigateTo({
  339. url:'/pages/OrderList/pinglun?mendid='+this.mendid+'&ddId='+this.ddid
  340. })
  341. break;
  342. return
  343. case 5://售后列表
  344. uni.navigateTo({
  345. url:'/pages/kehufuwu/kefuMsgList?ddId='+this.orderxq.ddId
  346. })
  347. break;
  348. case 6://完成订单
  349. var that = this;
  350. uni.showModal({
  351. cancelText:that.i18n('order.quxiao'),
  352. confirmText:that.i18n('comp.queren'),
  353. title: that.i18n('api.message'),
  354. content: that.i18n('mend.shifwanch')+that.ddid+that.i18n('index.order')+'?',
  355. success: function (res) {
  356. if (res.confirm) { //这里是点击了确定以后
  357. that.setorderuzt(5,that.Id);
  358. } else { //这里是点击了取消以后
  359. console.log('用户点击取消')
  360. }
  361. }
  362. })
  363. break;
  364. case 7://开始售后
  365. var that = this;
  366. uni.showModal({
  367. cancelText:that.i18n('order.quxiao'),
  368. confirmText:that.i18n('comp.queren'),
  369. title: that.i18n('api.message'),
  370. content: that.i18n('order.shifoushenq')+that.ddid+that.i18n('order.kefujs')+'?',
  371. success: function (res) {
  372. if (res.confirm) { //这里是点击了确定以后
  373. if(that.orderxq.collectPayment==1){
  374. that.setorderuzt(9,that.Id);
  375. }
  376. else{
  377. that.setorderuzt(6,that.Id);
  378. }
  379. } else { //这里是点击了取消以后
  380. console.log('用户点击取消')
  381. }
  382. }
  383. })
  384. break;
  385. }
  386. },
  387. setorderuzt(state,id){
  388. api('setorderuzt',{
  389. id:id,
  390. state:state
  391. },res=>{
  392. console.log('setorderuzt',res)
  393. this.getstoreorderxq();
  394. },failc=>{
  395. //console.log('getadvertis----',failc)
  396. })
  397. },
  398. //直接全额退款
  399. quanertuikuan(state){
  400. console.log('quanertuikuan');
  401. api('VNtuikuan',{
  402. "order_id": this.ddid, //需要退款的订单号
  403. "amount": parseInt(this.amount), //退款金额
  404. "trantype": '02', //退款类型:02全额退款,03部份退款
  405. 'illustrate':'全额退款',
  406. "transaction":'' //交易号,不存在可为空
  407. },res=>{
  408. console.log('VNtuikuan',res);
  409. if(res.data.code==200){
  410. if(res.data.data.vnp_ResponseCode=='00'){
  411. uni.showToast({
  412. title:this.i18n('order.tuikuanchg'),
  413. icon: 'none',
  414. duration: 2500
  415. })
  416. this.setorderuzt(state,this.Id);
  417. }else if(res.data.data.vnp_ResponseCode=='94'){
  418. uni.showToast({
  419. title:this.i18n('order.tuikuanchg'),
  420. icon: 'none',
  421. duration: 2500
  422. })
  423. this.setorderuzt(state,this.Id);
  424. }
  425. else{
  426. uni.showToast({
  427. title: res.data.data.vnp_Message,
  428. icon: 'none',
  429. duration: 2500
  430. })
  431. }
  432. }
  433. else{
  434. uni.showToast({
  435. title: res.data.msg,
  436. icon: 'none',
  437. duration: 2500
  438. })
  439. }
  440. },failc=>{
  441. console.log('VNtuikuan',failc)
  442. })
  443. },
  444. huodaofukuan(){
  445. this.$refs.popzhif.close();
  446. uni.showLoading({
  447. title:'Loading...',
  448. mask:true
  449. })
  450. api('setorderuzt',{
  451. id:this.Id,
  452. "collectPayment":1
  453. },res=>{
  454. console.log('setorderuzt:',res)
  455. uni.hideLoading();
  456. if(res.data.code==200){
  457. this.getstoreorderxq();
  458. }
  459. else{
  460. uni.showToast({
  461. title: res.data.msg,
  462. icon: 'none',
  463. duration: 2000
  464. })
  465. }
  466. },failc=>{
  467. uni.hideLoading();
  468. //console.log('getadvertis----',failc)
  469. })
  470. },
  471. selectImage(){
  472. console.log('selectImage');
  473. this.upImage=true;
  474. var that = this;
  475. uni.chooseImage({
  476. count: 1, // 图片数量
  477. sizeType: ['compressed'], //可以指定是原图还是压缩图,默认二者都有
  478. sourceType: ['album'], //从相册选择或者拍照
  479. success: (res) => {
  480. const tempFilePaths = res.tempFilePaths;
  481. console.log('-----',tempFilePaths)
  482. uni.uploadFile({
  483. url:this.$baseUrl.getUploadUrl(), //上传图片api
  484. filePath: tempFilePaths[0],
  485. name: 'file',
  486. header:{
  487. //"Authorization": userinfo.token
  488. },
  489. success: (res) => {
  490. this.upImage=false;
  491. let group = JSON.parse(res.data);
  492. that.annexes=group.data;
  493. console.log('aaaa',group)
  494. api('ADDaddress',{
  495. id:that.orderxq.shaddress.id,
  496. annexes:group.data
  497. },
  498. res=>{
  499. if(res.data.code==200){
  500. }
  501. console.log('getGoodsDetail:',res);
  502. },failc=>{
  503. //console.log('getadvertis----',failc)
  504. })
  505. uni.showToast({
  506. title:'success',
  507. icon:"success"
  508. })
  509. },
  510. fail: (res) =>{
  511. console.log('uni.uploadFile',res)
  512. this.upImage=false;
  513. }
  514. });
  515. }
  516. });
  517. },
  518. }
  519. }
  520. </script>
  521. <style lang="scss">
  522. .spaceCtv{
  523. width:690upx;
  524. margin-left: 30upx;
  525. align-items: center;
  526. height: 80rpx;
  527. border-bottom-width: 2rpx;
  528. border-bottom-color:lightgray;
  529. }
  530. .spaceCtvh{
  531. width:690upx;
  532. margin-left: 30upx;
  533. align-items: center;
  534. height: 150rpx;
  535. border-bottom-width: 2rpx;
  536. border-bottom-color:lightgray;
  537. }
  538. .spaceCtvauto{
  539. width:690upx;
  540. margin-left: 30upx;
  541. justify-content: flex-start;
  542. border-bottom-width: 2rpx;
  543. border-bottom-color:lightgray;
  544. }
  545. .spaceCtvN{
  546. width:690upx;
  547. margin-left: 30upx;
  548. align-items: center;
  549. height: 80rpx;
  550. }
  551. .mapcontent{
  552. position: fixed;
  553. height: 400rpx;
  554. left: 0;
  555. right: 0;
  556. z-index: 999;
  557. }
  558. .mapview{
  559. display: flex;
  560. width: 750upx;
  561. }
  562. .contentV{
  563. width:690upx;
  564. margin-left: 30upx;
  565. margin-top: 20rpx;
  566. }
  567. .viewinrow{
  568. display: flex;
  569. flex-direction: row;
  570. align-items: center;
  571. }
  572. .topActV{
  573. width: 750upx;
  574. height: 180rpx;
  575. background-color: white;
  576. }
  577. .topActVB{
  578. width: 750upx;
  579. height: 180rpx;
  580. background-color: white;
  581. }
  582. .notext{
  583. padding-top: 10rpx;
  584. padding-left: 20rpx;
  585. font-size: 40rpx;
  586. color: #000;
  587. font-weight:bold;
  588. }
  589. .nodetail{
  590. height: 88rpx;
  591. margin-left: 10rpx;
  592. margin-right: 10rpx;
  593. margin-top: 10rpx;
  594. padding-left: 2rpx;
  595. flex-direction: row;
  596. align-items: center;
  597. justify-content: flex-start;
  598. background-color: #F1F1F1;
  599. font-size: 30rpx;
  600. }
  601. .xingimage{
  602. width: 36rpx;
  603. height: 36rpx;
  604. }
  605. .actBTVS{
  606. display: flex;
  607. flex-direction: row;
  608. justify-content:space-between;
  609. align-items: center;
  610. width: 650upx;
  611. margin-left: 15rpx;
  612. }
  613. .actBTV{
  614. width: 720upx;
  615. margin-left: 15upx;
  616. display: flex;
  617. flex-direction: row;
  618. justify-content:space-between;
  619. align-items: center;
  620. }
  621. .actbt{
  622. width: 160upx;
  623. margin-top: 10rpx;
  624. margin-bottom: 10rpx;
  625. align-items: center;
  626. justify-content: center;
  627. }
  628. .ddbticon{
  629. margin-top: 6rpx;
  630. width: 160upx;
  631. height: 80rpx;
  632. display: flex;
  633. align-items: center;
  634. justify-content: center;
  635. }
  636. .ddtext{
  637. margin-top: 6rpx;
  638. text-align: center;
  639. color: black;
  640. }
  641. .bticon{
  642. width: 50rpx;
  643. height: 50rpx;
  644. }
  645. .spnodetail{
  646. display: flex;
  647. flex-direction: row;
  648. align-items: center;
  649. background-color: white;
  650. margin-top: 20rpx;
  651. margin-bottom: 20rpx;
  652. }
  653. .spIcon{
  654. margin: 20rpx;
  655. width: 90rpx;
  656. height: 90rpx;
  657. }
  658. .xiaoji{
  659. margin-right: 30rpx;
  660. }
  661. .kouweisku{
  662. padding-right: 10rpx;
  663. color: chocolate;
  664. font-size: 26rpx;
  665. width: 600upx;
  666. }
  667. .linesp{
  668. width: 750upx;
  669. height: 8rpx;
  670. background-color: aliceblue;
  671. }
  672. .buyGoodsv{
  673. width: 750upx;
  674. text-align: left;
  675. height: 60rpx;
  676. line-height: 60rpx;
  677. padding-left: 10rpx;
  678. flex-direction: row;
  679. align-items: center;
  680. justify-content: center;
  681. }
  682. .stattypeD{
  683. color: black;
  684. font-weight: bold;
  685. font-size: 26rpx;
  686. margin-left: 10rpx;
  687. }
  688. .stattypeA{
  689. color: darkgray;
  690. font-size: 26rpx;
  691. margin-left: 10rpx;
  692. }
  693. .stattype{
  694. font-size: 26rpx;
  695. margin-right: 40rpx;
  696. }
  697. .pinglun{
  698. margin: 16rpx;
  699. padding: 10rpx;
  700. width:660upx;
  701. border-radius: 15rpx;
  702. border: 2rpx solid lightgray;
  703. }
  704. .zhifbut{
  705. text-align:center;
  706. margin-top: 12rpx;
  707. margin-bottom: 12rpx;
  708. width:660upx;
  709. border-radius: 10rpx;
  710. color: white;
  711. line-height: 70rpx;
  712. }
  713. .adrrTextV{
  714. padding-top: 6rpx;
  715. padding-bottom: 6rpx;
  716. width:680upx;
  717. }
  718. .foodNameV{
  719. font-size: 30rpx;
  720. width:500upx;
  721. }
  722. .imageRJ{
  723. width: 40rpx;
  724. height: 40rpx;
  725. margin-right: 8rpx;
  726. }
  727. .imageR{
  728. width: 40rpx;
  729. height: 40rpx;
  730. margin-right: 30rpx;
  731. }
  732. </style>