Prechádzať zdrojové kódy

活动详情电话顺序修改

jwyu 3 rokov pred
rodič
commit
4eb30d357d
2 zmenil súbory, kde vykonal 8 pridanie a 13 odobranie
  1. 0 1
      mixin/index.js
  2. 8 12
      pages-activity/detail.vue

+ 0 - 1
mixin/index.js

@@ -4,7 +4,6 @@ moment.locale('zh-cn');
 // 引入全局配置的图片资源地址 
 import {globalImgUrls} from "../utils/config"
 import store from '@/store'
-import { unix } from "../utils/moment-with-locales.min";
 
 const tabbarPathList=['pages/activity/activity','pages/buy/buy','pages/chart/chart','pages/user/user','pages/report/report']
 

+ 8 - 12
pages-activity/detail.vue

@@ -100,15 +100,11 @@
                     <rich-text :nodes="pupData.content"></rich-text>
                 </view>
                 <view class="flex bot" v-if="pupData.type == 'contact'">
-                    <view @click="pupData.show = false" style="color: #a9afb8"
-                        >取消</view
-                    >
+                    <view @click="pupData.show = false" style="color: #a9afb8">取消</view>
                     <view @click="handleCallPhone(pupData.mobile)">拨号</view>
                 </view>
                 <view class="flex bot" v-else-if="pupData.type == 'apply'">
-                    <view @click="pupData.show = false" style="color: #a9afb8"
-                        >取消</view
-                    >
+                    <view @click="pupData.show = false" style="color: #a9afb8">取消</view>
                     <view @click="handleApply">立即申请</view>
                 </view>
                 <view class="flex bot" v-else>
@@ -186,12 +182,6 @@ export default {
                         color: "yellow",
                         type: "tel",
                     },
-                    {
-                        label: "新加坡拨入",
-                        text: res.data.singaporeTel,
-                        color: "yellow",
-                        type: "tel",
-                    },
                     {
                         label: "香港拨入",
                         text: res.data.hongKongTel,
@@ -204,6 +194,12 @@ export default {
                         color: "yellow",
                         type: "tel",
                     },
+                    {
+                        label: "新加坡拨入",
+                        text: res.data.singaporeTel,
+                        color: "yellow",
+                        type: "tel",
+                    },
                     {
                         label: "美国拨入",
                         text: res.data.americaTel,