update
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
<script setup>
|
||||
import {ref, reactive} from "vue";
|
||||
import XSquareCarouselImage from "../../../components/XSquareCarouselImage.vue";
|
||||
import {toPage} from "../../../utils/uils.js";
|
||||
import {toPage, toWXMiniApp} from "../../../utils/uils.js";
|
||||
|
||||
const {data} = defineProps({
|
||||
data: {
|
||||
@@ -78,7 +78,7 @@ const current = ref(0);
|
||||
</view>
|
||||
</view>
|
||||
|
||||
<tui-button size="28" @click="toPage('/pages/downloadMaterials/index')">
|
||||
<tui-button size="28" @click="toWXMiniApp(data.id)">
|
||||
<tui-icon size="20" color="#fff" name="bottom"></tui-icon>
|
||||
<view class="!ml-[20rpx]">一键下载</view>
|
||||
</tui-button>
|
||||
|
||||
@@ -349,7 +349,7 @@ onMounted(() => {
|
||||
</view>
|
||||
</view>
|
||||
|
||||
<accept-assignment-modal v-if="details.is_use === 0" :details="details">
|
||||
<accept-assignment-modal v-if="details.is_use === 0" :details="details" @success="getData">
|
||||
<view
|
||||
class="bg-[var(--primary-color)] rounded-[8rpx] py-[26rpx] text-[#fff] !flex justify-center items-center">
|
||||
接受任务
|
||||
|
||||
Reference in New Issue
Block a user