Commit 96f56419 by 李伟康

修改商品活动价格字段

1 parent bebcfddb
...@@ -57,7 +57,7 @@ const WxConfig = { ...@@ -57,7 +57,7 @@ const WxConfig = {
* expireTime 失效时间 * expireTime 失效时间
* expireInterval 失效间隔 * expireInterval 失效间隔
* appId 微信应用ID * appId 微信应用ID
* envVersion 要打开的小程序版本。正式版为:release,体验版为:trial,开发版为:develop,仅在微信外打开时生效 * envVersion 要打开的小程序版本。正式版为:release,体验版为: trial 开发版为:develop,仅在微信外打开时生效
*/ */
console.log('请求', data) console.log('请求', data)
return window.$HTTP({ return window.$HTTP({
......
...@@ -8,10 +8,10 @@ ...@@ -8,10 +8,10 @@
*/ */
// 本地环境配置 // 本地环境配置
module.exports = { module.exports = {
envVersion: "develop", envVersion: 'trial',
title: '嘀加企微管家', title: '嘀加企微管家',
request: { request: {
baseURL: 'http://scrm.test.glsx.com.cn', // 本地测试项目地址, baseURL: 'http://scrm.dev.glsx.com.cn', // 本地测试项目地址,
// 设置超时时间 // 设置超时时间
timeout: 180000, timeout: 180000,
// 携带凭证 // 携带凭证
......
...@@ -65,7 +65,7 @@ ...@@ -65,7 +65,7 @@
<div class="name text-two-line">{{i.goodsName}}</div> <div class="name text-two-line">{{i.goodsName}}</div>
<div class="stock">库存:{{i.goodsStock}}</div> <div class="stock">库存:{{i.goodsStock}}</div>
<template v-if="i.price"> <template v-if="i.price">
<div class="price">¥{{i.price.toFixed(2)}}</div> <div class="price">¥<template v-if="i.activityPrice">{{i.activityPrice.toFixed(2)}}</template><template v-else>{{i.price.toFixed(2)}}</template></div>
</template> </template>
<div class="btn text-center">分享给客户</div> <div class="btn text-center">分享给客户</div>
</div> </div>
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!