lex 1 year ago
parent
commit
42f89df186
1 changed files with 9 additions and 9 deletions
  1. 9 9
      src/student/music-group/pre-goods-apply/index.tsx

+ 9 - 9
src/student/music-group/pre-goods-apply/index.tsx

@@ -478,7 +478,9 @@ export default defineComponent({
         <div class={styles.goodsHeader}>
           <div class={styles.orchestraTitle}>
             <img class={styles.headTitle} src={headTitle} />
-            <p class={[styles.name, 'van-multi-ellipsis--l3']}>武汉市吴家山第十二小学乐团武汉市</p>
+            <p class={[styles.name, 'van-multi-ellipsis--l3']}>
+              {state.registerInfo.orchestraName}
+            </p>
           </div>
           <img src={headPhone} class={styles.headPhone} />
         </div>
@@ -645,9 +647,12 @@ export default defineComponent({
                       <Radio
                         class={styles.radioItem}
                         name={'GROUP_BUY'}
-                        // disabled={true}
+                        disabled={forms.registerSubjectId ? false : true}
                         onClick={() => {
-                          // console.log(111)
+                          if (!forms.registerSubjectId) {
+                            showToast('请选择声部')
+                            return
+                          }
                         }}
                       ></Radio>
                       参与团购
@@ -701,12 +706,7 @@ export default defineComponent({
                 </Cell>
                 <Cell border={false}>
                   {{
-                    icon: () => (
-                      <Image
-                        src={'https://cloud-coach.ks3-cn-beijing.ksyuncs.com/1696816717584.png'}
-                        class={styles.goodsImg}
-                      />
-                    ),
+                    icon: () => <Image src={state.goodsInfo.goodsUrl} class={styles.goodsImg} />,
                     value: () => (
                       <div class={styles.goodsInfo}>
                         <div class={styles.goodsTitle}>