15102826049 hai 1 semana
pai
achega
006606120e

+ 2 - 2
.env.development

@@ -10,5 +10,5 @@ VITE_APP_BASE_API = ''
 # 路由懒加载
 # 路由懒加载
 VITE_CLI_BABEL_TRANSPILE_MODULES = true
 VITE_CLI_BABEL_TRANSPILE_MODULES = true
 
 
-VITE_API_URL=http://192.168.168.104:8090
-# VITE_API_URL=https://test-coupon.qiuyutech.com.cn/stage-api
+# VITE_API_URL=http://192.168.168.104:8090
+VITE_API_URL=https://test-coupon.qiuyutech.com.cn/stage-api

+ 1 - 6
src/pagesOne/record/claimList.vue

@@ -16,12 +16,7 @@
       src="https://qiuyu-daodian.oss-cn-beijing.aliyuncs.com/images/no-upload.png"
       src="https://qiuyu-daodian.oss-cn-beijing.aliyuncs.com/images/no-upload.png"
     ></empty-box>
     ></empty-box>
     <view class="itemBox">
     <view class="itemBox">
-      <view
-        v-for="item in list"
-        :key="item.id"
-        @click="toDetail(item)"
-        class="clain"
-      >
+      <view v-for="item in list" :key="item.id" class="clain">
         <claim-item :detail="item" :claimType="currenType"></claim-item>
         <claim-item :detail="item" :claimType="currenType"></claim-item>
       </view>
       </view>
     </view>
     </view>

+ 2 - 2
src/pagesOne/record/components/claimItem.vue

@@ -20,7 +20,7 @@
           width="96rpx"
           width="96rpx"
           height="170rpx"
           height="170rpx"
           :src="joy"
           :src="joy"
-          :enable-preview="preview"
+          :enable-preview="true"
           custom-style="margin-right: 8rpx"
           custom-style="margin-right: 8rpx"
         >
         >
           <template #error>
           <template #error>
@@ -38,7 +38,7 @@
           width="96rpx"
           width="96rpx"
           height="170rpx"
           height="170rpx"
           :src="joy"
           :src="joy"
-          :enable-preview="preview"
+          :enable-preview="true"
           custom-style="margin-right: 8rpx"
           custom-style="margin-right: 8rpx"
         >
         >
           <template #error>
           <template #error>

+ 1 - 0
src/pagesOne/winner/components/winRecordPopup.vue

@@ -15,6 +15,7 @@
                 <view
                 <view
                   class="btn"
                   class="btn"
                   :class="isWithDraw(item.processStatus) ? '' : 'static'"
                   :class="isWithDraw(item.processStatus) ? '' : 'static'"
+                  @click="onPayment(item, '2')"
                   >提现</view
                   >提现</view
                 >
                 >
               </view>
               </view>

+ 2 - 0
src/pagesOne/winner/uploadImage.vue

@@ -86,6 +86,8 @@ const onAdd = () => {
   };
   };
   addCustomer(params).then((res: any) => {
   addCustomer(params).then((res: any) => {
     if (res.code === 200) {
     if (res.code === 200) {
+      uni.showToast({ title: "操作成功!", icon: "none" });
+
       //用户订阅消息模板消息
       //用户订阅消息模板消息
       wx.requestSubscribeMessage({
       wx.requestSubscribeMessage({
         tmplIds: ["FWGvRFSZ65JVrMsTqeBoT9hJYyeN9Z_aFAacMxoPlhY"],
         tmplIds: ["FWGvRFSZ65JVrMsTqeBoT9hJYyeN9Z_aFAacMxoPlhY"],

+ 1 - 1
src/utils/system.ts

@@ -89,7 +89,7 @@ export const getMobile = async (code: string, path: string) => {
 
 
 export const isGetPhone = () => {
 export const isGetPhone = () => {
   const data = JSON.parse(uni.getStorageSync("activityData")) || {};
   const data = JSON.parse(uni.getStorageSync("activityData")) || {};
-  const authCheck = data?.authCheck.split(",") || [];
+  const authCheck = data?.authCheck?.split(",") || [];
   const isCheck = authCheck.includes("1");
   const isCheck = authCheck.includes("1");
   const isPhone = !!uni.getStorageSync("phone");
   const isPhone = !!uni.getStorageSync("phone");