shenjj@usoftchina.com 7 年之前
父节点
当前提交
3ecbf9f929

+ 33 - 31
app.html

@@ -1,13 +1,13 @@
 <!DOCTYPE html>
 <html {{ HTML_ATTRS }}>
+
 <head>
-  <link rel="stylesheet" type="text/css" href="https://cdn.bootcss.com/bootstrap/3.3.7/css/bootstrap.min.css"/>
-  <link rel="stylesheet" type="text/css" href="https://cdn.bootcss.com/font-awesome/4.7.0/css/font-awesome.min.css"/>
-  <link rel="stylesheet" type="text/css" href="https://cdn.bootcss.com/element-ui/1.3.7/theme-default/index.css"/>
+  <link rel="stylesheet" type="text/css" href="https://cdn.bootcss.com/bootstrap/3.3.7/css/bootstrap.min.css" />
+  <link rel="stylesheet" type="text/css" href="https://cdn.bootcss.com/font-awesome/4.7.0/css/font-awesome.min.css" />
+  <link rel="stylesheet" type="text/css" href="https://cdn.bootcss.com/element-ui/1.3.7/theme-default/index.css" />
   <!--<link rel="stylesheet" type="text/css" href="https://at.alicdn.com/t/font_0d1jjt5tukcblnmi.css"/>-->
   <link rel="stylesheet" type="text/css" href="https://at.alicdn.com/t/font_452262_fhw1qsxh5yfa8aor.css">
-  <link rel="stylesheet" type="text/css" href="https://cdn.bootcss.com/Swiper/3.4.2/css/swiper.css"/>
-  {{ HEAD }}
+  <link rel="stylesheet" type="text/css" href="https://cdn.bootcss.com/Swiper/3.4.2/css/swiper.css" /> {{ HEAD }}
   <script>
     var _hmt = _hmt || [];
     var _paq = _paq || [];
@@ -47,36 +47,38 @@
       s.parentNode.insertBefore(bp, s);
 
       // 用户浏览统计
-      <!-- Piwik -->
-        var u="//piwik.ubtob.com/";
-        _paq.push(['setTrackerUrl', u+'piwik.php']);
-        _paq.push(['setSiteId', '1']);
-        var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];
-        g.type='text/javascript'; g.async=true; g.defer=true; g.src=u+'piwik.js'; s.parentNode.insertBefore(g,s);
-      <!-- End Piwik Code -->
-      if (/(iPhone|iPad|Opera Mini|Android.*Mobile|NetFront|PSP|BlackBerry|Windows Phone)/ig.test(w.navigator.userAgent) || w.location.pathname.indexOf('mobile/share') > -1) {
-        var docEl = d.documentElement
-        var resizeEvt = 'orientationchange' in window ? 'orientationchange' : 'resize'
-        var recalc = function () {
-          var clientWidth = docEl.clientWidth
-          if (!clientWidth) return
-          if (clientWidth >= 750) {
-            docEl.style.fontSize = '100px'
-          } else {
-            docEl.style.fontSize = 100 * (clientWidth / 750) + 'px'
-          }
-        }
-//        recalc()
-        if (!d.addEventListener) return
-        w.addEventListener(resizeEvt, recalc, false)
-        d.addEventListener('DOMContentLoaded', recalc, false)
-      }
+      // <!-- Piwik -->
+      var u = "//piwik.ubtob.com/";
+      _paq.push(['setTrackerUrl', u + 'piwik.php']);
+      _paq.push(['setSiteId', '1']);
+      var d = document, g = d.createElement('script'), s = d.getElementsByTagName('script')[0];
+      g.type = 'text/javascript'; g.async = true; g.defer = true; g.src = u + 'piwik.js'; s.parentNode.insertBefore(g, s);
+      // <!-- End Piwik Code -->
+      // if (/(iPhone|iPad|Opera Mini|Android.*Mobile|NetFront|PSP|BlackBerry|Windows Phone)/ig.test(w.navigator.userAgent) || w.location.pathname.indexOf('mobile/share') > -1) {
+      //   var docEl = d.documentElement
+      //   var resizeEvt = 'orientationchange' in window ? 'orientationchange' : 'resize'
+      //   var recalc = function () {
+      //     var clientWidth = docEl.clientWidth
+      //     if (!clientWidth) return
+      //     if (clientWidth >= 750) {
+      //       docEl.style.fontSize = '100px'
+      //     } else {
+      //       docEl.style.fontSize = 100 * (clientWidth / 750) + 'px'
+      //     }
+      //   }
+      //   //        recalc()
+      //   if (!d.addEventListener) return
+      //   w.addEventListener(resizeEvt, recalc, false)
+      //   d.addEventListener('DOMContentLoaded', recalc, false)
+      // }
     })(window, document)
   </script>
   <script type="text/javascript">
   </script>
 </head>
+
 <body {{ BODY_ATTRS }}>
-{{ APP }}
+  {{ APP }}
 </body>
-</html>
+
+</html>

+ 1 - 0
assets/scss/mobileCommon.scss

@@ -2,6 +2,7 @@ html {
   overflow-y: scroll;
   -webkit-text-size-adjust: 100%;
   -ms-text-size-adjust: 100%;
+  font-size: calc(100vw / 750 * 100);
 }
 
 html * {

+ 0 - 1
assets/scss/reset.scss

@@ -3,7 +3,6 @@
   -moz-box-sizing: border-box;
   box-sizing: border-box;
 }
-
 body {
   margin: 0;
   padding: 0;

+ 11 - 6
components/mobile/applyPurchase/SeekList.vue

@@ -2,10 +2,10 @@
   <div>
     <ul class="seek-list">
       <li v-for="(item, index) in purchaseManList">
-        <p>
+        <div class="top">
           <span v-if="item.inquiry.enterprise && item.inquiry.enterprise.enName">{{item.inquiry.enterprise.enName | enterpriseFilter}}</span>
           <span v-else>{{item.userName | userNameFilter}}</span>
-        </p>
+        </div>
         <div>
           <div class="fl">
             <div>
@@ -147,14 +147,13 @@
   .seek-list {
     width: 7.26rem;
     margin: .13rem auto 0;
-
     li {
       border: .04rem solid #e0e0e4;
       height: 3.32rem;
       margin-bottom: .2rem;
 
       >
-      p {
+      div.top {
         font-size: .32rem;
         color: #3a3a3a;
         background: #f8f7fa;
@@ -172,8 +171,14 @@
       >
       div {
         font-size: .3rem;
-        display: inline-block;
-
+        // display: inline-block;
+        &::after {
+          clear: both;
+          visibility: hidden;
+          zoom: 1;
+          display: block;
+          content: ' ';
+        }
         .fl {
           color: #666;
           width: 4.8rem;

+ 7 - 9
nuxt.config.js

@@ -1,6 +1,6 @@
 const path = require('path')
 const isProdMode = Object.is(process.env.NODE_ENV, 'production')
-const baseUrl = process.env.BASE_URL || (isProdMode ? 'http://192.168.253.60:9090/platform-b2c/' : 'http://10.1.51.125:8080/platform-b2c/')
+const baseUrl = process.env.BASE_URL || (isProdMode ? 'http://192.168.253.60:9090/platform-b2c/' : 'http://192.168.253.121:9090/platform-b2c/')
 const commonUrl = process.env.COMMON_URL || (isProdMode ? 'https://api-inquiry.usoftmall.com/' : 'http://218.17.158.219:24000/')
 
 module.exports = {
@@ -34,7 +34,7 @@ module.exports = {
     /*
     ** Run ESLINT on save
     */
-    extend (config, { dev, isClient, isServer }) {
+    extend(config, { dev, isClient, isServer }) {
       config.resolve.alias['~utils'] = path.join(__dirname, 'utils')
       config.module.rules.push({
         test: /\.(scss|css)$/,
@@ -73,7 +73,7 @@ module.exports = {
     ]
   },
   css: [
-     { src: '~assets/scss/app.scss', lang: 'scss' }
+    { src: '~assets/scss/app.scss', lang: 'scss' }
     /* {
       src: 'swiper/dist/css/swiper.css'
     } */ /* , {
@@ -87,6 +87,10 @@ module.exports = {
   },
   plugins: [{
     src: '~plugins/axios.js'
+  }, {
+    src: '~plugins/vue-filter.js'
+  }, {
+    src: '~plugins/mixin.js'
   }, {
     src: '~plugins/swiper.js',
     ssr: false
@@ -99,15 +103,9 @@ module.exports = {
   }, {
     src: '~plugins/element-ui.js',
     ssr: true
-  }, {
-    src: '~plugins/filters.js',
-    ssr: false
   }, {
     src: '~plugins/jsonp.js',
     ssr: false
-  }, {
-    src: '~plugins/vue-filter.js',
-    ssr: false
   }],
   // proxyTable: ['/api/**', '/search/**', '/user/**', '/login/**', '/register/**', '/logout/**', '/static/**', '/vendor**', '/user**', '/trade/**', '/recommendation/**', '/store-service/**', '/basic/**', '/logout**', '/operation/**', '/help**', '/product**', '/store**', '/order/proxy**', '/report/**', '/store/**#/**', '/kdn/**', '/product/**Submit', '/admin**', '/product/**Submit/**', '/release/**', '/auth/store/**', '/produce/**', '/file**', '/rate/**', '/log/**', '/help-service/**', '/keyword/**', '/tip/**', '/UASBatchPutOnProperty**', '/UASBatchPutOnProperty/**']
   /**

+ 127 - 91
pages/mobile/share/purChase/_uuid.vue

@@ -1,75 +1,84 @@
 <template>
-	<div class="purchase">
-		<div class="purchase-top">
-			<div class="purchase-top-bg">
-				<div class="clearfix">
-					<div class="title fl">{{purchaseDetail.inquiry.enName}}</div>
-					<div class="time fr">{{purchaseDetail.endDate | date}}</div>
-				</div>
-				<div class="desc">{{purchaseDetail.prodTitle}}</div>
-				<div class="brand">品牌:
-					<span>{{purchaseDetail.inbrand || '-'}}</span>
-				</div>
-				<div class="size">规格:
-					<span>{{purchaseDetail.spec || '-'}}</span>
-				</div>
-			</div>
-			<div class="purchase-top-control clearfix">
-				<div class="time fl">
-					<span class="icon"></span>
-					<template v-if="purchaseDetail.remainingTime > 0">剩余:
-						<span class="timetext" v-if="getDay(purchaseDetail.remainingTime) > 0">
-							<a class="number">{{getDay(purchaseDetail.remainingTime)}}</a>
-							<a>天</a>
-						</span>
-						<span class="timetext" v-if="getDay(purchaseDetail.remainingTime) <= 0">
-							<a class="number">{{getHours(purchaseDetail.remainingTime)}}</a>
-							<a>小时</a>
-						</span>
-					</template>
-					<span class="timetext" v-else>已截止</span>
-					<!-- <span class="timetext">剩余时间:<a class="number">8</a><a>小时</a></span> -->
-				</div>
-				<div v-if="!userType && purchaseDetail.remainingTime > 0 && (!purchaseDetail.quoted || purchaseDetail.quoted != 1) && (user.logged && ((purchaseDetail.inquiry.enterprise && user.data.enterprise && (purchaseDetail.inquiry.enterprise.uu === user.data.enterprise.uu)) || (!user.data.enterprise.uu && purchaseDetail.userUU == user.data.userUU  && !purchaseDetail.inquiry.enterprise)))" class="goprice fr" @click="onRemind('此为贵公司的求购')">我要报价</div>
-				<div class="goprice fr" v-if="!(userType == 'saler' && seekType  && seekType != 'wait') && (purchaseDetail.remainingTime > 0 && (!purchaseDetail.quoted || purchaseDetail.quoted != 1) && !(user.logged && ((purchaseDetail.inquiry.enterprise && user.data.enterprise && (purchaseDetail.inquiry.enterprise.uu === user.data.enterprise.uu)) || (!user.data.enterprise.uu && purchaseDetail.userUU == user.data.userUU  && !purchaseDetail.inquiry.enterprise))))" @click="goSayPrice(purchaseDetail.id)">我要报价</div>
-				<div class="goprice fr" v-if="((!userType || userType == 'buyer') && (seekType  && seekType != 'wait')) || (userType == 'saler' && seekType  && seekType != 'wait') || purchaseDetail.quoted == 1" @click="goSayPriceInfo(purchaseDetail.quteId || purchaseDetail.id, purchaseDetail.agreed)">查看报价</div>
-			</div>
-		</div>
-		<div class="purcharse_banner">
-			<div class="banner"></div>
-		</div>
-		<div class="seek-title">
-			<img src="/images/mobile/@2x/applyPurchase/home/seek-title.png" alt="">
-			<span>最新求购信息</span>
-		</div>
-		<div class="purcharseListContent">
-			<seek-list :purchaseManList="purchaseManListData" :isDataChange="true"></seek-list>
+  <div class="purchase">
+    <div class="purchase-top">
+      <div class="purchase-top-bg">
+        <div class="clearfix">
+          <div class="title fl">{{purchaseDetail.inquiry.enName}}</div>
+          <div class="time fr">{{purchaseDetail.endDate | date}}</div>
+        </div>
+        <div class="desc">{{purchaseDetail.prodTitle}}</div>
+        <div class="brand">品牌:
+          <span>{{purchaseDetail.inbrand || '-'}}</span>
+        </div>
+        <div class="size">规格:
+          <span>{{purchaseDetail.spec || '-'}}</span>
+        </div>
 
-			<nuxt-link to="/mobile/applyPurchase/list" class="purchase_btn_look" tag="div">查看更多</nuxt-link>
-			<div class="purchse_btn_more_title">
-				<a href="https://www.usoftmall.com">优软商城首页</a>
-			</div>
-		</div>
+        <div class="pmg-icon">
+          <div class="Isend" v-if="purchaseDetail.remainingTime < 0">
+            <img src="/images/mobile/@2x/purChase/Isend.png" />
+          </div>
+          <div class="Issend" v-if="((!userType || userType == 'buyer') && (seekType  && seekType != 'wait')) || (userType == 'saler' && seekType  && seekType != 'wait') || purchaseDetail.quoted == 1">
+            <img src="/images/mobile/@2x/purChase/Issend.png" />
+          </div>
+        </div>
+      </div>
+      <div class="purchase-top-control clearfix" v-if="purchaseDetail.remainingTime > 0 || (((!userType || userType == 'buyer') && (seekType  && seekType != 'wait')) || (userType == 'saler' && seekType  && seekType != 'wait') || purchaseDetail.quoted == 1)">
+        <div class="time fl">
+          <template v-if="purchaseDetail.remainingTime > 0">
+            <span class="icon"></span>剩余时间:
+            <span class="timetext" v-if="getDay(purchaseDetail.remainingTime) > 0">
+              <a class="number">{{getDay(purchaseDetail.remainingTime)}}</a>
+              <a>天</a>
+            </span>
+            <span class="timetext" v-if="getDay(purchaseDetail.remainingTime) <= 0">
+              <a class="number">{{getHours(purchaseDetail.remainingTime)}}</a>
+              <a>小时</a>
+            </span>
+          </template>
+          <!-- <span class="timetext" v-else>已截止</span> -->
+          <!-- <span class="timetext">剩余时间:<a class="number">8</a><a>小时</a></span> -->
+        </div>
+        <div v-if="!userType && purchaseDetail.remainingTime > 0 && (!purchaseDetail.quoted || purchaseDetail.quoted != 1) && (user.logged && ((purchaseDetail.inquiry.enterprise && user.data.enterprise && (purchaseDetail.inquiry.enterprise.uu === user.data.enterprise.uu)) || (!user.data.enterprise.uu && purchaseDetail.userUU == user.data.userUU  && !purchaseDetail.inquiry.enterprise)))" class="goprice fr" @click="onRemind('此为贵公司的求购')">我要报价</div>
+        <div class="goprice fr" v-if="!(userType == 'saler' && seekType  && seekType != 'wait') && (purchaseDetail.remainingTime > 0 && (!purchaseDetail.quoted || purchaseDetail.quoted != 1) && !(user.logged && ((purchaseDetail.inquiry.enterprise && user.data.enterprise && (purchaseDetail.inquiry.enterprise.uu === user.data.enterprise.uu)) || (!user.data.enterprise.uu && purchaseDetail.userUU == user.data.userUU  && !purchaseDetail.inquiry.enterprise))))" @click="goSayPrice(purchaseDetail.id)">我要报价</div>
+        <div class="goprice fr" v-if="((!userType || userType == 'buyer') && (seekType  && seekType != 'wait')) || (userType == 'saler' && seekType  && seekType != 'wait') || purchaseDetail.quoted == 1" @click="goSayPriceInfo(purchaseDetail.quteId || purchaseDetail.id, purchaseDetail.agreed)">查看报价</div>
+      </div>
+    </div>
+    <div class="purcharse_banner">
+      <div class="banner"></div>
+    </div>
+    <div class="seek-title">
+      <img src="/images/mobile/@2x/applyPurchase/home/seek-title.png" alt="">
+      <span>最新求购信息</span>
+    </div>
+    <div class="purcharseListContent">
+      <seek-list :purchaseManList="purchaseManListData" :isDataChange="true"></seek-list>
 
-		<div class="mobile_footer company">
-			<div class="hr"></div>
-			<img src="/images/mobile/@2x/shareStore/logo.png" alt="">
-			<div class="hr right"></div>
-			<p>此页面由深圳市优软商城科技有限公司提供</p>
-			<a href="https://www.usoftmall.com">www.usoftmall.com</a>
-		</div>
+      <nuxt-link to="/mobile/applyPurchase/list" class="purchase_btn_look" tag="div">查看更多</nuxt-link>
+      <div class="purchse_btn_more_title">
+        <a href="https://www.usoftmall.com">优软商城首页</a>
+      </div>
+    </div>
 
-		<div class="purcharse_kong"></div>
-		<div class="purcharse_fixed clearfix" @click="sendApplyPurchase()">
-			<div class="money_icon fl"></div>
-			<span class="fl">发布求购</span>
-		</div>
-		<login-box @onLoginBoxClose="showLoginBox = false" v-if="showLoginBox"></login-box>
-		<say-price :showSayPriceBox="showSayPriceBox" @cancelSayPriceAction="onSayPriceCancel"></say-price>
-		<remind-box :title="remindText" :timeoutCount="timeoutCount"></remind-box>
-		<say-price-info v-if="showSayPriceInfoBox" :agreed="agreed" @cancelSayPriceInfoAction="onSayPriceInfoCancel"></say-price-info>
-		<publish-seek :showSayPriceBox="showsendApplyBox" @cancelAction="showsendApplyBox = false" @reloadAction="onReload" @remindAction="onRemind"></publish-seek>
-	</div>
+    <div class="mobile_footer company">
+      <div class="hr"></div>
+      <img src="/images/mobile/@2x/shareStore/logo.png" alt="">
+      <div class="hr right"></div>
+      <p>此页面由深圳市优软商城科技有限公司提供</p>
+      <a href="https://www.usoftmall.com">www.usoftmall.com</a>
+    </div>
+
+    <div class="purcharse_kong"></div>
+    <div class="purcharse_fixed clearfix" @click="sendApplyPurchase()">
+      <div class="money_icon fl"></div>
+      <span class="fl">发布求购</span>
+    </div>
+    <login-box @onLoginBoxClose="showLoginBox = false" v-if="showLoginBox"></login-box>
+    <say-price :showSayPriceBox="showSayPriceBox" @cancelSayPriceAction="onSayPriceCancel"></say-price>
+    <remind-box :title="remindText" :timeoutCount="timeoutCount"></remind-box>
+    <say-price-info v-if="showSayPriceInfoBox" :agreed="agreed" @cancelSayPriceInfoAction="onSayPriceInfoCancel"></say-price-info>
+    <publish-seek :showSayPriceBox="showsendApplyBox" @cancelAction="showsendApplyBox = false" @reloadAction="onReload" @remindAction="onRemind"></publish-seek>
+  </div>
 </template>
 
 <script>
@@ -126,22 +135,22 @@ export default {
       return this.$store.state.applyPurchase.purchaseManList.purchaseManDetail
         .data
     },
-    user() {
-      return this.$store.state.option.user
-    },
+    // user() {
+    //   return this.$store.state.option.user
+    // },
     purchaseManListData() {
       return this.$store.state.applyPurchase.purchaseManList.purchaseManList
         .data.content
     }
   },
   methods: {
-    getDay: function(timeStamp) {
+    getDay(timeStamp) {
       return Math.floor(timeStamp / (1000 * 60 * 60 * 24))
     },
-    getHours: function(timeStamp) {
+    getHours(timeStamp) {
       return Math.floor((timeStamp / (1000 * 60 * 60)) % 24)
     },
-    onSayPriceCancel: function(flag, quteId) {
+    onSayPriceCancel(flag, quteId) {
       if (flag) {
         this.purchaseDetail.quoted = 1
         this.purchaseDetail.quteId = quteId
@@ -149,15 +158,15 @@ export default {
       }
       this.showSayPriceBox = false
     },
-    onRemind: function(str) {
+    onRemind(str) {
       this.remindText = str
       this.timeoutCount++
     },
-    onSayPriceInfoCancel: flag => {
+    onSayPriceInfoCancel(flag) {
       flag && ((this.purchaseDetail.agreed = 1), this.onRemind('采纳成功'))
       this.showSayPriceInfoBox = false
     },
-    goSayPriceInfo: (id, agreed) => {
+    goSayPriceInfo(id, agreed) {
       this.userType === 'buyer'
         ? this.$store.dispatch('applyPurchase/loadBuyerInquiryDetail', {
             id: id
@@ -168,7 +177,7 @@ export default {
       this.agreed = agreed
       this.showSayPriceInfoBox = true
     },
-    goSayPrice: function(id) {
+    goSayPrice(id) {
       if (this.user.logged) {
         this.$store.dispatch('applyPurchase/loadPurchaseManDetail', {
           itemId: id,
@@ -182,13 +191,14 @@ export default {
       }
     },
     sendApplyPurchase() {
-      if (this.user.logged) {
+      console.log(this)
+      if (this.options.user.logged) {
         this.showsendApplyBox = true
       } else {
         this.showLoginBox = true
       }
     },
-    onReload: function() {
+    onReload() {
       const path = this.$route.path
       if (path === '/') {
         this.$store.dispatch('applyPurchase/loadMobileHomeList', {
@@ -222,7 +232,7 @@ export default {
   background: rgb(246, 245, 248);
   .purchase-top {
     background: #fff;
-    padding: 0.28rem 0.32rem 0.18rem 0.32rem;
+    padding: 0.28rem 0.32rem 0.28rem 0.32rem;
     margin-bottom: 0.18rem;
     .purchase-top-bg {
       background: url('/images/mobile/@2x/purChase/purChase_bg.png');
@@ -234,21 +244,43 @@ export default {
       color: #fff;
       padding-left: 0.35rem;
       padding-top: 0.32rem;
+      padding-bottom: 0.32rem;
       .title {
-        font-size: 0.28rem;
+        font-size: 0.3rem;
+        max-width: 4.6rem;
+        overflow: hidden;
+        text-overflow: ellipsis;
+        white-space: nowrap;
       }
       .time {
-        font-size: 0.24rem;
+        font-size: 0.26rem;
         margin-right: 0.2rem;
+        margin-top: 0.05rem;
       }
       .desc {
-        font-size: 0.38rem;
-        margin: 0.38rem 0;
+        font-size: 0.4rem;
+        margin: 0.35rem 0;
+        overflow: hidden;
+        text-overflow: ellipsis;
+        white-space: nowrap;
       }
       .brand,
       .size {
-        font-size: 0.28rem;
-        margin-bottom: 0.38rem;
+        font-size: 0.3rem;
+        margin-bottom: 0.14rem;
+        overflow: hidden;
+        text-overflow: ellipsis;
+        white-space: nowrap;
+        width: 4.5rem;
+      }
+      .pmg-icon {
+        position: absolute;
+        right: 0.36rem;
+        bottom: 0.17rem;
+        img {
+          width: 1.28rem;
+          height: 1.33rem;
+        }
       }
     }
     .purchase-top-control {
@@ -282,7 +314,7 @@ export default {
         font-size: 0.28rem;
         width: 1.78rem;
         height: 0.68rem;
-        background: linear-gradient(to right, #fb6d03, #fb9400);
+        background: linear-gradient(to right, #fb9400, #fb6d03);
         color: #fff;
         line-height: 0.68rem;
         text-align: center;
@@ -310,7 +342,11 @@ export default {
     position: relative;
   }
   .purcharse_fixed {
-    background: linear-gradient(to right, #4f44fd, #7188ff);
+    background: linear-gradient(
+      to right,
+      rgba(113, 136, 255, 0.97),
+      rgba(79, 68, 253, 0.97)
+    );
     width: 100%;
     height: 0.88rem;
     line-height: 0.88rem;
@@ -324,13 +360,13 @@ export default {
       width: 0.39rem;
       height: 0.39rem;
       background-size: 100%;
-      margin-top: 0.22rem;
+      margin-top: 0.26rem;
       margin-right: 0.2rem;
       margin-left: 2.8rem;
     }
   }
   .purcharseListContent {
-		padding-top: 0.3rem;
+    padding-top: 0.3rem;
     padding-bottom: 0.37rem;
     background: #fff;
     .seek-title {

+ 9 - 0
plugins/mixin.js

@@ -0,0 +1,9 @@
+/* 目前nuxt 版本并不支持此方法来写入相关的mixin方法 */
+import Vue from 'vue'
+import { mapState } from 'vuex'
+
+Vue.mixin({
+  computed: mapState([
+    'asxtest'
+  ])
+})

+ 1 - 0
plugins/vue-filter.js

@@ -1,3 +1,4 @@
+// 取消 全局注册 过于方法的原因是因为,有可能在调用该方法时候,过滤器未注册,导致页面会有一定时间内展示时间戳
 import Vue from 'vue'
 
 const filters = {

二进制
static/images/mobile/@2x/purChase/Isend.png


二进制
static/images/mobile/@2x/purChase/Issend.png


二进制
static/images/mobile/@2x/purChase/purChase_bg.png