瀏覽代碼

修改内容

ext.liuqiwen3 9 小時之前
父節點
當前提交
0768980cce

+ 2 - 1
components/shareRedPackets/index.vue

@@ -3,7 +3,7 @@
 	   <view class='iconfont icon-guanbi' @click="closeShare"></view>
 	   <view class='line'></view>
 	   <view class='sharing-con' @click='goShare'>
-	      <image src='../../static/images/red-packets.png'></image>
+	      <image :src="HTTP_REQUEST_URL_IMG+'red-packets.png'"></image>
 	      <view class='text font-color'>
 	        <view>会员分享返</view>
 	        <view class='money'><text class='label'>¥</text>{{sharePacket.priceName}}</view>
@@ -15,6 +15,7 @@
 </template>
 
 <script>
+import { HTTP_REQUEST_URL_IMG } from "@/config/app";
 	export default {
 		
 		props: {

+ 2 - 1
pages/index/index.vue

@@ -54,7 +54,7 @@
             <view class="cardbgLinear">
               <view class="title" @click="btnClick">
                 <view class="title-left">
-                  <image class="ssjj" src="@/static/images/shishijinjia.png" mode="widthFix"></image>
+                  <image class="ssjj" :src="HTTP_REQUEST_URL_IMG+'shishijinjia.png'" mode="widthFix"></image>
                   <text class="updateTime">{{ timeFormat(timestamp, "yyyy-mm-dd hh:MM:ss") }}更新</text>
                 </view>
                 <view class="more">
@@ -183,6 +183,7 @@ import { useRealtimeTimestamp } from "@/utils/useRealtimeTimestamp.js";
 import { getUserLevelInfo } from "@/api/user";
 import { useAppStore } from "@/stores/app";
 import { goShopDetail } from "@/libs/order.js";
+import { HTTP_REQUEST_URL_IMG } from "@/config/app";
 
 // 全局状态和时间
 const appStore = useAppStore();

+ 1 - 1
pages/merchantCenter/index.vue

@@ -35,7 +35,7 @@
           </view>
         </view>
         <view class="btn-content" @click="handleEdit()">
-          <image class="setting" src="@/static/images/setting.png" mode="widthFix"></image>
+          <image class="setting" :src="HTTP_REQUEST_URL_IMG+'setting.png'" mode="widthFix"></image>
           <text class="btn-text">编辑资料</text>
         </view>
       </view>

+ 1 - 1
pages/user/index.vue

@@ -34,7 +34,7 @@
           </view>
         </view>
         <view class="btn-content" @click="handleEdit()">
-          <image class="setting" src="@/static/images/setting.png" mode="widthFix"></image>
+          <image class="setting" :src="HTTP_REQUEST_URL_IMG+'setting.png'" mode="widthFix"></image>
           <text class="btn-text">编辑资料</text>
         </view>
       </view>

+ 2 - 1
pages/users/user_asset/asset_info/asset_info.vue

@@ -61,7 +61,7 @@
 
 				<view class="asset_item">
 					<view class="asset_title">
-						<image src="/static/images/pt_icon.png" mode="widthFix" class="title_icon"></image>
+						<image :src="HTTP_REQUEST_URL_IMG+'pt_icon.png'" mode="widthFix" class="title_icon"></image>
 						<view class="">
 							铂金资产
 						</view>
@@ -183,6 +183,7 @@
 	import {
 		throttle
 	} from '@/uni_modules/uview-plus';
+  import { HTTP_REQUEST_URL_IMG } from "@/config/app";
 
 
 	onLoad(() => {

+ 2 - 1
pages/users/user_asset/record_list/record_list.vue

@@ -47,7 +47,7 @@
 
 			<view class="asset_item" v-if="metalType==2">
 				<view class="asset_title">
-					<image src="/static/images/pt_icon.png" mode="widthFix" class="title_icon"></image>
+					<image :src="HTTP_REQUEST_URL_IMG+'pt_icon.png'" mode="widthFix" class="title_icon"></image>
 					<view class="">
 						铂金资产
 					</view>
@@ -240,6 +240,7 @@
 	import {
 		throttle
 	} from '@/uni_modules/uview-plus';
+  import { HTTP_REQUEST_URL_IMG } from "@/config/app";
 
 
 	onLoad((params) => {

+ 2 - 1
pages/users/user_asset/stock_in/stock_in.vue

@@ -13,7 +13,7 @@
 				</view>
 				<view class="stock_item stock_middle" :class="{active: currentStockType==2}"
 					@click="currentStockType=2">
-					<image class="stock_icon" src="/static/images/pt_icon.png" mode="widthFix"></image>
+					<image class="stock_icon" :src="HTTP_REQUEST_URL_IMG+'pt_icon.png'" mode="widthFix"></image>
 					<text class="stock_name">铂金</text>
 					<text class="stock_num_title">可用库存 </text>
 					<text class="stock_num">{{ptStock.useful}}g</text>
@@ -79,6 +79,7 @@
 		restockSubmitAPI,
 		fetchMerchantMetalBalanceAPI
 	} from '@/api/merchant';
+  import { HTTP_REQUEST_URL_IMG } from "@/config/app";
 
 	import {
 		useImageUpload

二進制
static/images/pt_icon.png


二進制
static/images/red-packets.png


二進制
static/images/setting.png


二進制
static/images/shishijinjia.png